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