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