re base code
[sdc.git] / catalog-model / src / test / 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 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
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: *allResourceTypes
436     SNMP_POLL:
437         acceptedTypes:
438         validForResourceTypes: *allResourceTypes
439     SNMP_TRAP:
440         acceptedTypes:
441         validForResourceTypes: *allResourceTypes
442
443 resourceInstanceDeploymentArtifacts:
444     HEAT_ENV:
445         acceptedTypes:
446             - env
447     VF_MODULES_METADATA:
448         acceptedTypes:
449             - json
450     VES_EVENTS:
451         acceptedTypes:
452             - yaml
453             - yml
454     PERFORMANCE_COUNTER:
455         acceptedTypes:
456             - csv
457     DCAE_INVENTORY_TOSCA:
458         acceptedTypes:
459             - yml
460             - yaml
461     DCAE_INVENTORY_JSON:
462         acceptedTypes:
463             - json
464     DCAE_INVENTORY_POLICY:
465       acceptedTypes:
466             - emf
467     DCAE_INVENTORY_DOC:
468       acceptedTypes:
469     DCAE_INVENTORY_BLUEPRINT:
470       acceptedTypes:
471     DCAE_INVENTORY_EVENT:
472       acceptedTypes:
473     SNMP_POLL:
474         acceptedTypes:
475         validForResourceTypes: *allResourceTypes
476     SNMP_TRAP:
477         acceptedTypes:
478         validForResourceTypes: *allResourceTypes
479
480 resourceInformationalArtifacts:
481     CHEF:
482         acceptedTypes:
483         validForResourceTypes: *allResourceTypes
484     PUPPET:
485         acceptedTypes:
486         validForResourceTypes: *allResourceTypes
487     SHELL:
488         acceptedTypes:
489         validForResourceTypes: *allResourceTypes
490     YANG:
491         acceptedTypes:
492         validForResourceTypes: *allResourceTypes
493     YANG_XML:
494         acceptedTypes:
495         validForResourceTypes: *allResourceTypes
496     HEAT:
497         acceptedTypes:
498         validForResourceTypes: *allResourceTypes
499     BPEL:
500         acceptedTypes:
501         validForResourceTypes: *allResourceTypes
502     DG_XML:
503         acceptedTypes:
504         validForResourceTypes: *allResourceTypes
505     MURANO_PKG:
506         acceptedTypes:
507         validForResourceTypes: *allResourceTypes
508     OTHER:
509         acceptedTypes:
510         validForResourceTypes: 
511             - VFC
512             - CVFC
513             - CP
514             - VL
515             - VF
516             - VFCMT
517             - Abstract
518             - PNF
519     SNMP_POLL:
520         acceptedTypes:
521         validForResourceTypes: *allResourceTypes
522     SNMP_TRAP:
523         acceptedTypes:
524         validForResourceTypes: *allResourceTypes
525     GUIDE:
526         acceptedTypes:
527         validForResourceTypes:
528             - VF
529             - VFC
530             - CVFC
531
532 resourceInformationalDeployedArtifacts:
533
534 requirementsToFulfillBeforeCert:
535
536 capabilitiesToConsumeBeforeCert:
537
538 unLoggedUrls:
539    - /sdc2/rest/healthCheck
540
541 cleanComponentsConfiguration:
542     cleanIntervalInMinutes: 1440
543     componentsToClean:
544        - Resource
545        - Service
546
547 artifactsIndex: resources
548
549 heatEnvArtifactHeader: ""
550 heatEnvArtifactFooter: ""
551
552 onboarding:
553     protocol: http
554     host: localhost
555     port: 8080
556     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
557     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
558
559 dcae:
560     protocol: http
561     host: 127.0.0.1
562     port: 8080
563     healthCheckUri: "/dcae/healthCheck"
564
565 switchoverDetector:
566     gBeFqdn: AIO-BE.ecomp.idns.cip.com
567     gFeFqdn: AIO-FE.ecomp.idns.cip.com
568     beVip: 0.0.0.0
569     feVip: 0.0.0.0
570     beResolveAttempts: 3
571     feResolveAttempts: 3
572     enabled: false
573     interval: 60
574     changePriorityUser: ecompasdc
575     changePriorityPassword: ecompasdc123
576     publishNetworkUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/update_network?user=root"
577     publishNetworkBody: '{"note":"publish network"}'
578     groups:
579       beSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com?user=root",
580                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"}'}
581       feSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.com?user=root",
582                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"}'}
583
584 applicationL1Cache:
585     datatypes:
586         enabled: true
587         firstRunDelay: 10
588         pollIntervalInSec: 60
589
590 applicationL2Cache:
591     enabled: true
592     catalogL1Cache:
593         enabled: true
594         resourcesSizeInCache: 300
595         servicesSizeInCache: 200
596         productsSizeInCache: 100
597     queue:
598         syncIntervalInSecondes: 43200
599         waitOnShutDownInMinutes: 10
600         numberOfCacheWorkers: 4
601
602 toscaValidators:
603     stringMaxLength: 2500
604
605 disableAudit: false
606
607 vfModuleProperties:
608     min_vf_module_instances:
609         forBaseModule: 1
610         forNonBaseModule: 0
611     max_vf_module_instances:
612         forBaseModule: 1
613         forNonBaseModule:
614     initial_count:
615         forBaseModule: 1
616         forNonBaseModule: 0
617     vf_module_type:
618         forBaseModule: Base
619         forNonBaseModule: Expansion
620
621 genericAssetNodeTypes:
622   VFC: org.openecomp.resource.abstract.nodes.VFC
623   CVFC: org.openecomp.resource.abstract.nodes.VFC
624   VF : org.openecomp.resource.abstract.nodes.VF
625   PNF: org.openecomp.resource.abstract.nodes.PNF
626   Service: org.openecomp.resource.abstract.nodes.service
627
628 workloadContext: Production
629 environmentContext:
630     defaultValue: General_Revenue-Bearing
631     validValues:
632        - Critical_Revenue-Bearing
633        - Vital_Revenue-Bearing
634        - Essential_Revenue-Bearing
635        - Important_Revenue-Bearing
636        - Needed_Revenue-Bearing
637        - Useful_Revenue-Bearing
638        - General_Revenue-Bearing
639        - Critical_Non-Revenue
640        - Vital_Non-Revenue
641        - Essential_Non-Revenue
642        - Important_Non-Revenue
643        - Needed_Non-Revenue
644        - Useful_Non-Revenue
645        - General_Non-Revenue
646
647 dmaapConsumerConfiguration:
648     hosts: olsd004.wnsnet.attws.com:3905
649     consumerGroup: asdc
650     consumerId: invalidMamaUser #mama - in Order To Consume Remove This String And Replace It With -> mama
651     timeoutMs: 15000
652     limit: 1
653     pollingInterval: 2
654     topic: com.att.sdc.23911-SDCforTestDev-v001
655     latitude: 32.109333
656     longitude: 34.855499
657     version: 1.0
658     serviceName: dmaap-v1.dev.dmaap.dt.saat.acsi.att.com/events
659     environment: TEST
660     partner: BOT_R
661     routeOffer: MR1
662     protocol: https
663     contenttype: application/json
664     dme2TraceOn: true
665     aftEnvironment: AFTUAT
666     aftDme2ConnectionTimeoutMs: 15000
667     aftDme2RoundtripTimeoutMs: 240000
668     aftDme2ReadTimeoutMs: 50000
669     dme2preferredRouterFilePath: DME2preferredRouter.txt 
670     timeLimitForNotificationHandleMs: 0
671     credential:
672         username: m09875@sdc.att.com
673         password: hmXYcznAljMSisdy8zgcag==
674         
675 dmeConfiguration:
676     dme2Search: DME2SEARCH
677     dme2Resolve: DME2RESOLVE