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