package org.wso2.carbon.apimgt.impl.dto;

import org.wso2.carbon.apimgt.impl.APIConstants;

import java.util.HashSet;
import java.util.Set;

public class GatewayArtifactSynchronizerProperties {

    private boolean saveArtifactsEnabled = false;
    private boolean publishDirectlyToGatewayEnabled = true;
    private boolean retrieveFromStorageEnabled = false;
    private String saverName = APIConstants.GatewayArtifactSynchronizer.DB_SAVER_NAME;
    private String retrieverName = APIConstants.GatewayArtifactSynchronizer.DB_RETRIEVER_NAME;
    private Set<String> gatewayLabels = new HashSet<>();
    private String artifactSynchronizerDataSource = "jdbc/WSO2AS_DB" ;
    private long retryDuartion = 15000 ;

    public String getSaverName() {

        return saverName;
    }

    public void setSaverName(String saverName) {

        this.saverName = saverName;
    }

    public String getRetrieverName() {

        return retrieverName;
    }

    public String getArtifactSynchronizerDataSource() {

        return artifactSynchronizerDataSource;
    }

    public void setArtifactSynchronizerDataSource(String artifactSynchronizerDataSource) {

        this.artifactSynchronizerDataSource = artifactSynchronizerDataSource;
    }

    public void setRetrieverName(String retrieverName) {

        this.retrieverName = retrieverName;
    }

    public Set<String> getGatewayLabels() {

        return gatewayLabels;
    }

    public void setGatewayLabels(Set<String> gatewayLabels) {

        this.gatewayLabels = gatewayLabels;
    }

    public boolean isPublishDirectlyToGatewayEnabled() {

        return publishDirectlyToGatewayEnabled;
    }

    public void setPublishDirectlyToGatewayEnabled(boolean publishDirectlyToGatewayEnabled) {

        this.publishDirectlyToGatewayEnabled = publishDirectlyToGatewayEnabled;
    }

    public boolean isRetrieveFromStorageEnabled() {

        return retrieveFromStorageEnabled;
    }

    public void setRetrieveFromStorageEnabled(boolean retrieveFromStorageEnabled) {

        this.retrieveFromStorageEnabled = retrieveFromStorageEnabled;
    }

    public boolean isSaveArtifactsEnabled() {

        return saveArtifactsEnabled;
    }

    public void setSaveArtifactsEnabled(boolean saveArtifactsEnabled) {

        this.saveArtifactsEnabled = saveArtifactsEnabled;
    }

    public long getRetryDuartion() {

        return retryDuartion;
    }

    public void  setRetryDuartion(long retryDuartion) {

        this.retryDuartion = retryDuartion;
    }
}

@@ -656,17 +656,17 @@
 bc/WSO2A
-S
+M
 _DB%22 ;%0A 

Point the default datasource as AM_DB