All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.euler.api.persistence.AbstractTemplatePersistence Maven / Gradle / Ivy

The newest version!
package com.github.euler.api.persistence;

import com.github.euler.api.APIConfiguration;
import com.github.euler.opendistro.OpenDistroClient;

public class AbstractTemplatePersistence extends ESPersistence {

    protected final APIConfiguration configuration;

    public AbstractTemplatePersistence(OpenDistroClient client, APIConfiguration configuration) {
        super(client);
        this.configuration = configuration;
    }

    protected String getTemplateIndex() {
        return configuration.getConfig().getString("euler.http-api.elasticsearch.template-index.name");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy