diff options
Diffstat (limited to 'common-app-api/src/main/java/org/openecomp/sdc/be')
7 files changed, 1349 insertions, 1318 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java b/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java index c4f221c875..b0c377c778 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java @@ -20,686 +20,725 @@ package org.openecomp.sdc.be.config; +import org.apache.commons.collections.map.CaseInsensitiveMap; import org.openecomp.sdc.common.api.BasicConfiguration; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Set; -import static java.lang.String.format; +import static java.lang.String.format; import static java.util.Collections.emptyMap; + public class Configuration extends BasicConfiguration { - private List<String> identificationHeaderFields; - /** - * Requests from these Urls will not be logged by - * org.openecomp.sdc.be.filters.BeServletFilter.<br> - **/ - private List<String> unLoggedUrls; - - /** - * backend host - */ - private String beFqdn; - /** - * backend http port - */ - private Integer beHttpPort; - /** - * backend http secured port - */ - private Integer beSslPort; - /** - * be http context - */ - private String beContext; - /** - * backend protocol. http | https - */ - private String beProtocol = "http"; - - private Date released; - private String version = "1111"; - private String toscaConformanceLevel = "3.0"; - private String minToscaConformanceLevel = "3.0"; - private List<String> protocols; - private Map<String, String> users; - private Map<String, Object> neo4j; - private ElasticSearchConfig elasticSearch; - private String titanCfgFile; - private String titanMigrationKeySpaceCfgFile; - private Boolean titanInMemoryGraph; - private int startMigrationFrom; - private Long titanLockTimeout; - private Long titanReconnectIntervalInSeconds; - private List<String> healthStatusExclude; - private Long titanHealthCheckReadTimeout; - private Long esReconnectIntervalInSeconds; - private Long uebHealthCheckReconnectIntervalInSeconds; - private Long uebHealthCheckReadTimeout; - private List<Map<String, Map<String, String>>> defaultImports; - - private List<String> resourceTypes; - private List<String> excludeResourceCategory; - private List<String> excludeResourceType; - private Map<String, Set<String>> excludedPolicyTypesMapping; - - private Map<String, Set<String>> excludedGroupTypesMapping; - private Map<String, Object> deploymentResourceArtifacts; - private Map<String, Object> deploymentResourceInstanceArtifacts; - private Map<String, Object> toscaArtifacts; - private Map<String, Object> informationalResourceArtifacts; - private Map<String, Object> informationalServiceArtifacts; - private Map<String, ArtifactTypeConfig> resourceDeploymentArtifacts; - private Map<String, ArtifactTypeConfig> serviceDeploymentArtifacts; - private Map<String, ArtifactTypeConfig> resourceInstanceDeploymentArtifacts; - private Map<String, ArtifactTypeConfig> resourceInformationalArtifacts; - private Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts; - private Map<String, Object> serviceApiArtifacts; - private List<String> excludeServiceCategory; - private Map<String, Set<String>> requirementsToFulfillBeforeCert; - private Map<String, Set<String>> capabilitiesToConsumeBeforeCert; - - private List<String> artifactTypes; - private List<String> licenseTypes; - - private Integer additionalInformationMaxNumberOfKeys; - private Integer defaultHeatArtifactTimeoutMinutes; - - private BeMonitoringConfig systemMonitoring; - private CleanComponentsConfiguration cleanComponentsConfiguration; - - private String artifactsIndex; - - private String heatEnvArtifactHeader; - private String heatEnvArtifactFooter; - - private String toscaFilesDir; - private String heatTranslatorPath; - - private OnboardingConfig onboarding; - - private DcaeConfig dcae; - - private CassandrConfig cassandraConfig; - - private SwitchoverDetectorConfig switchoverDetector; - - private ApplicationL1CacheConfig applicationL1Cache; - - private ApplicationL2CacheConfig applicationL2Cache; - - private ToscaValidatorsConfig toscaValidators; - - private boolean disableAudit; - - private Map<String, VfModuleProperty> vfModuleProperties; - - private Map<String, String> genericAssetNodeTypes; - - private String appVersion; - private String artifactGeneratorConfig; - - public String getAutoHealingOwner() { - return autoHealingOwner; - } - - public void setAutoHealingOwner(String autoHealingOwner) { - this.autoHealingOwner = autoHealingOwner; - } - - private String autoHealingOwner; - - private Map<String, List<String>> resourcesForUpgrade; - private DmaapConsumerConfiguration dmaapConsumerConfiguration; - private boolean skipUpgradeFailedVfs; - private boolean skipUpgradeVSPs; - private DmeConfiguration dmeConfiguration; - - public DmaapConsumerConfiguration getDmaapConsumerConfiguration() { - return dmaapConsumerConfiguration; - } - - public void setDmaapConsumerConfiguration(DmaapConsumerConfiguration dmaapConsumerConfiguration) { - this.dmaapConsumerConfiguration = dmaapConsumerConfiguration; - } - - public DmeConfiguration getDmeConfiguration() { - return dmeConfiguration; - } - - public void setDmeConfiguration(DmeConfiguration dmeConfiguration) { - this.dmeConfiguration = dmeConfiguration; - } - public void setSkipUpgradeVSPs(boolean skipUpgradeVSPs) { this.skipUpgradeVSPs = skipUpgradeVSPs; } + private List<String> identificationHeaderFields; + /** + * Requests from these Urls will not be logged by + * org.openecomp.sdc.be.filters.BeServletFilter.<br> + **/ + private List<String> unLoggedUrls; + + /** + * backend host + */ + private String beFqdn; + /** + * backend http port + */ + private Integer beHttpPort; + /** + * backend http secured port + */ + private Integer beSslPort; + /** + * be http context + */ + private String beContext; + /** + * backend protocol. http | https + */ + private String beProtocol = "http"; + + private Date released; + private String version = "1111"; + private String toscaConformanceLevel = "3.0"; + private String minToscaConformanceLevel = "3.0"; + private List<String> protocols; + private Map<String, String> users; + private Map<String, Object> neo4j; + private ElasticSearchConfig elasticSearch; + private String titanCfgFile; + private String titanMigrationKeySpaceCfgFile; + private Boolean titanInMemoryGraph; + private int startMigrationFrom; + private Long titanLockTimeout; + private Long titanReconnectIntervalInSeconds; + private List<String> healthStatusExclude; + private Long titanHealthCheckReadTimeout; + private Long esReconnectIntervalInSeconds; + private Long uebHealthCheckReconnectIntervalInSeconds; + private Long uebHealthCheckReadTimeout; + private List<Map<String, Map<String, String>>> defaultImports; + + private List<String> resourceTypes; + private List<String> excludeResourceCategory; + private List<String> excludeResourceType; + private Map<String, Set<String>> excludedPolicyTypesMapping; + + private Map<String, Set<String>> excludedGroupTypesMapping; + private Map<String, Object> deploymentResourceArtifacts; + private Map<String, Object> deploymentResourceInstanceArtifacts; + private Map<String, Object> toscaArtifacts; + private Map<String, Object> informationalResourceArtifacts; + private Map<String, Object> informationalServiceArtifacts; + private Map<String, ArtifactTypeConfig> resourceDeploymentArtifacts; + private Map<String, ArtifactTypeConfig> serviceDeploymentArtifacts; + private Map<String, ArtifactTypeConfig> resourceInstanceDeploymentArtifacts; + private Map<String, ArtifactTypeConfig> resourceInformationalArtifacts; + private Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts; + private Map<String, Object> serviceApiArtifacts; + private List<String> excludeServiceCategory; + private Map<String, Set<String>> requirementsToFulfillBeforeCert; + private Map<String, Set<String>> capabilitiesToConsumeBeforeCert; + + private List<String> artifactTypes; + private List<String> licenseTypes; + + private Integer additionalInformationMaxNumberOfKeys; + private Integer defaultHeatArtifactTimeoutMinutes; + + private BeMonitoringConfig systemMonitoring; + private CleanComponentsConfiguration cleanComponentsConfiguration; + + private String artifactsIndex; + + private String heatEnvArtifactHeader; + private String heatEnvArtifactFooter; + + private String toscaFilesDir; + private String heatTranslatorPath; + + private OnboardingConfig onboarding; + + private DcaeConfig dcae; + + private CassandrConfig cassandraConfig; + + private SwitchoverDetectorConfig switchoverDetector; + + private ApplicationL1CacheConfig applicationL1Cache; + + private ApplicationL2CacheConfig applicationL2Cache; + + private ToscaValidatorsConfig toscaValidators; + + private boolean disableAudit; + + private Map<String, VfModuleProperty> vfModuleProperties; + + private Map<String, String> genericAssetNodeTypes; + + private String appVersion; + private String artifactGeneratorConfig; + + public String getAutoHealingOwner() { + return autoHealingOwner; + } + + public void setAutoHealingOwner(String autoHealingOwner) { + this.autoHealingOwner = autoHealingOwner; + } + + private String autoHealingOwner; + private boolean enableAutoHealing; + + private Map<String, List<String>> resourcesForUpgrade; + private DmaapConsumerConfiguration dmaapConsumerConfiguration; + private boolean skipUpgradeFailedVfs; + private boolean skipUpgradeVSPs; + private DmeConfiguration dmeConfiguration; + + private boolean supportAllottedResourcesAndProxy; + private Integer deleteLockTimeoutInSeconds; + private Integer maxDeleteComponents; + + public Integer getMaxDeleteComponents() { + return maxDeleteComponents; + } + + public void setMaxDeleteComponents(Integer maxDeleteComponents) { + this.maxDeleteComponents = maxDeleteComponents; + } + + public void setEnableAutoHealing(boolean enableAutoHealing) { + this.enableAutoHealing = enableAutoHealing; + } + + public boolean isEnableAutoHealing() { + return enableAutoHealing; + } + + public Integer getDeleteLockTimeoutInSeconds() { + return deleteLockTimeoutInSeconds; + } + + public void setDeleteLockTimeoutInSeconds(Integer deleteLockTimeoutInSeconds) { + this.deleteLockTimeoutInSeconds = deleteLockTimeoutInSeconds; + } + + public DmaapConsumerConfiguration getDmaapConsumerConfiguration() { + return dmaapConsumerConfiguration; + } + + public void setDmaapConsumerConfiguration(DmaapConsumerConfiguration dmaapConsumerConfiguration) { + this.dmaapConsumerConfiguration = dmaapConsumerConfiguration; + } + + public DmeConfiguration getDmeConfiguration() { + return dmeConfiguration; + } + + public void setDmeConfiguration(DmeConfiguration dmeConfiguration) { + this.dmeConfiguration = dmeConfiguration; + } + public void setSkipUpgradeVSPs(boolean skipUpgradeVSPs) { this.skipUpgradeVSPs = skipUpgradeVSPs; } + + public boolean getSkipUpgradeVSPsFlag() { return skipUpgradeVSPs; } + + public boolean getSkipUpgradeFailedVfs() { + return skipUpgradeFailedVfs; + } + + public boolean getSupportAllottedResourcesAndProxyFlag() { + return supportAllottedResourcesAndProxy; + } + + public void setSupportAllottedResourcesAndProxy(boolean supportAllottedResourcesAndProxy) { + this.supportAllottedResourcesAndProxy = supportAllottedResourcesAndProxy; + } + + public void setSkipUpgradeFailedVfs(boolean skipUpgradeFailedVfs) { + this.skipUpgradeFailedVfs = skipUpgradeFailedVfs; + } + + public String getAppVersion() { + return appVersion; + } - public boolean getSkipUpgradeVSPsFlag() { return skipUpgradeVSPs; } + public void setAppVersion(String appVersion) { + this.appVersion = appVersion; + } - public boolean getSkipUpgradeFailedVfs() { - return skipUpgradeFailedVfs; - } + public String getArtifactGeneratorConfig() { + return artifactGeneratorConfig; + } - public void setSkipUpgradeFailedVfs(boolean skipUpgradeFailedVfs) { - this.skipUpgradeFailedVfs = skipUpgradeFailedVfs; - } + public void setArtifactGeneratorConfig(String artifactGeneratorConfig) { + this.artifactGeneratorConfig = artifactGeneratorConfig; + } - public String getAppVersion() { - return appVersion; - } + private String workloadContext; - public void setAppVersion(String appVersion) { - this.appVersion = appVersion; - } + private EnvironmentContext environmentContext; - public String getArtifactGeneratorConfig() { - return artifactGeneratorConfig; - } + public Map<String, String> getGenericAssetNodeTypes() { + return genericAssetNodeTypes; + } - public void setArtifactGeneratorConfig(String artifactGeneratorConfig) { - this.artifactGeneratorConfig = artifactGeneratorConfig; - } + public void setGenericAssetNodeTypes(Map<String, String> genericAssetNodeTypes) { + this.genericAssetNodeTypes = genericAssetNodeTypes; + } - private String workloadContext; - - private EnvironmentContext environmentContext; + public SwitchoverDetectorConfig getSwitchoverDetector() { + return switchoverDetector; + } - public Map<String, String> getGenericAssetNodeTypes() { - return genericAssetNodeTypes; - } + public void setSwitchoverDetector(SwitchoverDetectorConfig switchoverDetector) { + this.switchoverDetector = switchoverDetector; + } - public void setGenericAssetNodeTypes(Map<String, String> genericAssetNodeTypes) { - this.genericAssetNodeTypes = genericAssetNodeTypes; - } + public ApplicationL1CacheConfig getApplicationL1Cache() { + return applicationL1Cache; + } - public SwitchoverDetectorConfig getSwitchoverDetector() { - return switchoverDetector; - } + public void setApplicationL1Cache(ApplicationL1CacheConfig applicationL1Cache) { + this.applicationL1Cache = applicationL1Cache; + } - public void setSwitchoverDetector(SwitchoverDetectorConfig switchoverDetector) { - this.switchoverDetector = switchoverDetector; - } + public ApplicationL2CacheConfig getApplicationL2Cache() { + return applicationL2Cache; + } - public ApplicationL1CacheConfig getApplicationL1Cache() { - return applicationL1Cache; - } + public void setApplicationL2Cache(ApplicationL2CacheConfig applicationL2Cache) { + this.applicationL2Cache = applicationL2Cache; + } - public void setApplicationL1Cache(ApplicationL1CacheConfig applicationL1Cache) { - this.applicationL1Cache = applicationL1Cache; - } + private EcompPortalConfig ecompPortal; - public ApplicationL2CacheConfig getApplicationL2Cache() { - return applicationL2Cache; - } + public CassandrConfig getCassandraConfig() { + return cassandraConfig; + } - public void setApplicationL2Cache(ApplicationL2CacheConfig applicationL2Cache) { - this.applicationL2Cache = applicationL2Cache; - } + public void setCassandraConfig(CassandrConfig cassandraKeySpace) { + this.cassandraConfig = cassandraKeySpace; + } - private EcompPortalConfig ecompPortal; + public List<String> getIdentificationHeaderFields() { + return identificationHeaderFields; + } - public CassandrConfig getCassandraConfig() { - return cassandraConfig; - } + public void setIdentificationHeaderFields(List<String> identificationHeaderFields) { + this.identificationHeaderFields = identificationHeaderFields; + } - public void setCassandraConfig(CassandrConfig cassandraKeySpace) { - this.cassandraConfig = cassandraKeySpace; - } + public Date getReleased() { + return released; + } - public List<String> getIdentificationHeaderFields() { - return identificationHeaderFields; - } + public String getVersion() { + return version; + } - public void setIdentificationHeaderFields(List<String> identificationHeaderFields) { - this.identificationHeaderFields = identificationHeaderFields; - } + public void setReleased(Date released) { + this.released = released; + } - public Date getReleased() { - return released; - } + public void setVersion(String version) { + this.version = version; + } - public String getVersion() { - return version; - } + public List<String> getProtocols() { + return protocols; + } - public void setReleased(Date released) { - this.released = released; - } + public void setProtocols(List<String> protocols) { + this.protocols = protocols; + } - public void setVersion(String version) { - this.version = version; - } + public Map<String, String> getUsers() { + return users; + } - public List<String> getProtocols() { - return protocols; - } + public void setUsers(Map<String, String> users) { + this.users = users; + } - public void setProtocols(List<String> protocols) { - this.protocols = protocols; - } + public String getBeFqdn() { + return beFqdn; + } - public Map<String, String> getUsers() { - return users; - } + public void setBeFqdn(String beHost) { + this.beFqdn = beHost; + } - public void setUsers(Map<String, String> users) { - this.users = users; - } + public Integer getBeHttpPort() { + return beHttpPort; + } - public String getBeFqdn() { - return beFqdn; - } + public void setBeHttpPort(Integer beHttpPort) { + this.beHttpPort = beHttpPort; + } - public void setBeFqdn(String beHost) { - this.beFqdn = beHost; - } + public Integer getBeSslPort() { + return beSslPort; + } - public Integer getBeHttpPort() { - return beHttpPort; - } + public void setBeSslPort(Integer beSslPort) { + this.beSslPort = beSslPort; + } - public void setBeHttpPort(Integer beHttpPort) { - this.beHttpPort = beHttpPort; - } + public String getBeContext() { + return beContext; + } - public Integer getBeSslPort() { - return beSslPort; - } + public void setBeContext(String beContext) { + this.beContext = beContext; + } - public void setBeSslPort(Integer beSslPort) { - this.beSslPort = beSslPort; - } + public String getBeProtocol() { + return beProtocol; + } - public String getBeContext() { - return beContext; - } + public void setBeProtocol(String beProtocol) { + this.beProtocol = beProtocol; + } - public void setBeContext(String beContext) { - this.beContext = beContext; - } + public Map<String, Object> getNeo4j() { + return neo4j; + } - public String getBeProtocol() { - return beProtocol; - } + public void setNeo4j(Map<String, Object> neo4j) { + this.neo4j = neo4j; + } - public void setBeProtocol(String beProtocol) { - this.beProtocol = beProtocol; - } + public ElasticSearchConfig getElasticSearch() { + return elasticSearch; + } - public Map<String, Object> getNeo4j() { - return neo4j; - } + public void setElasticSearch(ElasticSearchConfig elasticSearch) { + this.elasticSearch = elasticSearch; + } - public void setNeo4j(Map<String, Object> neo4j) { - this.neo4j = neo4j; - } + public String getTitanCfgFile() { + return titanCfgFile; + } - public ElasticSearchConfig getElasticSearch() { - return elasticSearch; - } + public void setTitanCfgFile(String titanCfgFile) { + this.titanCfgFile = titanCfgFile; + } - public void setElasticSearch(ElasticSearchConfig elasticSearch) { - this.elasticSearch = elasticSearch; - } + public String getTitanMigrationKeySpaceCfgFile() { + return titanMigrationKeySpaceCfgFile; + } - public String getTitanCfgFile() { - return titanCfgFile; - } + public void setTitanMigrationKeySpaceCfgFile(String titanMigrationKeySpaceCfgFile) { + this.titanMigrationKeySpaceCfgFile = titanMigrationKeySpaceCfgFile; + } - public void setTitanCfgFile(String titanCfgFile) { - this.titanCfgFile = titanCfgFile; - } + public Boolean getTitanInMemoryGraph() { + return titanInMemoryGraph; + } - public String getTitanMigrationKeySpaceCfgFile() { - return titanMigrationKeySpaceCfgFile; - } + public void setTitanInMemoryGraph(Boolean titanInMemoryGraph) { + this.titanInMemoryGraph = titanInMemoryGraph; + } - public void setTitanMigrationKeySpaceCfgFile(String titanMigrationKeySpaceCfgFile) { - this.titanMigrationKeySpaceCfgFile = titanMigrationKeySpaceCfgFile; - } + public int getStartMigrationFrom() { + return startMigrationFrom; + } - public Boolean getTitanInMemoryGraph() { - return titanInMemoryGraph; - } + public void setStartMigrationFrom(int startMigrationFrom) { + this.startMigrationFrom = startMigrationFrom; + } - public void setTitanInMemoryGraph(Boolean titanInMemoryGraph) { - this.titanInMemoryGraph = titanInMemoryGraph; - } + public Long getTitanLockTimeout() { + return titanLockTimeout; + } - public int getStartMigrationFrom() { - return startMigrationFrom; - } + public void setTitanLockTimeout(Long titanLockTimeout) { + this.titanLockTimeout = titanLockTimeout; + } - public void setStartMigrationFrom(int startMigrationFrom) { - this.startMigrationFrom = startMigrationFrom; - } + public Long getTitanHealthCheckReadTimeout() { + return titanHealthCheckReadTimeout; + } - public Long getTitanLockTimeout() { - return titanLockTimeout; - } + public Long getTitanHealthCheckReadTimeout(long defaultVal) { + return titanHealthCheckReadTimeout == null ? defaultVal : titanHealthCheckReadTimeout; + } - public void setTitanLockTimeout(Long titanLockTimeout) { - this.titanLockTimeout = titanLockTimeout; - } + public void setTitanHealthCheckReadTimeout(Long titanHealthCheckReadTimeout) { + this.titanHealthCheckReadTimeout = titanHealthCheckReadTimeout; + } - public Long getTitanHealthCheckReadTimeout() { - return titanHealthCheckReadTimeout; - } + public Long getTitanReconnectIntervalInSeconds() { + return titanReconnectIntervalInSeconds; + } - public Long getTitanHealthCheckReadTimeout(long defaultVal) { - return titanHealthCheckReadTimeout == null ? defaultVal : titanHealthCheckReadTimeout; - } + public Long getTitanReconnectIntervalInSeconds(long defaultVal) { + return titanReconnectIntervalInSeconds == null ? defaultVal : titanReconnectIntervalInSeconds; + } - public void setTitanHealthCheckReadTimeout(Long titanHealthCheckReadTimeout) { - this.titanHealthCheckReadTimeout = titanHealthCheckReadTimeout; - } + public void setTitanReconnectIntervalInSeconds(Long titanReconnectIntervalInSeconds) { + this.titanReconnectIntervalInSeconds = titanReconnectIntervalInSeconds; + } - public Long getTitanReconnectIntervalInSeconds() { - return titanReconnectIntervalInSeconds; - } + public Long getEsReconnectIntervalInSeconds() { + return esReconnectIntervalInSeconds; + } - public Long getTitanReconnectIntervalInSeconds(long defaultVal) { - return titanReconnectIntervalInSeconds == null ? defaultVal : titanReconnectIntervalInSeconds; - } + public Long getEsReconnectIntervalInSeconds(long defaultVal) { + return esReconnectIntervalInSeconds == null ? defaultVal : esReconnectIntervalInSeconds; + } - public void setTitanReconnectIntervalInSeconds(Long titanReconnectIntervalInSeconds) { - this.titanReconnectIntervalInSeconds = titanReconnectIntervalInSeconds; - } + public void setEsReconnectIntervalInSeconds(Long esReconnectIntervalInSeconds) { + this.esReconnectIntervalInSeconds = esReconnectIntervalInSeconds; + } - public Long getEsReconnectIntervalInSeconds() { - return esReconnectIntervalInSeconds; - } - - public Long getEsReconnectIntervalInSeconds(long defaultVal) { - return esReconnectIntervalInSeconds == null ? defaultVal : esReconnectIntervalInSeconds; - } - - public void setEsReconnectIntervalInSeconds(Long esReconnectIntervalInSeconds) { - this.esReconnectIntervalInSeconds = esReconnectIntervalInSeconds; - } - - public List<String> getArtifactTypes() { - return artifactTypes; - } - - public void setArtifactTypes(List<String> artifactTypes) { - this.artifactTypes = artifactTypes; - } - - public List<String> getExcludeResourceCategory() { - return excludeResourceCategory; - } - - public void setExcludeResourceCategory(List<String> excludeResourceCategory) { - this.excludeResourceCategory = excludeResourceCategory; - } - - public List<String> getExcludeResourceType() { - return excludeResourceType; - } - - public void setExcludeResourceType(List<String> excludeResourceType) { - this.excludeResourceType = excludeResourceType; - } - - public Map<String, Set<String>> getExcludedPolicyTypesMapping() { - return safeGetMap(excludedPolicyTypesMapping); - } - - public void setExcludedPolicyTypesMapping(Map<String, Set<String>> excludedPolicyTypesMapping) { - this.excludedPolicyTypesMapping = excludedPolicyTypesMapping; - } - - public Map<String, Set<String>> getExcludedGroupTypesMapping() { - return safeGetMap(excludedGroupTypesMapping); - } - - public void setExcludedGroupTypesMapping(Map<String, Set<String>> excludedGroupTypesMapping) { - this.excludedGroupTypesMapping = excludedGroupTypesMapping; - } - - public Map<String, Object> getToscaArtifacts() { - return toscaArtifacts; - } - - public void setToscaArtifacts(Map<String, Object> toscaArtifacts) { - this.toscaArtifacts = toscaArtifacts; - } - - public Map<String, Object> getInformationalResourceArtifacts() { - return informationalResourceArtifacts; - } - - public void setInformationalResourceArtifacts(Map<String, Object> informationalResourceArtifacts) { - this.informationalResourceArtifacts = informationalResourceArtifacts; - } - - public Map<String, Object> getInformationalServiceArtifacts() { - return informationalServiceArtifacts; - } - - public void setInformationalServiceArtifacts(Map<String, Object> informationalServiceArtifacts) { - this.informationalServiceArtifacts = informationalServiceArtifacts; - } - - public Map<String, Object> getServiceApiArtifacts() { - return serviceApiArtifacts; - } - - public void setServiceApiArtifacts(Map<String, Object> serviceApiArtifacts) { - this.serviceApiArtifacts = serviceApiArtifacts; - } + public List<String> getArtifactTypes() { + return artifactTypes; + } - public Map<String, ArtifactTypeConfig> getServiceDeploymentArtifacts() { - return serviceDeploymentArtifacts; - } + public void setArtifactTypes(List<String> artifactTypes) { + this.artifactTypes = artifactTypes; + } - public void setServiceDeploymentArtifacts(Map<String, ArtifactTypeConfig> serviceDeploymentArtifacts) { - this.serviceDeploymentArtifacts = serviceDeploymentArtifacts; - } + public List<String> getExcludeResourceCategory() { + return excludeResourceCategory; + } - public Map<String, ArtifactTypeConfig> getResourceDeploymentArtifacts() { - return resourceDeploymentArtifacts; - } + public void setExcludeResourceCategory(List<String> excludeResourceCategory) { + this.excludeResourceCategory = excludeResourceCategory; + } - public void setResourceDeploymentArtifacts(Map<String, ArtifactTypeConfig> resourceDeploymentArtifacts) { - this.resourceDeploymentArtifacts = resourceDeploymentArtifacts; - } + public List<String> getExcludeResourceType() { + return excludeResourceType; + } - public void setResourceInstanceDeploymentArtifacts( - Map<String, ArtifactTypeConfig> resourceInstanceDeploymentArtifacts) { - this.resourceInstanceDeploymentArtifacts = resourceInstanceDeploymentArtifacts; - } + public void setExcludeResourceType(List<String> excludeResourceType) { + this.excludeResourceType = excludeResourceType; + } - public Map<String, ArtifactTypeConfig> getResourceInstanceDeploymentArtifacts() { - return resourceInstanceDeploymentArtifacts; - } + public Map<String, Set<String>> getExcludedPolicyTypesMapping() { + return safeGetCapsInsensitiveMap(excludedPolicyTypesMapping); + } - public List<String> getExcludeServiceCategory() { - return excludeServiceCategory; - } + public void setExcludedPolicyTypesMapping(Map<String, Set<String>> excludedPolicyTypesMapping) { + this.excludedPolicyTypesMapping = excludedPolicyTypesMapping; + } - public void setExcludeServiceCategory(List<String> excludeServiceCategory) { - this.excludeServiceCategory = excludeServiceCategory; - } + public Map<String, Set<String>> getExcludedGroupTypesMapping() { + return safeGetCapsInsensitiveMap(excludedGroupTypesMapping); + } - public List<String> getLicenseTypes() { - return licenseTypes; - } + public void setExcludedGroupTypesMapping(Map<String, Set<String>> excludedGroupTypesMapping) { + this.excludedGroupTypesMapping = excludedGroupTypesMapping; + } - public void setLicenseTypes(List<String> licenseTypes) { - this.licenseTypes = licenseTypes; - } - - public Integer getAdditionalInformationMaxNumberOfKeys() { - return additionalInformationMaxNumberOfKeys; - } - - public void setAdditionalInformationMaxNumberOfKeys(Integer additionalInformationMaxNumberOfKeys) { - this.additionalInformationMaxNumberOfKeys = additionalInformationMaxNumberOfKeys; - } - - public BeMonitoringConfig getSystemMonitoring() { - return systemMonitoring; - } - - public void setSystemMonitoring(BeMonitoringConfig systemMonitoring) { - this.systemMonitoring = systemMonitoring; - } - - public Integer getDefaultHeatArtifactTimeoutMinutes() { - return defaultHeatArtifactTimeoutMinutes; - } - - public void setDefaultHeatArtifactTimeoutMinutes(Integer defaultHeatArtifactTimeoutMinutes) { - this.defaultHeatArtifactTimeoutMinutes = defaultHeatArtifactTimeoutMinutes; - } - - public Long getUebHealthCheckReconnectIntervalInSeconds() { - return uebHealthCheckReconnectIntervalInSeconds; - } - - public void setUebHealthCheckReconnectIntervalInSeconds(Long uebHealthCheckReconnectIntervalInSeconds) { - this.uebHealthCheckReconnectIntervalInSeconds = uebHealthCheckReconnectIntervalInSeconds; - } - - public Long getUebHealthCheckReadTimeout() { - return uebHealthCheckReadTimeout; - } - - public void setUebHealthCheckReadTimeout(Long uebHealthCheckReadTimeout) { - this.uebHealthCheckReadTimeout = uebHealthCheckReadTimeout; - } - - public String getWorkloadContext() { - return workloadContext; - } - - public void setWorkloadContext(String workloadContext) { - this.workloadContext = workloadContext; - } - - public EnvironmentContext getEnvironmentContext() { - return environmentContext; - } - - public void setEnvironmentContext(EnvironmentContext environmentContext) { - this.environmentContext = environmentContext; - } - - public static class ElasticSearchConfig { + public Map<String, Object> getToscaArtifacts() { + return toscaArtifacts; + } - List<IndicesTimeFrequencyEntry> indicesTimeFrequency; - - public List<IndicesTimeFrequencyEntry> getIndicesTimeFrequency() { - return indicesTimeFrequency; - } - - public void setIndicesTimeFrequency(List<IndicesTimeFrequencyEntry> indicesTimeFrequency) { - this.indicesTimeFrequency = indicesTimeFrequency; - } - - public static class IndicesTimeFrequencyEntry { + public void setToscaArtifacts(Map<String, Object> toscaArtifacts) { + this.toscaArtifacts = toscaArtifacts; + } - String indexPrefix; - String creationPeriod; + public Map<String, Object> getInformationalResourceArtifacts() { + return informationalResourceArtifacts; + } - public String getIndexPrefix() { - return indexPrefix; - } + public void setInformationalResourceArtifacts(Map<String, Object> informationalResourceArtifacts) { + this.informationalResourceArtifacts = informationalResourceArtifacts; + } - public void setIndexPrefix(String indexPrefix) { - this.indexPrefix = indexPrefix; - } + public Map<String, Object> getInformationalServiceArtifacts() { + return informationalServiceArtifacts; + } - public String getCreationPeriod() { - return creationPeriod; - } + public void setInformationalServiceArtifacts(Map<String, Object> informationalServiceArtifacts) { + this.informationalServiceArtifacts = informationalServiceArtifacts; + } - public void setCreationPeriod(String creationPeriod) { - this.creationPeriod = creationPeriod; - } - } - } + public Map<String, Object> getServiceApiArtifacts() { + return serviceApiArtifacts; + } - public static class CassandrConfig { + public void setServiceApiArtifacts(Map<String, Object> serviceApiArtifacts) { + this.serviceApiArtifacts = serviceApiArtifacts; + } - List<String> cassandraHosts; - String localDataCenter; - Long reconnectTimeout; - Integer socketReadTimeout; - Integer socketConnectTimeout; - List<KeyspaceConfig> keySpaces; - boolean authenticate; - String username; - String password; - boolean ssl; - String truststorePath; - String truststorePassword; + public Map<String, ArtifactTypeConfig> getServiceDeploymentArtifacts() { + return serviceDeploymentArtifacts; + } - public String getLocalDataCenter() { - return localDataCenter; - } + public void setServiceDeploymentArtifacts(Map<String, ArtifactTypeConfig> serviceDeploymentArtifacts) { + this.serviceDeploymentArtifacts = serviceDeploymentArtifacts; + } - public void setLocalDataCenter(String localDataCenter) { - this.localDataCenter = localDataCenter; - } + public Map<String, ArtifactTypeConfig> getResourceDeploymentArtifacts() { + return resourceDeploymentArtifacts; + } - public boolean isAuthenticate() { - return authenticate; - } + public void setResourceDeploymentArtifacts(Map<String, ArtifactTypeConfig> resourceDeploymentArtifacts) { + this.resourceDeploymentArtifacts = resourceDeploymentArtifacts; + } - public void setAuthenticate(boolean authenticate) { - this.authenticate = authenticate; - } + public void setResourceInstanceDeploymentArtifacts( + Map<String, ArtifactTypeConfig> resourceInstanceDeploymentArtifacts) { + this.resourceInstanceDeploymentArtifacts = resourceInstanceDeploymentArtifacts; + } - public String getUsername() { - return username; - } + public Map<String, ArtifactTypeConfig> getResourceInstanceDeploymentArtifacts() { + return resourceInstanceDeploymentArtifacts; + } - public void setUsername(String username) { - this.username = username; - } + public List<String> getExcludeServiceCategory() { + return excludeServiceCategory; + } - public String getPassword() { - return password; - } + public void setExcludeServiceCategory(List<String> excludeServiceCategory) { + this.excludeServiceCategory = excludeServiceCategory; + } - public void setPassword(String password) { - this.password = password; - } + public List<String> getLicenseTypes() { + return licenseTypes; + } - public boolean isSsl() { - return ssl; - } + public void setLicenseTypes(List<String> licenseTypes) { + this.licenseTypes = licenseTypes; + } - public void setSsl(boolean ssl) { - this.ssl = ssl; - } + public Integer getAdditionalInformationMaxNumberOfKeys() { + return additionalInformationMaxNumberOfKeys; + } + + public void setAdditionalInformationMaxNumberOfKeys(Integer additionalInformationMaxNumberOfKeys) { + this.additionalInformationMaxNumberOfKeys = additionalInformationMaxNumberOfKeys; + } + + public BeMonitoringConfig getSystemMonitoring() { + return systemMonitoring; + } + + public void setSystemMonitoring(BeMonitoringConfig systemMonitoring) { + this.systemMonitoring = systemMonitoring; + } + + public Integer getDefaultHeatArtifactTimeoutMinutes() { + return defaultHeatArtifactTimeoutMinutes; + } + + public void setDefaultHeatArtifactTimeoutMinutes(Integer defaultHeatArtifactTimeoutMinutes) { + this.defaultHeatArtifactTimeoutMinutes = defaultHeatArtifactTimeoutMinutes; + } + + public Long getUebHealthCheckReconnectIntervalInSeconds() { + return uebHealthCheckReconnectIntervalInSeconds; + } + + public void setUebHealthCheckReconnectIntervalInSeconds(Long uebHealthCheckReconnectIntervalInSeconds) { + this.uebHealthCheckReconnectIntervalInSeconds = uebHealthCheckReconnectIntervalInSeconds; + } + + public Long getUebHealthCheckReadTimeout() { + return uebHealthCheckReadTimeout; + } + + public void setUebHealthCheckReadTimeout(Long uebHealthCheckReadTimeout) { + this.uebHealthCheckReadTimeout = uebHealthCheckReadTimeout; + } + + public String getWorkloadContext() { + return workloadContext; + } + + public void setWorkloadContext(String workloadContext) { + this.workloadContext = workloadContext; + } + + public EnvironmentContext getEnvironmentContext() { + return environmentContext; + } + + public void setEnvironmentContext(EnvironmentContext environmentContext) { + this.environmentContext = environmentContext; + } + + public static class ElasticSearchConfig { - public String getTruststorePath() { - return truststorePath; - } + List<IndicesTimeFrequencyEntry> indicesTimeFrequency; + + public List<IndicesTimeFrequencyEntry> getIndicesTimeFrequency() { + return indicesTimeFrequency; + } + + public void setIndicesTimeFrequency(List<IndicesTimeFrequencyEntry> indicesTimeFrequency) { + this.indicesTimeFrequency = indicesTimeFrequency; + } + + public static class IndicesTimeFrequencyEntry { - public void setTruststorePath(String truststorePath) { - this.truststorePath = truststorePath; - } + String indexPrefix; + String creationPeriod; - public String getTruststorePassword() { - return truststorePassword; - } + public String getIndexPrefix() { + return indexPrefix; + } - public void setTruststorePassword(String truststorePassword) { - this.truststorePassword = truststorePassword; - } - - public Long getReconnectTimeout() { - return reconnectTimeout; - } - - public void setReconnectTimeout(Long reconnectTimeout) { - this.reconnectTimeout = reconnectTimeout; - } + public void setIndexPrefix(String indexPrefix) { + this.indexPrefix = indexPrefix; + } + + public String getCreationPeriod() { + return creationPeriod; + } + + public void setCreationPeriod(String creationPeriod) { + this.creationPeriod = creationPeriod; + } + } + } + + public static class CassandrConfig { + + List<String> cassandraHosts; + String localDataCenter; + Long reconnectTimeout; + Integer socketReadTimeout; + Integer socketConnectTimeout; + List<KeyspaceConfig> keySpaces; + boolean authenticate; + String username; + String password; + boolean ssl; + String truststorePath; + String truststorePassword; + + public String getLocalDataCenter() { + return localDataCenter; + } + + public void setLocalDataCenter(String localDataCenter) { + this.localDataCenter = localDataCenter; + } + + public boolean isAuthenticate() { + return authenticate; + } + + public void setAuthenticate(boolean authenticate) { + this.authenticate = authenticate; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public boolean isSsl() { + return ssl; + } + + public void setSsl(boolean ssl) { + this.ssl = ssl; + } + + public String getTruststorePath() { + return truststorePath; + } + + public void setTruststorePath(String truststorePath) { + this.truststorePath = truststorePath; + } + + public String getTruststorePassword() { + return truststorePassword; + } + + public void setTruststorePassword(String truststorePassword) { + this.truststorePassword = truststorePassword; + } + + public Long getReconnectTimeout() { + return reconnectTimeout; + } + + public void setReconnectTimeout(Long reconnectTimeout) { + this.reconnectTimeout = reconnectTimeout; + } public Integer getSocketReadTimeout() { return socketReadTimeout; } @@ -709,843 +748,843 @@ public class Configuration extends BasicConfiguration { public void setSocketConnectTimeout(Integer socketConnectTimeout) { this.socketConnectTimeout = socketConnectTimeout; } - public List<String> getCassandraHosts() { - return cassandraHosts; - } - - public void setCassandraHosts(List<String> cassandraHosts) { - this.cassandraHosts = cassandraHosts; - } - - public List<KeyspaceConfig> getKeySpaces() { - return keySpaces; - } - - public void setKeySpaces(List<KeyspaceConfig> cassandraConfig) { - this.keySpaces = cassandraConfig; - } - - public static class KeyspaceConfig { - - String name; - String replicationStrategy; - List<String> replicationInfo; - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getReplicationStrategy() { - return replicationStrategy; - } - - public void setReplicationStrategy(String replicationStrategy) { - this.replicationStrategy = replicationStrategy; - } - - public List<String> getReplicationInfo() { - return replicationInfo; - } - - public void setReplicationInfo(List<String> replicationInfo) { - this.replicationInfo = replicationInfo; - } - } - } - - public static class SwitchoverDetectorConfig { - - String gBeFqdn; - String gFeFqdn; - String beVip; - String feVip; - int beResolveAttempts; - int feResolveAttempts; - Boolean enabled; - long interval; - String changePriorityUser; - String changePriorityPassword; - String publishNetworkUrl; - String publishNetworkBody; - Map<String, GroupInfo> groups; - - public String getgBeFqdn() { - return gBeFqdn; - } - - public void setgBeFqdn(String gBeFqdn) { - this.gBeFqdn = gBeFqdn; - } - - public String getgFeFqdn() { - return gFeFqdn; - } - - public void setgFeFqdn(String gFeFqdn) { - this.gFeFqdn = gFeFqdn; - } - - public String getBeVip() { - return beVip; - } - - public void setBeVip(String beVip) { - this.beVip = beVip; - } - - public String getFeVip() { - return feVip; - } + public List<String> getCassandraHosts() { + return cassandraHosts; + } + + public void setCassandraHosts(List<String> cassandraHosts) { + this.cassandraHosts = cassandraHosts; + } + + public List<KeyspaceConfig> getKeySpaces() { + return keySpaces; + } + + public void setKeySpaces(List<KeyspaceConfig> cassandraConfig) { + this.keySpaces = cassandraConfig; + } + + public static class KeyspaceConfig { + + String name; + String replicationStrategy; + List<String> replicationInfo; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getReplicationStrategy() { + return replicationStrategy; + } + + public void setReplicationStrategy(String replicationStrategy) { + this.replicationStrategy = replicationStrategy; + } + + public List<String> getReplicationInfo() { + return replicationInfo; + } + + public void setReplicationInfo(List<String> replicationInfo) { + this.replicationInfo = replicationInfo; + } + } + } + + public static class SwitchoverDetectorConfig { + + String gBeFqdn; + String gFeFqdn; + String beVip; + String feVip; + int beResolveAttempts; + int feResolveAttempts; + Boolean enabled; + long interval; + String changePriorityUser; + String changePriorityPassword; + String publishNetworkUrl; + String publishNetworkBody; + Map<String, GroupInfo> groups; + + public String getgBeFqdn() { + return gBeFqdn; + } + + public void setgBeFqdn(String gBeFqdn) { + this.gBeFqdn = gBeFqdn; + } + + public String getgFeFqdn() { + return gFeFqdn; + } + + public void setgFeFqdn(String gFeFqdn) { + this.gFeFqdn = gFeFqdn; + } + + public String getBeVip() { + return beVip; + } + + public void setBeVip(String beVip) { + this.beVip = beVip; + } + + public String getFeVip() { + return feVip; + } - public void setFeVip(String feVip) { - this.feVip = feVip; - } + public void setFeVip(String feVip) { + this.feVip = feVip; + } - public int getBeResolveAttempts() { - return beResolveAttempts; - } + public int getBeResolveAttempts() { + return beResolveAttempts; + } - public void setBeResolveAttempts(int beResolveAttempts) { - this.beResolveAttempts = beResolveAttempts; - } + public void setBeResolveAttempts(int beResolveAttempts) { + this.beResolveAttempts = beResolveAttempts; + } - public int getFeResolveAttempts() { - return feResolveAttempts; - } + public int getFeResolveAttempts() { + return feResolveAttempts; + } - public void setFeResolveAttempts(int feResolveAttempts) { - this.feResolveAttempts = feResolveAttempts; - } + public void setFeResolveAttempts(int feResolveAttempts) { + this.feResolveAttempts = feResolveAttempts; + } - public Boolean getEnabled() { - return enabled; - } + public Boolean getEnabled() { + return enabled; + } - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public long getInterval() { - return interval; - } - - public void setInterval(long interval) { - this.interval = interval; - } - - public String getChangePriorityUser() { - return changePriorityUser; - } + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + public long getInterval() { + return interval; + } + + public void setInterval(long interval) { + this.interval = interval; + } + + public String getChangePriorityUser() { + return changePriorityUser; + } - public void setChangePriorityUser(String changePriorityUser) { - this.changePriorityUser = changePriorityUser; - } + public void setChangePriorityUser(String changePriorityUser) { + this.changePriorityUser = changePriorityUser; + } - public String getChangePriorityPassword() { - return changePriorityPassword; - } + public String getChangePriorityPassword() { + return changePriorityPassword; + } - public void setChangePriorityPassword(String changePriorityPassword) { - this.changePriorityPassword = changePriorityPassword; - } + public void setChangePriorityPassword(String changePriorityPassword) { + this.changePriorityPassword = changePriorityPassword; + } - public String getPublishNetworkUrl() { - return publishNetworkUrl; - } + public String getPublishNetworkUrl() { + return publishNetworkUrl; + } - public void setPublishNetworkUrl(String publishNetworkUrl) { - this.publishNetworkUrl = publishNetworkUrl; - } + public void setPublishNetworkUrl(String publishNetworkUrl) { + this.publishNetworkUrl = publishNetworkUrl; + } - public String getPublishNetworkBody() { - return publishNetworkBody; - } + public String getPublishNetworkBody() { + return publishNetworkBody; + } - public void setPublishNetworkBody(String publishNetworkBody) { - this.publishNetworkBody = publishNetworkBody; - } + public void setPublishNetworkBody(String publishNetworkBody) { + this.publishNetworkBody = publishNetworkBody; + } - public Map<String, GroupInfo> getGroups() { - return groups; - } + public Map<String, GroupInfo> getGroups() { + return groups; + } - public void setGroups(Map<String, GroupInfo> groups) { - this.groups = groups; - } + public void setGroups(Map<String, GroupInfo> groups) { + this.groups = groups; + } - public static class GroupInfo { + public static class GroupInfo { - String changePriorityUrl; - String changePriorityBody; + String changePriorityUrl; + String changePriorityBody; - public String getChangePriorityUrl() { - return changePriorityUrl; - } + public String getChangePriorityUrl() { + return changePriorityUrl; + } - public void setChangePriorityUrl(String changePriorityUrl) { - this.changePriorityUrl = changePriorityUrl; - } + public void setChangePriorityUrl(String changePriorityUrl) { + this.changePriorityUrl = changePriorityUrl; + } - public String getChangePriorityBody() { - return changePriorityBody; - } + public String getChangePriorityBody() { + return changePriorityBody; + } - public void setChangePriorityBody(String changePriorityBody) { - this.changePriorityBody = changePriorityBody; - } - } + public void setChangePriorityBody(String changePriorityBody) { + this.changePriorityBody = changePriorityBody; + } + } - } + } - public static class BeMonitoringConfig { + public static class BeMonitoringConfig { - Boolean enabled; - Boolean isProxy; - Integer probeIntervalInSeconds; + Boolean enabled; + Boolean isProxy; + Integer probeIntervalInSeconds; - public Boolean getEnabled() { - return enabled; - } + public Boolean getEnabled() { + return enabled; + } - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } - public Boolean getIsProxy() { - return isProxy; - } + public Boolean getIsProxy() { + return isProxy; + } - public void setIsProxy(Boolean isProxy) { - this.isProxy = isProxy; - } + public void setIsProxy(Boolean isProxy) { + this.isProxy = isProxy; + } - public Integer getProbeIntervalInSeconds() { - return probeIntervalInSeconds; - } + public Integer getProbeIntervalInSeconds() { + return probeIntervalInSeconds; + } - public Integer getProbeIntervalInSeconds(int defaultVal) { - return probeIntervalInSeconds == null ? defaultVal : probeIntervalInSeconds; - } + public Integer getProbeIntervalInSeconds(int defaultVal) { + return probeIntervalInSeconds == null ? defaultVal : probeIntervalInSeconds; + } - public void setProbeIntervalInSeconds(Integer probeIntervalInSeconds) { - this.probeIntervalInSeconds = probeIntervalInSeconds; - } - } + public void setProbeIntervalInSeconds(Integer probeIntervalInSeconds) { + this.probeIntervalInSeconds = probeIntervalInSeconds; + } + } - public static class ArtifactTypeConfig { + public static class ArtifactTypeConfig { - List<String> acceptedTypes; - List<String> validForResourceTypes; + List<String> acceptedTypes; + List<String> validForResourceTypes; - public List<String> getValidForResourceTypes() { - return validForResourceTypes; - } + public List<String> getValidForResourceTypes() { + return validForResourceTypes; + } - public void setValidForResourceTypes(List<String> validForResourceTypes) { - this.validForResourceTypes = validForResourceTypes; - } + public void setValidForResourceTypes(List<String> validForResourceTypes) { + this.validForResourceTypes = validForResourceTypes; + } - public List<String> getAcceptedTypes() { - return acceptedTypes; - } + public List<String> getAcceptedTypes() { + return acceptedTypes; + } - public void setAcceptedTypes(List<String> acceptedTypes) { - this.acceptedTypes = acceptedTypes; - } - } + public void setAcceptedTypes(List<String> acceptedTypes) { + this.acceptedTypes = acceptedTypes; + } + } - public static class OnboardingConfig { + public static class OnboardingConfig { - String protocol = "http"; - String host; - Integer port; - String downloadCsarUri; - String healthCheckUri; + String protocol = "http"; + String host; + Integer port; + String downloadCsarUri; + String healthCheckUri; - public String getProtocol() { - return protocol; - } + public String getProtocol() { + return protocol; + } - public void setProtocol(String protocol) { - this.protocol = protocol; - } + public void setProtocol(String protocol) { + this.protocol = protocol; + } - public String getHost() { - return host; - } + public String getHost() { + return host; + } - public void setHost(String host) { - this.host = host; - } + public void setHost(String host) { + this.host = host; + } - public Integer getPort() { - return port; - } + public Integer getPort() { + return port; + } - public void setPort(Integer port) { - this.port = port; - } + public void setPort(Integer port) { + this.port = port; + } - public String getDownloadCsarUri() { - return downloadCsarUri; - } + public String getDownloadCsarUri() { + return downloadCsarUri; + } - public void setDownloadCsarUri(String downloadCsarUri) { - this.downloadCsarUri = downloadCsarUri; - } + public void setDownloadCsarUri(String downloadCsarUri) { + this.downloadCsarUri = downloadCsarUri; + } - public String getHealthCheckUri() { - return healthCheckUri; - } + public String getHealthCheckUri() { + return healthCheckUri; + } - public void setHealthCheckUri(String healthCheckUri) { - this.healthCheckUri = healthCheckUri; - } + public void setHealthCheckUri(String healthCheckUri) { + this.healthCheckUri = healthCheckUri; + } - @Override - public String toString() { - return "OnboardingConfig [protocol=" + protocol + ", host=" + host + ", port=" + port + ", downloadCsarUri=" - + downloadCsarUri + "]"; - } + @Override + public String toString() { + return "OnboardingConfig [protocol=" + protocol + ", host=" + host + ", port=" + port + ", downloadCsarUri=" + + downloadCsarUri + "]"; + } - } + } - public DcaeConfig getDcae() { - return dcae; - } + public DcaeConfig getDcae() { + return dcae; + } - public void setDcae(DcaeConfig dcae) { - this.dcae = dcae; - } + public void setDcae(DcaeConfig dcae) { + this.dcae = dcae; + } - public static class DcaeConfig { + public static class DcaeConfig { - String protocol = "http"; - String host; - Integer port; - String healthCheckUri; + String protocol = "http"; + String host; + Integer port; + String healthCheckUri; - public String getProtocol() { - return protocol; - } + public String getProtocol() { + return protocol; + } - public void setProtocol(String protocol) { - this.protocol = protocol; - } + public void setProtocol(String protocol) { + this.protocol = protocol; + } - public String getHost() { - return host; - } + public String getHost() { + return host; + } - public void setHost(String host) { - this.host = host; - } + public void setHost(String host) { + this.host = host; + } - public Integer getPort() { - return port; - } + public Integer getPort() { + return port; + } - public void setPort(Integer port) { - this.port = port; - } + public void setPort(Integer port) { + this.port = port; + } - public String getHealthCheckUri() { - return healthCheckUri; - } + public String getHealthCheckUri() { + return healthCheckUri; + } - public void setHealthCheckUri(String healthCheckUri) { - this.healthCheckUri = healthCheckUri; - } - } + public void setHealthCheckUri(String healthCheckUri) { + this.healthCheckUri = healthCheckUri; + } + } - public static class EcompPortalConfig { + public static class EcompPortalConfig { - private String defaultFunctionalMenu; + private String defaultFunctionalMenu; - public String getDefaultFunctionalMenu() { - return defaultFunctionalMenu; - } + public String getDefaultFunctionalMenu() { + return defaultFunctionalMenu; + } - public void setDefaultFunctionalMenu(String defaultFunctionalMenu) { - this.defaultFunctionalMenu = defaultFunctionalMenu; - } + public void setDefaultFunctionalMenu(String defaultFunctionalMenu) { + this.defaultFunctionalMenu = defaultFunctionalMenu; + } - @Override - public String toString() { - return "EcompPortalConfig [defaultFunctionalMenu=" + defaultFunctionalMenu + "]"; - } + @Override + public String toString() { + return "EcompPortalConfig [defaultFunctionalMenu=" + defaultFunctionalMenu + "]"; + } - } + } - public static class ApplicationL1CacheConfig { + public static class ApplicationL1CacheConfig { - ApplicationL1CacheInfo datatypes; + ApplicationL1CacheInfo datatypes; - public ApplicationL1CacheInfo getDatatypes() { - return datatypes; - } + public ApplicationL1CacheInfo getDatatypes() { + return datatypes; + } - public void setDatatypes(ApplicationL1CacheInfo datatypes) { - this.datatypes = datatypes; - } + public void setDatatypes(ApplicationL1CacheInfo datatypes) { + this.datatypes = datatypes; + } - @Override - public String toString() { - return "ApplicationL1CacheConfig [datatypes=" + datatypes + "]"; - } + @Override + public String toString() { + return "ApplicationL1CacheConfig [datatypes=" + datatypes + "]"; + } - } + } - public static class ApplicationL2CacheConfig { + public static class ApplicationL2CacheConfig { - boolean enabled; - ApplicationL1CacheCatalogInfo catalogL1Cache; + boolean enabled; + ApplicationL1CacheCatalogInfo catalogL1Cache; - QueueInfo queue; + QueueInfo queue; - public boolean isEnabled() { - return enabled; - } + public boolean isEnabled() { + return enabled; + } - public void setEnabled(boolean enabled) { - this.enabled = enabled; - } + public void setEnabled(boolean enabled) { + this.enabled = enabled; + } - public ApplicationL1CacheCatalogInfo getCatalogL1Cache() { - return catalogL1Cache; - } + public ApplicationL1CacheCatalogInfo getCatalogL1Cache() { + return catalogL1Cache; + } - public void setCatalogL1Cache(ApplicationL1CacheCatalogInfo catalogL1Cache) { - this.catalogL1Cache = catalogL1Cache; - } + public void setCatalogL1Cache(ApplicationL1CacheCatalogInfo catalogL1Cache) { + this.catalogL1Cache = catalogL1Cache; + } - public QueueInfo getQueue() { - return queue; - } + public QueueInfo getQueue() { + return queue; + } - public void setQueue(QueueInfo queue) { - this.queue = queue; - } + public void setQueue(QueueInfo queue) { + this.queue = queue; + } - @Override - public String toString() { - return "ApplicationL2CacheConfig [enabled=" + enabled + ", catalogL1Cache=" + catalogL1Cache + "]"; - } + @Override + public String toString() { + return "ApplicationL2CacheConfig [enabled=" + enabled + ", catalogL1Cache=" + catalogL1Cache + "]"; + } - } + } - public static class ToscaValidatorsConfig { + public static class ToscaValidatorsConfig { - private Integer stringMaxLength; + private Integer stringMaxLength; - public Integer getStringMaxLength() { - return stringMaxLength; - } + public Integer getStringMaxLength() { + return stringMaxLength; + } - public void setStringMaxLength(Integer stringMaxLength) { - this.stringMaxLength = stringMaxLength; - } + public void setStringMaxLength(Integer stringMaxLength) { + this.stringMaxLength = stringMaxLength; + } - @Override - public String toString() { - return "ToscaValidatorsConfig [stringMaxLength=" + stringMaxLength + "]"; - } + @Override + public String toString() { + return "ToscaValidatorsConfig [stringMaxLength=" + stringMaxLength + "]"; + } - } + } - public static class ApplicationL1CacheInfo { + public static class ApplicationL1CacheInfo { - Boolean enabled; - Integer firstRunDelay; - Integer pollIntervalInSec; + Boolean enabled; + Integer firstRunDelay; + Integer pollIntervalInSec; - public Boolean getEnabled() { - return enabled; - } + public Boolean getEnabled() { + return enabled; + } - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } - public Integer getFirstRunDelay() { - return firstRunDelay; - } + public Integer getFirstRunDelay() { + return firstRunDelay; + } - public void setFirstRunDelay(Integer firstRunDelay) { - this.firstRunDelay = firstRunDelay; - } + public void setFirstRunDelay(Integer firstRunDelay) { + this.firstRunDelay = firstRunDelay; + } - public Integer getPollIntervalInSec() { - return pollIntervalInSec; - } + public Integer getPollIntervalInSec() { + return pollIntervalInSec; + } - public void setPollIntervalInSec(Integer pollIntervalInSec) { - this.pollIntervalInSec = pollIntervalInSec; - } + public void setPollIntervalInSec(Integer pollIntervalInSec) { + this.pollIntervalInSec = pollIntervalInSec; + } - @Override - public String toString() { - return "ApplicationL1CacheInfo [enabled=" + enabled + ", firstRunDelay=" + firstRunDelay - + ", pollIntervalInSec=" + pollIntervalInSec + "]"; - } - } + @Override + public String toString() { + return "ApplicationL1CacheInfo [enabled=" + enabled + ", firstRunDelay=" + firstRunDelay + + ", pollIntervalInSec=" + pollIntervalInSec + "]"; + } + } - public static class ApplicationL1CacheCatalogInfo { + public static class ApplicationL1CacheCatalogInfo { - Boolean enabled; - Integer resourcesSizeInCache; - Integer servicesSizeInCache; - Integer productsSizeInCache; + Boolean enabled; + Integer resourcesSizeInCache; + Integer servicesSizeInCache; + Integer productsSizeInCache; - public Boolean getEnabled() { - return enabled; - } + public Boolean getEnabled() { + return enabled; + } - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } - public Integer getResourcesSizeInCache() { - return resourcesSizeInCache; - } + public Integer getResourcesSizeInCache() { + return resourcesSizeInCache; + } - public void setResourcesSizeInCache(Integer resourcesSizeInCache) { - this.resourcesSizeInCache = resourcesSizeInCache; - } + public void setResourcesSizeInCache(Integer resourcesSizeInCache) { + this.resourcesSizeInCache = resourcesSizeInCache; + } - public Integer getServicesSizeInCache() { - return servicesSizeInCache; - } - - public void setServicesSizeInCache(Integer servicesSizeInCache) { - this.servicesSizeInCache = servicesSizeInCache; - } - - public Integer getProductsSizeInCache() { - return productsSizeInCache; - } - - public void setProductsSizeInCache(Integer productsSizeInCache) { - this.productsSizeInCache = productsSizeInCache; - } - - @Override - public String toString() { - return "ApplicationL1CacheCatalogInfo [enabled=" + enabled + ", resourcesSizeInCache=" - + resourcesSizeInCache + ", servicesSizeInCache=" + servicesSizeInCache + ", productsSizeInCache=" - + productsSizeInCache + "]"; - } - - } - - public static class QueueInfo { - Integer numberOfCacheWorkers; - Integer waitOnShutDownInMinutes; - Integer syncIntervalInSecondes; - - public Integer getWaitOnShutDownInMinutes() { - return waitOnShutDownInMinutes; - } - - public void setWaitOnShutDownInMinutes(Integer waitOnShutDownInMinutes) { - this.waitOnShutDownInMinutes = waitOnShutDownInMinutes; - } - - public Integer getSyncIntervalInSecondes() { - return syncIntervalInSecondes; - } - - public void setSyncIntervalInSecondes(Integer syncIntervalInSecondes) { - this.syncIntervalInSecondes = syncIntervalInSecondes; - } - - public Integer getNumberOfCacheWorkers() { - return numberOfCacheWorkers; - } - - public void setNumberOfCacheWorkers(Integer numberOfCacheWorkers) { - this.numberOfCacheWorkers = numberOfCacheWorkers; - } - - @Override - public String toString() { - return "QueueInfo[" + "waitOnShutDownInMinutes=" + waitOnShutDownInMinutes + ", syncIntervalInSecondes=" - + syncIntervalInSecondes + ", numberOfCacheWorkers=" + this.numberOfCacheWorkers + ']'; - } - } - - public static class EnvironmentContext { - - String defaultValue; - List<String> validValues; - - public String getDefaultValue() { - return defaultValue; - } - - public void setDefaultValue(String defaultValue) { - this.defaultValue = defaultValue; - } - - public List<String> getValidValues() { - return validValues; - } - - public void setValidValues(List<String> validValues) { - this.validValues = validValues; - } - } - - - - public CleanComponentsConfiguration getCleanComponentsConfiguration() { - return cleanComponentsConfiguration; - } - - public void setCleanComponentsConfiguration(CleanComponentsConfiguration cleanComponentsConfiguration) { - this.cleanComponentsConfiguration = cleanComponentsConfiguration; - } - - @Override - public String toString() { - return new StringBuilder().append(format("backend host: %s%n", beFqdn)) - .append(format("backend http port: %s%n", beHttpPort)) - .append(format("backend ssl port: %s%n", beSslPort)).append(format("backend context: %s%n", beContext)) - .append(format("backend protocol: %s%n", beProtocol)).append(format("Version: %s%n", version)) - .append(format("Released: %s%n", released)).append(format("Supported protocols: %s%n", protocols)) - .append(format("Users: %s%n", users)).append(format("Neo4j: %s%n", neo4j)) - .append(format("ElasticSearch: %s%n", elasticSearch)) - .append(format("Titan Cfg File: %s%n", titanCfgFile)) - .append(format("Titan In memory: %s%n", titanInMemoryGraph)) - .append(format("Titan lock timeout: %s%n", titanLockTimeout)) - .append(format("Titan reconnect interval seconds: %s%n", titanReconnectIntervalInSeconds)) - .append(format("excludeResourceCategory: %s%n", excludeResourceCategory)) - .append(format("informationalResourceArtifacts: %s%n", informationalResourceArtifacts)) - .append(format("deploymentResourceArtifacts: %s%n", deploymentResourceArtifacts)) - .append(format("informationalServiceArtifacts: %s%n", informationalServiceArtifacts)) - .append(format("Supported artifacts types: %s%n", artifactTypes)) - .append(format("Supported license types: %s%n", licenseTypes)) - .append(format("Additional information Maximum number of preoperties: %s%n", - additionalInformationMaxNumberOfKeys)) - .append(format("Default Heat Artifact Timeout in Minutes: %s%n", defaultHeatArtifactTimeoutMinutes)) - .append(format("URLs For HTTP Requests that will not be automatically logged : %s%n", unLoggedUrls)) - .append(format("Service Api Artifacts: %s%n", serviceApiArtifacts)) - .append(format("heat env artifact header: %s%n", heatEnvArtifactHeader)) - .append(format("heat env artifact footer: %s%n", heatEnvArtifactFooter)) + public Integer getServicesSizeInCache() { + return servicesSizeInCache; + } + + public void setServicesSizeInCache(Integer servicesSizeInCache) { + this.servicesSizeInCache = servicesSizeInCache; + } + + public Integer getProductsSizeInCache() { + return productsSizeInCache; + } + + public void setProductsSizeInCache(Integer productsSizeInCache) { + this.productsSizeInCache = productsSizeInCache; + } + + @Override + public String toString() { + return "ApplicationL1CacheCatalogInfo [enabled=" + enabled + ", resourcesSizeInCache=" + + resourcesSizeInCache + ", servicesSizeInCache=" + servicesSizeInCache + ", productsSizeInCache=" + + productsSizeInCache + "]"; + } + + } + + public static class QueueInfo { + Integer numberOfCacheWorkers; + Integer waitOnShutDownInMinutes; + Integer syncIntervalInSecondes; + + public Integer getWaitOnShutDownInMinutes() { + return waitOnShutDownInMinutes; + } + + public void setWaitOnShutDownInMinutes(Integer waitOnShutDownInMinutes) { + this.waitOnShutDownInMinutes = waitOnShutDownInMinutes; + } + + public Integer getSyncIntervalInSecondes() { + return syncIntervalInSecondes; + } + + public void setSyncIntervalInSecondes(Integer syncIntervalInSecondes) { + this.syncIntervalInSecondes = syncIntervalInSecondes; + } + + public Integer getNumberOfCacheWorkers() { + return numberOfCacheWorkers; + } + + public void setNumberOfCacheWorkers(Integer numberOfCacheWorkers) { + this.numberOfCacheWorkers = numberOfCacheWorkers; + } + + @Override + public String toString() { + return "QueueInfo[" + "waitOnShutDownInMinutes=" + waitOnShutDownInMinutes + ", syncIntervalInSecondes=" + + syncIntervalInSecondes + ", numberOfCacheWorkers=" + this.numberOfCacheWorkers + ']'; + } + } + + public static class EnvironmentContext { + + String defaultValue; + List<String> validValues; + + public String getDefaultValue() { + return defaultValue; + } + + public void setDefaultValue(String defaultValue) { + this.defaultValue = defaultValue; + } + + public List<String> getValidValues() { + return validValues; + } + + public void setValidValues(List<String> validValues) { + this.validValues = validValues; + } + } + + + + public CleanComponentsConfiguration getCleanComponentsConfiguration() { + return cleanComponentsConfiguration; + } + + public void setCleanComponentsConfiguration(CleanComponentsConfiguration cleanComponentsConfiguration) { + this.cleanComponentsConfiguration = cleanComponentsConfiguration; + } + + @Override + public String toString() { + return new StringBuilder().append(format("backend host: %s%n", beFqdn)) + .append(format("backend http port: %s%n", beHttpPort)) + .append(format("backend ssl port: %s%n", beSslPort)).append(format("backend context: %s%n", beContext)) + .append(format("backend protocol: %s%n", beProtocol)).append(format("Version: %s%n", version)) + .append(format("Released: %s%n", released)).append(format("Supported protocols: %s%n", protocols)) + .append(format("Users: %s%n", users)).append(format("Neo4j: %s%n", neo4j)) + .append(format("ElasticSearch: %s%n", elasticSearch)) + .append(format("Titan Cfg File: %s%n", titanCfgFile)) + .append(format("Titan In memory: %s%n", titanInMemoryGraph)) + .append(format("Titan lock timeout: %s%n", titanLockTimeout)) + .append(format("Titan reconnect interval seconds: %s%n", titanReconnectIntervalInSeconds)) + .append(format("excludeResourceCategory: %s%n", excludeResourceCategory)) + .append(format("informationalResourceArtifacts: %s%n", informationalResourceArtifacts)) + .append(format("deploymentResourceArtifacts: %s%n", deploymentResourceArtifacts)) + .append(format("informationalServiceArtifacts: %s%n", informationalServiceArtifacts)) + .append(format("Supported artifacts types: %s%n", artifactTypes)) + .append(format("Supported license types: %s%n", licenseTypes)) + .append(format("Additional information Maximum number of preoperties: %s%n", + additionalInformationMaxNumberOfKeys)) + .append(format("Default Heat Artifact Timeout in Minutes: %s%n", defaultHeatArtifactTimeoutMinutes)) + .append(format("URLs For HTTP Requests that will not be automatically logged : %s%n", unLoggedUrls)) + .append(format("Service Api Artifacts: %s%n", serviceApiArtifacts)) + .append(format("heat env artifact header: %s%n", heatEnvArtifactHeader)) + .append(format("heat env artifact footer: %s%n", heatEnvArtifactFooter)) .append(format("onboarding: %s%n", onboarding)) .append(format("tosca conformance level: %s%n", toscaConformanceLevel)) .toString(); - } + } + + public List<String> getUnLoggedUrls() { + return unLoggedUrls; + } - public List<String> getUnLoggedUrls() { - return unLoggedUrls; - } + public void setUnLoggedUrls(List<String> unLoggedUrls) { + this.unLoggedUrls = unLoggedUrls; + } - public void setUnLoggedUrls(List<String> unLoggedUrls) { - this.unLoggedUrls = unLoggedUrls; - } + public Map<String, Object> getDeploymentResourceArtifacts() { + return deploymentResourceArtifacts; + } - public Map<String, Object> getDeploymentResourceArtifacts() { - return deploymentResourceArtifacts; - } + public void setDeploymentResourceArtifacts(Map<String, Object> deploymentResourceArtifacts) { + this.deploymentResourceArtifacts = deploymentResourceArtifacts; + } - public void setDeploymentResourceArtifacts(Map<String, Object> deploymentResourceArtifacts) { - this.deploymentResourceArtifacts = deploymentResourceArtifacts; - } + public String getHeatEnvArtifactHeader() { + return heatEnvArtifactHeader; + } - public String getHeatEnvArtifactHeader() { - return heatEnvArtifactHeader; - } + public void setHeatEnvArtifactHeader(String heatEnvArtifactHeader) { + this.heatEnvArtifactHeader = heatEnvArtifactHeader; + } - public void setHeatEnvArtifactHeader(String heatEnvArtifactHeader) { - this.heatEnvArtifactHeader = heatEnvArtifactHeader; - } + public String getHeatEnvArtifactFooter() { + return heatEnvArtifactFooter; + } - public String getHeatEnvArtifactFooter() { - return heatEnvArtifactFooter; - } + public void setHeatEnvArtifactFooter(String heatEnvArtifactFooter) { + this.heatEnvArtifactFooter = heatEnvArtifactFooter; + } - public void setHeatEnvArtifactFooter(String heatEnvArtifactFooter) { - this.heatEnvArtifactFooter = heatEnvArtifactFooter; - } + public Map<String, Object> getDeploymentResourceInstanceArtifacts() { + return deploymentResourceInstanceArtifacts; + } - public Map<String, Object> getDeploymentResourceInstanceArtifacts() { - return deploymentResourceInstanceArtifacts; - } + public void setDeploymentResourceInstanceArtifacts(Map<String, Object> deploymentResourceInstanceArtifacts) { + this.deploymentResourceInstanceArtifacts = deploymentResourceInstanceArtifacts; + } - public void setDeploymentResourceInstanceArtifacts(Map<String, Object> deploymentResourceInstanceArtifacts) { - this.deploymentResourceInstanceArtifacts = deploymentResourceInstanceArtifacts; - } + public String getArtifactsIndex() { + return artifactsIndex; + } - public String getArtifactsIndex() { - return artifactsIndex; - } + public void setArtifactsIndex(String artifactsIndex) { + this.artifactsIndex = artifactsIndex; + } - public void setArtifactsIndex(String artifactsIndex) { - this.artifactsIndex = artifactsIndex; - } + public Map<String, ArtifactTypeConfig> getResourceInformationalDeployedArtifacts() { + return resourceInformationalDeployedArtifacts; + } - public Map<String, ArtifactTypeConfig> getResourceInformationalDeployedArtifacts() { - return resourceInformationalDeployedArtifacts; - } + public void setResourceInformationalDeployedArtifacts( + Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts) { + this.resourceInformationalDeployedArtifacts = resourceInformationalDeployedArtifacts; + } - public void setResourceInformationalDeployedArtifacts( - Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts) { - this.resourceInformationalDeployedArtifacts = resourceInformationalDeployedArtifacts; - } + public List<String> getResourceTypes() { + return resourceTypes; + } - public List<String> getResourceTypes() { - return resourceTypes; - } + public void setResourceTypes(List<String> resourceTypes) { + this.resourceTypes = resourceTypes; + } - public void setResourceTypes(List<String> resourceTypes) { - this.resourceTypes = resourceTypes; - } - - public String getToscaFilesDir() { - return toscaFilesDir; - } - - public void setToscaFilesDir(String toscaFilesDir) { - this.toscaFilesDir = toscaFilesDir; - } - - public String getHeatTranslatorPath() { - return heatTranslatorPath; - } - - public void setHeatTranslatorPath(String heatTranslatorPath) { - this.heatTranslatorPath = heatTranslatorPath; - } - - public Map<String, Set<String>> getRequirementsToFulfillBeforeCert() { - return requirementsToFulfillBeforeCert; - } - - public void setRequirementsToFulfillBeforeCert(Map<String, Set<String>> requirementsToFulfillBeforeCert) { - this.requirementsToFulfillBeforeCert = requirementsToFulfillBeforeCert; - } - - public Map<String, Set<String>> getCapabilitiesToConsumeBeforeCert() { - return capabilitiesToConsumeBeforeCert; - } - - public void setCapabilitiesToConsumeBeforeCert(Map<String, Set<String>> capabilitiesToConsumeBeforeCert) { - this.capabilitiesToConsumeBeforeCert = capabilitiesToConsumeBeforeCert; - } - - public OnboardingConfig getOnboarding() { - return onboarding; - } - - public void setOnboarding(OnboardingConfig onboarding) { - this.onboarding = onboarding; - } - - public EcompPortalConfig getEcompPortal() { - return ecompPortal; - } - - public void setEcompPortal(EcompPortalConfig ecompPortal) { - this.ecompPortal = ecompPortal; - } - - public ToscaValidatorsConfig getToscaValidators() { - return toscaValidators; - } - - public void setToscaValidators(ToscaValidatorsConfig toscaValidators) { - this.toscaValidators = toscaValidators; - } - - public boolean isDisableAudit() { - return disableAudit; - } - - public void setDisableAudit(boolean enableAudit) { - this.disableAudit = enableAudit; - } - - public Map<String, ArtifactTypeConfig> getResourceInformationalArtifacts() { - return resourceInformationalArtifacts; - } - - public void setResourceInformationalArtifacts(Map<String, ArtifactTypeConfig> resourceInformationalArtifacts) { - this.resourceInformationalArtifacts = resourceInformationalArtifacts; - } - - public Map<String, VfModuleProperty> getVfModuleProperties() { - return vfModuleProperties; - } - - public void setVfModuleProperties(Map<String, VfModuleProperty> vfModuleProperties) { - this.vfModuleProperties = vfModuleProperties; - } - - public String getToscaConformanceLevel() { - return toscaConformanceLevel; - } - - public void setToscaConformanceLevel(String toscaConformanceLevel) { - this.toscaConformanceLevel = toscaConformanceLevel; - } - - public String getMinToscaConformanceLevel() { - return minToscaConformanceLevel; - } - - public void setMinToscaConformanceLevel(String toscaConformanceLevel) { - this.minToscaConformanceLevel = toscaConformanceLevel; - } - - public static class VfModuleProperty { - private String forBaseModule; - private String forNonBaseModule; - public String getForBaseModule() { - return forBaseModule; - } - public void setForBaseModule(String forBaseModule) { - this.forBaseModule = forBaseModule; - } - public String getForNonBaseModule() { - return forNonBaseModule; - } - public void setForNonBaseModule(String forNonBaseModule) { - this.forNonBaseModule = forNonBaseModule; - } - } - - public List<Map<String, Map<String, String>>> getDefaultImports() { - return defaultImports; - } - - public void setDefaultImports(List<Map<String, Map<String, String>>> defaultImports) { - this.defaultImports = defaultImports; - } - - public Map<String, List<String>> getResourcesForUpgrade() { - return resourcesForUpgrade; - } - - public void setResourcesForUpgrade(Map<String, List<String>> resourcesForUpgrade) { - this.resourcesForUpgrade = resourcesForUpgrade; - } - - private <K,V> Map<K,V> safeGetMap(Map<K,V> map) { - return map == null ? emptyMap() : map; - } - - - public List<String> getHealthStatusExclude() { - return healthStatusExclude; - } - - public void setHealthStatusExclude(List<String> healthStatusExclude) { - this.healthStatusExclude = healthStatusExclude; - } + public String getToscaFilesDir() { + return toscaFilesDir; + } + + public void setToscaFilesDir(String toscaFilesDir) { + this.toscaFilesDir = toscaFilesDir; + } + + public String getHeatTranslatorPath() { + return heatTranslatorPath; + } + + public void setHeatTranslatorPath(String heatTranslatorPath) { + this.heatTranslatorPath = heatTranslatorPath; + } + + public Map<String, Set<String>> getRequirementsToFulfillBeforeCert() { + return requirementsToFulfillBeforeCert; + } + + public void setRequirementsToFulfillBeforeCert(Map<String, Set<String>> requirementsToFulfillBeforeCert) { + this.requirementsToFulfillBeforeCert = requirementsToFulfillBeforeCert; + } + + public Map<String, Set<String>> getCapabilitiesToConsumeBeforeCert() { + return capabilitiesToConsumeBeforeCert; + } + + public void setCapabilitiesToConsumeBeforeCert(Map<String, Set<String>> capabilitiesToConsumeBeforeCert) { + this.capabilitiesToConsumeBeforeCert = capabilitiesToConsumeBeforeCert; + } + + public OnboardingConfig getOnboarding() { + return onboarding; + } + + public void setOnboarding(OnboardingConfig onboarding) { + this.onboarding = onboarding; + } + + public EcompPortalConfig getEcompPortal() { + return ecompPortal; + } + + public void setEcompPortal(EcompPortalConfig ecompPortal) { + this.ecompPortal = ecompPortal; + } + + public ToscaValidatorsConfig getToscaValidators() { + return toscaValidators; + } + + public void setToscaValidators(ToscaValidatorsConfig toscaValidators) { + this.toscaValidators = toscaValidators; + } + + public boolean isDisableAudit() { + return disableAudit; + } + + public void setDisableAudit(boolean enableAudit) { + this.disableAudit = enableAudit; + } + + public Map<String, ArtifactTypeConfig> getResourceInformationalArtifacts() { + return resourceInformationalArtifacts; + } + + public void setResourceInformationalArtifacts(Map<String, ArtifactTypeConfig> resourceInformationalArtifacts) { + this.resourceInformationalArtifacts = resourceInformationalArtifacts; + } + + public Map<String, VfModuleProperty> getVfModuleProperties() { + return vfModuleProperties; + } + + public void setVfModuleProperties(Map<String, VfModuleProperty> vfModuleProperties) { + this.vfModuleProperties = vfModuleProperties; + } + + public String getToscaConformanceLevel() { + return toscaConformanceLevel; + } + + public void setToscaConformanceLevel(String toscaConformanceLevel) { + this.toscaConformanceLevel = toscaConformanceLevel; + } + + public String getMinToscaConformanceLevel() { + return minToscaConformanceLevel; + } + + public void setMinToscaConformanceLevel(String toscaConformanceLevel) { + this.minToscaConformanceLevel = toscaConformanceLevel; + } + + public static class VfModuleProperty { + private String forBaseModule; + private String forNonBaseModule; + public String getForBaseModule() { + return forBaseModule; + } + public void setForBaseModule(String forBaseModule) { + this.forBaseModule = forBaseModule; + } + public String getForNonBaseModule() { + return forNonBaseModule; + } + public void setForNonBaseModule(String forNonBaseModule) { + this.forNonBaseModule = forNonBaseModule; + } + } + + public List<Map<String, Map<String, String>>> getDefaultImports() { + return defaultImports; + } + + public void setDefaultImports(List<Map<String, Map<String, String>>> defaultImports) { + this.defaultImports = defaultImports; + } + + public Map<String, List<String>> getResourcesForUpgrade() { + return resourcesForUpgrade; + } + + public void setResourcesForUpgrade(Map<String, List<String>> resourcesForUpgrade) { + this.resourcesForUpgrade = resourcesForUpgrade; + } + + public static <K,V> Map<K,V> safeGetCapsInsensitiveMap(Map<K,V> map) { + return map == null ? emptyMap() : new CaseInsensitiveMap(map); + } + + + public List<String> getHealthStatusExclude() { + return healthStatusExclude; + } + + public void setHealthStatusExclude(List<String> healthStatusExclude) { + this.healthStatusExclude = healthStatusExclude; + } } diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/config/ConfigurationManager.java b/common-app-api/src/main/java/org/openecomp/sdc/be/config/ConfigurationManager.java index 0015729be0..360d2e6cb3 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/config/ConfigurationManager.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/config/ConfigurationManager.java @@ -20,9 +20,6 @@ package org.openecomp.sdc.be.config; -import java.util.HashMap; -import java.util.Map; - import org.openecomp.sdc.common.api.BasicConfiguration; import org.openecomp.sdc.common.api.ConfigurationListener; import org.openecomp.sdc.common.api.ConfigurationSource; @@ -30,6 +27,9 @@ import org.openecomp.sdc.common.api.FileChangeCallback; import org.openecomp.sdc.common.config.EcompErrorConfiguration; import org.openecomp.sdc.common.config.IEcompConfigurationManager; +import java.util.HashMap; +import java.util.Map; + public class ConfigurationManager implements FileChangeCallback, IEcompConfigurationManager { ConfigurationSource configurationSource = null; @@ -42,7 +42,7 @@ public class ConfigurationManager implements FileChangeCallback, IEcompConfigura instance = this; } - Map<String, Object> configurations = new HashMap<String, Object>(); + Map<String, Object> configurations = new HashMap<>(); private void loadConfigurationFiles() { diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/config/DistributionEngineConfiguration.java b/common-app-api/src/main/java/org/openecomp/sdc/be/config/DistributionEngineConfiguration.java index eeeca5b9bb..6ac399c729 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/config/DistributionEngineConfiguration.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/config/DistributionEngineConfiguration.java @@ -20,15 +20,11 @@ package org.openecomp.sdc.be.config; -import java.util.ArrayList; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - import org.openecomp.sdc.common.api.BasicConfiguration; import org.openecomp.sdc.common.http.config.ExternalServiceConfig; +import java.util.*; + public class DistributionEngineConfiguration extends BasicConfiguration { private List<String> uebServers; diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/config/ErrorConfiguration.java b/common-app-api/src/main/java/org/openecomp/sdc/be/config/ErrorConfiguration.java index 8250df6c04..52ea02cfab 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/config/ErrorConfiguration.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/config/ErrorConfiguration.java @@ -20,10 +20,10 @@ package org.openecomp.sdc.be.config; -import java.util.Map; - import org.openecomp.sdc.common.api.BasicConfiguration; +import java.util.Map; + public class ErrorConfiguration extends BasicConfiguration { private Map<String, ErrorInfo> errors; diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/config/ErrorInfo.java b/common-app-api/src/main/java/org/openecomp/sdc/be/config/ErrorInfo.java index 85328caa22..ec9a61c81f 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/config/ErrorInfo.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/config/ErrorInfo.java @@ -20,8 +20,7 @@ package org.openecomp.sdc.be.config; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; +import org.openecomp.sdc.common.log.wrappers.Logger; public class ErrorInfo { @@ -33,7 +32,7 @@ public class ErrorInfo { private static final String SVC_PREFIX = "SVC"; private static final String POL_PREFIX = "POL"; - private static Logger log = LoggerFactory.getLogger(ErrorInfo.class.getName()); + private static Logger log = Logger.getLogger(ErrorInfo.class.getName()); public ErrorInfo() { this.errorInfoType = ErrorInfoType.OK; diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/config/Neo4jErrorsConfiguration.java b/common-app-api/src/main/java/org/openecomp/sdc/be/config/Neo4jErrorsConfiguration.java index 24a85dc627..02965242cf 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/config/Neo4jErrorsConfiguration.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/config/Neo4jErrorsConfiguration.java @@ -20,10 +20,10 @@ package org.openecomp.sdc.be.config; -import java.util.Map; - import org.openecomp.sdc.common.api.BasicConfiguration; +import java.util.Map; + public class Neo4jErrorsConfiguration extends BasicConfiguration { private Map<String, String> errors; diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/monitoring/BeMonitoringService.java b/common-app-api/src/main/java/org/openecomp/sdc/be/monitoring/BeMonitoringService.java index f2438fcbfc..73358136b5 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/monitoring/BeMonitoringService.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/monitoring/BeMonitoringService.java @@ -20,13 +20,8 @@ package org.openecomp.sdc.be.monitoring; -import java.util.concurrent.Executors; -import java.util.concurrent.ScheduledExecutorService; -import java.util.concurrent.ThreadFactory; -import java.util.concurrent.TimeUnit; - -import javax.servlet.ServletContext; - +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; import org.apache.http.HttpEntity; import org.apache.http.HttpStatus; import org.apache.http.entity.ContentType; @@ -38,19 +33,21 @@ import org.openecomp.sdc.common.http.client.api.HttpRequest; import org.openecomp.sdc.common.http.client.api.HttpResponse; import org.openecomp.sdc.common.http.config.HttpClientConfig; import org.openecomp.sdc.common.http.config.Timeouts; +import org.openecomp.sdc.common.log.wrappers.Logger; import org.openecomp.sdc.common.monitoring.MonitoringEvent; import org.openecomp.sdc.common.monitoring.MonitoringMetricsFetcher; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; +import javax.servlet.ServletContext; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ThreadFactory; +import java.util.concurrent.TimeUnit; public class BeMonitoringService { private static final String URL = "%s://%s:%s/sdc2/rest/monitoring"; - private static Logger monitoringLogger = LoggerFactory.getLogger("asdc.be.monitoring.service"); - private static Logger log = LoggerFactory.getLogger(BeMonitoringService.class.getName()); + private static Logger monitoringLogger = Logger.getLogger("asdc.be.monitoring.service"); + private static Logger log = Logger.getLogger(BeMonitoringService.class.getName()); private static Gson gson = new GsonBuilder().setPrettyPrinting().create(); private class MonitoringScheduledTask implements Runnable { |