summaryrefslogtreecommitdiffstats
path: root/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java
blob: 7d37de79650720a483bdbd66464ff78cceeb5471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
/*-
 * ============LICENSE_START=======================================================
 * SDC
 * ================================================================================
 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
 * ================================================================================
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============LICENSE_END=========================================================
 */

package org.openecomp.sdc.be.config;

import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.openecomp.sdc.common.api.BasicConfiguration;

import static java.lang.String.format;

public class Configuration extends BasicConfiguration {

	private List<String> identificationHeaderFields;
	/**
	 * Requests from these Urls will not be logged by
	 * org.openecomp.sdc.be.filters.BeServletFilter.<br>
	 **/
	private List<String> unLoggedUrls;

	/**
	 * backend host
	 */
	private String beFqdn;
	/**
	 * backend http port
	 */
	private Integer beHttpPort;
	/**
	 * backend http secured port
	 */
	private Integer beSslPort;
	/**
	 * be http context
	 */
	private String beContext;
	/**
	 * backend protocol. http | https
	 */
	private String beProtocol = "http";

	private Date released;
	private String version = "1111";
	private String toscaConformanceLevel = "3.0";
	private String minToscaConformanceLevel = "3.0";
	private List<String> protocols;
	private Map<String, String> users;
	private Map<String, Object> neo4j;
	private ElasticSearchConfig elasticSearch;
	private String titanCfgFile;
	private String titanMigrationKeySpaceCfgFile;
	private Boolean titanInMemoryGraph;
	private int startMigrationFrom;
	private Long titanLockTimeout;
	private Long titanReconnectIntervalInSeconds;
	private Long titanHealthCheckReadTimeout;
	private Long esReconnectIntervalInSeconds;
	private Long uebHealthCheckReconnectIntervalInSeconds;
	private Long uebHealthCheckReadTimeout;
	private LinkedList<Map<String, Map<String, String>>> defaultImports;
	
	private List<String> resourceTypes;
	private List<String> excludeResourceCategory;
	private Map<String, Object> deploymentResourceArtifacts;
	private Map<String, Object> deploymentResourceInstanceArtifacts;
	private Map<String, Object> toscaArtifacts;
	private Map<String, Object> informationalResourceArtifacts;
	private Map<String, Object> informationalServiceArtifacts;
	private Map<String, ArtifactTypeConfig> resourceDeploymentArtifacts;
	private Map<String, ArtifactTypeConfig> serviceDeploymentArtifacts;
	private Map<String, ArtifactTypeConfig> resourceInstanceDeploymentArtifacts;
	private Map<String, ArtifactTypeConfig> resourceInformationalArtifacts;
	private Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts;
	private Map<String, Object> serviceApiArtifacts;
	private List<String> excludeServiceCategory;
	private Map<String, Set<String>> requirementsToFulfillBeforeCert;
	private Map<String, Set<String>> capabilitiesToConsumeBeforeCert;

	private List<String> artifactTypes;
	private List<String> licenseTypes;

	private Integer additionalInformationMaxNumberOfKeys;
	private Integer defaultHeatArtifactTimeoutMinutes;

	private BeMonitoringConfig systemMonitoring;
	private CleanComponentsConfiguration cleanComponentsConfiguration;

	private String artifactsIndex;

	private String heatEnvArtifactHeader;
	private String heatEnvArtifactFooter;

	private String toscaFilesDir;
	private String heatTranslatorPath;

	private OnboardingConfig onboarding;

	private CassandrConfig cassandraConfig;

	private SwitchoverDetectorConfig switchoverDetector;

	private ApplicationL1CacheConfig applicationL1Cache;

	private ApplicationL2CacheConfig applicationL2Cache;

	private ToscaValidatorsConfig toscaValidators;

	private boolean disableAudit;
	
	private Map<String, VfModuleProperty> vfModuleProperties;
	
	private Map<String, String> genericAssetNodeTypes;

	public Map<String, String> getGenericAssetNodeTypes() {
		return genericAssetNodeTypes;
	}

	public void setGenericAssetNodeTypes(Map<String, String> genericAssetNodeTypes) {
		this.genericAssetNodeTypes = genericAssetNodeTypes;
	}

	public SwitchoverDetectorConfig getSwitchoverDetector() {
		return switchoverDetector;
	}

	public void setSwitchoverDetector(SwitchoverDetectorConfig switchoverDetector) {
		this.switchoverDetector = switchoverDetector;
	}

	public ApplicationL1CacheConfig getApplicationL1Cache() {
		return applicationL1Cache;
	}

	public void setApplicationL1Cache(ApplicationL1CacheConfig applicationL1Cache) {
		this.applicationL1Cache = applicationL1Cache;
	}

