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