Change dcae health uri
[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     host: <%= @dcae_be_vip %>
569     <% if node[:disableHttp] -%>
570     protocol: https
571     port: <%= node['DCAE']['BE'][:https_port] %>
572     <% else %>
573     protocol: http
574     port: <%= node['DCAE']['BE'][:http_port] %>
575     <% end -%>
576     healthCheckUri: "/dcae/healthCheck"
577
578 # #GSS IDNS
579 switchoverDetector:
580     gBeFqdn:
581     gFeFqdn:
582     beVip: 1.2.3.4
583     feVip: 1.2.3.4
584     beResolveAttempts: 3
585     feResolveAttempts: 3
586     enabled: false
587     interval: 60
588     changePriorityUser: ecompasdc
589     changePriorityPassword: ecompasdc123
590     publishNetworkUrl:
591     publishNetworkBody: '{"note":"comment"}'
592     groups:
593       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
594       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
595
596 applicationL1Cache:
597     datatypes:
598         enabled: true
599         firstRunDelay: 10
600         pollIntervalInSec: 60
601
602 applicationL2Cache:
603     enabled: false
604     catalogL1Cache:
605         enabled: false
606         resourcesSizeInCache: 300
607         servicesSizeInCache: 200
608         productsSizeInCache: 100
609     queue:
610         syncIntervalInSecondes: 43200
611         waitOnShutDownInMinutes: 10
612         numberOfCacheWorkers: 4
613
614 toscaValidators:
615     stringMaxLength: 2500
616
617 disableAudit: false
618
619 vfModuleProperties:
620     min_vf_module_instances:
621         forBaseModule: 1
622         forNonBaseModule: 0
623     max_vf_module_instances:
624         forBaseModule: 1
625         forNonBaseModule:
626     initial_count:
627         forBaseModule: 1
628         forNonBaseModule: 0
629     vf_module_type:
630         forBaseModule: Base
631         forNonBaseModule: Expansion
632
633 genericAssetNodeTypes:
634   VFC: org.openecomp.resource.abstract.nodes.VFC
635   CVFC: org.openecomp.resource.abstract.nodes.VFC
636   VF : org.openecomp.resource.abstract.nodes.VF
637   PNF: org.openecomp.resource.abstract.nodes.PNF
638   Service: org.openecomp.resource.abstract.nodes.service
639
640 workloadContext: Production
641
642 environmentContext:
643     defaultValue: General_Revenue-Bearing
644     validValues:
645        - Critical_Revenue-Bearing
646        - Vital_Revenue-Bearing
647        - Essential_Revenue-Bearing
648        - Important_Revenue-Bearing
649        - Needed_Revenue-Bearing
650        - Useful_Revenue-Bearing
651        - General_Revenue-Bearing
652        - Critical_Non-Revenue
653        - Vital_Non-Revenue
654        - Essential_Non-Revenue
655        - Important_Non-Revenue
656        - Needed_Non-Revenue
657        - Useful_Non-Revenue
658        - General_Non-Revenue
659
660 dmaapConsumerConfiguration:
661     hosts: localhost:3905
662     consumerGroup: sdc
663     consumerId: mama
664     timeoutMs: 15000
665     limit: 1
666     pollingInterval: 2
667     topic: topic
668     latitude: 32.109333
669     longitude: 34.855499
670     version: 1.0
671     serviceName: localhost/events
672     environment: TEST
673     partner: BOT_R
674     routeOffer: MR1
675     protocol: https
676     contenttype: application/json
677     dme2TraceOn: true
678     aftEnvironment: AFTUAT
679     aftDme2ConnectionTimeoutMs: 15000
680     aftDme2RoundtripTimeoutMs: 240000
681     aftDme2ReadTimeoutMs: 50000
682     dme2preferredRouterFilePath: DME2preferredRouter.txt
683     timeLimitForNotificationHandleMs: 120000 
684     credential:
685         username: user
686         password:
687         
688 dmeConfiguration:
689     dme2Search: DME2SEARCH
690     dme2Resolve: DME2RESOLVE
691
692 excludedPolicyTypesMapping:
693    # VF:
694     #  - a.b.c
695     #  - c.d.e
696     #CR:
697     #  - x.y.z
698  
699 excludedGroupTypesMapping:
700     CR:
701        - org.openecomp.groups.VfModule
702        - org.openecomp.groups.heat.HeatStack
703        - tosca.groups.Root
704     VF:
705        - org.openecomp.groups.VfModule
706        - org.openecomp.groups.heat.HeatStack
707        - tosca.groups.Root
708     Service:
709        - org.openecomp.groups.VfModule
710        - org.openecomp.groups.heat.HeatStack
711        - tosca.groups.Root
712
713 healthStatusExclude:
714    - DE
715    - DMAPP
716    - DCAE