	public ApplicationL2CacheConfig getApplicationL2Cache() {
		return applicationL2Cache;
	}

	public void setApplicationL2Cache(ApplicationL2CacheConfig applicationL2Cache) {
		this.applicationL2Cache = applicationL2Cache;
	}

	private EcompPortalConfig ecompPortal;

	public CassandrConfig getCassandraConfig() {
		return cassandraConfig;
	}

	public void setCassandraConfig(CassandrConfig cassandraKeySpace) {
		this.cassandraConfig = cassandraKeySpace;
	}

	public List<String> getIdentificationHeaderFields() {
		return identificationHeaderFields;
	}

	public void setIdentificationHeaderFields(List<String> identificationHeaderFields) {
		this.identificationHeaderFields = identificationHeaderFields;
	}

	public Date getReleased() {
		return released;
	}

	public String getVersion() {
		return version;
	}

	public void setReleased(Date released) {
		this.released = released;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public List<String> getProtocols() {
		return protocols;
	}

	public void setProtocols(List<String> protocols) {
		this.protocols = protocols;
	}

	public Map<String, String> getUsers() {
		return users;
	}

	public void setUsers(Map<String, String> users) {
		this.users = users;
	}

	public String getBeFqdn() {
		return beFqdn;
	}

	public void setBeFqdn(String beHost) {
		this.beFqdn = beHost;
	}

	public Integer getBeHttpPort() {
		return beHttpPort;
	}

	public void setBeHttpPort(Integer beHttpPort) {
		this.beHttpPort = beHttpPort;
	}

	public Integer getBeSslPort() {
		return beSslPort;
	}

	public void setBeSslPort(Integer beSslPort) {
		this.beSslPort = beSslPort;
	}

	public String getBeContext() {
		return beContext;
	}

	public void setBeContext(String beContext) {
		this.beContext = beContext;
	}

	public String getBeProtocol() {
		return beProtocol;
	}

	public void setBeProtocol(String beProtocol) {
		this.beProtocol = beProtocol;
	}

	public Map<String, Object> getNeo4j() {
		return neo4j;
	}

	public void setNeo4j(Map<String, Object> neo4j) {
		this.neo4j = neo4j;
	}

	public ElasticSearchConfig getElasticSearch() {
		return elasticSearch;
	}

	public void setElasticSearch(ElasticSearchConfig elasticSearch) {
		this.elasticSearch = elasticSearch;
	}

	public String getTitanCfgFile() {
		return titanCfgFile;
	}

	public void setTitanCfgFile(String titanCfgFile) {
		this.titanCfgFile = titanCfgFile;
	}

	public String getTitanMigrationKeySpaceCfgFile() {
		return titanMigrationKeySpaceCfgFile;
	}

	public void setTitanMigrationKeySpaceCfgFile(String titanMigrationKeySpaceCfgFile) {
		this.titanMigrationKeySpaceCfgFile = titanMigrationKeySpaceCfgFile;
	}

	public Boolean getTitanInMemoryGraph() {
		return titanInMemoryGraph;
	}

	public void setTitanInMemoryGraph(Boolean titanInMemoryGraph) {
		this.titanInMemoryGraph = titanInMemoryGraph;
	}

	public int getStartMigrationFrom() {
		return startMigrationFrom;
	}

	public void setStartMigrationFrom(int startMigrationFrom) {
		this.startMigrationFrom = startMigrationFrom;
	}

	public Long getTitanLockTimeout() {
		return titanLockTimeout;
	}

	public void setTitanLockTimeout(Long titanLockTimeout) {
		this.titanLockTimeout = titanLockTimeout;
	}

	public Long getTitanHealthCheckReadTimeout() {
		return titanHealthCheckReadTimeout;
	}

	public Long getTitanHealthCheckReadTimeout(long defaultVal) {
		return titanHealthCheckReadTimeout == null ? defaultVal : titanHealthCheckReadTimeout;
	}

	public void setTitanHealthCheckReadTimeout(Long titanHealthCheckReadTimeout) {
		this.titanHealthCheckReadTimeout = titanHealthCheckReadTimeout;
	}

	public Long getTitanReconnectIntervalInSeconds() {
		return titanReconnectIntervalInSeconds;
	}

	public Long getTitanReconnectIntervalInSeconds(long defaultVal) {
		return titanReconnectIntervalInSeconds == null ? defaultVal : titanReconnectIntervalInSeconds;
	}

	public void setTitanReconnectIntervalInSeconds(Long titanReconnectIntervalInSeconds) {
		this.titanReconnectIntervalInSeconds = titanReconnectIntervalInSeconds;
	}

	public Long getEsReconnectIntervalInSeconds() {
		return esReconnectIntervalInSeconds;
	}

	public Long getEsReconnectIntervalInSeconds(long defaultVal) {
		return esReconnectIntervalInSeconds == null ? defaultVal : esReconnectIntervalInSeconds;
	}

	public void setEsReconnectIntervalInSeconds(Long esReconnectIntervalInSeconds) {
		this.esReconnectIntervalInSeconds = esReconnectIntervalInSeconds;
	}

	public List<String> getArtifactTypes() {
		return artifactTypes;
	}

	public void setArtifactTypes(List<String> artifactTypes) {
		this.artifactTypes = artifactTypes;
	}

	public List<String> getExcludeResourceCategory() {
		return excludeResourceCategory;
	}

	public void setExcludeResourceCategory(List<String> excludeResourceCategory) {
		this.excludeResourceCategory = excludeResourceCategory;
	}

	public Map<String, Object> getToscaArtifacts() {
		return toscaArtifacts;
	}

	public void setToscaArtifacts(Map<String, Object> toscaArtifacts) {
		this.toscaArtifacts = toscaArtifacts;
	}

	public Map<String, Object> getInformationalResourceArtifacts() {
		return informationalResourceArtifacts;
	}

	public void setInformationalResourceArtifacts(Map<String, Object> informationalResourceArtifacts) {
		this.informationalResourceArtifacts = informationalResourceArtifacts;
	}

	public Map<String, Object> getInformationalServiceArtifacts() {
		return informationalServiceArtifacts;
	}

	public void setInformationalServiceArtifacts(Map<String, Object> informationalServiceArtifacts) {
		this.informationalServiceArtifacts = informationalServiceArtifacts;
	}

	public Map<String, Object> getServiceApiArtifacts() {
		return serviceApiArtifacts;
	}

	public void setServiceApiArtifacts(Map<String, Object> serviceApiArtifacts) {
		this.serviceApiArtifacts = serviceApiArtifacts;
	}

	public Map<String, ArtifactTypeConfig> getServiceDeploymentArtifacts() {
		return serviceDeploymentArtifacts;
	}

	public void setServiceDeploymentArtifacts(Map<String, ArtifactTypeConfig> serviceDeploymentArtifacts) {
		this.serviceDeploymentArtifacts = serviceDeploymentArtifacts;
	}

	public Map<String, ArtifactTypeConfig> getResourceDeploymentArtifacts() {
		return resourceDeploymentArtifacts;
	}

	public void setResourceDeploymentArtifacts(Map<String, ArtifactTypeConfig> resourceDeploymentArtifacts) {
		this.resourceDeploymentArtifacts = resourceDeploymentArtifacts;
	}

	public void setResourceInstanceDeploymentArtifacts(
			Map<String, ArtifactTypeConfig> resourceInstanceDeploymentArtifacts) {
		this.resourceInstanceDeploymentArtifacts = resourceInstanceDeploymentArtifacts;
	}

	public Map<String, ArtifactTypeConfig> getResourceInstanceDeploymentArtifacts() {
		return resourceInstanceDeploymentArtifacts;
	}

	public List<String> getExcludeServiceCategory() {
		return excludeServiceCategory;
	}

	public void setExcludeServiceCategory(List<String> excludeServiceCategory) {
		this.excludeServiceCategory = excludeServiceCategory;
	}

	public List<String> getLicenseTypes() {
		return licenseTypes;
	}

	public void setLicenseTypes(List<String> licenseTypes) {
		this.licenseTypes = licenseTypes;
	}

	public Integer getAdditionalInformationMaxNumberOfKeys() {
		return additionalInformationMaxNumberOfKeys;
	}

	public void setAdditionalInformationMaxNumberOfKeys(Integer additionalInformationMaxNumberOfKeys) {
		this.additionalInformationMaxNumberOfKeys = additionalInformationMaxNumberOfKeys;
	}

	public BeMonitoringConfig getSystemMonitoring() {
		return systemMonitoring;
	}

	public void setSystemMonitoring(BeMonitoringConfig systemMonitoring) {
		this.systemMonitoring = systemMonitoring;
	}

	public Integer getDefaultHeatArtifactTimeoutMinutes() {
		return defaultHeatArtifactTimeoutMinutes;
	}

	public void setDefaultHeatArtifactTimeoutMinutes(Integer defaultHeatArtifactTimeoutMinutes) {
		this.defaultHeatArtifactTimeoutMinutes = defaultHeatArtifactTimeoutMinutes;
	}

	public Long getUebHealthCheckReconnectIntervalInSeconds() {
		return uebHealthCheckReconnectIntervalInSeconds;
	}

	public void setUebHealthCheckReconnectIntervalInSeconds(Long uebHealthCheckReconnectIntervalInSeconds) {
		this.uebHealthCheckReconnectIntervalInSeconds = uebHealthCheckReconnectIntervalInSeconds;
	}

	public Long getUebHealthCheckReadTimeout() {
		return uebHealthCheckReadTimeout;
	}

	public void setUebHealthCheckReadTimeout(Long uebHealthCheckReadTimeout) {
		this.uebHealthCheckReadTimeout = uebHealthCheckReadTimeout;
	}

	public static class ElasticSearchConfig {

		List<IndicesTimeFrequencyEntry> indicesTimeFrequency;

		public List<IndicesTimeFrequencyEntry> getIndicesTimeFrequency() {
			return indicesTimeFrequency;
		}

		public void setIndicesTimeFrequency(List<IndicesTimeFrequencyEntry> indicesTimeFrequency) {
			this.indicesTimeFrequency = indicesTimeFrequency;
		}

		public static class IndicesTimeFrequencyEntry {

			String indexPrefix;
			String creationPeriod;

			public String getIndexPrefix() {
				return indexPrefix;
			}

			public void setIndexPrefix(String indexPrefix) {
				this.indexPrefix = indexPrefix;
			}

			public String getCreationPeriod() {
				return creationPeriod;
			}

			public void setCreationPeriod(String creationPeriod) {
				this.creationPeriod = creationPeriod;
			}
		}
	}

	public static class CassandrConfig {

		List<String> cassandraHosts;
		String localDataCenter;
		Long reconnectTimeout;
		List<KeyspaceConfig> keySpaces;
		boolean authenticate;
		String username;
		String password;
		boolean ssl;
		String truststorePath;
		String truststorePassword;

		public String getLocalDataCenter() {
			return localDataCenter;
		}

		public void setLocalDataCenter(String localDataCenter) {
			this.localDataCenter = localDataCenter;
		}

		public boolean isAuthenticate() {
			return authenticate;
		}

		public void setAuthenticate(boolean authenticate) {
			this.authenticate = authenticate;
		}

		public String getUsername() {
			return username;
		}

		public void setUsername(String username) {
			this.username = username;
		}

		public String getPassword() {
			return password;
		}

		public void setPassword(String password) {
			this.password = password;
		}

		public boolean isSsl() {
			return ssl;
		}

		public void setSsl(boolean ssl) {
			this.ssl = ssl;
		}

		public String getTruststorePath() {
			return truststorePath;
		}

		public void setTruststorePath(String truststorePath) {
			this.truststorePath = truststorePath;
		}

		public String getTruststorePassword() {
			return truststorePassword;
		}

		public void setTruststorePassword(String truststorePassword) {
			this.truststorePassword = truststorePassword;
		}

		public Long getReconnectTimeout() {
			return reconnectTimeout;
		}

		public void setReconnectTimeout(Long reconnectTimeout) {
			this.reconnectTimeout = reconnectTimeout;
		}

		public List<String> getCassandraHosts() {
			return cassandraHosts;
		}

		public void setCassandraHosts(List<String> cassandraHosts) {
			this.cassandraHosts = cassandraHosts;
		}

		public List<KeyspaceConfig> getKeySpaces() {
			return keySpaces;
		}

		public void setKeySpaces(List<KeyspaceConfig> cassandraConfig) {
			this.keySpaces = cassandraConfig;
		}

		public static class KeyspaceConfig {

			String name;
			String replicationStrategy;
			List<String> replicationInfo;

			public String getName() {
				return name;
			}

			public void setName(String name) {
				this.name = name;
			}

			public String getReplicationStrategy() {
				return replicationStrategy;
			}

			public void setReplicationStrategy(String replicationStrategy) {
				this.replicationStrategy = replicationStrategy;
			}

			public List<String> getReplicationInfo() {
				return replicationInfo;
			}

			public void setReplicationInfo(List<String> replicationInfo) {
				this.replicationInfo = replicationInfo;
			}
		}
	}

	public static class SwitchoverDetectorConfig {

		String gBeFqdn;
		String gFeFqdn;
		String beVip;
		String feVip;
		int beResolveAttempts;
		int feResolveAttempts;
		Boolean enabled;
		long interval;
		String changePriorityUser;
		String changePriorityPassword;
		String publishNetworkUrl;
		String publishNetworkBody;
		Map<String, GroupInfo> groups;

		public String getgBeFqdn() {
			return gBeFqdn;
		}

		public void setgBeFqdn(String gBeFqdn) {
			this.gBeFqdn = gBeFqdn;
		}

		public String getgFeFqdn() {
			return gFeFqdn;
		}

		public void setgFeFqdn(String gFeFqdn) {
			this.gFeFqdn = gFeFqdn;
		}

		public String getBeVip() {
			return beVip;
		}

		public void setBeVip(String beVip) {
			this.beVip = beVip;
		}

		public String getFeVip() {
			return feVip;
		}

		public void setFeVip(String feVip) {
			this.feVip = feVip;
		}

		public int getBeResolveAttempts() {
			return beResolveAttempts;
		}

		public void setBeResolveAttempts(int beResolveAttempts) {
			this.beResolveAttempts = beResolveAttempts;
		}

		public int getFeResolveAttempts() {
			return feResolveAttempts;
		}

		public void setFeResolveAttempts(int feResolveAttempts) {
			this.feResolveAttempts = feResolveAttempts;
		}

		public Boolean getEnabled() {
			return enabled;
		}

		public void setEnabled(Boolean enabled) {
			this.enabled = enabled;
		}

		public long getInterval() {
			return interval;
		}

		public void setInterval(long interval) {
			this.interval = interval;
		}

		public String getChangePriorityUser() {
			return changePriorityUser;
		}

		public void setChangePriorityUser(String changePriorityUser) {
			this.changePriorityUser = changePriorityUser;
		}

		public String getChangePriorityPassword() {
			return changePriorityPassword;
		}

		public void setChangePriorityPassword(String changePriorityPassword) {
			this.changePriorityPassword = changePriorityPassword;
		}

		public String getPublishNetworkUrl() {
			return publishNetworkUrl;
		}

		public void setPublishNetworkUrl(String publishNetworkUrl) {
			this.publishNetworkUrl = publishNetworkUrl;
		}

		public String getPublishNetworkBody() {
			return publishNetworkBody;
		}

		public void setPublishNetworkBody(String publishNetworkBody) {
			this.publishNetworkBody = publishNetworkBody;
		}

		public Map<String, GroupInfo> getGroups() {
			return groups;
		}

		public void setGroups(Map<String, GroupInfo> groups) {
			this.groups = groups;
		}

		public static class GroupInfo {

			String changePriorityUrl;
			String changePriorityBody;

			public String getChangePriorityUrl() {
				return changePriorityUrl;
			}

			public void setChangePriorityUrl(String changePriorityUrl) {
				this.changePriorityUrl = changePriorityUrl;
			}

			public String getChangePriorityBody() {
				return changePriorityBody;
			}

			public void setChangePriorityBody(String changePriorityBody) {
				this.changePriorityBody = changePriorityBody;
			}
		}

	}

	public static class BeMonitoringConfig {

		Boolean enabled;
		Boolean isProxy;
		Integer probeIntervalInSeconds;

		public Boolean getEnabled() {
			return enabled;
		}

		public void setEnabled(Boolean enabled) {
			this.enabled = enabled;
		}

		public Boolean getIsProxy() {
			return isProxy;
		}

		public void setIsProxy(Boolean isProxy) {
			this.isProxy = isProxy;
		}

		public Integer getProbeIntervalInSeconds() {
			return probeIntervalInSeconds;
		}

		public Integer getProbeIntervalInSeconds(int defaultVal) {
			return probeIntervalInSeconds == null ? defaultVal : probeIntervalInSeconds;
		}

		public void setProbeIntervalInSeconds(Integer probeIntervalInSeconds) {
			this.probeIntervalInSeconds = probeIntervalInSeconds;
		}
	}

	public static class ArtifactTypeConfig {

		List<String> acceptedTypes;
		List<String> validForResourceTypes;

		public List<String> getValidForResourceTypes() {
			return validForResourceTypes;
		}

		public void setValidForResourceTypes(List<String> validForResourceTypes) {
			this.validForResourceTypes = validForResourceTypes;
		}

		public List<String> getAcceptedTypes() {
			return acceptedTypes;
		}

		public void setAcceptedTypes(List<String> acceptedTypes) {
			this.acceptedTypes = acceptedTypes;
		}
	}

	public static class OnboardingConfig {

		String protocol = "http";
		String host;
		Integer port;
		String downloadCsarUri;

		public String getProtocol() {
			return protocol;
		}

		public void setProtocol(String protocol) {
			this.protocol = protocol;
		}

		public String getHost() {
			return host;
		}

		public void setHost(String host) {
			this.host = host;
		}

		public Integer getPort() {
			return port;
		}

		public void setPort(Integer port) {
			this.port = port;
		}

		public String getDownloadCsarUri() {
			return downloadCsarUri;
		}

		public void setDownloadCsarUri(String downloadCsarUri) {
			this.downloadCsarUri = downloadCsarUri;
		}

		@Override
		public String toString() {
			return "OnboardingConfig [protocol=" + protocol + ", host=" + host + ", port=" + port + ", downloadCsarUri="
					+ downloadCsarUri + "]";
		}

	}

	public static class EcompPortalConfig {

		private String defaultFunctionalMenu;

		public String getDefaultFunctionalMenu() {
			return defaultFunctionalMenu;
		}

		public void setDefaultFunctionalMenu(String defaultFunctionalMenu) {
			this.defaultFunctionalMenu = defaultFunctionalMenu;
		}

		@Override
		public String toString() {
			return "EcompPortalConfig [defaultFunctionalMenu=" + defaultFunctionalMenu + "]";
		}

	}

	public static class ApplicationL1CacheConfig {

		ApplicationL1CacheInfo datatypes;

		public ApplicationL1CacheInfo getDatatypes() {
			return datatypes;
		}

		public void setDatatypes(ApplicationL1CacheInfo datatypes) {
			this.datatypes = datatypes;
		}

		@Override
		public String toString() {
			return "ApplicationL1CacheConfig [datatypes=" + datatypes + "]";
		}

	}

	public static class ApplicationL2CacheConfig {

		boolean enabled;
		ApplicationL1CacheCatalogInfo catalogL1Cache;

		QueueInfo queue;

		public boolean isEnabled() {
			return enabled;
		}

		public void setEnabled(boolean enabled) {
			this.enabled = enabled;
		}

		public ApplicationL1CacheCatalogInfo getCatalogL1Cache() {
			return catalogL1Cache;
		}

		public void setCatalogL1Cache(ApplicationL1CacheCatalogInfo catalogL1Cache) {
			this.catalogL1Cache = catalogL1Cache;
		}

		public QueueInfo getQueue() {
			return queue;
		}

		public void setQueue(QueueInfo queue) {
			this.queue = queue;
		}

		@Override
		public String toString() {
			return "ApplicationL2CacheConfig [enabled=" + enabled + ", catalogL1Cache=" + catalogL1Cache + "]";
		}

	}

	public static class ToscaValidatorsConfig {

		private Integer stringMaxLength;

		public Integer getStringMaxLength() {
			return stringMaxLength;
		}

		public void setStringMaxLength(Integer stringMaxLength) {
			this.stringMaxLength = stringMaxLength;
		}

		@Override
		public String toString() {
			return "ToscaValidatorsConfig [stringMaxLength=" + stringMaxLength + "]";
		}

	}

	public static class ApplicationL1CacheInfo {

		Boolean enabled;
		Integer firstRunDelay;
		Integer pollIntervalInSec;

		public Boolean getEnabled() {
			return enabled;
		}

		public void setEnabled(Boolean enabled) {
			this.enabled = enabled;
		}

		public Integer getFirstRunDelay() {
			return firstRunDelay;
		}

		public void setFirstRunDelay(Integer firstRunDelay) {
			this.firstRunDelay = firstRunDelay;
		}

		public Integer getPollIntervalInSec() {
			return pollIntervalInSec;
		}

		public void setPollIntervalInSec(Integer pollIntervalInSec) {
			this.pollIntervalInSec = pollIntervalInSec;
		}

		@Override
		public String toString() {
			return "ApplicationL1CacheInfo [enabled=" + enabled + ", firstRunDelay=" + firstRunDelay
					+ ", pollIntervalInSec=" + pollIntervalInSec + "]";
		}
	}

	public static class ApplicationL1CacheCatalogInfo {

		Boolean enabled;
		Integer resourcesSizeInCache;
		Integer servicesSizeInCache;
		Integer productsSizeInCache;

		public Boolean getEnabled() {
			return enabled;
		}

		public void setEnabled(Boolean enabled) {
			this.enabled = enabled;
		}

		public Integer getResourcesSizeInCache() {
			return resourcesSizeInCache;
		}

		public void setResourcesSizeInCache(Integer resourcesSizeInCache) {
			this.resourcesSizeInCache = resourcesSizeInCache;
		}

		public Integer getServicesSizeInCache() {
			return servicesSizeInCache;
		}

		public void setServicesSizeInCache(Integer servicesSizeInCache) {
			this.servicesSizeInCache = servicesSizeInCache;
		}

		public Integer getProductsSizeInCache() {
			return productsSizeInCache;
		}

		public void setProductsSizeInCache(Integer productsSizeInCache) {
			this.productsSizeInCache = productsSizeInCache;
		}

		@Override
		public String toString() {
			return "ApplicationL1CacheCatalogInfo [enabled=" + enabled + ", resourcesSizeInCache="
					+ resourcesSizeInCache + ", servicesSizeInCache=" + servicesSizeInCache + ", productsSizeInCache="
					+ productsSizeInCache + "]";
		}

	}

	public static class QueueInfo {
		Integer numberOfCacheWorkers;
		Integer waitOnShutDownInMinutes;
		Integer syncIntervalInSecondes;

		public Integer getWaitOnShutDownInMinutes() {
			return waitOnShutDownInMinutes;
		}

		public void setWaitOnShutDownInMinutes(Integer waitOnShutDownInMinutes) {
			this.waitOnShutDownInMinutes = waitOnShutDownInMinutes;
		}

		public Integer getSyncIntervalInSecondes() {
			return syncIntervalInSecondes;
		}

		public void setSyncIntervalInSecondes(Integer syncIntervalInSecondes) {
			this.syncIntervalInSecondes = syncIntervalInSecondes;
		}

		public Integer getNumberOfCacheWorkers() {
			return numberOfCacheWorkers;
		}

		public void setNumberOfCacheWorkers(Integer numberOfCacheWorkers) {
			this.numberOfCacheWorkers = numberOfCacheWorkers;
		}

		@Override
		public String toString() {
			return "QueueInfo[" + "waitOnShutDownInMinutes=" + waitOnShutDownInMinutes + ", syncIntervalInSecondes="
					+ syncIntervalInSecondes + ", numberOfCacheWorkers=" + this.numberOfCacheWorkers + ']';
		}
	}

	public CleanComponentsConfiguration getCleanComponentsConfiguration() {
		return cleanComponentsConfiguration;
	}

	public void setCleanComponentsConfiguration(CleanComponentsConfiguration cleanComponentsConfiguration) {
		this.cleanComponentsConfiguration = cleanComponentsConfiguration;
	}

	@Override
	public String toString() {
		return new StringBuilder().append(format("backend host: %s\n", beFqdn))
				.append(format("backend http port: %s\n", beHttpPort))
				.append(format("backend ssl port: %s\n", beSslPort)).append(format("backend context: %s\n", beContext))
				.append(format("backend protocol: %s\n", beProtocol)).append(format("Version: %s\n", version))
				.append(format("Released: %s\n", released)).append(format("Supported protocols: %s\n", protocols))
				.append(format("Users: %s\n", users)).append(format("Neo4j: %s\n", neo4j))
				.append(format("ElasticSearch: %s\n", elasticSearch))
				.append(format("Titan Cfg File: %s\n", titanCfgFile))
				.append(format("Titan In memory: %s\n", titanInMemoryGraph))
				.append(format("Titan lock timeout: %s\n", titanLockTimeout))
				.append(format("Titan reconnect interval seconds: %s\n", titanReconnectIntervalInSeconds))
				.append(format("excludeResourceCategory: %s\n", excludeResourceCategory))
				.append(format("informationalResourceArtifacts: %s\n", informationalResourceArtifacts))
				.append(format("deploymentResourceArtifacts: %s\n", deploymentResourceArtifacts))
				.append(format("informationalServiceArtifacts: %s\n", informationalServiceArtifacts))
				.append(format("Supported artifacts types: %s\n", artifactTypes))
				.append(format("Supported license types: %s\n", licenseTypes))
				.append(format("Additional information Maximum number of preoperties: %s\n",
						additionalInformationMaxNumberOfKeys))
				.append(format("Default Heat Artifact Timeout in Minutes: %s\n", defaultHeatArtifactTimeoutMinutes))
				.append(format("URLs For HTTP Requests that will not be automatically logged : %s\n", unLoggedUrls))
				.append(format("Service Api Artifacts: %s\n", serviceApiArtifacts))
				.append(format("heat env artifact header: %s\n", heatEnvArtifactHeader))
				.append(format("heat env artifact footer: %s\n", heatEnvArtifactFooter))
				.append(format("onboarding: %s\n", onboarding)).toString();
	}

	public List<String> getUnLoggedUrls() {
		return unLoggedUrls;
	}

	public void setUnLoggedUrls(List<String> unLoggedUrls) {
		this.unLoggedUrls = unLoggedUrls;
	}

	public Map<String, Object> getDeploymentResourceArtifacts() {
		return deploymentResourceArtifacts;
	}

	public void setDeploymentResourceArtifacts(Map<String, Object> deploymentResourceArtifacts) {
		this.deploymentResourceArtifacts = deploymentResourceArtifacts;
	}

	public String getHeatEnvArtifactHeader() {
		return heatEnvArtifactHeader;
	}

	public void setHeatEnvArtifactHeader(String heatEnvArtifactHeader) {
		this.heatEnvArtifactHeader = heatEnvArtifactHeader;
	}

	public String getHeatEnvArtifactFooter() {
		return heatEnvArtifactFooter;
	}

	public void setHeatEnvArtifactFooter(String heatEnvArtifactFooter) {
		this.heatEnvArtifactFooter = heatEnvArtifactFooter;
	}

	public Map<String, Object> getDeploymentResourceInstanceArtifacts() {
		return deploymentResourceInstanceArtifacts;
	}

	public void setDeploymentResourceInstanceArtifacts(Map<String, Object> deploymentResourceInstanceArtifacts) {
		this.deploymentResourceInstanceArtifacts = deploymentResourceInstanceArtifacts;
	}

	public String getArtifactsIndex() {
		return artifactsIndex;
	}

	public void setArtifactsIndex(String artifactsIndex) {
		this.artifactsIndex = artifactsIndex;
	}

	public Map<String, ArtifactTypeConfig> getResourceInformationalDeployedArtifacts() {
		return resourceInformationalDeployedArtifacts;
	}

	public void setResourceInformationalDeployedArtifacts(
			Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts) {
		this.resourceInformationalDeployedArtifacts = resourceInformationalDeployedArtifacts;
	}

	public List<String> getResourceTypes() {
		return resourceTypes;
	}

	public void setResourceTypes(List<String> resourceTypes) {
		this.resourceTypes = resourceTypes;
	}

	public String getToscaFilesDir() {
		return toscaFilesDir;
	}

	public void setToscaFilesDir(String toscaFilesDir) {
		this.toscaFilesDir = toscaFilesDir;
	}

	public String getHeatTranslatorPath() {
		return heatTranslatorPath;
	}

	public void setHeatTranslatorPath(String heatTranslatorPath) {
		this.heatTranslatorPath = heatTranslatorPath;
	}

	public Map<String, Set<String>> getRequirementsToFulfillBeforeCert() {
		return requirementsToFulfillBeforeCert;
	}

	public void setRequirementsToFulfillBeforeCert(Map<String, Set<String>> requirementsToFulfillBeforeCert) {
		this.requirementsToFulfillBeforeCert = requirementsToFulfillBeforeCert;
	}

	public Map<String, Set<String>> getCapabilitiesToConsumeBeforeCert() {
		return capabilitiesToConsumeBeforeCert;
	}

	public void setCapabilitiesToConsumeBeforeCert(Map<String, Set<String>> capabilitiesToConsumeBeforeCert) {
		this.capabilitiesToConsumeBeforeCert = capabilitiesToConsumeBeforeCert;
	}

	public OnboardingConfig getOnboarding() {
		return onboarding;
	}

	public void setOnboarding(OnboardingConfig onboarding) {
		this.onboarding = onboarding;
	}

	public EcompPortalConfig getEcompPortal() {
		return ecompPortal;
	}

	public void setEcompPortal(EcompPortalConfig ecompPortal) {
		this.ecompPortal = ecompPortal;
	}

	public ToscaValidatorsConfig getToscaValidators() {
		return toscaValidators;
	}

	public void setToscaValidators(ToscaValidatorsConfig toscaValidators) {
		this.toscaValidators = toscaValidators;
	}

	public boolean isDisableAudit() {
		return disableAudit;
	}

	public void setDisableAudit(boolean enableAudit) {
		this.disableAudit = enableAudit;
	}

	public Map<String, ArtifactTypeConfig> getResourceInformationalArtifacts() {
		return resourceInformationalArtifacts;
	}

	public void setResourceInformationalArtifacts(Map<String, ArtifactTypeConfig> resourceInformationalArtifacts) {
		this.resourceInformationalArtifacts = resourceInformationalArtifacts;
	}

	public Map<String, VfModuleProperty> getVfModuleProperties() {
		return vfModuleProperties;
	}

	public void setVfModuleProperties(Map<String, VfModuleProperty> vfModuleProperties) {
		this.vfModuleProperties = vfModuleProperties;
	}

	public String getToscaConformanceLevel() {
		return toscaConformanceLevel;
	}

	public void setToscaConformanceLevel(String toscaConformanceLevel) {
		this.toscaConformanceLevel = toscaConformanceLevel;
	}
	
	public String getMinToscaConformanceLevel() {
		return minToscaConformanceLevel;
	}

	public void setMinToscaConformanceLevel(String toscaConformanceLevel) {
		this.minToscaConformanceLevel = toscaConformanceLevel;
	}

	public static class VfModuleProperty {
		private String forBaseModule;
		private String forNonBaseModule;
		public String getForBaseModule() {
			return forBaseModule;
		}
		public void setForBaseModule(String forBaseModule) {
			this.forBaseModule = forBaseModule;
		}
		public String getForNonBaseModule() {
			return forNonBaseModule;
		}
		public void setForNonBaseModule(String forNonBaseModule) {
			this.forNonBaseModule = forNonBaseModule;
		}
	}

	public LinkedList<Map<String, Map<String, String>>> getDefaultImports() {
		return defaultImports;
	}

	public void setDefaultImports(LinkedList<Map<String, Map<String, String>>> defaultImports) {
		this.defaultImports = defaultImports;
	}
}