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