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