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