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