- 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; }
-
- public void setSocketReadTimeout(Integer socketReadTimeout) { this.socketReadTimeout = socketReadTimeout;}
-
- public Integer getSocketConnectTimeout() { return socketConnectTimeout;}
-
- 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 void setFeVip(String feVip) {
- this.feVip = feVip;
- }
-
- public int getBeResolveAttempts() {
- return beResolveAttempts;
- }
-
- public void setBeResolveAttempts(int beResolveAttempts) {
- this.beResolveAttempts = beResolveAttempts;
- }
-
- public int getFeResolveAttempts() {
- return feResolveAttempts;
- }
-
- public void setFeResolveAttempts(int feResolveAttempts) {
- this.feResolveAttempts = feResolveAttempts;
- }
-
- 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 setChangePriorityUser(String changePriorityUser) {
- this.changePriorityUser = changePriorityUser;
- }
-
- public String getChangePriorityPassword() {
- return changePriorityPassword;
- }
-
- public void setChangePriorityPassword(String changePriorityPassword) {
- this.changePriorityPassword = changePriorityPassword;
- }
-
- public String getPublishNetworkUrl() {
- return publishNetworkUrl;
- }
-
- public void setPublishNetworkUrl(String publishNetworkUrl) {
- this.publishNetworkUrl = publishNetworkUrl;
- }
-
- public String getPublishNetworkBody() {
- return publishNetworkBody;
- }
-
- public void setPublishNetworkBody(String publishNetworkBody) {
- this.publishNetworkBody = publishNetworkBody;
- }
-
- public Map<String, GroupInfo> getGroups() {
- return groups;
- }
-
- public void setGroups(Map<String, GroupInfo> groups) {
- this.groups = groups;
- }
-
- public static class GroupInfo {
-
- String changePriorityUrl;
- String changePriorityBody;
-
- public String getChangePriorityUrl() {
- return changePriorityUrl;
- }
-
- public void setChangePriorityUrl(String changePriorityUrl) {
- this.changePriorityUrl = changePriorityUrl;
- }
-
- public String getChangePriorityBody() {
- return changePriorityBody;
- }
-
- public void setChangePriorityBody(String changePriorityBody) {
- this.changePriorityBody = changePriorityBody;
- }
- }
-
- }
-
- public static class BeMonitoringConfig {
-
- Boolean enabled;
- Boolean isProxy;
- Integer probeIntervalInSeconds;
-
- public Boolean getEnabled() {
- return enabled;
- }
-
- public void setEnabled(Boolean enabled) {
- this.enabled = enabled;
- }
-
- public Boolean getIsProxy() {
- return isProxy;
- }
-
- public void setIsProxy(Boolean isProxy) {
- this.isProxy = isProxy;
- }
-
- public Integer getProbeIntervalInSeconds() {
- return probeIntervalInSeconds;
- }
-
- public Integer getProbeIntervalInSeconds(int defaultVal) {
- return probeIntervalInSeconds == null ? defaultVal : probeIntervalInSeconds;
- }
-
- public void setProbeIntervalInSeconds(Integer probeIntervalInSeconds) {
- this.probeIntervalInSeconds = probeIntervalInSeconds;
- }
- }
-
- public static class ArtifactTypeConfig {
-
- List<String> acceptedTypes;
- List<String> validForResourceTypes;
-
- public List<String> getValidForResourceTypes() {
- return validForResourceTypes;
- }
-
- public void setValidForResourceTypes(List<String> validForResourceTypes) {
- this.validForResourceTypes = validForResourceTypes;
- }
-
- public List<String> getAcceptedTypes() {
- return acceptedTypes;
- }
-
- public void setAcceptedTypes(List<String> acceptedTypes) {
- this.acceptedTypes = acceptedTypes;
- }
- }
-
- public static class OnboardingConfig {
-
- String protocol = "http";
- String host;
- Integer port;
- String downloadCsarUri;
- String healthCheckUri;
-
- public String getProtocol() {
- return protocol;
- }
-
- public void setProtocol(String protocol) {
- this.protocol = protocol;
- }
-
- public String getHost() {
- return host;
- }
-
- public void setHost(String host) {
- this.host = host;
- }
-
- public Integer getPort() {
- return port;
- }
-
- public void setPort(Integer port) {
- this.port = port;
- }
-
- public String getDownloadCsarUri() {
- return downloadCsarUri;
- }
-
- public void setDownloadCsarUri(String downloadCsarUri) {
- this.downloadCsarUri = downloadCsarUri;
- }
-
- public String getHealthCheckUri() {
- return healthCheckUri;
- }
-
- public void setHealthCheckUri(String healthCheckUri) {
- this.healthCheckUri = healthCheckUri;
- }
-
- @Override
- public String toString() {
- return "OnboardingConfig [protocol=" + protocol + ", host=" + host + ", port=" + port + ", downloadCsarUri="
- + downloadCsarUri + "]";
- }
-
- }
-
- public DcaeConfig getDcae() {
- return dcae;
- }
-
- public void setDcae(DcaeConfig dcae) {
- this.dcae = dcae;
- }
-
- public static class DcaeConfig {
-
- String protocol = "http";
- String host;
- Integer port;
- String healthCheckUri;
-
- public String getProtocol() {
- return protocol;
- }
-
- public void setProtocol(String protocol) {
- this.protocol = protocol;
- }
-
- public String getHost() {
- return host;
- }
-
- public void setHost(String host) {
- this.host = host;
- }
-
- public Integer getPort() {
- return port;
- }
-
- public void setPort(Integer port) {
- this.port = port;
- }
-
- public String getHealthCheckUri() {
- return healthCheckUri;
- }
-
- public void setHealthCheckUri(String healthCheckUri) {
- this.healthCheckUri = healthCheckUri;
- }
- }
-
- public static class EcompPortalConfig {
-
- private String defaultFunctionalMenu;
-
- public String getDefaultFunctionalMenu() {
- return defaultFunctionalMenu;
- }
-
- public void setDefaultFunctionalMenu(String defaultFunctionalMenu) {
- this.defaultFunctionalMenu = defaultFunctionalMenu;
- }
-
- @Override
- public String toString() {
- return "EcompPortalConfig [defaultFunctionalMenu=" + defaultFunctionalMenu + "]";
- }
-
- }
-
- public static class ApplicationL1CacheConfig {
-
- ApplicationL1CacheInfo datatypes;
-
- public ApplicationL1CacheInfo getDatatypes() {
- return datatypes;
- }
-
- public void setDatatypes(ApplicationL1CacheInfo datatypes) {
- this.datatypes = datatypes;
- }
-
- @Override
- public String toString() {
- return "ApplicationL1CacheConfig [datatypes=" + datatypes + "]";
- }
-
- }
-
- public static class ApplicationL2CacheConfig {
-
- boolean enabled;
- ApplicationL1CacheCatalogInfo catalogL1Cache;
-
- QueueInfo queue;
-
- public boolean isEnabled() {
- return enabled;
- }
-
- public void setEnabled(boolean enabled) {
- this.enabled = enabled;
- }
-
- public ApplicationL1CacheCatalogInfo getCatalogL1Cache() {
- return catalogL1Cache;
- }
-
- public void setCatalogL1Cache(ApplicationL1CacheCatalogInfo catalogL1Cache) {
- this.catalogL1Cache = catalogL1Cache;
- }
-
- public QueueInfo getQueue() {
- return queue;
- }
-
- public void setQueue(QueueInfo queue) {
- this.queue = queue;
- }
-
- @Override
- public String toString() {
- return "ApplicationL2CacheConfig [enabled=" + enabled + ", catalogL1Cache=" + catalogL1Cache + "]";
- }
-
- }
-
- public static class ToscaValidatorsConfig {
-
- private Integer stringMaxLength;
-
- public Integer getStringMaxLength() {
- return stringMaxLength;
- }
-
- public void setStringMaxLength(Integer stringMaxLength) {
- this.stringMaxLength = stringMaxLength;
- }
-
- @Override
- public String toString() {
- return "ToscaValidatorsConfig [stringMaxLength=" + stringMaxLength + "]";
- }
-
- }
-
- public static class ApplicationL1CacheInfo {
-
- Boolean enabled;
- Integer firstRunDelay;
- Integer pollIntervalInSec;
-
- public Boolean getEnabled() {
- return enabled;
- }
-
- public void setEnabled(Boolean enabled) {
- this.enabled = enabled;
- }
-
- public Integer getFirstRunDelay() {
- return firstRunDelay;
- }
-
- public void setFirstRunDelay(Integer firstRunDelay) {
- this.firstRunDelay = firstRunDelay;
- }
-
- public Integer getPollIntervalInSec() {
- return pollIntervalInSec;
- }
-
- public void setPollIntervalInSec(Integer pollIntervalInSec) {
- this.pollIntervalInSec = pollIntervalInSec;
- }
-
- @Override
- public String toString() {
- return "ApplicationL1CacheInfo [enabled=" + enabled + ", firstRunDelay=" + firstRunDelay
- + ", pollIntervalInSec=" + pollIntervalInSec + "]";
- }
- }
-
- public static class ApplicationL1CacheCatalogInfo {
-
- Boolean enabled;
- Integer resourcesSizeInCache;
- Integer servicesSizeInCache;
- Integer productsSizeInCache;
-
- public Boolean getEnabled() {
- return enabled;
- }
-
- public void setEnabled(Boolean enabled) {
- this.enabled = enabled;
- }
-
- public Integer getResourcesSizeInCache() {
- return 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))
- .append(format("onboarding: %s%n", onboarding))
- .append(format("tosca conformance level: %s%n", toscaConformanceLevel))
- .toString();
- }
-
- public List<String> getUnLoggedUrls() {
- return unLoggedUrls;
- }
-
- public void setUnLoggedUrls(List<String> unLoggedUrls) {
- this.unLoggedUrls = unLoggedUrls;
- }
-
- public Map<String, Object> getDeploymentResourceArtifacts() {
- return deploymentResourceArtifacts;
- }
-
- public void setDeploymentResourceArtifacts(Map<String, Object> deploymentResourceArtifacts) {
- this.deploymentResourceArtifacts = deploymentResourceArtifacts;
- }
-
- public String getHeatEnvArtifactHeader() {
- return heatEnvArtifactHeader;
- }
-
- public void setHeatEnvArtifactHeader(String heatEnvArtifactHeader) {
- this.heatEnvArtifactHeader = heatEnvArtifactHeader;
- }
-
- public String getHeatEnvArtifactFooter() {
- return heatEnvArtifactFooter;
- }
-
- public void setHeatEnvArtifactFooter(String heatEnvArtifactFooter) {
- this.heatEnvArtifactFooter = heatEnvArtifactFooter;
- }
-
- public Map<String, Object> getDeploymentResourceInstanceArtifacts() {
- return deploymentResourceInstanceArtifacts;
- }
-
- public void setDeploymentResourceInstanceArtifacts(Map<String, Object> deploymentResourceInstanceArtifacts) {
- this.deploymentResourceInstanceArtifacts = deploymentResourceInstanceArtifacts;
- }
-
- public String getArtifactsIndex() {
- return artifactsIndex;
- }
-
- public void setArtifactsIndex(String artifactsIndex) {
- this.artifactsIndex = artifactsIndex;
- }
-
- public Map<String, ArtifactTypeConfig> getResourceInformationalDeployedArtifacts() {
- return resourceInformationalDeployedArtifacts;
- }
-
- public void setResourceInformationalDeployedArtifacts(
- Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts) {
- this.resourceInformationalDeployedArtifacts = resourceInformationalDeployedArtifacts;
- }
-
- public List<String> getResourceTypes() {
- return 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;
- }
-
- 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;
- }