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