Make Cassandra port configurable.
[sdc.git] / common-app-api / src / main / java / org / openecomp / sdc / be / config / Configuration.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.sdc.be.config;
22
23 import org.apache.commons.collections.map.CaseInsensitiveMap;
24 import org.openecomp.sdc.common.api.BasicConfiguration;
25
26 import java.util.Date;
27 import java.util.List;
28 import java.util.Map;
29 import java.util.Set;
30
31 import static java.lang.String.format;
32 import static java.util.Collections.emptyMap;
33
34 public class Configuration extends BasicConfiguration {
35
36     private List<String> identificationHeaderFields;
37     /**
38      * Requests from these Urls will not be logged by
39      * org.openecomp.sdc.be.filters.BeServletFilter.<br>
40      **/
41     private List<String> unLoggedUrls;
42
43     /**
44      * backend host
45      */
46     private String beFqdn;
47     /**
48      * backend http port
49      */
50     private Integer beHttpPort;
51     /**
52      * backend http secured port
53      */
54     private Integer beSslPort;
55     /**
56      * be http context
57      */
58     private String beContext;
59     /**
60      * backend protocol. http | https
61      */
62     private String beProtocol = "http";
63
64     private Date released;
65     private String version = "1111";
66     private String toscaConformanceLevel = "3.0";
67     private String minToscaConformanceLevel = "3.0";
68     private List<String> protocols;
69     private Map<String, String> users;
70     private Map<String, Object> neo4j;
71     private ElasticSearchConfig elasticSearch;
72     private String titanCfgFile;
73     private String titanMigrationKeySpaceCfgFile;
74     private Boolean titanInMemoryGraph;
75     private int startMigrationFrom;
76     private Long titanLockTimeout;
77     private Long titanReconnectIntervalInSeconds;
78     private List<String> healthStatusExclude;
79     private Long titanHealthCheckReadTimeout;
80     private Long esReconnectIntervalInSeconds;
81     private Long uebHealthCheckReconnectIntervalInSeconds;
82     private Long uebHealthCheckReadTimeout;
83     private List<Map<String, Map<String, String>>> defaultImports;
84
85     private List<String> resourceTypes;
86     private List<String> excludeResourceCategory;
87     private List<String> excludeResourceType;
88     private Map<String, Set<String>> excludedPolicyTypesMapping;
89
90     private Map<String, Set<String>> excludedGroupTypesMapping;
91     private Map<String, Object> deploymentResourceArtifacts;
92     private Map<String, Object> deploymentResourceInstanceArtifacts;
93     private Map<String, Object> toscaArtifacts;
94     private Map<String, Object> informationalResourceArtifacts;
95     private Map<String, Object> informationalServiceArtifacts;
96     private Map<String, ArtifactTypeConfig> resourceDeploymentArtifacts;
97     private Map<String, ArtifactTypeConfig> serviceDeploymentArtifacts;
98     private Map<String, ArtifactTypeConfig> resourceInstanceDeploymentArtifacts;
99     private Map<String, ArtifactTypeConfig> resourceInformationalArtifacts;
100     private Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts;
101     private Map<String, Object> serviceApiArtifacts;
102     private List<String> excludeServiceCategory;
103     private Map<String, Set<String>> requirementsToFulfillBeforeCert;
104     private Map<String, Set<String>> capabilitiesToConsumeBeforeCert;
105
106     private List<String> artifactTypes;
107     private List<String> licenseTypes;
108
109     private Integer additionalInformationMaxNumberOfKeys;
110     private Integer defaultHeatArtifactTimeoutMinutes;
111
112     private BeMonitoringConfig systemMonitoring;
113     private CleanComponentsConfiguration cleanComponentsConfiguration;
114
115     private String artifactsIndex;
116
117     private String heatEnvArtifactHeader;
118     private String heatEnvArtifactFooter;
119
120     private String toscaFilesDir;
121     private String heatTranslatorPath;
122
123     private OnboardingConfig onboarding;
124
125     private DcaeConfig dcae;
126
127     private CassandrConfig cassandraConfig;
128
129     private SwitchoverDetectorConfig switchoverDetector;
130
131     private ApplicationL1CacheConfig applicationL1Cache;
132
133     private ApplicationL2CacheConfig applicationL2Cache;
134
135     private ToscaValidatorsConfig toscaValidators;
136
137     private boolean disableAudit;
138
139     private Map<String, VfModuleProperty> vfModuleProperties;
140
141     private Map<String, String> genericAssetNodeTypes;
142
143     private String appVersion;
144
145     public String getAutoHealingOwner() {
146         return autoHealingOwner;
147     }
148
149     public void setAutoHealingOwner(String autoHealingOwner) {
150         this.autoHealingOwner = autoHealingOwner;
151     }
152
153     private String autoHealingOwner;
154     private boolean enableAutoHealing;
155
156     private Map<String, List<String>> resourcesForUpgrade;
157     private DmaapConsumerConfiguration dmaapConsumerConfiguration;
158         private boolean skipUpgradeFailedVfs;
159         private boolean skipUpgradeVSPs;
160     private DmeConfiguration dmeConfiguration;
161
162     private boolean supportAllottedResourcesAndProxy;
163     private Integer deleteLockTimeoutInSeconds;
164     private Integer maxDeleteComponents;
165
166     public Integer getMaxDeleteComponents() {
167         return maxDeleteComponents;
168     }
169
170     public void setMaxDeleteComponents(Integer maxDeleteComponents) {
171         this.maxDeleteComponents = maxDeleteComponents;
172     }
173
174     public void setEnableAutoHealing(boolean enableAutoHealing) {
175         this.enableAutoHealing = enableAutoHealing;
176     }
177
178     public boolean isEnableAutoHealing() {
179         return enableAutoHealing;
180     }
181
182     public Integer getDeleteLockTimeoutInSeconds() {
183         return deleteLockTimeoutInSeconds;
184     }
185
186     public void setDeleteLockTimeoutInSeconds(Integer deleteLockTimeoutInSeconds) {
187         this.deleteLockTimeoutInSeconds = deleteLockTimeoutInSeconds;
188     }
189
190     public DmaapConsumerConfiguration getDmaapConsumerConfiguration() {
191         return dmaapConsumerConfiguration;
192     }
193
194     public void setDmaapConsumerConfiguration(DmaapConsumerConfiguration dmaapConsumerConfiguration) {
195         this.dmaapConsumerConfiguration = dmaapConsumerConfiguration;
196     }
197
198     public DmeConfiguration getDmeConfiguration() {
199         return dmeConfiguration;
200     }
201
202     public void setDmeConfiguration(DmeConfiguration dmeConfiguration) {
203         this.dmeConfiguration = dmeConfiguration;
204     }
205     public void setSkipUpgradeVSPs(boolean skipUpgradeVSPs) { this.skipUpgradeVSPs = skipUpgradeVSPs; }
206
207     public boolean getSkipUpgradeVSPsFlag() { return skipUpgradeVSPs; }
208
209     public boolean getSkipUpgradeFailedVfs() {
210         return skipUpgradeFailedVfs;
211     }
212
213     public boolean getSupportAllottedResourcesAndProxyFlag() {
214         return supportAllottedResourcesAndProxy;
215     }
216
217     public void setSupportAllottedResourcesAndProxy(boolean supportAllottedResourcesAndProxy) {
218         this.supportAllottedResourcesAndProxy = supportAllottedResourcesAndProxy;
219     }
220
221     public void setSkipUpgradeFailedVfs(boolean skipUpgradeFailedVfs) {
222         this.skipUpgradeFailedVfs = skipUpgradeFailedVfs;
223     }
224
225     public String getAppVersion() {
226         return appVersion;
227     }
228
229     public void setAppVersion(String appVersion) {
230         this.appVersion = appVersion;
231     }
232
233     private String workloadContext;
234
235     private EnvironmentContext environmentContext;
236
237     public Map<String, String> getGenericAssetNodeTypes() {
238         return genericAssetNodeTypes;
239     }
240
241     public void setGenericAssetNodeTypes(Map<String, String> genericAssetNodeTypes) {
242         this.genericAssetNodeTypes = genericAssetNodeTypes;
243     }
244
245     public SwitchoverDetectorConfig getSwitchoverDetector() {
246         return switchoverDetector;
247     }
248
249     public void setSwitchoverDetector(SwitchoverDetectorConfig switchoverDetector) {
250         this.switchoverDetector = switchoverDetector;
251     }
252
253     public ApplicationL1CacheConfig getApplicationL1Cache() {
254         return applicationL1Cache;
255     }
256
257     public void setApplicationL1Cache(ApplicationL1CacheConfig applicationL1Cache) {
258         this.applicationL1Cache = applicationL1Cache;
259     }
260
261     public ApplicationL2CacheConfig getApplicationL2Cache() {
262         return applicationL2Cache;
263     }
264
265     public void setApplicationL2Cache(ApplicationL2CacheConfig applicationL2Cache) {
266         this.applicationL2Cache = applicationL2Cache;
267     }
268
269     private EcompPortalConfig ecompPortal;
270
271     public CassandrConfig getCassandraConfig() {
272         return cassandraConfig;
273     }
274
275     public void setCassandraConfig(CassandrConfig cassandraKeySpace) {
276         this.cassandraConfig = cassandraKeySpace;
277     }
278
279     public List<String> getIdentificationHeaderFields() {
280         return identificationHeaderFields;
281     }
282
283     public void setIdentificationHeaderFields(List<String> identificationHeaderFields) {
284         this.identificationHeaderFields = identificationHeaderFields;
285     }
286
287     public Date getReleased() {
288         return released;
289     }
290
291     public String getVersion() {
292         return version;
293     }
294
295     public void setReleased(Date released) {
296         this.released = released;
297     }
298
299     public void setVersion(String version) {
300         this.version = version;
301     }
302
303     public List<String> getProtocols() {
304         return protocols;
305     }
306
307     public void setProtocols(List<String> protocols) {
308         this.protocols = protocols;
309     }
310
311     public Map<String, String> getUsers() {
312         return users;
313     }
314
315     public void setUsers(Map<String, String> users) {
316         this.users = users;
317     }
318
319     public String getBeFqdn() {
320         return beFqdn;
321     }
322
323     public void setBeFqdn(String beHost) {
324         this.beFqdn = beHost;
325     }
326
327     public Integer getBeHttpPort() {
328         return beHttpPort;
329     }
330
331     public void setBeHttpPort(Integer beHttpPort) {
332         this.beHttpPort = beHttpPort;
333     }
334
335     public Integer getBeSslPort() {
336         return beSslPort;
337     }
338
339     public void setBeSslPort(Integer beSslPort) {
340         this.beSslPort = beSslPort;
341     }
342
343     public String getBeContext() {
344         return beContext;
345     }
346
347     public void setBeContext(String beContext) {
348         this.beContext = beContext;
349     }
350
351     public String getBeProtocol() {
352         return beProtocol;
353     }
354
355     public void setBeProtocol(String beProtocol) {
356         this.beProtocol = beProtocol;
357     }
358
359     public Map<String, Object> getNeo4j() {
360         return neo4j;
361     }
362
363     public void setNeo4j(Map<String, Object> neo4j) {
364         this.neo4j = neo4j;
365     }
366
367     public ElasticSearchConfig getElasticSearch() {
368         return elasticSearch;
369     }
370
371     public void setElasticSearch(ElasticSearchConfig elasticSearch) {
372         this.elasticSearch = elasticSearch;
373     }
374
375     public String getTitanCfgFile() {
376         return titanCfgFile;
377     }
378
379     public void setTitanCfgFile(String titanCfgFile) {
380         this.titanCfgFile = titanCfgFile;
381     }
382
383     public String getTitanMigrationKeySpaceCfgFile() {
384         return titanMigrationKeySpaceCfgFile;
385     }
386
387     public void setTitanMigrationKeySpaceCfgFile(String titanMigrationKeySpaceCfgFile) {
388         this.titanMigrationKeySpaceCfgFile = titanMigrationKeySpaceCfgFile;
389     }
390
391     public Boolean getTitanInMemoryGraph() {
392         return titanInMemoryGraph;
393     }
394
395     public void setTitanInMemoryGraph(Boolean titanInMemoryGraph) {
396         this.titanInMemoryGraph = titanInMemoryGraph;
397     }
398
399     public int getStartMigrationFrom() {
400         return startMigrationFrom;
401     }
402
403     public void setStartMigrationFrom(int startMigrationFrom) {
404         this.startMigrationFrom = startMigrationFrom;
405     }
406
407     public Long getTitanLockTimeout() {
408         return titanLockTimeout;
409     }
410
411     public void setTitanLockTimeout(Long titanLockTimeout) {
412         this.titanLockTimeout = titanLockTimeout;
413     }
414
415     public Long getTitanHealthCheckReadTimeout() {
416         return titanHealthCheckReadTimeout;
417     }
418
419     public Long getTitanHealthCheckReadTimeout(long defaultVal) {
420         return titanHealthCheckReadTimeout == null ? defaultVal : titanHealthCheckReadTimeout;
421     }
422
423     public void setTitanHealthCheckReadTimeout(Long titanHealthCheckReadTimeout) {
424         this.titanHealthCheckReadTimeout = titanHealthCheckReadTimeout;
425     }
426
427     public Long getTitanReconnectIntervalInSeconds() {
428         return titanReconnectIntervalInSeconds;
429     }
430
431     public Long getTitanReconnectIntervalInSeconds(long defaultVal) {
432         return titanReconnectIntervalInSeconds == null ? defaultVal : titanReconnectIntervalInSeconds;
433     }
434
435     public void setTitanReconnectIntervalInSeconds(Long titanReconnectIntervalInSeconds) {
436         this.titanReconnectIntervalInSeconds = titanReconnectIntervalInSeconds;
437     }
438
439     public Long getEsReconnectIntervalInSeconds() {
440         return esReconnectIntervalInSeconds;
441     }
442
443     public Long getEsReconnectIntervalInSeconds(long defaultVal) {
444         return esReconnectIntervalInSeconds == null ? defaultVal : esReconnectIntervalInSeconds;
445     }
446
447     public void setEsReconnectIntervalInSeconds(Long esReconnectIntervalInSeconds) {
448         this.esReconnectIntervalInSeconds = esReconnectIntervalInSeconds;
449     }
450
451     public List<String> getArtifactTypes() {
452         return artifactTypes;
453     }
454
455     public void setArtifactTypes(List<String> artifactTypes) {
456         this.artifactTypes = artifactTypes;
457     }
458
459     public List<String> getExcludeResourceCategory() {
460         return excludeResourceCategory;
461     }
462
463     public void setExcludeResourceCategory(List<String> excludeResourceCategory) {
464         this.excludeResourceCategory = excludeResourceCategory;
465     }
466
467     public List<String> getExcludeResourceType() {
468         return excludeResourceType;
469     }
470
471     public void setExcludeResourceType(List<String> excludeResourceType) {
472         this.excludeResourceType = excludeResourceType;
473     }
474
475     public Map<String, Set<String>> getExcludedPolicyTypesMapping() {
476         return safeGetCapsInsensitiveMap(excludedPolicyTypesMapping);
477     }
478
479     public void setExcludedPolicyTypesMapping(Map<String, Set<String>> excludedPolicyTypesMapping) {
480         this.excludedPolicyTypesMapping = excludedPolicyTypesMapping;
481     }
482
483     public Map<String, Set<String>> getExcludedGroupTypesMapping() {
484         return safeGetCapsInsensitiveMap(excludedGroupTypesMapping);
485     }
486
487     public void setExcludedGroupTypesMapping(Map<String, Set<String>> excludedGroupTypesMapping) {
488         this.excludedGroupTypesMapping = excludedGroupTypesMapping;
489     }
490
491     public Map<String, Object> getToscaArtifacts() {
492         return toscaArtifacts;
493     }
494
495     public void setToscaArtifacts(Map<String, Object> toscaArtifacts) {
496         this.toscaArtifacts = toscaArtifacts;
497     }
498
499     public Map<String, Object> getInformationalResourceArtifacts() {
500         return informationalResourceArtifacts;
501     }
502
503     public void setInformationalResourceArtifacts(Map<String, Object> informationalResourceArtifacts) {
504         this.informationalResourceArtifacts = informationalResourceArtifacts;
505     }
506
507     public Map<String, Object> getInformationalServiceArtifacts() {
508         return informationalServiceArtifacts;
509     }
510
511     public void setInformationalServiceArtifacts(Map<String, Object> informationalServiceArtifacts) {
512         this.informationalServiceArtifacts = informationalServiceArtifacts;
513     }
514
515     public Map<String, Object> getServiceApiArtifacts() {
516         return serviceApiArtifacts;
517     }
518
519     public void setServiceApiArtifacts(Map<String, Object> serviceApiArtifacts) {
520         this.serviceApiArtifacts = serviceApiArtifacts;
521     }
522
523     public Map<String, ArtifactTypeConfig> getServiceDeploymentArtifacts() {
524         return serviceDeploymentArtifacts;
525     }
526
527     public void setServiceDeploymentArtifacts(Map<String, ArtifactTypeConfig> serviceDeploymentArtifacts) {
528         this.serviceDeploymentArtifacts = serviceDeploymentArtifacts;
529     }
530
531     public Map<String, ArtifactTypeConfig> getResourceDeploymentArtifacts() {
532         return resourceDeploymentArtifacts;
533     }
534
535     public void setResourceDeploymentArtifacts(Map<String, ArtifactTypeConfig> resourceDeploymentArtifacts) {
536         this.resourceDeploymentArtifacts = resourceDeploymentArtifacts;
537     }
538
539     public void setResourceInstanceDeploymentArtifacts(
540             Map<String, ArtifactTypeConfig> resourceInstanceDeploymentArtifacts) {
541         this.resourceInstanceDeploymentArtifacts = resourceInstanceDeploymentArtifacts;
542     }
543
544     public Map<String, ArtifactTypeConfig> getResourceInstanceDeploymentArtifacts() {
545         return resourceInstanceDeploymentArtifacts;
546     }
547
548     public List<String> getExcludeServiceCategory() {
549         return excludeServiceCategory;
550     }
551
552     public void setExcludeServiceCategory(List<String> excludeServiceCategory) {
553         this.excludeServiceCategory = excludeServiceCategory;
554     }
555
556     public List<String> getLicenseTypes() {
557         return licenseTypes;
558     }
559
560     public void setLicenseTypes(List<String> licenseTypes) {
561         this.licenseTypes = licenseTypes;
562     }
563
564     public Integer getAdditionalInformationMaxNumberOfKeys() {
565         return additionalInformationMaxNumberOfKeys;
566     }
567
568     public void setAdditionalInformationMaxNumberOfKeys(Integer additionalInformationMaxNumberOfKeys) {
569         this.additionalInformationMaxNumberOfKeys = additionalInformationMaxNumberOfKeys;
570     }
571
572     public BeMonitoringConfig getSystemMonitoring() {
573         return systemMonitoring;
574     }
575
576     public void setSystemMonitoring(BeMonitoringConfig systemMonitoring) {
577         this.systemMonitoring = systemMonitoring;
578     }
579
580     public Integer getDefaultHeatArtifactTimeoutMinutes() {
581         return defaultHeatArtifactTimeoutMinutes;
582     }
583
584     public void setDefaultHeatArtifactTimeoutMinutes(Integer defaultHeatArtifactTimeoutMinutes) {
585         this.defaultHeatArtifactTimeoutMinutes = defaultHeatArtifactTimeoutMinutes;
586     }
587
588     public Long getUebHealthCheckReconnectIntervalInSeconds() {
589         return uebHealthCheckReconnectIntervalInSeconds;
590     }
591
592     public void setUebHealthCheckReconnectIntervalInSeconds(Long uebHealthCheckReconnectIntervalInSeconds) {
593         this.uebHealthCheckReconnectIntervalInSeconds = uebHealthCheckReconnectIntervalInSeconds;
594     }
595
596     public Long getUebHealthCheckReadTimeout() {
597         return uebHealthCheckReadTimeout;
598     }
599
600     public void setUebHealthCheckReadTimeout(Long uebHealthCheckReadTimeout) {
601         this.uebHealthCheckReadTimeout = uebHealthCheckReadTimeout;
602     }
603
604     public String getWorkloadContext() {
605         return workloadContext;
606     }
607
608     public void setWorkloadContext(String workloadContext) {
609         this.workloadContext = workloadContext;
610     }
611
612     public EnvironmentContext getEnvironmentContext() {
613         return environmentContext;
614     }
615
616     public void setEnvironmentContext(EnvironmentContext environmentContext) {
617         this.environmentContext = environmentContext;
618     }
619
620     public static class ElasticSearchConfig {
621
622         List<IndicesTimeFrequencyEntry> indicesTimeFrequency;
623
624         public List<IndicesTimeFrequencyEntry> getIndicesTimeFrequency() {
625             return indicesTimeFrequency;
626         }
627
628         public void setIndicesTimeFrequency(List<IndicesTimeFrequencyEntry> indicesTimeFrequency) {
629             this.indicesTimeFrequency = indicesTimeFrequency;
630         }
631
632         public static class IndicesTimeFrequencyEntry {
633
634             String indexPrefix;
635             String creationPeriod;
636
637             public String getIndexPrefix() {
638                 return indexPrefix;
639             }
640
641             public void setIndexPrefix(String indexPrefix) {
642                 this.indexPrefix = indexPrefix;
643             }
644
645             public String getCreationPeriod() {
646                 return creationPeriod;
647             }
648
649             public void setCreationPeriod(String creationPeriod) {
650                 this.creationPeriod = creationPeriod;
651             }
652         }
653     }
654
655     public static class CassandrConfig {
656         private static final Integer CASSANDRA_DEFAULT_PORT = 9042;
657
658         List<String> cassandraHosts;
659         Integer cassandraPort;
660         String localDataCenter;
661         Long reconnectTimeout;
662                 Integer socketReadTimeout;
663                 Integer socketConnectTimeout;
664         List<KeyspaceConfig> keySpaces;
665         boolean authenticate;
666         String username;
667         String password;
668         boolean ssl;
669         String truststorePath;
670         String truststorePassword;
671
672         public Integer getCassandraPort() { return cassandraPort != null ? cassandraPort : Configuration.CassandrConfig.CASSANDRA_DEFAULT_PORT; }
673
674         public void setCassandraPort(Integer cassandraPort) { this.cassandraPort = cassandraPort; }
675
676         public String getLocalDataCenter() {
677             return localDataCenter;
678         }
679
680         public void setLocalDataCenter(String localDataCenter) {
681             this.localDataCenter = localDataCenter;
682         }
683
684         public boolean isAuthenticate() {
685             return authenticate;
686         }
687
688         public void setAuthenticate(boolean authenticate) {
689             this.authenticate = authenticate;
690         }
691
692         public String getUsername() {
693             return username;
694         }
695
696         public void setUsername(String username) {
697             this.username = username;
698         }
699
700         public String getPassword() {
701             return password;
702         }
703
704         public void setPassword(String password) {
705             this.password = password;
706         }
707
708         public boolean isSsl() {
709             return ssl;
710         }
711
712         public void setSsl(boolean ssl) {
713             this.ssl = ssl;
714         }
715
716         public String getTruststorePath() {
717             return truststorePath;
718         }
719
720         public void setTruststorePath(String truststorePath) {
721             this.truststorePath = truststorePath;
722         }
723
724         public String getTruststorePassword() {
725             return truststorePassword;
726         }
727
728         public void setTruststorePassword(String truststorePassword) {
729             this.truststorePassword = truststorePassword;
730         }
731
732         public Long getReconnectTimeout() {
733             return reconnectTimeout;
734         }
735
736         public void setReconnectTimeout(Long reconnectTimeout) {
737             this.reconnectTimeout = reconnectTimeout;
738         }
739
740                 public Integer getSocketReadTimeout() { return socketReadTimeout; }
741
742                 public void setSocketReadTimeout(Integer socketReadTimeout) { this.socketReadTimeout = socketReadTimeout;}
743
744                 public Integer getSocketConnectTimeout() {      return socketConnectTimeout;}
745
746                 public void setSocketConnectTimeout(Integer socketConnectTimeout) { this.socketConnectTimeout = socketConnectTimeout;   }
747
748         public List<String> getCassandraHosts() {
749             return cassandraHosts;
750         }
751
752         public void setCassandraHosts(List<String> cassandraHosts) {
753             this.cassandraHosts = cassandraHosts;
754         }
755
756         public List<KeyspaceConfig> getKeySpaces() {
757             return keySpaces;
758         }
759
760         public void setKeySpaces(List<KeyspaceConfig> cassandraConfig) {
761             this.keySpaces = cassandraConfig;
762         }
763
764         public static class KeyspaceConfig {
765
766             String name;
767             String replicationStrategy;
768             List<String> replicationInfo;
769
770             public String getName() {
771                 return name;
772             }
773
774             public void setName(String name) {
775                 this.name = name;
776             }
777
778             public String getReplicationStrategy() {
779                 return replicationStrategy;
780             }
781
782             public void setReplicationStrategy(String replicationStrategy) {
783                 this.replicationStrategy = replicationStrategy;
784             }
785
786             public List<String> getReplicationInfo() {
787                 return replicationInfo;
788             }
789
790             public void setReplicationInfo(List<String> replicationInfo) {
791                 this.replicationInfo = replicationInfo;
792             }
793         }
794     }
795
796     public static class SwitchoverDetectorConfig {
797
798         String gBeFqdn;
799         String gFeFqdn;
800         String beVip;
801         String feVip;
802         int beResolveAttempts;
803         int feResolveAttempts;
804         Boolean enabled;
805         long interval;
806         String changePriorityUser;
807         String changePriorityPassword;
808         String publishNetworkUrl;
809         String publishNetworkBody;
810         Map<String, GroupInfo> groups;
811
812         public String getgBeFqdn() {
813             return gBeFqdn;
814         }
815
816         public void setgBeFqdn(String gBeFqdn) {
817             this.gBeFqdn = gBeFqdn;
818         }
819
820         public String getgFeFqdn() {
821             return gFeFqdn;
822         }
823
824         public void setgFeFqdn(String gFeFqdn) {
825             this.gFeFqdn = gFeFqdn;
826         }
827
828         public String getBeVip() {
829             return beVip;
830         }
831
832         public void setBeVip(String beVip) {
833             this.beVip = beVip;
834         }
835
836         public String getFeVip() {
837             return feVip;
838         }
839
840         public void setFeVip(String feVip) {
841             this.feVip = feVip;
842         }
843
844         public int getBeResolveAttempts() {
845             return beResolveAttempts;
846         }
847
848         public void setBeResolveAttempts(int beResolveAttempts) {
849             this.beResolveAttempts = beResolveAttempts;
850         }
851
852         public int getFeResolveAttempts() {
853             return feResolveAttempts;
854         }
855
856         public void setFeResolveAttempts(int feResolveAttempts) {
857             this.feResolveAttempts = feResolveAttempts;
858         }
859
860         public Boolean getEnabled() {
861             return enabled;
862         }
863
864         public void setEnabled(Boolean enabled) {
865             this.enabled = enabled;
866         }
867
868         public long getInterval() {
869             return interval;
870         }
871
872         public void setInterval(long interval) {
873             this.interval = interval;
874         }
875
876         public String getChangePriorityUser() {
877             return changePriorityUser;
878         }
879
880         public void setChangePriorityUser(String changePriorityUser) {
881             this.changePriorityUser = changePriorityUser;
882         }
883
884         public String getChangePriorityPassword() {
885             return changePriorityPassword;
886         }
887
888         public void setChangePriorityPassword(String changePriorityPassword) {
889             this.changePriorityPassword = changePriorityPassword;
890         }
891
892         public String getPublishNetworkUrl() {
893             return publishNetworkUrl;
894         }
895
896         public void setPublishNetworkUrl(String publishNetworkUrl) {
897             this.publishNetworkUrl = publishNetworkUrl;
898         }
899
900         public String getPublishNetworkBody() {
901             return publishNetworkBody;
902         }
903
904         public void setPublishNetworkBody(String publishNetworkBody) {
905             this.publishNetworkBody = publishNetworkBody;
906         }
907
908         public Map<String, GroupInfo> getGroups() {
909             return groups;
910         }
911
912         public void setGroups(Map<String, GroupInfo> groups) {
913             this.groups = groups;
914         }
915
916         public static class GroupInfo {
917
918             String changePriorityUrl;
919             String changePriorityBody;
920
921             public String getChangePriorityUrl() {
922                 return changePriorityUrl;
923             }
924
925             public void setChangePriorityUrl(String changePriorityUrl) {
926                 this.changePriorityUrl = changePriorityUrl;
927             }
928
929             public String getChangePriorityBody() {
930                 return changePriorityBody;
931             }
932
933             public void setChangePriorityBody(String changePriorityBody) {
934                 this.changePriorityBody = changePriorityBody;
935             }
936         }
937
938     }
939
940     public static class BeMonitoringConfig {
941
942         Boolean enabled;
943         Boolean isProxy;
944         Integer probeIntervalInSeconds;
945
946         public Boolean getEnabled() {
947             return enabled;
948         }
949
950         public void setEnabled(Boolean enabled) {
951             this.enabled = enabled;
952         }
953
954         public Boolean getIsProxy() {
955             return isProxy;
956         }
957
958         public void setIsProxy(Boolean isProxy) {
959             this.isProxy = isProxy;
960         }
961
962         public Integer getProbeIntervalInSeconds() {
963             return probeIntervalInSeconds;
964         }
965
966         public Integer getProbeIntervalInSeconds(int defaultVal) {
967             return probeIntervalInSeconds == null ? defaultVal : probeIntervalInSeconds;
968         }
969
970         public void setProbeIntervalInSeconds(Integer probeIntervalInSeconds) {
971             this.probeIntervalInSeconds = probeIntervalInSeconds;
972         }
973     }
974
975     public static class ArtifactTypeConfig {
976
977         List<String> acceptedTypes;
978         List<String> validForResourceTypes;
979
980         public List<String> getValidForResourceTypes() {
981             return validForResourceTypes;
982         }
983
984         public void setValidForResourceTypes(List<String> validForResourceTypes) {
985             this.validForResourceTypes = validForResourceTypes;
986         }
987
988         public List<String> getAcceptedTypes() {
989             return acceptedTypes;
990         }
991
992         public void setAcceptedTypes(List<String> acceptedTypes) {
993             this.acceptedTypes = acceptedTypes;
994         }
995     }
996
997     public static class OnboardingConfig {
998
999         String protocol = "http";
1000         String host;
1001         Integer port;
1002         String downloadCsarUri;
1003         String healthCheckUri;
1004
1005         public String getProtocol() {
1006             return protocol;
1007         }
1008
1009         public void setProtocol(String protocol) {
1010             this.protocol = protocol;
1011         }
1012
1013         public String getHost() {
1014             return host;
1015         }
1016
1017         public void setHost(String host) {
1018             this.host = host;
1019         }
1020
1021         public Integer getPort() {
1022             return port;
1023         }
1024
1025         public void setPort(Integer port) {
1026             this.port = port;
1027         }
1028
1029         public String getDownloadCsarUri() {
1030             return downloadCsarUri;
1031         }
1032
1033         public void setDownloadCsarUri(String downloadCsarUri) {
1034             this.downloadCsarUri = downloadCsarUri;
1035         }
1036
1037         public String getHealthCheckUri() {
1038             return healthCheckUri;
1039         }
1040
1041         public void setHealthCheckUri(String healthCheckUri) {
1042             this.healthCheckUri = healthCheckUri;
1043         }
1044
1045         @Override
1046         public String toString() {
1047             return "OnboardingConfig [protocol=" + protocol + ", host=" + host + ", port=" + port + ", downloadCsarUri="
1048                     + downloadCsarUri + "]";
1049         }
1050
1051     }
1052
1053     public DcaeConfig getDcae() {
1054         return dcae;
1055     }
1056
1057     public void setDcae(DcaeConfig dcae) {
1058         this.dcae = dcae;
1059     }
1060
1061     public static class DcaeConfig {
1062
1063         String protocol = "http";
1064         String host;
1065         Integer port;
1066         String healthCheckUri;
1067
1068         public String getProtocol() {
1069             return protocol;
1070         }
1071
1072         public void setProtocol(String protocol) {
1073             this.protocol = protocol;
1074         }
1075
1076         public String getHost() {
1077             return host;
1078         }
1079
1080         public void setHost(String host) {
1081             this.host = host;
1082         }
1083
1084         public Integer getPort() {
1085             return port;
1086         }
1087
1088         public void setPort(Integer port) {
1089             this.port = port;
1090         }
1091
1092         public String getHealthCheckUri() {
1093             return healthCheckUri;
1094         }
1095
1096         public void setHealthCheckUri(String healthCheckUri) {
1097             this.healthCheckUri = healthCheckUri;
1098         }
1099     }
1100
1101     public static class EcompPortalConfig {
1102
1103         private String defaultFunctionalMenu;
1104
1105         public String getDefaultFunctionalMenu() {
1106             return defaultFunctionalMenu;
1107         }
1108
1109         public void setDefaultFunctionalMenu(String defaultFunctionalMenu) {
1110             this.defaultFunctionalMenu = defaultFunctionalMenu;
1111         }
1112
1113         @Override
1114         public String toString() {
1115             return "EcompPortalConfig [defaultFunctionalMenu=" + defaultFunctionalMenu + "]";
1116         }
1117
1118     }
1119
1120     public static class ApplicationL1CacheConfig {
1121
1122         ApplicationL1CacheInfo datatypes;
1123
1124         public ApplicationL1CacheInfo getDatatypes() {
1125             return datatypes;
1126         }
1127
1128         public void setDatatypes(ApplicationL1CacheInfo datatypes) {
1129             this.datatypes = datatypes;
1130         }
1131
1132         @Override
1133         public String toString() {
1134             return "ApplicationL1CacheConfig [datatypes=" + datatypes + "]";
1135         }
1136
1137     }
1138
1139     public static class ApplicationL2CacheConfig {
1140
1141         boolean enabled;
1142         ApplicationL1CacheCatalogInfo catalogL1Cache;
1143
1144         QueueInfo queue;
1145
1146         public boolean isEnabled() {
1147             return enabled;
1148         }
1149
1150         public void setEnabled(boolean enabled) {
1151             this.enabled = enabled;
1152         }
1153
1154         public ApplicationL1CacheCatalogInfo getCatalogL1Cache() {
1155             return catalogL1Cache;
1156         }
1157
1158         public void setCatalogL1Cache(ApplicationL1CacheCatalogInfo catalogL1Cache) {
1159             this.catalogL1Cache = catalogL1Cache;
1160         }
1161
1162         public QueueInfo getQueue() {
1163             return queue;
1164         }
1165
1166         public void setQueue(QueueInfo queue) {
1167             this.queue = queue;
1168         }
1169
1170         @Override
1171         public String toString() {
1172             return "ApplicationL2CacheConfig [enabled=" + enabled + ", catalogL1Cache=" + catalogL1Cache + "]";
1173         }
1174
1175     }
1176
1177     public static class ToscaValidatorsConfig {
1178
1179         private Integer stringMaxLength;
1180
1181         public Integer getStringMaxLength() {
1182             return stringMaxLength;
1183         }
1184
1185         public void setStringMaxLength(Integer stringMaxLength) {
1186             this.stringMaxLength = stringMaxLength;
1187         }
1188
1189         @Override
1190         public String toString() {
1191             return "ToscaValidatorsConfig [stringMaxLength=" + stringMaxLength + "]";
1192         }
1193
1194     }
1195
1196     public static class ApplicationL1CacheInfo {
1197
1198         Boolean enabled;
1199         Integer firstRunDelay;
1200         Integer pollIntervalInSec;
1201
1202         public Boolean getEnabled() {
1203             return enabled;
1204         }
1205
1206         public void setEnabled(Boolean enabled) {
1207             this.enabled = enabled;
1208         }
1209
1210         public Integer getFirstRunDelay() {
1211             return firstRunDelay;
1212         }
1213
1214         public void setFirstRunDelay(Integer firstRunDelay) {
1215             this.firstRunDelay = firstRunDelay;
1216         }
1217
1218         public Integer getPollIntervalInSec() {
1219             return pollIntervalInSec;
1220         }
1221
1222         public void setPollIntervalInSec(Integer pollIntervalInSec) {
1223             this.pollIntervalInSec = pollIntervalInSec;
1224         }
1225
1226         @Override
1227         public String toString() {
1228             return "ApplicationL1CacheInfo [enabled=" + enabled + ", firstRunDelay=" + firstRunDelay
1229                     + ", pollIntervalInSec=" + pollIntervalInSec + "]";
1230         }
1231     }
1232
1233     public static class ApplicationL1CacheCatalogInfo {
1234
1235         Boolean enabled;
1236         Integer resourcesSizeInCache;
1237         Integer servicesSizeInCache;
1238         Integer productsSizeInCache;
1239
1240         public Boolean getEnabled() {
1241             return enabled;
1242         }
1243
1244         public void setEnabled(Boolean enabled) {
1245             this.enabled = enabled;
1246         }
1247
1248         public Integer getResourcesSizeInCache() {
1249             return resourcesSizeInCache;
1250         }
1251
1252         public void setResourcesSizeInCache(Integer resourcesSizeInCache) {
1253             this.resourcesSizeInCache = resourcesSizeInCache;
1254         }
1255
1256         public Integer getServicesSizeInCache() {
1257             return servicesSizeInCache;
1258         }
1259
1260         public void setServicesSizeInCache(Integer servicesSizeInCache) {
1261             this.servicesSizeInCache = servicesSizeInCache;
1262         }
1263
1264         public Integer getProductsSizeInCache() {
1265             return productsSizeInCache;
1266         }
1267
1268         public void setProductsSizeInCache(Integer productsSizeInCache) {
1269             this.productsSizeInCache = productsSizeInCache;
1270         }
1271
1272         @Override
1273         public String toString() {
1274             return "ApplicationL1CacheCatalogInfo [enabled=" + enabled + ", resourcesSizeInCache="
1275                     + resourcesSizeInCache + ", servicesSizeInCache=" + servicesSizeInCache + ", productsSizeInCache="
1276                     + productsSizeInCache + "]";
1277         }
1278
1279     }
1280
1281     public static class QueueInfo {
1282         Integer numberOfCacheWorkers;
1283         Integer waitOnShutDownInMinutes;
1284         Integer syncIntervalInSecondes;
1285
1286         public Integer getWaitOnShutDownInMinutes() {
1287             return waitOnShutDownInMinutes;
1288         }
1289
1290         public void setWaitOnShutDownInMinutes(Integer waitOnShutDownInMinutes) {
1291             this.waitOnShutDownInMinutes = waitOnShutDownInMinutes;
1292         }
1293
1294         public Integer getSyncIntervalInSecondes() {
1295             return syncIntervalInSecondes;
1296         }
1297
1298         public void setSyncIntervalInSecondes(Integer syncIntervalInSecondes) {
1299             this.syncIntervalInSecondes = syncIntervalInSecondes;
1300         }
1301
1302         public Integer getNumberOfCacheWorkers() {
1303             return numberOfCacheWorkers;
1304         }
1305
1306         public void setNumberOfCacheWorkers(Integer numberOfCacheWorkers) {
1307             this.numberOfCacheWorkers = numberOfCacheWorkers;
1308         }
1309
1310         @Override
1311         public String toString() {
1312             return "QueueInfo[" + "waitOnShutDownInMinutes=" + waitOnShutDownInMinutes + ", syncIntervalInSecondes="
1313                     + syncIntervalInSecondes + ", numberOfCacheWorkers=" + this.numberOfCacheWorkers + ']';
1314         }
1315     }
1316
1317     public static class EnvironmentContext {
1318
1319         String defaultValue;
1320         List<String> validValues;
1321
1322         public String getDefaultValue() {
1323             return defaultValue;
1324         }
1325
1326         public void setDefaultValue(String defaultValue) {
1327             this.defaultValue = defaultValue;
1328         }
1329
1330         public List<String> getValidValues() {
1331             return validValues;
1332         }
1333
1334         public void setValidValues(List<String> validValues) {
1335             this.validValues = validValues;
1336         }
1337     }
1338
1339
1340
1341     public CleanComponentsConfiguration getCleanComponentsConfiguration() {
1342         return cleanComponentsConfiguration;
1343     }
1344
1345     public void setCleanComponentsConfiguration(CleanComponentsConfiguration cleanComponentsConfiguration) {
1346         this.cleanComponentsConfiguration = cleanComponentsConfiguration;
1347     }
1348
1349     @Override
1350     public String toString() {
1351         return new StringBuilder().append(format("backend host: %s%n", beFqdn))
1352                 .append(format("backend http port: %s%n", beHttpPort))
1353                 .append(format("backend ssl port: %s%n", beSslPort)).append(format("backend context: %s%n", beContext))
1354                 .append(format("backend protocol: %s%n", beProtocol)).append(format("Version: %s%n", version))
1355                 .append(format("Released: %s%n", released)).append(format("Supported protocols: %s%n", protocols))
1356                 .append(format("Users: %s%n", users)).append(format("Neo4j: %s%n", neo4j))
1357                 .append(format("ElasticSearch: %s%n", elasticSearch))
1358                 .append(format("Titan Cfg File: %s%n", titanCfgFile))
1359                 .append(format("Titan In memory: %s%n", titanInMemoryGraph))
1360                 .append(format("Titan lock timeout: %s%n", titanLockTimeout))
1361                 .append(format("Titan reconnect interval seconds: %s%n", titanReconnectIntervalInSeconds))
1362                 .append(format("excludeResourceCategory: %s%n", excludeResourceCategory))
1363                 .append(format("informationalResourceArtifacts: %s%n", informationalResourceArtifacts))
1364                 .append(format("deploymentResourceArtifacts: %s%n", deploymentResourceArtifacts))
1365                 .append(format("informationalServiceArtifacts: %s%n", informationalServiceArtifacts))
1366                 .append(format("Supported artifacts types: %s%n", artifactTypes))
1367                 .append(format("Supported license types: %s%n", licenseTypes))
1368                 .append(format("Additional information Maximum number of preoperties: %s%n",
1369                         additionalInformationMaxNumberOfKeys))
1370                 .append(format("Default Heat Artifact Timeout in Minutes: %s%n", defaultHeatArtifactTimeoutMinutes))
1371                 .append(format("URLs For HTTP Requests that will not be automatically logged : %s%n", unLoggedUrls))
1372                 .append(format("Service Api Artifacts: %s%n", serviceApiArtifacts))
1373                 .append(format("heat env artifact header: %s%n", heatEnvArtifactHeader))
1374                 .append(format("heat env artifact footer: %s%n", heatEnvArtifactFooter))
1375                                 .append(format("onboarding: %s%n", onboarding))
1376                                 .append(format("tosca conformance level: %s%n", toscaConformanceLevel))
1377                                 .toString();
1378     }
1379
1380     public List<String> getUnLoggedUrls() {
1381         return unLoggedUrls;
1382     }
1383
1384     public void setUnLoggedUrls(List<String> unLoggedUrls) {
1385         this.unLoggedUrls = unLoggedUrls;
1386     }
1387
1388     public Map<String, Object> getDeploymentResourceArtifacts() {
1389         return deploymentResourceArtifacts;
1390     }
1391
1392     public void setDeploymentResourceArtifacts(Map<String, Object> deploymentResourceArtifacts) {
1393         this.deploymentResourceArtifacts = deploymentResourceArtifacts;
1394     }
1395
1396     public String getHeatEnvArtifactHeader() {
1397         return heatEnvArtifactHeader;
1398     }
1399
1400     public void setHeatEnvArtifactHeader(String heatEnvArtifactHeader) {
1401         this.heatEnvArtifactHeader = heatEnvArtifactHeader;
1402     }
1403
1404     public String getHeatEnvArtifactFooter() {
1405         return heatEnvArtifactFooter;
1406     }
1407
1408     public void setHeatEnvArtifactFooter(String heatEnvArtifactFooter) {
1409         this.heatEnvArtifactFooter = heatEnvArtifactFooter;
1410     }
1411
1412     public Map<String, Object> getDeploymentResourceInstanceArtifacts() {
1413         return deploymentResourceInstanceArtifacts;
1414     }
1415
1416     public void setDeploymentResourceInstanceArtifacts(Map<String, Object> deploymentResourceInstanceArtifacts) {
1417         this.deploymentResourceInstanceArtifacts = deploymentResourceInstanceArtifacts;
1418     }
1419
1420     public String getArtifactsIndex() {
1421         return artifactsIndex;
1422     }
1423
1424     public void setArtifactsIndex(String artifactsIndex) {
1425         this.artifactsIndex = artifactsIndex;
1426     }
1427
1428     public Map<String, ArtifactTypeConfig> getResourceInformationalDeployedArtifacts() {
1429         return resourceInformationalDeployedArtifacts;
1430     }
1431
1432     public void setResourceInformationalDeployedArtifacts(
1433             Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts) {
1434         this.resourceInformationalDeployedArtifacts = resourceInformationalDeployedArtifacts;
1435     }
1436
1437     public List<String> getResourceTypes() {
1438         return resourceTypes;
1439     }
1440
1441     public void setResourceTypes(List<String> resourceTypes) {
1442         this.resourceTypes = resourceTypes;
1443     }
1444
1445     public String getToscaFilesDir() {
1446         return toscaFilesDir;
1447     }
1448
1449     public void setToscaFilesDir(String toscaFilesDir) {
1450         this.toscaFilesDir = toscaFilesDir;
1451     }
1452
1453     public String getHeatTranslatorPath() {
1454         return heatTranslatorPath;
1455     }
1456
1457     public void setHeatTranslatorPath(String heatTranslatorPath) {
1458         this.heatTranslatorPath = heatTranslatorPath;
1459     }
1460
1461     public Map<String, Set<String>> getRequirementsToFulfillBeforeCert() {
1462         return requirementsToFulfillBeforeCert;
1463     }
1464
1465     public void setRequirementsToFulfillBeforeCert(Map<String, Set<String>> requirementsToFulfillBeforeCert) {
1466         this.requirementsToFulfillBeforeCert = requirementsToFulfillBeforeCert;
1467     }
1468
1469     public Map<String, Set<String>> getCapabilitiesToConsumeBeforeCert() {
1470         return capabilitiesToConsumeBeforeCert;
1471     }
1472
1473     public void setCapabilitiesToConsumeBeforeCert(Map<String, Set<String>> capabilitiesToConsumeBeforeCert) {
1474         this.capabilitiesToConsumeBeforeCert = capabilitiesToConsumeBeforeCert;
1475     }
1476
1477     public OnboardingConfig getOnboarding() {
1478         return onboarding;
1479     }
1480
1481     public void setOnboarding(OnboardingConfig onboarding) {
1482         this.onboarding = onboarding;
1483     }
1484
1485     public EcompPortalConfig getEcompPortal() {
1486         return ecompPortal;
1487     }
1488
1489     public void setEcompPortal(EcompPortalConfig ecompPortal) {
1490         this.ecompPortal = ecompPortal;
1491     }
1492
1493     public ToscaValidatorsConfig getToscaValidators() {
1494         return toscaValidators;
1495     }
1496
1497     public void setToscaValidators(ToscaValidatorsConfig toscaValidators) {
1498         this.toscaValidators = toscaValidators;
1499     }
1500
1501     public boolean isDisableAudit() {
1502         return disableAudit;
1503     }
1504
1505     public void setDisableAudit(boolean enableAudit) {
1506         this.disableAudit = enableAudit;
1507     }
1508
1509     public Map<String, ArtifactTypeConfig> getResourceInformationalArtifacts() {
1510         return resourceInformationalArtifacts;
1511     }
1512
1513     public void setResourceInformationalArtifacts(Map<String, ArtifactTypeConfig> resourceInformationalArtifacts) {
1514         this.resourceInformationalArtifacts = resourceInformationalArtifacts;
1515     }
1516
1517     public Map<String, VfModuleProperty> getVfModuleProperties() {
1518         return vfModuleProperties;
1519     }
1520
1521     public void setVfModuleProperties(Map<String, VfModuleProperty> vfModuleProperties) {
1522         this.vfModuleProperties = vfModuleProperties;
1523     }
1524
1525     public String getToscaConformanceLevel() {
1526         return toscaConformanceLevel;
1527     }
1528
1529     public void setToscaConformanceLevel(String toscaConformanceLevel) {
1530         this.toscaConformanceLevel = toscaConformanceLevel;
1531     }
1532
1533     public String getMinToscaConformanceLevel() {
1534         return minToscaConformanceLevel;
1535     }
1536
1537     public void setMinToscaConformanceLevel(String toscaConformanceLevel) {
1538         this.minToscaConformanceLevel = toscaConformanceLevel;
1539     }
1540
1541     public static class VfModuleProperty {
1542         private String forBaseModule;
1543         private String forNonBaseModule;
1544         public String getForBaseModule() {
1545             return forBaseModule;
1546         }
1547         public void setForBaseModule(String forBaseModule) {
1548             this.forBaseModule = forBaseModule;
1549         }
1550         public String getForNonBaseModule() {
1551             return forNonBaseModule;
1552         }
1553         public void setForNonBaseModule(String forNonBaseModule) {
1554             this.forNonBaseModule = forNonBaseModule;
1555         }
1556     }
1557
1558     public List<Map<String, Map<String, String>>> getDefaultImports() {
1559         return defaultImports;
1560     }
1561
1562     public void setDefaultImports(List<Map<String, Map<String, String>>> defaultImports) {
1563         this.defaultImports = defaultImports;
1564     }
1565
1566     public Map<String, List<String>> getResourcesForUpgrade() {
1567         return resourcesForUpgrade;
1568     }
1569
1570     public void setResourcesForUpgrade(Map<String, List<String>> resourcesForUpgrade) {
1571         this.resourcesForUpgrade = resourcesForUpgrade;
1572     }
1573
1574     @SuppressWarnings("unchecked")
1575     public static <K,V> Map<K,V> safeGetCapsInsensitiveMap(Map<K,V> map) {
1576         return map == null ? emptyMap() : new CaseInsensitiveMap(map);
1577     }
1578
1579
1580     public List<String> getHealthStatusExclude() {
1581         return healthStatusExclude;
1582     }
1583
1584     public void setHealthStatusExclude(List<String> healthStatusExclude) {
1585         this.healthStatusExclude = healthStatusExclude;
1586     }
1587
1588 }