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