Configuration file runtime reload
[sdc.git] / test-apis-ci / src / test / resources / config / test-apis-ci / configuration.yaml
1 identificationHeaderFields:
2    - HTTP_IV_USER
3    - HTTP_CSP_FIRSTNAME
4    - HTTP_CSP_LASTNAME
5    - HTTP_IV_REMOTE_ADDRESS
6    - HTTP_CSP_WSTYPE
7
8 # catalog backend hostname
9 beFqdn: localhost
10 # sdccatalog.att.com
11
12 # catalog backend http port
13 beHttpPort: 8080
14
15 # catalog backend http context
16 beContext: /sdc/rest/config/get
17
18 # catalog backend protocol
19 beProtocol: http
20
21 # catalog backend ssl port
22 beSslPort: 8443
23
24 version: 1.1.0
25 released: 2012-11-30
26 toscaConformanceLevel: 8.0
27 minToscaConformanceLevel: 3.0
28
29 janusGraphCfgFile: /home/vagrant/catalog-be/config/catalog-be/janusgraph.properties
30 janusGraphInMemoryGraph: false
31 janusGraphLockTimeout: 1800
32
33 # The interval to try and reconnect to janusGraph DB when it is down during ASDC startup:
34 janusGraphReconnectIntervalInSeconds: 3
35
36 # The read timeout towards JanusGraph DB when health check is invoked:
37 janusGraphHealthCheckReadTimeout: 1
38
39 # The interval to try and reconnect to Elasticsearch when it is down during ASDC startup:
40 esReconnectIntervalInSeconds: 3
41 uebHealthCheckReconnectIntervalInSeconds: 15
42 uebHealthCheckReadTimeout: 4
43
44 # Protocols
45 protocols:
46    - http
47    - https
48
49 # Default imports
50 defaultImports:
51    - nodes:
52         file: nodes.yml
53    - datatypes:
54         file: data.yml
55    - capabilities:
56         file: capabilities.yml
57    - relationships:
58         file: relationships.yml
59    - groups:
60         file: groups.yml
61    - policies:
62         file: policies.yml
63
64 # Users
65 users:
66     tom: passwd
67     bob: passwd
68
69 neo4j:
70     host: neo4jhost
71     port: 7474
72     user: neo4j
73     password: "Pass"
74
75 cassandraConfig:
76     cassandraHosts: ['localhost']
77     localDataCenter: datacenter1
78     reconnectTimeout : 30000
79     authenticate: false
80     username: koko
81     password: "Pass"
82     ssl: false
83     truststorePath : /path/path
84     truststorePassword : "Pass"
85     keySpaces:
86         - { name: sdcaudit, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
87         - { name: sdcartifact, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
88         - { name: sdccomponent, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
89         - { name: sdcrepository, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
90
91 #Application-specific settings of ES
92 elasticSearch:
93     # Mapping of index prefix to time-based frame. For example, if below is configured:
94     #
95     # - indexPrefix: auditingevents
96     #    creationPeriod: minute
97     #
98     # then ES object of type which is mapped to "auditingevents-*" template, and created on 2015-12-23 13:24:54, will enter "auditingevents-2015-12-23-13-24" index.
99     # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
100     # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
101     #
102     # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
103     #
104     # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
105     #
106     # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
107     
108     indicesTimeFrequency:
109       - indexPrefix: auditingevents
110         creationPeriod: month
111       - indexPrefix: monitoring_events
112         creationPeriod: month
113
114 artifactTypes:
115    - CHEF
116    - PUPPET
117    - SHELL
118    - YANG
119    - YANG_XML
120    - HEAT
121    - BPEL
122    - DG_XML
123    - MURANO_PKG
124    - WORKFLOW
125    - NETWORK_CALL_FLOW
126    - TOSCA_TEMPLATE
127    - TOSCA_CSAR
128    - AAI_SERVICE_MODEL
129    - AAI_VF_MODEL
130    - AAI_VF_MODULE_MODEL
131    - AAI_VF_INSTANCE_MODEL
132    - OTHER
133    - SNMP_POLL
134    - SNMP_TRAP
135    - GUIDE
136    - PNF_SW_INFORMATION
137
138 licenseTypes:
139    - User
140    - Installation
141    - CPU
142
143 #Deployment artifacts placeHolder
144 resourceTypes: &allResourceTypes
145   - VFC
146   - CP
147   - VL
148   - VF
149   - VFCMT
150   - Abstract
151   - CVFC
152
153 # validForResourceTypes usage
154 #     validForResourceTypes:
155 #        - VF
156 #        - VL
157 deploymentResourceArtifacts:
158 #  heat:
159 #      displayName: "Base HEAT Template"
160 #      type: HEAT
161 #      validForResourceTypes: *allResourceTypes
162 #  heatVol:
163 #      displayName: "Volume HEAT Template"
164 #      type: HEAT_VOL
165 #      validForResourceTypes: *allResourceTypes
166 #  heatNet:
167 #      displayName: "Network HEAT Template"
168 #      type: HEAT_NET
169 #      validForResourceTypes: *allResourceTypes
170
171 deploymentResourceInstanceArtifacts:
172   heatEnv:
173       displayName: "HEAT ENV"
174       type: HEAT_ENV
175       description: "Auto-generated HEAT Environment deployment artifact"
176       fileExtension: "env"
177   VfHeatEnv:
178       displayName: "VF HEAT ENV"
179       type: HEAT_ENV
180       description: "VF Auto-generated HEAT Environment deployment artifact"
181       fileExtension: "env"
182
183 #tosca artifacts placeholders
184 toscaArtifacts:
185   assetToscaTemplate:
186       artifactName: -template.yml
187       displayName: Tosca Template
188       type: TOSCA_TEMPLATE
189       description: TOSCA representation of the asset
190   assetToscaCsar:
191       artifactName: -csar.csar
192       displayName: Tosca Model
193       type: TOSCA_CSAR
194       description: TOSCA definition package of the asset
195
196
197 #Informational artifacts placeHolder
198 excludeResourceCategory:
199   - Generic
200 excludeResourceType:
201   - PNF  
202 informationalResourceArtifacts:
203   features:
204       displayName: Features
205       type: OTHER
206   capacity:
207       displayName: Capacity
208       type: OTHER
209   vendorTestResult:
210       displayName: Vendor Test Result
211       type: OTHER
212   testScripts:
213       displayName: Test Scripts
214       type: OTHER
215   CloudQuestionnaire:
216       displayName: Cloud Questionnaire (completed)
217       type: OTHER
218   HEATTemplateFromVendor:
219       displayName: HEAT Template from Vendor
220       type: HEAT
221   resourceSecurityTemplate:
222       displayName: Resource Security Template
223       type: OTHER
224
225 excludeServiceCategory:
226
227 informationalServiceArtifacts:
228   serviceArtifactPlan:
229       displayName: Service Artifact Plan
230       type: OTHER
231   summaryOfImpactsToECOMPElements:
232       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
233       type: OTHER
234   controlLoopFunctions:
235       displayName: Control Loop Functions
236       type: OTHER
237   dimensioningInfo:
238       displayName: Dimensioning Info
239       type: OTHER
240   affinityRules:
241       displayName: Affinity Rules
242       type: OTHER
243   operationalPolicies:
244       displayName: Operational Policies
245       type: OTHER
246   serviceSpecificPolicies:
247       displayName: Service-specific Policies
248       type: OTHER
249   engineeringRules:
250       displayName: Engineering Rules (ERD)
251       type: OTHER
252   distributionInstructions:
253       displayName: Distribution Instructions
254       type: OTHER
255   certificationTestResults:
256       displayName: TD Certification Test Results
257       type: OTHER
258   deploymentVotingRecord:
259       displayName: Deployment Voting Record
260       type: OTHER
261   serviceQuestionnaire:
262       displayName: Service Questionnaire
263       type: OTHER
264   serviceSecurityTemplate:
265       displayName: Service Security Template
266       type: OTHER
267
268 serviceApiArtifacts:
269   configuration:
270       displayName: Configuration
271       type: OTHER
272   instantiation:
273       displayName: Instantiation
274       type: OTHER
275   monitoring:
276       displayName: Monitoring
277       type: OTHER
278   reporting:
279       displayName: Reporting
280       type: OTHER
281   logging:
282       displayName: Logging
283       type: OTHER
284   testing:
285       displayName: Testing
286       type: OTHER
287
288 additionalInformationMaxNumberOfKeys: 50
289
290 systemMonitoring:
291     enabled: false
292     isProxy: false
293     probeIntervalInSeconds: 15
294
295 defaultHeatArtifactTimeoutMinutes: 60
296
297 serviceDeploymentArtifacts:
298     YANG_XML:
299         acceptedTypes:
300             - xml
301     VNF_CATALOG:
302         acceptedTypes:
303             - xml
304     MODEL_INVENTORY_PROFILE:
305         acceptedTypes:
306             - xml
307     MODEL_QUERY_SPEC:
308         acceptedTypes:
309             - xml
310     UCPE_LAYER_2_CONFIGURATION:
311         acceptedTypes:
312             - xml
313
314 #AAI Artifacts
315     AAI_SERVICE_MODEL:
316         acceptedTypes:
317             - xml
318     AAI_VF_MODULE_MODEL:
319         acceptedTypes:
320             - xml
321     AAI_VF_INSTANCE_MODEL:
322         acceptedTypes:
323             - xml 
324     OTHER:
325         acceptedTypes:
326
327 resourceDeploymentArtifacts:
328     HEAT:
329         acceptedTypes:
330             - yaml
331             - yml
332         validForResourceTypes: *allResourceTypes
333     HEAT_VOL:
334         acceptedTypes:
335             - yaml
336             - yml
337         validForResourceTypes: *allResourceTypes
338     HEAT_NET:
339         acceptedTypes:
340             - yaml
341             - yml
342         validForResourceTypes: *allResourceTypes
343     HEAT_NESTED:
344         acceptedTypes:
345             - yaml
346             - yml
347         validForResourceTypes: *allResourceTypes
348     HEAT_ARTIFACT:
349         acceptedTypes:
350         validForResourceTypes: *allResourceTypes
351     YANG_XML:
352         acceptedTypes:
353             - xml
354         validForResourceTypes: *allResourceTypes
355     VNF_CATALOG:
356         acceptedTypes:
357             - xml
358         validForResourceTypes: *allResourceTypes
359     VF_LICENSE:
360         acceptedTypes:
361             - xml
362         validForResourceTypes: *allResourceTypes
363     VENDOR_LICENSE:
364         acceptedTypes:
365             - xml
366         validForResourceTypes: *allResourceTypes
367     MODEL_INVENTORY_PROFILE:
368         acceptedTypes:
369             - xml
370         validForResourceTypes: *allResourceTypes
371     MODEL_QUERY_SPEC:
372         acceptedTypes:
373             - xml
374         validForResourceTypes: *allResourceTypes
375     LIFECYCLE_OPERATIONS:
376         acceptedTypes:
377             - yaml
378             - yml
379         validForResourceTypes:
380             - VF
381             - VFC
382     VES_EVENTS:
383         acceptedTypes:
384             - yaml
385             - yml
386         validForResourceTypes: *allResourceTypes
387     PERFORMANCE_COUNTER:
388         acceptedTypes:
389             - csv
390         validForResourceTypes: *allResourceTypes
391     APPC_CONFIG:
392         acceptedTypes:
393         validForResourceTypes:
394             - VF
395     DCAE_TOSCA:
396         acceptedTypes:
397             - yml
398             - yaml
399         validForResourceTypes:
400             - VF
401             - VFCMT
402     DCAE_JSON:
403         acceptedTypes:
404             - json
405         validForResourceTypes:
406             - VF
407             - VFCMT
408     DCAE_POLICY:
409         acceptedTypes:
410             - emf
411         validForResourceTypes:
412             - VF
413             - VFCMT
414     DCAE_DOC:
415         acceptedTypes:
416         validForResourceTypes:
417             - VF 
418             - VFCMT       
419     DCAE_EVENT:
420         acceptedTypes:
421         validForResourceTypes:
422             - VF
423             - VFCMT
424     AAI_VF_MODEL:
425         acceptedTypes:
426             - xml
427         validForResourceTypes:
428             - VF
429     AAI_VF_MODULE_MODEL:
430         acceptedTypes:
431             - xml
432         validForResourceTypes:
433             - VF
434     OTHER:
435         acceptedTypes:
436         validForResourceTypes: *allResourceTypes
437     SNMP_POLL:
438         acceptedTypes:
439         validForResourceTypes: *allResourceTypes
440     SNMP_TRAP:
441         acceptedTypes:
442         validForResourceTypes: *allResourceTypes
443
444 resourceInstanceDeploymentArtifacts:
445     HEAT_ENV:
446         acceptedTypes:
447             - env
448     VF_MODULES_METADATA:
449         acceptedTypes:
450             - json
451     VES_EVENTS:
452         acceptedTypes:
453             - yaml
454             - yml
455     PERFORMANCE_COUNTER:
456         acceptedTypes:
457             - csv
458     DCAE_INVENTORY_TOSCA:
459         acceptedTypes:
460             - yml
461             - yaml
462     DCAE_INVENTORY_JSON:
463         acceptedTypes:
464             - json
465     DCAE_INVENTORY_POLICY:
466       acceptedTypes:
467             - emf
468     DCAE_INVENTORY_DOC:
469       acceptedTypes:
470     DCAE_INVENTORY_BLUEPRINT:
471       acceptedTypes:
472     DCAE_INVENTORY_EVENT:
473       acceptedTypes:
474     SNMP_POLL:
475         acceptedTypes:
476         validForResourceTypes: *allResourceTypes
477     SNMP_TRAP:
478         acceptedTypes:
479         validForResourceTypes: *allResourceTypes
480
481 resourceInformationalArtifacts:
482     CHEF:
483         acceptedTypes:
484         validForResourceTypes: *allResourceTypes
485     PUPPET:
486         acceptedTypes:
487         validForResourceTypes: *allResourceTypes
488     SHELL:
489         acceptedTypes:
490         validForResourceTypes: *allResourceTypes
491     YANG:
492         acceptedTypes:
493         validForResourceTypes: *allResourceTypes
494     YANG_XML:
495         acceptedTypes:
496         validForResourceTypes: *allResourceTypes
497     HEAT:
498         acceptedTypes:
499         validForResourceTypes: *allResourceTypes
500     BPEL:
501         acceptedTypes:
502         validForResourceTypes: *allResourceTypes
503     DG_XML:
504         acceptedTypes:
505         validForResourceTypes: *allResourceTypes
506     MURANO_PKG:
507         acceptedTypes:
508         validForResourceTypes: *allResourceTypes
509     OTHER:
510         acceptedTypes:
511         validForResourceTypes: 
512             - VFC
513             - CVFC
514             - CP
515             - VL
516             - VF
517             - VFCMT
518             - Abstract
519             - PNF
520     PNF_SW_INFORMATION:
521         acceptedTypes:
522             - yml
523             - yaml
524         validForResourceTypes:
525             - PNF
526     SNMP_POLL:
527         acceptedTypes:
528         validForResourceTypes: *allResourceTypes
529     SNMP_TRAP:
530         acceptedTypes:
531         validForResourceTypes: *allResourceTypes
532     GUIDE:
533         acceptedTypes:
534         validForResourceTypes:
535             - VF
536             - VFC
537             - CVFC
538
539 requirementsToFulfillBeforeCert:
540
541 capabilitiesToConsumeBeforeCert:
542
543 unLoggedUrls:
544    - /sdc2/rest/healthCheck
545
546 cleanComponentsConfiguration:
547     cleanIntervalInMinutes: 1440
548     componentsToClean:
549        - Resource
550        - Service
551
552 artifactsIndex: resources
553
554 heatEnvArtifactHeader: ""
555 heatEnvArtifactFooter: ""
556
557 onboarding:
558     protocol: http
559     host: localhost
560     port: 8080
561     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
562     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
563
564 dcae:
565     protocol: http
566     host: 127.0.0.1
567     port: 8080
568     healthCheckUri: "/dcae/healthCheck"
569
570 switchoverDetector:
571     gBeFqdn: Onap
572     gFeFqdn: Onap
573     beVip: 0.0.0.0
574     feVip: 0.0.0.0
575     beResolveAttempts: 3
576     feResolveAttempts: 3
577     enabled: false
578     interval: 60
579     changePriorityUser: Onap.Sdc
580     changePriorityPassword: "Pass"
581     publishNetworkUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/update_network?user=root"
582     publishNetworkBody: '{"note":"publish network"}'
583     groups:
584       beSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com?user=root",
585                changePriorityBody: '{"name":"AIO-BE.ecomp.idns.com","uri":"/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com","no_ad_redirection":false,"v4groups":{"failover_groups":["/crt/CipDomain.ECOMP-ASDC-DEVST/config/groups/group_mg_be","/crt/CipDomain.ECOMP-ASDC-DEVST/config/groups/group_bs_be"],"failover_policy":["FAILALL"]},"comment":"AIO BE G-fqdn","intended_app_proto":"DNS"}'}
586       feSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.com?user=root",
587                changePriorityBody: '{"comment":"AIO G-fqdn","name":"AIO-FE.ecomp.idns.com","v4groups":{"failover_groups":["/crt/CipDomain.ECOMP-ASDC-DEVST/config/groups/group_mg_fe","/crt/CipDomain.ECOMP-ASDC-DEVST/config/groups/group_bs_fe"],"failover_policy":["FAILALL"]},"no_ad_redirection":false,"intended_app_proto":"DNS","uri":"/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.com"}'}
588
589 applicationL1Cache:
590     datatypes:
591         enabled: true
592         firstRunDelay: 10
593         pollIntervalInSec: 60
594
595 applicationL2Cache:
596     enabled: true
597     catalogL1Cache:
598         enabled: true
599         resourcesSizeInCache: 300
600         servicesSizeInCache: 200
601         productsSizeInCache: 100
602     queue:
603         syncIntervalInSecondes: 43200
604         waitOnShutDownInMinutes: 10
605         numberOfCacheWorkers: 4
606
607 toscaValidators:
608     stringMaxLength: 2500
609
610 disableAudit: false
611
612 vfModuleProperties:
613     min_vf_module_instances:
614         forBaseModule: 1
615         forNonBaseModule: 0
616     max_vf_module_instances:
617         forBaseModule: 1
618         forNonBaseModule:
619     initial_count:
620         forBaseModule: 1
621         forNonBaseModule: 0
622     vf_module_type:
623         forBaseModule: Base
624         forNonBaseModule: Expansion
625
626 genericAssetNodeTypes:
627   VFC: org.openecomp.resource.abstract.nodes.VFC
628   CVFC: org.openecomp.resource.abstract.nodes.VFC
629   VF : org.openecomp.resource.abstract.nodes.VF
630   PNF: org.openecomp.resource.abstract.nodes.PNF
631   Service: org.openecomp.resource.abstract.nodes.service
632
633 workloadContext: Production
634 environmentContext:
635     defaultValue: General_Revenue-Bearing
636     validValues:
637        - Critical_Revenue-Bearing
638        - Vital_Revenue-Bearing
639        - Essential_Revenue-Bearing
640        - Important_Revenue-Bearing
641        - Needed_Revenue-Bearing
642        - Useful_Revenue-Bearing
643        - General_Revenue-Bearing
644        - Critical_Non-Revenue
645        - Vital_Non-Revenue
646        - Essential_Non-Revenue
647        - Important_Non-Revenue
648        - Needed_Non-Revenue
649        - Useful_Non-Revenue
650        - General_Non-Revenue
651
652 dmaapConsumerConfiguration:
653     hosts: Demo.onap.org
654     consumerGroup: asdc
655     consumerId: mama
656     timeoutMs: 15000
657     limit: 1
658     pollingInterval: 2
659     topic: com.att.sdc.23911-SDCforTestDev-v001
660     latitude: 32.109333
661     longitude: 34.855499
662     version: 1.0
663     serviceName: dmaap.onap.org/events
664     environment: TEST
665     partner: BOT_R
666     routeOffer: MR1
667     protocol: https
668     contenttype: application/json
669     dme2TraceOn: true
670     aftEnvironment: AFTUAT
671     aftDme2ConnectionTimeoutMs: 15000
672     aftDme2RoundtripTimeoutMs: 240000
673     aftDme2ReadTimeoutMs: 50000
674     dme2preferredRouterFilePath: DME2preferredRouter.txt 
675     timeLimitForNotificationHandleMs: 0
676     credential:
677         username: Onap_demo
678         password: Pass
679         
680 dmeConfiguration:
681     lookupUriFormat: "http://DME2RESOLVE/service=%s/version=1.0.0/envContext=%s/routeOffer=DEFAULT"