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