package org.rakam.config;

import io.airlift.configuration.Config;
import io.swagger.models.ExternalDocs;

public class MetadataConfig {
    public final static ExternalDocs centralDocs = new ExternalDocs().url("https://getrakam.com/doc").description("Rakam Documentation");

    private String metastore;
    private String eventStore;
    private String reportMetastore;
    private boolean enableDynamic = true;

    @Config("event.schema.store")
    public MetadataConfig setMetastore(String store) {
        this.metastore = store;
        return this;
    }

    @Config("event.schema.enable-dynamic")
    public MetadataConfig setEnableDynamic(boolean enableDynamic) {
        this.enableDynamic = enableDynamic;
        return this;
    }

    public boolean getEnableDynamic() {
        return enableDynamic;
    }

    @Config("report.metadata.store")
    public MetadataConfig setReportMetastore(String store) {
        this.reportMetastore = store;
        return this;
    }

    public String getReportMetastore() {
        return reportMetastore;
    }

    public String getMetastore() {
        return metastore;
    }

    @Config("event.store")
    public MetadataConfig setEventStore(String eventStore) {
        this.eventStore = eventStore;
        return this;
    }

    public String getEventStore() {
        return eventStore;
    }
}

@@ -217,20 +217,16 @@
 s://
-get
 rakam.
-com
+io
 /doc

update central doc address