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