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