re base code
[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: 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: true
43 deleteLockTimeoutInSeconds: 60
44 maxDeleteComponents: 10
45
46 titanCfgFile: /home/vagrant/catalog-be/config/catalog-be/titan.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    - annotations:
81         file: annotations.yml
82
83 # Users
84 users:
85     tom: passwd
86     bob: passwd
87
88 neo4j:
89     host: neo4jhost
90     port: 7474
91     user: neo4j
92     password: "12345"
93
94 cassandraConfig:
95     cassandraHosts: [192.168.33.10]
96     localDataCenter: DC-sdc-iltlv650
97     reconnectTimeout : 30000
98     authenticate: true
99     username: asdc_user
100     password: Aa1234%^!
101     ssl: true
102     truststorePath : /opt/app/jetty/base/be/config/.truststore
103     truststorePassword : Aa123456
104     keySpaces:
105         - { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['DC-sdc-iltlv650', '1']}
106         - { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['DC-sdc-iltlv650', '1']}
107         - { name: sdcartifact, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['DC-sdc-iltlv650', '1']}
108         - { name: sdccomponent, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['DC-sdc-iltlv650', '1']}       
109         - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['DC-sdc-iltlv650', '1']}
110
111
112 #Application-specific settings of ES
113 elasticSearch:
114     # Mapping of index prefix to time-based frame. For example, if below is configured:
115     #
116     # - indexPrefix: auditingevents
117     #    creationPeriod: minute
118     #
119     # 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.
120     # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
121     # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
122     #
123     # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
124     #
125     # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
126     #
127     # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
128     
129     indicesTimeFrequency:
130       - indexPrefix: auditingevents
131         creationPeriod: month
132       - indexPrefix: monitoring_events
133         creationPeriod: month
134
135 artifactTypes:
136    - CHEF
137    - PUPPET
138    - SHELL
139    - YANG
140    - YANG_XML
141    - HEAT
142    - BPEL
143    - DG_XML
144    - MURANO_PKG
145    - WORKFLOW
146    - NETWORK_CALL_FLOW
147    - TOSCA_TEMPLATE
148    - TOSCA_CSAR
149    - AAI_SERVICE_MODEL
150    - AAI_VF_MODEL
151    - AAI_VF_MODULE_MODEL
152    - AAI_VF_INSTANCE_MODEL
153    - OTHER
154    - SNMP_POLL
155    - SNMP_TRAP
156    - GUIDE
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   - CR
170   - VFCMT
171   - Abstract
172   - CVFC
173
174 # validForResourceTypes usage
175 #     validForResourceTypes:
176 #        - VF
177 #        - VL
178 deploymentResourceArtifacts:
179 #  heat:
180 #      displayName: "Base HEAT Template"
181 #      type: HEAT
182 #      validForResourceTypes: *allResourceTypes
183 #  heatVol:
184 #      displayName: "Volume HEAT Template"
185 #      type: HEAT_VOL
186 #      validForResourceTypes: *allResourceTypes
187 #  heatNet:
188 #      displayName: "Network HEAT Template"
189 #      type: HEAT_NET
190 #      validForResourceTypes: *allResourceTypes
191
192 deploymentResourceInstanceArtifacts:
193   heatEnv:
194       displayName: "HEAT ENV"
195       type: HEAT_ENV
196       description: "Auto-generated HEAT Environment deployment artifact"
197       fileExtension: "env"
198   VfHeatEnv:
199       displayName: "VF HEAT ENV"
200       type: HEAT_ENV
201       description: "VF Auto-generated HEAT Environment deployment artifact"
202       fileExtension: "env"
203
204 #tosca artifacts placeholders
205 toscaArtifacts:
206   assetToscaTemplate:
207       artifactName: -template.yml
208       displayName: Tosca Template
209       type: TOSCA_TEMPLATE
210       description: TOSCA representation of the asset
211   assetToscaCsar:
212       artifactName: -csar.csar
213       displayName: Tosca Model
214       type: TOSCA_CSAR
215       description: TOSCA definition package of the asset
216
217
218 #Informational artifacts placeHolder
219 excludeResourceCategory:
220   - Generic
221 excludeResourceType:
222   - PNF
223   - CR
224 informationalResourceArtifacts:
225   features:
226       displayName: Features
227       type: OTHER
228   capacity:
229       displayName: Capacity
230       type: OTHER
231   vendorTestResult:
232       displayName: Vendor Test Result
233       type: OTHER
234   testScripts:
235       displayName: Test Scripts
236       type: OTHER
237   CloudQuestionnaire:
238       displayName: Cloud Questionnaire (completed)
239       type: OTHER
240   HEATTemplateFromVendor:
241       displayName: HEAT Template from Vendor
242       type: HEAT
243   resourceSecurityTemplate:
244       displayName: Resource Security Template
245       type: OTHER
246
247 excludeServiceCategory:
248
249 informationalServiceArtifacts:
250   serviceArtifactPlan:
251       displayName: Service Artifact Plan
252       type: OTHER
253   summaryOfImpactsToECOMPElements:
254       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
255       type: OTHER
256   controlLoopFunctions:
257       displayName: Control Loop Functions
258       type: OTHER
259   dimensioningInfo:
260       displayName: Dimensioning Info
261       type: OTHER
262   affinityRules:
263       displayName: Affinity Rules
264       type: OTHER
265   operationalPolicies:
266       displayName: Operational Policies
267       type: OTHER
268   serviceSpecificPolicies:
269       displayName: Service-specific Policies
270       type: OTHER
271   engineeringRules:
272       displayName: Engineering Rules (ERD)
273       type: OTHER
274   distributionInstructions:
275       displayName: Distribution Instructions
276       type: OTHER
277   certificationTestResults:
278       displayName: TD Certification Test Results
279       type: OTHER
280   deploymentVotingRecord:
281       displayName: Deployment Voting Record
282       type: OTHER
283   serviceQuestionnaire:
284       displayName: Service Questionnaire
285       type: OTHER
286   serviceSecurityTemplate:
287       displayName: Service Security Template
288       type: OTHER
289
290 serviceApiArtifacts:
291   configuration:
292       displayName: Configuration
293       type: OTHER
294   instantiation:
295       displayName: Instantiation
296       type: OTHER
297   monitoring:
298       displayName: Monitoring
299       type: OTHER
300   reporting:
301       displayName: Reporting
302       type: OTHER
303   logging:
304       displayName: Logging
305       type: OTHER
306   testing:
307       displayName: Testing
308       type: OTHER
309
310 additionalInformationMaxNumberOfKeys: 50
311
312 systemMonitoring:
313     enabled: false
314     isProxy: false
315     probeIntervalInSeconds: 15
316
317 defaultHeatArtifactTimeoutMinutes: 60
318
319 serviceDeploymentArtifacts:
320     YANG_XML:
321         acceptedTypes:
322             - xml
323     VNF_CATALOG:
324         acceptedTypes:
325             - xml
326     MODEL_INVENTORY_PROFILE:
327         acceptedTypes:
328             - xml
329     MODEL_QUERY_SPEC:
330         acceptedTypes:
331             - xml
332     UCPE_LAYER_2_CONFIGURATION:
333         acceptedTypes:
334             - xml
335
336 #AAI Artifacts
337     AAI_SERVICE_MODEL:
338         acceptedTypes:
339             - xml
340     AAI_VF_MODULE_MODEL:
341         acceptedTypes:
342             - xml
343     AAI_VF_INSTANCE_MODEL:
344         acceptedTypes:
345             - xml 
346     OTHER:
347         acceptedTypes:
348
349 resourceDeploymentArtifacts:
350     HEAT:
351         acceptedTypes:
352             - yaml
353             - yml
354         validForResourceTypes: *allResourceTypes
355     HEAT_VOL:
356         acceptedTypes:
357             - yaml
358             - yml
359         validForResourceTypes: *allResourceTypes
360     HEAT_NET:
361         acceptedTypes:
362             - yaml
363             - yml
364         validForResourceTypes: *allResourceTypes
365     HEAT_NESTED:
366         acceptedTypes:
367             - yaml
368             - yml
369         validForResourceTypes: *allResourceTypes
370     HEAT_ARTIFACT:
371         acceptedTypes:
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             - CR
540             - VFCMT
541             - Abstract
542             - PNF
543     SNMP_POLL:
544         acceptedTypes:
545         validForResourceTypes: *allResourceTypes
546     SNMP_TRAP:
547         acceptedTypes:
548         validForResourceTypes: *allResourceTypes
549     GUIDE:
550         acceptedTypes:
551         validForResourceTypes:
552             - VF
553             - VFC
554             - CVFC
555
556 resourceInformationalDeployedArtifacts:
557
558 requirementsToFulfillBeforeCert:
559
560 capabilitiesToConsumeBeforeCert:
561
562 unLoggedUrls:
563    - /sdc2/rest/healthCheck
564
565 cleanComponentsConfiguration:
566     cleanIntervalInMinutes: 1440
567     componentsToClean:
568        - Resource
569        - Service
570
571 artifactsIndex: resources
572
573 heatEnvArtifactHeader: ""
574 heatEnvArtifactFooter: ""
575
576 onboarding:
577     protocol: http
578     host: localhost
579     port: 8080
580     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
581     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
582
583 dcae:
584     protocol: http
585     host: 127.0.0.1
586     port: 8080
587     healthCheckUri: "/dcae/healthCheck"
588
589 switchoverDetector:
590     gBeFqdn: AIO-BE.ecomp.idns.cip.com
591     gFeFqdn: AIO-FE.ecomp.idns.cip.com
592     beVip: 0.0.0.0
593     feVip: 0.0.0.0
594     beResolveAttempts: 3
595     feResolveAttempts: 3
596     enabled: false
597     interval: 60
598     changePriorityUser: ecompasdc
599     changePriorityPassword: ecompasdc123
600     publishNetworkUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/update_network?user=root"
601     publishNetworkBody: '{"note":"publish network"}'
602     groups:
603       beSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com?user=root",
604                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"}'}
605       feSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.com?user=root",
606                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"}'}
607
608 applicationL1Cache:
609     datatypes:
610         enabled: true
611         firstRunDelay: 10
612         pollIntervalInSec: 60
613
614 applicationL2Cache:
615     enabled: true
616     catalogL1Cache:
617         enabled: true
618         resourcesSizeInCache: 300
619         servicesSizeInCache: 200
620         productsSizeInCache: 100
621     queue:
622         syncIntervalInSecondes: 43200
623         waitOnShutDownInMinutes: 10
624         numberOfCacheWorkers: 4
625
626 toscaValidators:
627     stringMaxLength: 2500
628
629 disableAudit: false
630
631 vfModuleProperties:
632     min_vf_module_instances:
633         forBaseModule: 1
634         forNonBaseModule: 0
635     max_vf_module_instances:
636         forBaseModule: 1
637         forNonBaseModule:
638     initial_count:
639         forBaseModule: 1
640         forNonBaseModule: 0
641     vf_module_type:
642         forBaseModule: Base
643         forNonBaseModule: Expansion
644
645 genericAssetNodeTypes:
646   VFC: org.openecomp.resource.abstract.nodes.VFC
647   CVFC: org.openecomp.resource.abstract.nodes.VFC
648   VF : org.openecomp.resource.abstract.nodes.VF
649   CR : org.openecomp.resource.abstract.nodes.CR
650   PNF: org.openecomp.resource.abstract.nodes.PNF
651   Service: org.openecomp.resource.abstract.nodes.service
652
653 workloadContext: Production
654 environmentContext:
655     defaultValue: General_Revenue-Bearing
656     validValues:
657        - Critical_Revenue-Bearing
658        - Vital_Revenue-Bearing
659        - Essential_Revenue-Bearing
660        - Important_Revenue-Bearing
661        - Needed_Revenue-Bearing
662        - Useful_Revenue-Bearing
663        - General_Revenue-Bearing
664        - Critical_Non-Revenue
665        - Vital_Non-Revenue
666        - Essential_Non-Revenue
667        - Important_Non-Revenue
668        - Needed_Non-Revenue
669        - Useful_Non-Revenue
670        - General_Non-Revenue
671
672 dmaapConsumerConfiguration:
673     hosts: olsd004.wnsnet.attws.com:3905
674     consumerGroup: asdc
675     consumerId: mama #mama - in Order To Consume Remove This String And Replace It With -> mama
676     timeoutMs: 15000
677     limit: 1
678     pollingInterval: 2
679     topic: com.att.sdc.23911-SDCforTestDev-v001
680     latitude: 32.109333
681     longitude: 34.855499
682     version: 1.0
683     serviceName: dmaap-v1.dev.dmaap.dt.saat.acsi.att.com/events
684     environment: TEST
685     partner: BOT_R
686     routeOffer: MR1
687     protocol: https
688     contenttype: application/json
689     dme2TraceOn: true
690     aftEnvironment: AFTUAT
691     aftDme2ConnectionTimeoutMs: 15000
692     aftDme2RoundtripTimeoutMs: 240000
693     aftDme2ReadTimeoutMs: 50000
694     dme2preferredRouterFilePath: DME2preferredRouter.txt
695     timeLimitForNotificationHandleMs: 120000
696     credential:
697         username: m09875@sdc.att.com
698         password: hmXYcznAljMSisdy8zgcag==
699
700
701         
702 dmeConfiguration:
703     dme2Search: DME2SEARCH
704     dme2Resolve: DME2RESOLVE
705
706
707 excludedPolicyTypesMapping:
708    # VF:
709     #  - a.b.c
710     #  - c.d.e
711     #CR:
712     #  - x.y.z
713
714 excludedGroupTypesMapping:
715     CR:
716        - org.openecomp.groups.VfModule
717        - org.openecomp.groups.heat.HeatStack
718        - tosca.groups.Root
719     PNF:
720        - org.openecomp.groups.VfModule
721        - org.openecomp.groups.heat.HeatStack
722        - tosca.groups.Root
723     VF:
724        - org.openecomp.groups.VfModule
725        - org.openecomp.groups.heat.HeatStack
726        - tosca.groups.Root
727     Service:
728        - org.openecomp.groups.VfModule
729        - org.openecomp.groups.heat.HeatStack
730        - tosca.groups.Root
731
732 healthStatusExclude:
733    - DE
734    - ES
735    - DMAAP