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