Upgrade SDC from Titan to Janus Graph
[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 janusGraphCfgFile: src\main\resources\config\janusgraph.properties
46 janusGraphMigrationKeySpaceCfgFile: src\main\resources\config\janusgraph-migration.properties
47 janusGraphInMemoryGraph: false
48 janusGraphLockTimeout: 1800
49
50 # The interval to try and reconnect to JanusGraph DB when it is down during ASDC startup:
51 janusGraphReconnectIntervalInSeconds: 3
52
53 # The read timeout towards JanusGraph DB when health check is invoked:
54 janusGraphHealthCheckReadTimeout: 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     cassandraPort: 9042
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    - CONTROLLER_BLUEPRINT_ARCHIVE
157
158 licenseTypes:
159    - User
160    - Installation
161    - CPU
162
163 #Deployment artifacts placeHolder
164 resourceTypes: &allResourceTypes
165   - VFC
166   - CP
167   - VL
168   - VF
169   - VFCMT
170   - Abstract
171   - CVFC
172
173 # validForResourceTypes usage
174 #     validForResourceTypes:
175 #        - VF
176 #        - VL
177 deploymentResourceArtifacts:
178   cdsBlueprint:
179       displayName: "CDS Blueprint"
180       type: CONTROLLER_BLUEPRINT_ARCHIVE
181       description: "CDS deployment artifact"
182       fileExtension: "zip"
183 #  heat:
184 #      displayName: "Base HEAT Template"
185 #      type: HEAT
186 #      validForResourceTypes: *allResourceTypes
187 #  heatVol:
188 #      displayName: "Volume HEAT Template"
189 #      type: HEAT_VOL
190 #      validForResourceTypes: *allResourceTypes
191 #  heatNet:
192 #      displayName: "Network HEAT Template"
193 #      type: HEAT_NET
194 #      validForResourceTypes: *allResourceTypes
195
196 deploymentResourceInstanceArtifacts:
197   heatEnv:
198       displayName: "HEAT ENV"
199       type: HEAT_ENV
200       description: "Auto-generated HEAT Environment deployment artifact"
201       fileExtension: "env"
202   VfHeatEnv:
203       displayName: "VF HEAT ENV"
204       type: HEAT_ENV
205       description: "VF Auto-generated HEAT Environment deployment artifact"
206       fileExtension: "env"
207
208 #tosca artifacts placeholders
209 toscaArtifacts:
210   assetToscaTemplate:
211       artifactName: -template.yml
212       displayName: Tosca Template
213       type: TOSCA_TEMPLATE
214       description: TOSCA representation of the asset
215   assetToscaCsar:
216       artifactName: -csar.csar
217       displayName: Tosca Model
218       type: TOSCA_CSAR
219       description: TOSCA definition package of the asset
220
221
222 #Informational artifacts placeHolder
223 excludeResourceCategory:
224   - Generic
225 excludeResourceType:
226   - PNF  
227 informationalResourceArtifacts:
228   features:
229       displayName: Features
230       type: OTHER
231   capacity:
232       displayName: Capacity
233       type: OTHER
234   vendorTestResult:
235       displayName: Vendor Test Result
236       type: OTHER
237   testScripts:
238       displayName: Test Scripts
239       type: OTHER
240   CloudQuestionnaire:
241       displayName: Cloud Questionnaire (completed)
242       type: OTHER
243   HEATTemplateFromVendor:
244       displayName: HEAT Template from Vendor
245       type: HEAT
246   resourceSecurityTemplate:
247       displayName: Resource Security Template
248       type: OTHER
249
250 excludeServiceCategory:
251
252 informationalServiceArtifacts:
253   serviceArtifactPlan:
254       displayName: Service Artifact Plan
255       type: OTHER
256   summaryOfImpactsToECOMPElements:
257       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
258       type: OTHER
259   controlLoopFunctions:
260       displayName: Control Loop Functions
261       type: OTHER
262   dimensioningInfo:
263       displayName: Dimensioning Info
264       type: OTHER
265   affinityRules:
266       displayName: Affinity Rules
267       type: OTHER
268   operationalPolicies:
269       displayName: Operational Policies
270       type: OTHER
271   serviceSpecificPolicies:
272       displayName: Service-specific Policies
273       type: OTHER
274   engineeringRules:
275       displayName: Engineering Rules (ERD)
276       type: OTHER
277   distributionInstructions:
278       displayName: Distribution Instructions
279       type: OTHER
280   certificationTestResults:
281       displayName: TD Certification Test Results
282       type: OTHER
283   deploymentVotingRecord:
284       displayName: Deployment Voting Record
285       type: OTHER
286   serviceQuestionnaire:
287       displayName: Service Questionnaire
288       type: OTHER
289   serviceSecurityTemplate:
290       displayName: Service Security Template
291       type: OTHER
292
293 serviceApiArtifacts:
294   configuration:
295       displayName: Configuration
296       type: OTHER
297   instantiation:
298       displayName: Instantiation
299       type: OTHER
300   monitoring:
301       displayName: Monitoring
302       type: OTHER
303   reporting:
304       displayName: Reporting
305       type: OTHER
306   logging:
307       displayName: Logging
308       type: OTHER
309   testing:
310       displayName: Testing
311       type: OTHER
312
313 additionalInformationMaxNumberOfKeys: 50
314
315 systemMonitoring:
316     enabled: false
317     isProxy: false
318     probeIntervalInSeconds: 15
319
320 defaultHeatArtifactTimeoutMinutes: 60
321
322 serviceDeploymentArtifacts:
323     CONTROLLER_BLUEPRINT_ARCHIVE:
324         acceptedTypes:
325             - zip
326     YANG_XML:
327         acceptedTypes:
328             - xml
329     VNF_CATALOG:
330         acceptedTypes:
331             - xml
332     MODEL_INVENTORY_PROFILE:
333         acceptedTypes:
334             - xml
335     MODEL_QUERY_SPEC:
336         acceptedTypes:
337             - xml
338     UCPE_LAYER_2_CONFIGURATION:
339         acceptedTypes:
340             - xml
341
342 #AAI Artifacts
343     AAI_SERVICE_MODEL:
344         acceptedTypes:
345             - xml
346     AAI_VF_MODULE_MODEL:
347         acceptedTypes:
348             - xml
349     AAI_VF_INSTANCE_MODEL:
350         acceptedTypes:
351             - xml 
352     OTHER:
353         acceptedTypes:
354
355 resourceDeploymentArtifacts:
356     HEAT:
357         acceptedTypes:
358             - yaml
359             - yml
360         validForResourceTypes: *allResourceTypes
361     HEAT_VOL:
362         acceptedTypes:
363             - yaml
364             - yml
365         validForResourceTypes: *allResourceTypes
366     HEAT_NET:
367         acceptedTypes:
368             - yaml
369             - yml
370         validForResourceTypes: *allResourceTypes
371     HEAT_NESTED:
372         acceptedTypes:
373             - yaml
374             - yml
375         validForResourceTypes: *allResourceTypes
376     HEAT_ARTIFACT:
377         acceptedTypes:
378         validForResourceTypes: *allResourceTypes
379     CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT:
380         acceptedTypes:
381             - zip
382             - tgz
383             - csar
384         validForResourceTypes: *allResourceTypes
385     YANG_XML:
386         acceptedTypes:
387             - xml
388         validForResourceTypes: *allResourceTypes
389     VNF_CATALOG:
390         acceptedTypes:
391             - xml
392         validForResourceTypes: *allResourceTypes
393     VF_LICENSE:
394         acceptedTypes:
395             - xml
396         validForResourceTypes: *allResourceTypes
397     VENDOR_LICENSE:
398         acceptedTypes:
399             - xml
400         validForResourceTypes: *allResourceTypes
401     MODEL_INVENTORY_PROFILE:
402         acceptedTypes:
403             - xml
404         validForResourceTypes: *allResourceTypes
405     MODEL_QUERY_SPEC:
406         acceptedTypes:
407             - xml
408         validForResourceTypes: *allResourceTypes
409     LIFECYCLE_OPERATIONS:
410         acceptedTypes:
411             - yaml
412             - yml
413         validForResourceTypes:
414             - VF
415             - VFC
416     VES_EVENTS:
417         acceptedTypes:
418             - yaml
419             - yml
420         validForResourceTypes:
421             - VFC
422             - CP
423             - VL
424             - VF
425             - VFCMT
426             - Abstract
427             - CVFC
428             - PNF
429     PERFORMANCE_COUNTER:
430         acceptedTypes:
431             - csv
432         validForResourceTypes: *allResourceTypes
433     APPC_CONFIG:
434         acceptedTypes:
435         validForResourceTypes:
436             - VF
437     DCAE_TOSCA:
438         acceptedTypes:
439             - yml
440             - yaml
441         validForResourceTypes:
442             - VF
443             - VFCMT
444     DCAE_JSON:
445         acceptedTypes:
446             - json
447         validForResourceTypes:
448             - VF
449             - VFCMT
450     DCAE_POLICY:
451         acceptedTypes:
452             - emf
453         validForResourceTypes:
454             - VF
455             - VFCMT
456     DCAE_DOC:
457         acceptedTypes:
458         validForResourceTypes:
459             - VF 
460             - VFCMT       
461     DCAE_EVENT:
462         acceptedTypes:
463         validForResourceTypes:
464             - VF
465             - VFCMT
466     AAI_VF_MODEL:
467         acceptedTypes:
468             - xml
469         validForResourceTypes:
470             - VF
471     AAI_VF_MODULE_MODEL:
472         acceptedTypes:
473             - xml
474         validForResourceTypes:
475             - VF
476     OTHER:
477         acceptedTypes:
478         validForResourceTypes: *allResourceTypes
479     SNMP_POLL:
480         acceptedTypes:
481         validForResourceTypes: *allResourceTypes
482     SNMP_TRAP:
483         acceptedTypes:
484         validForResourceTypes: *allResourceTypes
485     PM_DICTIONARY:
486         acceptedTypes:
487             - yaml
488             - yml
489         validForResourceTypes:
490             - VF
491             - PNF
492     YANG_MODULE:
493         acceptedTypes:
494             - yang
495         validForResourceTypes:
496             - VF
497             - PNF
498     ANSIBLE_PLAYBOOK:
499         acceptedTypes:
500             - yaml
501             - yml
502         validForResourceTypes:
503             - VF
504             - PNF
505     ONBOARDED_PACKAGE:
506         acceptedTypes:
507             - csar
508         validForResourceTypes:
509             - VF
510             - PNF
511     CONTROLLER_BLUEPRINT_ARCHIVE:
512         acceptedTypes:
513             - zip
514         validForResourceTypes:
515             - VF
516             - PNF
517
518 resourceInstanceDeploymentArtifacts:
519     HEAT_ENV:
520         acceptedTypes:
521             - env
522     VF_MODULES_METADATA:
523         acceptedTypes:
524             - json
525     VES_EVENTS:
526         acceptedTypes:
527             - yaml
528             - yml
529     PERFORMANCE_COUNTER:
530         acceptedTypes:
531             - csv
532     DCAE_INVENTORY_TOSCA:
533         acceptedTypes:
534             - yml
535             - yaml
536     DCAE_INVENTORY_JSON:
537         acceptedTypes:
538             - json
539     DCAE_INVENTORY_POLICY:
540       acceptedTypes:
541             - emf
542     DCAE_INVENTORY_DOC:
543       acceptedTypes:
544     DCAE_INVENTORY_BLUEPRINT:
545       acceptedTypes:
546     DCAE_INVENTORY_EVENT:
547       acceptedTypes:
548     SNMP_POLL:
549         acceptedTypes:
550         validForResourceTypes: *allResourceTypes
551     SNMP_TRAP:
552         acceptedTypes:
553         validForResourceTypes: *allResourceTypes
554
555 resourceInformationalArtifacts:
556     CHEF:
557         acceptedTypes:
558         validForResourceTypes: *allResourceTypes
559     PUPPET:
560         acceptedTypes:
561         validForResourceTypes: *allResourceTypes
562     SHELL:
563         acceptedTypes:
564         validForResourceTypes: *allResourceTypes
565     YANG:
566         acceptedTypes:
567         validForResourceTypes: *allResourceTypes
568     YANG_XML:
569         acceptedTypes:
570         validForResourceTypes: *allResourceTypes
571     HEAT:
572         acceptedTypes:
573         validForResourceTypes: *allResourceTypes
574     BPEL:
575         acceptedTypes:
576         validForResourceTypes: *allResourceTypes
577     DG_XML:
578         acceptedTypes:
579         validForResourceTypes: *allResourceTypes
580     MURANO_PKG:
581         acceptedTypes:
582         validForResourceTypes: *allResourceTypes
583     OTHER:
584         acceptedTypes:
585         validForResourceTypes: 
586             - VFC
587             - CVFC
588             - CP
589             - VL
590             - VF
591             - VFCMT
592             - Abstract
593             - PNF
594     SNMP_POLL:
595         acceptedTypes:
596         validForResourceTypes: *allResourceTypes
597     SNMP_TRAP:
598         acceptedTypes:
599         validForResourceTypes: *allResourceTypes
600     GUIDE:
601         acceptedTypes:
602         validForResourceTypes:
603             - VF
604             - VFC
605             - CVFC
606
607 resourceInformationalDeployedArtifacts:
608
609 requirementsToFulfillBeforeCert:
610
611 capabilitiesToConsumeBeforeCert:
612
613 unLoggedUrls:
614    - /sdc2/rest/healthCheck
615
616 cleanComponentsConfiguration:
617     cleanIntervalInMinutes: 1440
618     componentsToClean:
619        - Resource
620        - Service
621
622 artifactsIndex: resources
623
624 heatEnvArtifactHeader: ""
625 heatEnvArtifactFooter: ""
626
627 onboarding:
628     protocol: http
629     host: localhost
630     port: 8080
631     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
632     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
633
634 switchoverDetector:
635     gBeFqdn: AIO-BE.ecomp.idns.cip.com
636     gFeFqdn: AIO-FE.ecomp.idns.cip.com
637     beVip: 0.0.0.0
638     feVip: 0.0.0.0
639     beResolveAttempts: 3
640     feResolveAttempts: 3
641     enabled: false
642     interval: 60
643     changePriorityUser: ecompasdc
644     changePriorityPassword: ecompasdc123
645     publishNetworkUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/update_network?user=root"
646     publishNetworkBody: '{"note":"publish network"}'
647     groups:
648       beSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com?user=root",
649                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"}'}
650       feSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.com?user=root",
651                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"}'}
652
653 applicationL1Cache:
654     datatypes:
655         enabled: true
656         firstRunDelay: 10
657         pollIntervalInSec: 60
658
659 applicationL2Cache:
660     enabled: true
661     catalogL1Cache:
662         enabled: true
663         resourcesSizeInCache: 300
664         servicesSizeInCache: 200
665         productsSizeInCache: 100
666     queue:
667         syncIntervalInSecondes: 43200
668         waitOnShutDownInMinutes: 10
669         numberOfCacheWorkers: 4
670
671 toscaValidators:
672     stringMaxLength: 2500
673
674 disableAudit: false
675
676 vfModuleProperties:
677     min_vf_module_instances:
678         forBaseModule: 1
679         forNonBaseModule: 0
680     max_vf_module_instances:
681         forBaseModule: 1
682         forNonBaseModule:
683     initial_count:
684         forBaseModule: 1
685         forNonBaseModule: 0
686     vf_module_type:
687         forBaseModule: Base
688         forNonBaseModule: Expansion
689
690 genericAssetNodeTypes:
691   VFC: org.openecomp.resource.abstract.nodes.VFC
692   CVFC: org.openecomp.resource.abstract.nodes.VFC
693   VF : org.openecomp.resource.abstract.nodes.VF
694   PNF: org.openecomp.resource.abstract.nodes.PNF
695   Service: org.openecomp.resource.abstract.nodes.service