Unable to update VSP (heat template) version in VF
[sdc.git] / asdctool / sdc-cassandra-init / chef-repo / cookbooks / cassandra-actions / templates / default / configuration.yaml.erb
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
9 # catalog backend hostname
10 beFqdn: <%= @host_ip %>
11
12 # catalog backend http port
13 beHttpPort: <%= @catalog_port %>
14
15 # catalog backend http context
16 beContext: /sdc/rest/config/get
17
18 # catalog backend protocol
19 <% if node[:disableHttp] -%>
20 beProtocol: https
21 <% else %>
22 beProtocol: http
23 <% end -%>
24
25 # catalog backend ssl port
26 beSslPort: <%= @ssl_port %>
27 version: 1.0
28 released: 2012-11-30
29 toscaConformanceLevel: 11.0
30 minToscaConformanceLevel: 3.0
31
32 janusGraphCfgFile: <%= @janusgraph_Path %>/janusgraph.properties
33 janusGraphInMemoryGraph: false
34 janusGraphLockTimeout: 1800
35 # The interval to try and reconnect to JanusGraph DB when it is down during ASDC startup:
36 janusGraphReconnectIntervalInSeconds: 3
37
38 # The read timeout towards JanusGraph DB when health check is invoked:
39 janusGraphHealthCheckReadTimeout: 1
40
41 # The interval to try and reconnect to Elasticsearch when it is down during ASDC startup:
42
43
44 uebHealthCheckReconnectIntervalInSeconds: 15
45 uebHealthCheckReadTimeout: 4
46
47 # Protocols
48 protocols:
49    - http
50    - https
51
52 # Default imports
53 defaultImports:
54    - nodes:
55         file: nodes.yml
56    - datatypes:
57         file: data.yml
58    - capabilities:
59         file: capabilities.yml
60    - relationships:
61         file: relationships.yml
62    - groups:
63         file: groups.yml
64    - policies:
65         file: policies.yml
66
67 # Users
68 users:
69     tom: passwd
70     bob: passwd
71
72
73 cassandraConfig:
74     cassandraHosts: [<%= @cassandra_ip %>]
75     cassandraPort: <%= @cassandra_port %>
76     localDataCenter: <%= @DC_NAME %>
77     reconnectTimeout : 30000
78     socketReadTimeout: <%= @socket_read_timeout %>
79     socketConnectTimeout: <%= @socket_connect_timeout %>
80     authenticate: true
81     username: asdc_user
82     password: Aa1234%^!
83     ssl: false
84     truststorePath : /config/.truststore
85     truststorePassword : Aa123456
86     maxWaitSeconds: 120
87     keySpaces:
88         - { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
89         - { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
90         - { name: sdcartifact, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
91         - { name: sdccomponent, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
92         - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
93
94
95
96
97 artifactTypes:
98    - CHEF
99    - PUPPET
100    - SHELL
101    - YANG
102    - YANG_XML
103    - HEAT
104    - BPEL
105    - DG_XML
106    - MURANO_PKG
107    - WORKFLOW
108    - NETWORK_CALL_FLOW
109    - TOSCA_TEMPLATE
110    - TOSCA_CSAR
111    - AAI_SERVICE_MODEL
112    - AAI_VF_MODEL
113    - AAI_VF_MODULE_MODEL
114    - AAI_VF_INSTANCE_MODEL
115    - OTHER
116    - SNMP_POLL
117    - SNMP_TRAP
118    - GUIDE
119    - PLAN
120    - CONTROLLER_BLUEPRINT_ARCHIVE
121    - PNF_SW_INFORMATION
122
123 licenseTypes:
124    - User
125    - Installation
126    - CPU
127
128 #Deployment artifacts placeHolder
129 resourceTypes: &allResourceTypes
130   - VFC
131   - CP
132   - VL
133   - VF
134   - VFCMT
135   - Abstract
136   - CVFC
137
138
139 deploymentResourceArtifacts:
140
141 deploymentResourceInstanceArtifacts:
142   heatEnv:
143       displayName: "HEAT ENV"
144       type: HEAT_ENV
145       description: "Auto-generated HEAT Environment deployment artifact"
146       fileExtension: "env"
147   VfHeatEnv:
148       displayName: "VF HEAT ENV"
149       type: HEAT_ENV
150       description: "VF Auto-generated HEAT Environment deployment artifact"
151       fileExtension: "env"
152
153 #tosca artifacts placeholders
154 toscaArtifacts:
155   assetToscaTemplate:
156       artifactName: -template.yml
157       displayName: Tosca Template
158       type: TOSCA_TEMPLATE
159       description: TOSCA representation of the asset
160   assetToscaCsar:
161       artifactName: -csar.csar
162       displayName: Tosca Model
163       type: TOSCA_CSAR
164       description: TOSCA definition package of the asset
165
166 #Informational artifacts placeHolder
167 excludeResourceCategory:
168   - Generic
169 excludeResourceType:
170   - PNF
171 informationalResourceArtifacts:
172   features:
173       displayName: Features
174       type: OTHER
175   capacity:
176       displayName: Capacity
177       type: OTHER
178   vendorTestResult:
179       displayName: Vendor Test Result
180       type: OTHER
181   testScripts:
182       displayName: Test Scripts
183       type: OTHER
184   CloudQuestionnaire:
185       displayName: Cloud Questionnaire (completed)
186       type: OTHER
187   HEATTemplateFromVendor:
188       displayName: HEAT Template from Vendor
189       type: HEAT
190   resourceSecurityTemplate:
191       displayName: Resource Security Template
192       type: OTHER
193
194 excludeServiceCategory:
195
196 informationalServiceArtifacts:
197   serviceArtifactPlan:
198       displayName: Service Artifact Plan
199       type: OTHER
200   summaryOfImpactsToECOMPElements:
201       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
202       type: OTHER
203   controlLoopFunctions:
204       displayName: Control Loop Functions
205       type: OTHER
206   dimensioningInfo:
207       displayName: Dimensioning Info
208       type: OTHER
209   affinityRules:
210       displayName: Affinity Rules
211       type: OTHER
212   operationalPolicies:
213       displayName: Operational Policies
214       type: OTHER
215   serviceSpecificPolicies:
216       displayName: Service-specific Policies
217       type: OTHER
218   engineeringRules:
219       displayName: Engineering Rules (ERD)
220       type: OTHER
221   distributionInstructions:
222       displayName: Distribution Instructions
223       type: OTHER
224   certificationTestResults:
225       displayName: TD Certification Test Results
226       type: OTHER
227   deploymentVotingRecord:
228       displayName: Deployment Voting Record
229       type: OTHER
230   serviceQuestionnaire:
231       displayName: Service Questionnaire
232       type: OTHER
233   serviceSecurityTemplate:
234       displayName: Service Security Template
235       type: OTHER
236
237 serviceApiArtifacts:
238   configuration:
239       displayName: Configuration
240       type: OTHER
241   instantiation:
242       displayName: Instantiation
243       type: OTHER
244   monitoring:
245       displayName: Monitoring
246       type: OTHER
247   reporting:
248       displayName: Reporting
249       type: OTHER
250   logging:
251       displayName: Logging
252       type: OTHER
253   testing:
254       displayName: Testing
255       type: OTHER
256
257 additionalInformationMaxNumberOfKeys: 50
258
259 systemMonitoring:
260     enabled: false
261     isProxy: false
262     probeIntervalInSeconds: 15
263
264 heatArtifactDeploymentTimeout:
265   defaultMinutes: 30
266   minMinutes: 1
267   maxMinutes: 120
268
269 serviceDeploymentArtifacts:
270     CONTROLLER_BLUEPRINT_ARCHIVE:
271         acceptedTypes:
272             - zip
273     YANG_XML:
274         acceptedTypes:
275             - xml
276     VNF_CATALOG:
277         acceptedTypes:
278             - xml
279     MODEL_INVENTORY_PROFILE:
280         acceptedTypes:
281             - xml
282     MODEL_QUERY_SPEC:
283         acceptedTypes:
284             - xml
285
286 #AAI Artifacts
287     AAI_SERVICE_MODEL:
288         acceptedTypes:
289             - xml
290     AAI_VF_MODULE_MODEL:
291         acceptedTypes:
292             - xml
293     AAI_VF_INSTANCE_MODEL:
294         acceptedTypes:
295             - xml
296     UCPE_LAYER_2_CONFIGURATION:
297         acceptedTypes:
298             - xml
299     OTHER:
300         acceptedTypes:
301
302 #PLAN
303     PLAN:
304         acceptedTypes:
305             - xml
306
307 resourceDeploymentArtifacts:
308     HEAT:
309         acceptedTypes:
310             - yaml
311             - yml
312         validForResourceTypes: *allResourceTypes
313     HEAT_VOL:
314         acceptedTypes:
315             - yaml
316             - yml
317         validForResourceTypes: *allResourceTypes
318     HEAT_NET:
319         acceptedTypes:
320             - yaml
321             - yml
322         validForResourceTypes: *allResourceTypes
323     HEAT_NESTED:
324         acceptedTypes:
325             - yaml
326             - yml
327         validForResourceTypes: *allResourceTypes
328     HEAT_ARTIFACT:
329         acceptedTypes:
330         validForResourceTypes: *allResourceTypes
331     CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT:
332         acceptedTypes:
333             - zip
334             - tgz
335             - csar
336         validForResourceTypes: *allResourceTypes
337     YANG_XML:
338         acceptedTypes:
339             - xml
340         validForResourceTypes: *allResourceTypes
341     VNF_CATALOG:
342         acceptedTypes:
343             - xml
344         validForResourceTypes: *allResourceTypes
345     VF_LICENSE:
346         acceptedTypes:
347             - xml
348         validForResourceTypes: *allResourceTypes
349     VENDOR_LICENSE:
350         acceptedTypes:
351             - xml
352         validForResourceTypes: *allResourceTypes
353     MODEL_INVENTORY_PROFILE:
354         acceptedTypes:
355             - xml
356         validForResourceTypes: *allResourceTypes
357     MODEL_QUERY_SPEC:
358         acceptedTypes:
359             - xml
360         validForResourceTypes: *allResourceTypes
361     LIFECYCLE_OPERATIONS:
362         acceptedTypes:
363             - yaml
364             - yml
365         validForResourceTypes:
366             - VF
367             - VFC
368     VES_EVENTS:
369         acceptedTypes:
370             - yaml
371             - yml
372         validForResourceTypes:
373             - VFC
374             - CP
375             - VL
376             - VF
377             - VFCMT
378             - Abstract
379             - CVFC
380             - PNF
381     PERFORMANCE_COUNTER:
382         acceptedTypes:
383             - csv
384         validForResourceTypes: *allResourceTypes
385     APPC_CONFIG:
386         acceptedTypes:
387         validForResourceTypes:
388             - VF
389     DCAE_TOSCA:
390         acceptedTypes:
391             - yml
392             - yaml
393         validForResourceTypes:
394             - VF
395             - VFCMT
396     DCAE_JSON:
397         acceptedTypes:
398             - json
399         validForResourceTypes:
400             - VF
401             - VFCMT
402     DCAE_POLICY:
403         acceptedTypes:
404             - emf
405         validForResourceTypes:
406             - VF
407             - VFCMT
408     DCAE_DOC:
409         acceptedTypes:
410         validForResourceTypes:
411             - VF
412             - VFCMT
413     DCAE_EVENT:
414         acceptedTypes:
415         validForResourceTypes:
416             - VF
417             - VFCMT
418     AAI_VF_MODEL:
419         acceptedTypes:
420             - xml
421         validForResourceTypes:
422             - VF
423     AAI_VF_MODULE_MODEL:
424         acceptedTypes:
425             - xml
426         validForResourceTypes:
427             - VF
428     OTHER:
429         acceptedTypes:
430         validForResourceTypes:
431           - VFC
432           - CP
433           - VL
434           - VF
435           - VFCMT
436           - Abstract
437           - CVFC
438           - PNF
439     SNMP_POLL:
440         acceptedTypes:
441         validForResourceTypes: *allResourceTypes
442     SNMP_TRAP:
443         acceptedTypes:
444         validForResourceTypes: *allResourceTypes
445     PM_DICTIONARY:
446         acceptedTypes:
447             - yaml
448             - yml
449         validForResourceTypes:
450             - VF
451             - PNF
452     YANG_MODULE:
453         acceptedTypes:
454             - yang
455         validForResourceTypes:
456             - VF
457             - PNF
458     ANSIBLE_PLAYBOOK:
459         acceptedTypes:
460             - yaml
461             - yml
462         validForResourceTypes:
463             - VF
464             - PNF
465     ONBOARDED_PACKAGE:
466         acceptedTypes:
467             - csar
468             - zip
469         validForResourceTypes:
470             - VF
471             - PNF
472     CONTROLLER_BLUEPRINT_ARCHIVE:
473         acceptedTypes:
474             - zip
475         validForResourceTypes:
476             - VF
477             - PNF
478
479 #PLAN
480     PLAN:
481         acceptedTypes:
482             - xml
483         validForResourceTypes:
484             - VF
485             - VFC
486
487 resourceInstanceDeploymentArtifacts:
488     HEAT_ENV:
489         acceptedTypes:
490             - env
491     VF_MODULES_METADATA:
492         acceptedTypes:
493             - json
494     VES_EVENTS:
495         acceptedTypes:
496             - yaml
497             - yml
498     PERFORMANCE_COUNTER:
499         acceptedTypes:
500             - csv
501     DCAE_INVENTORY_TOSCA:
502         acceptedTypes:
503             - yml
504             - yaml
505     DCAE_INVENTORY_JSON:
506         acceptedTypes:
507             - json
508     DCAE_INVENTORY_POLICY:
509       acceptedTypes:
510             - emf
511     DCAE_INVENTORY_DOC:
512       acceptedTypes:
513     DCAE_INVENTORY_BLUEPRINT:
514       acceptedTypes:
515     DCAE_INVENTORY_EVENT:
516       acceptedTypes:
517     SNMP_POLL:
518         acceptedTypes:
519         validForResourceTypes: *allResourceTypes
520     SNMP_TRAP:
521         acceptedTypes:
522         validForResourceTypes: *allResourceTypes
523
524 #PLAN
525     PLAN:
526         acceptedTypes:
527             - xml
528
529 resourceInformationalArtifacts:
530     CHEF:
531         acceptedTypes:
532         validForResourceTypes: *allResourceTypes
533     PUPPET:
534         acceptedTypes:
535         validForResourceTypes: *allResourceTypes
536     SHELL:
537         acceptedTypes:
538         validForResourceTypes: *allResourceTypes
539     YANG:
540         acceptedTypes:
541         validForResourceTypes: *allResourceTypes
542     YANG_XML:
543         acceptedTypes:
544         validForResourceTypes: *allResourceTypes
545     HEAT:
546         acceptedTypes:
547         validForResourceTypes: *allResourceTypes
548     BPEL:
549         acceptedTypes:
550         validForResourceTypes: *allResourceTypes
551     DG_XML:
552         acceptedTypes:
553         validForResourceTypes: *allResourceTypes
554     MURANO_PKG:
555         acceptedTypes:
556         validForResourceTypes: *allResourceTypes
557     OTHER:
558         acceptedTypes:
559         validForResourceTypes:
560             - VFC
561             - CVFC
562             - CP
563             - VL
564             - VF
565             - VFCMT
566             - Abstract
567             - PNF
568     PNF_SW_INFORMATION:
569         acceptedTypes:
570             - yaml
571             - yml
572         validForResourceTypes:
573             - PNF
574     SNMP_POLL:
575         acceptedTypes:
576         validForResourceTypes: *allResourceTypes
577     SNMP_TRAP:
578         acceptedTypes:
579         validForResourceTypes: *allResourceTypes
580     GUIDE:
581         acceptedTypes:
582         validForResourceTypes:
583             - VF
584             - VFC
585             - CVFC
586             - PNF
587
588 unLoggedUrls:
589    - /sdc2/rest/healthCheck
590
591 cleanComponentsConfiguration:
592     cleanIntervalInMinutes: 1440
593     componentsToClean:
594        - Resource
595        - Service
596
597 artifactsIndex: resources
598
599 heatEnvArtifactHeader: ""
600 heatEnvArtifactFooter: ""
601
602 onboarding:
603     protocol: http
604     host: <%= @host_ip %>
605     port: <%= @catalog_port %>
606     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
607     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
608
609 dcae:
610     protocol: http
611     host: <%= @host_ip %>
612     port: <%= @catalog_port %>
613     healthCheckUri: "/dcae/healthCheck"
614
615 # #GSS IDNS
616 switchoverDetector:
617     gBeFqdn:
618     gFeFqdn:
619     beVip: 1.2.3.4
620     feVip: 1.2.3.4
621     beResolveAttempts: 3
622     feResolveAttempts: 3
623     enabled: false
624     interval: 60
625     changePriorityUser: ecompasdc
626     changePriorityPassword: ecompasdc123
627     publishNetworkUrl:
628     publishNetworkBody: '{"note":"comment"}'
629     groups:
630       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
631       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
632
633 applicationL1Cache:
634     datatypes:
635         enabled: true
636         firstRunDelay: 10
637         pollIntervalInSec: 60
638
639 applicationL2Cache:
640     enabled: false
641     catalogL1Cache:
642         enabled: false
643         resourcesSizeInCache: 300
644         servicesSizeInCache: 200
645         productsSizeInCache: 100
646     queue:
647         syncIntervalInSecondes: 43200
648         waitOnShutDownInMinutes: 10
649         numberOfCacheWorkers: 4
650
651 toscaValidators:
652     stringMaxLength: 2500
653
654 disableAudit: false
655 vfModuleProperties:
656     min_vf_module_instances:
657         forBaseModule: 1
658         forNonBaseModule: 0
659     max_vf_module_instances:
660         forBaseModule: 1
661         forNonBaseModule:
662     initial_count:
663         forBaseModule: 1
664         forNonBaseModule: 0
665     vf_module_type:
666         forBaseModule: Base
667         forNonBaseModule: Expansion
668
669 genericAssetNodeTypes:
670   VFC: org.openecomp.resource.abstract.nodes.VFC
671   CVFC: org.openecomp.resource.abstract.nodes.VFC
672   VF : org.openecomp.resource.abstract.nodes.VF
673   PNF: org.openecomp.resource.abstract.nodes.PNF
674   Service: org.openecomp.resource.abstract.nodes.service
675
676 workloadContext: Production
677
678 environmentContext:
679     defaultValue: General_Revenue-Bearing
680     validValues:
681        - Critical_Revenue-Bearing
682        - Vital_Revenue-Bearing
683        - Essential_Revenue-Bearing
684        - Important_Revenue-Bearing
685        - Needed_Revenue-Bearing
686        - Useful_Revenue-Bearing
687        - General_Revenue-Bearing
688        - Critical_Non-Revenue
689        - Vital_Non-Revenue
690        - Essential_Non-Revenue
691        - Important_Non-Revenue
692        - Needed_Non-Revenue
693        - Useful_Non-Revenue
694        - General_Non-Revenue
695
696 gabConfig:
697   - artifactType: 'VES_EVENTS'
698     pathsAndNamesDefinitions:
699       -
700         friendlyName: "Action"
701         path: "event.action[2]"
702         searchable: "true"
703       -
704         friendlyName: "Comment"
705         path: "event.comment"
706         searchable: "true"
707       -
708         friendlyName: "Alarm Additional Information"
709         path: "event.structure.faultFields.structure.alarmAdditionalInformation.comment"
710         searchable: "true"
711
712 dmaapConsumerConfiguration:
713     hosts: localhost:3905
714     consumerGroup: sdc
715     consumerId: mama
716     timeoutMs: 15000
717     limit: 1
718     pollingInterval: 2
719     topic: topic
720     latitude: 32.109333
721     longitude: 34.855499
722     version: 1.0
723     serviceName: localhost/events
724     environment: TEST
725     partner: BOT_R
726     routeOffer: MR1
727     protocol: https
728     contenttype: application/json
729     dme2TraceOn: true
730     aftEnvironment: AFTUAT
731     aftDme2ConnectionTimeoutMs: 15000
732     aftDme2RoundtripTimeoutMs: 240000
733     aftDme2ReadTimeoutMs: 50000
734     dme2preferredRouterFilePath: DME2preferredRouter.txt
735     timeLimitForNotificationHandleMs: 120000
736     credential:
737         username: user
738         password:
739
740
741
742 excludedPolicyTypesMapping:
743    # VF:
744     #  - a.b.c
745     #  - c.d.e
746     #CR:
747     #  - x.y.z
748
749 excludedGroupTypesMapping:
750     CR:
751        - org.openecomp.groups.VfModule
752        - org.openecomp.groups.heat.HeatStack
753        - tosca.groups.Root
754     VF:
755        - org.openecomp.groups.VfModule
756        - org.openecomp.groups.heat.HeatStack
757        - tosca.groups.Root
758     Service:
759        - org.openecomp.groups.VfModule
760        - org.openecomp.groups.heat.HeatStack
761        - tosca.groups.Root
762
763 healthStatusExclude:
764    - DE
765    - DMAPP
766    - DCAE