[SDC] rebase 1710 code
[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
9
10 # catalog backend hostname
11 beFqdn: sdccatalog.att.com
12
13 # catalog backend http port
14 beHttpPort: 8080
15
16 # catalog backend http context
17 beContext: /sdc/rest/config/get
18
19 # catalog backend protocol
20 beProtocol: http
21
22 # catalog backend ssl port
23 beSslPort: 8443
24
25 version: 1.0
26 released: 2012-11-30
27 toscaConformanceLevel: 3.0
28 minToscaConformanceLevel: 3.0
29
30 titanCfgFile: src\main\resources\config\titan.properties
31 titanMigrationKeySpaceCfgFile: src\main\resources\config\titan-migration.properties
32 titanInMemoryGraph: false
33 titanLockTimeout: 1800
34 titanReconnectIntervalInSeconds: 3
35 titanHealthCheckReadTimeout: 1
36 esReconnectIntervalInSeconds: 3
37 uebHealthCheckReconnectIntervalInSeconds: 15
38 uebHealthCheckReadTimeout: 4
39
40
41 # Protocols
42 protocols:
43    - http
44    - https
45    
46 # Default imports
47 defaultImports:
48    - nodes:
49         file: nodes.yml
50    - datatypes:
51         file: data.yml
52    - capabilities:
53         file: capabilities.yml
54    - relationships:
55         file: relationships.yml
56    - groups:
57         file: groups.yml
58    - policies:
59         file: policies.yml
60
61 # Users
62 users:
63     tom: passwd
64     bob: passwd
65     
66 neo4j:
67     host: neo4jhost
68     port: 7474
69     user: neo4j
70     password: "12345"
71     
72
73 #Application-specific settings of ES
74 elasticSearch:
75     # Mapping of index prefix to time-based frame. For example, if below is configured:
76     #
77     # - indexPrefix: auditingevents
78     #    creationPeriod: minute
79     #
80     # 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.
81     # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
82     # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
83     #
84     # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
85     #
86     # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
87     #
88     # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
89
90     indicesTimeFrequency:
91       - indexPrefix: auditingevents
92         creationPeriod: month
93       - indexPrefix: monitoring_events
94         creationPeriod: month
95
96 artifactTypes:
97    - CHEF
98    - PUPPET
99    - SHELL
100    - YANG
101    - YANG_XML
102    - HEAT
103    - BPEL
104    - DG_XML
105    - MURANO_PKG
106    - WORKFLOW
107    - NETWORK_CALL_FLOW
108    - TOSCA_TEMPLATE
109    - TOSCA_CSAR
110    - AAI_SERVICE_MODEL
111    - AAI_VF_MODEL
112    - AAI_VF_MODULE_MODEL
113    - AAI_VF_INSTANCE_MODEL
114    - OTHER
115    - SNMP_POLL
116    - SNMP_TRAP
117    - GUIDE
118
119 licenseTypes:
120    - User
121    - Installation
122    - CPU
123
124 #Deployment artifacts placeHolder
125 resourceTypes: &allResourceTypes
126   - VFC
127   - CP
128   - VL
129   - VF
130   - VFCMT
131  
132 # validForResourceTypes usage
133 #     validForResourceTypes:
134 #        - VF
135 #        - VL
136 deploymentResourceArtifacts:
137 #  heat:
138 #      displayName: "Base HEAT Template"
139 #      type: HEAT
140 #      validForResourceTypes: *allResourceTypes
141 #  heatVol:
142 #      displayName: "Volume HEAT Template"
143 #      type: HEAT_VOL
144 #      validForResourceTypes: *allResourceTypes
145 #  heatNet:
146 #      displayName: "Network HEAT Template"
147 #      type: HEAT_NET
148 #      validForResourceTypes: *allResourceTypes
149   
150 deploymentResourceInstanceArtifacts:
151   heatEnv:
152       displayName: "HEAT ENV"
153       type: HEAT_ENV
154       description: "Auto-generated HEAT Environment deployment artifact"
155       fileExtension: "env"
156   VfHeatEnv:
157       displayName: "VF HEAT ENV"
158       type: HEAT_ENV
159       description: "VF Auto-generated HEAT Environment deployment artifact"
160       fileExtension: "env"
161
162 #tosca artifacts placeholders
163 toscaArtifacts:
164   assetToscaTemplate:
165       artifactName: -template.yml
166       displayName: Tosca Template
167       type: TOSCA_TEMPLATE
168       description: TOSCA representation of the asset
169   assetToscaCsar:
170       artifactName: -csar.csar
171       displayName: Tosca Model
172       type: TOSCA_CSAR
173       description: TOSCA definition package of the asset
174
175
176 #Informational artifacts placeHolder
177 excludeResourceCategory:
178   - Generic
179 informationalResourceArtifacts:
180   features:
181       displayName: Features
182       type: OTHER
183   capacity:
184       displayName: Capacity
185       type: OTHER
186   vendorTestResult:
187       displayName: Vendor Test Result
188       type: OTHER
189   testScripts:
190       displayName: Test Scripts
191       type: OTHER
192   CloudQuestionnaire:
193       displayName: Cloud Questionnaire (completed)
194       type: OTHER
195   HEATTemplateFromVendor:
196       displayName: HEAT Template from Vendor
197       type: HEAT
198   resourceSecurityTemplate:
199       displayName: Resource Security Template
200       type: OTHER
201             
202 excludeServiceCategory:
203
204 informationalServiceArtifacts:
205   serviceArtifactPlan:
206       displayName: Service Artifact Plan
207       type: OTHER
208   summaryOfImpactsToECOMPElements:
209       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
210       type: OTHER
211   controlLoopFunctions:
212       displayName: Control Loop Functions
213       type: OTHER
214   dimensioningInfo:
215       displayName: Dimensioning Info
216       type: OTHER
217   affinityRules:
218       displayName: Affinity Rules
219       type: OTHER
220   operationalPolicies:
221       displayName: Operational Policies
222       type: OTHER
223   serviceSpecificPolicies:
224       displayName: Service-specific Policies
225       type: OTHER
226   engineeringRules:
227       displayName: Engineering Rules (ERD)
228       type: OTHER
229   distributionInstructions:
230       displayName: Distribution Instructions
231       type: OTHER
232   certificationTestResults:
233       displayName: TD Certification Test Results
234       type: OTHER
235   deploymentVotingRecord:
236       displayName: Deployment Voting Record
237       type: OTHER
238   serviceQuestionnaire:
239       displayName: Service Questionnaire
240       type: OTHER
241   serviceSecurityTemplate:
242       displayName: Service Security Template
243       type: OTHER
244       
245 serviceApiArtifacts:
246   configuration:
247       displayName: Configuration
248       type: OTHER
249   instantiation:
250       displayName: Instantiation
251       type: OTHER
252   monitoring:
253       displayName: Monitoring
254       type: OTHER
255   reporting:
256       displayName: Reporting
257       type: OTHER
258   logging:
259       displayName: Logging
260       type: OTHER
261   testing:
262       displayName: Testing
263       type: OTHER
264
265
266 additionalInformationMaxNumberOfKeys: 50
267
268 systemMonitoring:
269     enabled: false
270     isProxy: false
271     probeIntervalInSeconds: 15
272
273 defaultHeatArtifactTimeoutMinutes: 60
274
275 serviceDeploymentArtifacts:
276     YANG_XML:
277         acceptedTypes:
278             - xml
279     VNF_CATALOG:
280         acceptedTypes:
281             - xml
282     MODEL_INVENTORY_PROFILE:
283         acceptedTypes:
284             - xml
285     MODEL_QUERY_SPEC:
286         acceptedTypes:
287             - xml
288 #AAI Artifacts
289     AAI_SERVICE_MODEL:
290         acceptedTypes:
291             - xml
292     AAI_VF_MODULE_MODEL:
293         acceptedTypes:
294             - xml
295     AAI_VF_INSTANCE_MODEL:
296         acceptedTypes:
297             - xml 
298     OTHER:
299         acceptedTypes:
300
301 resourceDeploymentArtifacts:
302     HEAT:
303         acceptedTypes:
304             - yaml
305             - yml
306         validForResourceTypes: *allResourceTypes
307     HEAT_VOL:
308         acceptedTypes:
309             - yaml
310             - yml
311         validForResourceTypes: *allResourceTypes
312     HEAT_NESTED:
313         acceptedTypes:
314             - yaml
315             - yml
316         validForResourceTypes: *allResourceTypes
317     HEAT_ARTIFACT:
318         acceptedTypes:
319         validForResourceTypes: *allResourceTypes
320     HEAT_NET:
321         acceptedTypes:
322             - yaml
323             - yml
324         validForResourceTypes: *allResourceTypes
325     YANG_XML:
326         acceptedTypes:
327             - xml
328         validForResourceTypes: *allResourceTypes
329     VNF_CATALOG:
330         acceptedTypes:
331             - xml
332         validForResourceTypes: *allResourceTypes
333     VF_LICENSE:
334         acceptedTypes:
335             - xml
336         validForResourceTypes: *allResourceTypes
337     VENDOR_LICENSE:
338         acceptedTypes:
339             - xml
340         validForResourceTypes: *allResourceTypes
341     MODEL_INVENTORY_PROFILE:
342         acceptedTypes:
343             - xml
344         validForResourceTypes: *allResourceTypes
345     MODEL_QUERY_SPEC:
346         acceptedTypes:
347             - xml
348         validForResourceTypes: *allResourceTypes
349     #APPC Artifatcs
350     APPC_CONFIG:
351         acceptedTypes:
352         validForResourceTypes:
353             - VF
354     #DCAE Artifacts
355     DCAE_TOSCA:
356         acceptedTypes:
357             - yml
358             - yaml
359         validForResourceTypes:
360             - VF
361     DCAE_JSON:
362         acceptedTypes:
363             - json
364         validForResourceTypes:
365             - VF
366     DCAE_POLICY:
367         acceptedTypes:
368             - emf
369         validForResourceTypes:
370             - VF
371     DCAE_DOC:
372         acceptedTypes:
373         validForResourceTypes:
374             - VF        
375     DCAE_EVENT:
376         acceptedTypes:
377         validForResourceTypes:
378             - VF
379 #AAI Artifacts
380     AAI_VF_MODEL:
381         acceptedTypes:
382             - xml
383         validForResourceTypes:
384             - VF
385     AAI_VF_MODULE_MODEL:
386         acceptedTypes:
387             - xml
388         validForResourceTypes:
389             - VF
390     OTHER:
391         acceptedTypes:
392         validForResourceTypes: *allResourceTypes
393 #MIB artifacts
394     SNMP_POLL:
395         acceptedTypes:
396         validForResourceTypes: *allResourceTypes
397     SNMP_TRAP:
398         acceptedTypes:
399         validForResourceTypes: *allResourceTypes
400       
401 resourceInstanceDeploymentArtifacts:
402     HEAT_ENV:
403         acceptedTypes:
404             - env
405     VF_MODULES_METADATA:
406         acceptedTypes:
407             - json
408 #DCAE_VF Instance Artifacts
409     DCAE_INVENTORY_TOSCA:
410         acceptedTypes:
411             - yml
412             - yaml
413     DCAE_INVENTORY_JSON:
414         acceptedTypes:
415             - json
416     DCAE_INVENTORY_POLICY:
417       acceptedTypes:
418             - emf
419     DCAE_INVENTORY_DOC:
420       acceptedTypes:
421     DCAE_INVENTORY_BLUEPRINT:
422       acceptedTypes:
423     DCAE_INVENTORY_EVENT:
424       acceptedTypes:
425 #MIB artifacts
426     SNMP_POLL:
427         acceptedTypes:
428         validForResourceTypes: *allResourceTypes
429     SNMP_TRAP:
430         acceptedTypes:
431         validForResourceTypes: *allResourceTypes
432       
433
434 resourceInformationalArtifacts:
435     CHEF:
436         acceptedTypes:
437         validForResourceTypes: *allResourceTypes
438     PUPPET:
439         acceptedTypes:
440         validForResourceTypes: *allResourceTypes
441     SHELL:
442         acceptedTypes:
443         validForResourceTypes: *allResourceTypes
444     YANG:
445         acceptedTypes:
446         validForResourceTypes: *allResourceTypes
447     YANG_XML:
448         acceptedTypes:
449         validForResourceTypes: *allResourceTypes
450     HEAT:
451         acceptedTypes:
452         validForResourceTypes: *allResourceTypes
453     BPEL:
454         acceptedTypes:
455         validForResourceTypes: *allResourceTypes
456     DG_XML:
457         acceptedTypes:
458         validForResourceTypes: *allResourceTypes
459     MURANO_PKG:
460         acceptedTypes:
461         validForResourceTypes: *allResourceTypes
462     OTHER:
463         acceptedTypes:
464         validForResourceTypes: *allResourceTypes
465     SNMP_POLL:
466         acceptedTypes:
467         validForResourceTypes: *allResourceTypes
468     SNMP_TRAP:
469         acceptedTypes:
470         validForResourceTypes: *allResourceTypes
471     GUIDE:
472         acceptedTypes:
473         validForResourceTypes:
474             - VF
475             - VFC
476
477
478 resourceInformationalDeployedArtifacts:
479
480
481 requirementsToFulfillBeforeCert:
482
483 capabilitiesToConsumeBeforeCert:
484             
485 unLoggedUrls:
486    - /sdc2/rest/healthCheck
487
488 cleanComponentsConfiguration:
489     cleanIntervalInMinutes: 1440
490     componentsToClean:
491        - Resource
492        - Service
493
494 artifactsIndex: resources
495
496 cassandraConfig:
497     cassandraHosts: ['localhost']
498     localDataCenter:
499     reconnectTimeout : 30000
500     authenticate: true
501     username: asdc_user
502     password: Aa1234%^!
503     ssl: false
504     truststorePath : /path/path
505     truststorePassword : 123123
506     keySpaces:
507         - { name: sdcaudit, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
508         - { name: sdcartifact, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
509         - { name: sdccomponent, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
510         - { name: sdcrepository, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
511         
512        
513 switchoverDetector:
514     gBeFqdn: AIO-BE.ecomp.idns.cip
515     gFeFqdn: AIO-FE.ecomp.idns.cip
516     beVip: 0.0.0.0
517     feVip: 0.0.0.0
518     beResolveAttempts: 3
519     feResolveAttempts: 3
520     enabled: false
521     interval: 60
522     changePriorityUser: ecompasdc
523     changePriorityPassword: ecompasdc123
524     publishNetworkUrl: "http://xxxxxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/update_network?user=root"
525     publishNetworkBody: '{"note":"publish network"}'
526     groups:
527       beSet: { changePriorityUrl: "http://xxxxxxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com?user=root",
528                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"}'}
529       feSet: { changePriorityUrl: "http://cora.web.att.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.cip.att.com?user=root",
530                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"}'}
531     
532        
533 heatEnvArtifactHeader: ""
534 heatEnvArtifactFooter: ""
535
536 onboarding:
537     protocol: http
538     host: localhost
539     port: 8080
540     downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
541    
542 applicationL1Cache:
543     datatypes:
544         enabled: true
545         firstRunDelay: 10
546         pollIntervalInSec: 60
547
548 applicationL2Cache:
549     enabled: false
550     catalogL1Cache:
551         enabled: false
552         resourcesSizeInCache: 300
553         servicesSizeInCache: 200
554         productsSizeInCache: 100
555     queue:
556         syncIntervalInSecondes: 43200
557         waitOnShutDownInMinutes: 10
558         numberOfCacheWorkers: 4
559
560 toscaValidators:
561     stringMaxLength: 65536
562 disableAudit: false
563
564 vfModuleProperties:
565     min_vf_module_instances:
566         forBaseModule: 1
567         forNonBaseModule: 0
568     max_vf_module_instances:
569         forBaseModule: 1
570         forNonBaseModule:
571     initial_count:
572         forBaseModule: 1
573         forNonBaseModule: 0
574     vf_module_type:
575         forBaseModule: Base
576         forNonBaseModule: Expansion
577