Create new non-mano Artifact Type entry for pnf software information
[sdc.git] / catalog-be / src / test / resources / config / catalog-be / 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.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 janusgraph 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     cassandraPort: 9042
78     localDataCenter: datacenter1
79     reconnectTimeout : 30000
80     authenticate: false
81     username: koko
82     password: bobo
83     ssl: false
84     truststorePath : /path/path
85     truststorePassword : 123123
86     keySpaces:
87         - { name: sdcaudit, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
88         - { name: sdcartifact, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
89         - { name: sdccomponent, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
90         - { name: sdcrepository, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
91
92 #Application-specific settings of ES
93 elasticSearch:
94     # Mapping of index prefix to time-based frame. For example, if below is configured:
95     #
96     # - indexPrefix: auditingevents
97     #    creationPeriod: minute
98     #
99     # 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.
100     # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
101     # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
102     #
103     # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
104     #
105     # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
106     #
107     # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
108     
109     indicesTimeFrequency:
110       - indexPrefix: auditingevents
111         creationPeriod: month
112       - indexPrefix: monitoring_events
113         creationPeriod: month
114
115 artifactTypes:
116    - CHEF
117    - PUPPET
118    - SHELL
119    - YANG
120    - YANG_XML
121    - HEAT
122    - BPEL
123    - DG_XML
124    - MURANO_PKG
125    - WORKFLOW
126    - NETWORK_CALL_FLOW
127    - TOSCA_TEMPLATE
128    - TOSCA_CSAR
129    - AAI_SERVICE_MODEL
130    - AAI_VF_MODEL
131    - AAI_VF_MODULE_MODEL
132    - AAI_VF_INSTANCE_MODEL
133    - OTHER
134    - SNMP_POLL
135    - SNMP_TRAP
136    - GUIDE
137    - PNF_SW_INFORMATION
138
139 licenseTypes:
140    - User
141    - Installation
142    - CPU
143
144 #Deployment artifacts placeHolder
145 resourceTypes: &allResourceTypes
146   - VFC
147   - CP
148   - VL
149   - VF
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 informationalResourceArtifacts:
204   features:
205       displayName: Features
206       type: OTHER
207   capacity:
208       displayName: Capacity
209       type: OTHER
210   vendorTestResult:
211       displayName: Vendor Test Result
212       type: OTHER
213   testScripts:
214       displayName: Test Scripts
215       type: OTHER
216   CloudQuestionnaire:
217       displayName: Cloud Questionnaire (completed)
218       type: OTHER
219   HEATTemplateFromVendor:
220       displayName: HEAT Template from Vendor
221       type: HEAT
222   resourceSecurityTemplate:
223       displayName: Resource Security Template
224       type: OTHER
225
226 excludeServiceCategory:
227
228 informationalServiceArtifacts:
229   serviceArtifactPlan:
230       displayName: Service Artifact Plan
231       type: OTHER
232   summaryOfImpactsToECOMPElements:
233       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
234       type: OTHER
235   controlLoopFunctions:
236       displayName: Control Loop Functions
237       type: OTHER
238   dimensioningInfo:
239       displayName: Dimensioning Info
240       type: OTHER
241   affinityRules:
242       displayName: Affinity Rules
243       type: OTHER
244   operationalPolicies:
245       displayName: Operational Policies
246       type: OTHER
247   serviceSpecificPolicies:
248       displayName: Service-specific Policies
249       type: OTHER
250   engineeringRules:
251       displayName: Engineering Rules (ERD)
252       type: OTHER
253   distributionInstructions:
254       displayName: Distribution Instructions
255       type: OTHER
256   certificationTestResults:
257       displayName: TD Certification Test Results
258       type: OTHER
259   deploymentVotingRecord:
260       displayName: Deployment Voting Record
261       type: OTHER
262   serviceQuestionnaire:
263       displayName: Service Questionnaire
264       type: OTHER
265   serviceSecurityTemplate:
266       displayName: Service Security Template
267       type: OTHER
268
269 serviceApiArtifacts:
270   configuration:
271       displayName: Configuration
272       type: OTHER
273   instantiation:
274       displayName: Instantiation
275       type: OTHER
276   monitoring:
277       displayName: Monitoring
278       type: OTHER
279   reporting:
280       displayName: Reporting
281       type: OTHER
282   logging:
283       displayName: Logging
284       type: OTHER
285   testing:
286       displayName: Testing
287       type: OTHER
288
289 additionalInformationMaxNumberOfKeys: 50
290
291 systemMonitoring:
292     enabled: false
293     isProxy: false
294     probeIntervalInSeconds: 15
295
296 defaultHeatArtifactTimeoutMinutes: 60
297
298 serviceDeploymentArtifacts:
299     YANG_XML:
300         acceptedTypes:
301             - xml
302     VNF_CATALOG:
303         acceptedTypes:
304             - xml
305     MODEL_INVENTORY_PROFILE:
306         acceptedTypes:
307             - xml
308     MODEL_QUERY_SPEC:
309         acceptedTypes:
310             - xml
311     UCPE_LAYER_2_CONFIGURATION:
312         acceptedTypes:
313             - xml
314
315 #AAI Artifacts
316     AAI_SERVICE_MODEL:
317         acceptedTypes:
318             - xml
319     AAI_VF_MODULE_MODEL:
320         acceptedTypes:
321             - xml
322     AAI_VF_INSTANCE_MODEL:
323         acceptedTypes:
324             - xml 
325     OTHER:
326         acceptedTypes:
327
328 resourceDeploymentArtifacts:
329     HEAT:
330         acceptedTypes:
331             - yaml
332             - yml
333         validForResourceTypes: *allResourceTypes
334     HEAT_VOL:
335         acceptedTypes:
336             - yaml
337             - yml
338         validForResourceTypes: *allResourceTypes
339     HEAT_NET:
340         acceptedTypes:
341             - yaml
342             - yml
343         validForResourceTypes: *allResourceTypes
344     HEAT_NESTED:
345         acceptedTypes:
346             - yaml
347             - yml
348         validForResourceTypes: *allResourceTypes
349     HEAT_ARTIFACT:
350         acceptedTypes:
351         validForResourceTypes: *allResourceTypes
352     YANG_XML:
353         acceptedTypes:
354             - xml
355         validForResourceTypes: *allResourceTypes
356     VNF_CATALOG:
357         acceptedTypes:
358             - xml
359         validForResourceTypes: *allResourceTypes
360     VF_LICENSE:
361         acceptedTypes:
362             - xml
363         validForResourceTypes: *allResourceTypes
364     VENDOR_LICENSE:
365         acceptedTypes:
366             - xml
367         validForResourceTypes: *allResourceTypes
368     MODEL_INVENTORY_PROFILE:
369         acceptedTypes:
370             - xml
371         validForResourceTypes: *allResourceTypes
372     MODEL_QUERY_SPEC:
373         acceptedTypes:
374             - xml
375         validForResourceTypes: *allResourceTypes
376     LIFECYCLE_OPERATIONS:
377         acceptedTypes:
378             - yaml
379             - yml
380         validForResourceTypes:
381             - VF
382             - VFC
383     VES_EVENTS:
384         acceptedTypes:
385             - yaml
386             - yml
387         validForResourceTypes: *allResourceTypes
388     PERFORMANCE_COUNTER:
389         acceptedTypes:
390             - csv
391         validForResourceTypes: *allResourceTypes
392     APPC_CONFIG:
393         acceptedTypes:
394         validForResourceTypes:
395             - VF
396     DCAE_TOSCA:
397         acceptedTypes:
398             - yml
399             - yaml
400         validForResourceTypes:
401             - VF
402             - VFCMT
403     DCAE_JSON:
404         acceptedTypes:
405             - json
406         validForResourceTypes:
407             - VF
408             - VFCMT
409     DCAE_POLICY:
410         acceptedTypes:
411             - emf
412         validForResourceTypes:
413             - VF
414             - VFCMT
415     DCAE_DOC:
416         acceptedTypes:
417         validForResourceTypes:
418             - VF 
419             - VFCMT       
420     DCAE_EVENT:
421         acceptedTypes:
422         validForResourceTypes:
423             - VF
424             - VFCMT
425     AAI_VF_MODEL:
426         acceptedTypes:
427             - xml
428         validForResourceTypes:
429             - VF
430     AAI_VF_MODULE_MODEL:
431         acceptedTypes:
432             - xml
433         validForResourceTypes:
434             - VF
435     OTHER:
436         acceptedTypes:
437         validForResourceTypes: *allResourceTypes
438     SNMP_POLL:
439         acceptedTypes:
440         validForResourceTypes: *allResourceTypes
441     SNMP_TRAP:
442         acceptedTypes:
443         validForResourceTypes: *allResourceTypes
444
445 resourceInstanceDeploymentArtifacts:
446     HEAT_ENV:
447         acceptedTypes:
448             - env
449     VF_MODULES_METADATA:
450         acceptedTypes:
451             - json
452     VES_EVENTS:
453         acceptedTypes:
454             - yaml
455             - yml
456     PERFORMANCE_COUNTER:
457         acceptedTypes:
458             - csv
459     DCAE_INVENTORY_TOSCA:
460         acceptedTypes:
461             - yml
462             - yaml
463     DCAE_INVENTORY_JSON:
464         acceptedTypes:
465             - json
466     DCAE_INVENTORY_POLICY:
467       acceptedTypes:
468             - emf
469     DCAE_INVENTORY_DOC:
470       acceptedTypes:
471     DCAE_INVENTORY_BLUEPRINT:
472       acceptedTypes:
473     DCAE_INVENTORY_EVENT:
474       acceptedTypes:
475     SNMP_POLL:
476         acceptedTypes:
477         validForResourceTypes: *allResourceTypes
478     SNMP_TRAP:
479         acceptedTypes:
480         validForResourceTypes: *allResourceTypes
481
482 resourceInformationalArtifacts:
483     CHEF:
484         acceptedTypes:
485         validForResourceTypes: *allResourceTypes
486     PUPPET:
487         acceptedTypes:
488         validForResourceTypes: *allResourceTypes
489     SHELL:
490         acceptedTypes:
491         validForResourceTypes: *allResourceTypes
492     YANG:
493         acceptedTypes:
494         validForResourceTypes: *allResourceTypes
495     YANG_XML:
496         acceptedTypes:
497         validForResourceTypes: *allResourceTypes
498     HEAT:
499         acceptedTypes:
500         validForResourceTypes: *allResourceTypes
501     BPEL:
502         acceptedTypes:
503         validForResourceTypes: *allResourceTypes
504     DG_XML:
505         acceptedTypes:
506         validForResourceTypes: *allResourceTypes
507     MURANO_PKG:
508         acceptedTypes:
509         validForResourceTypes: *allResourceTypes
510     OTHER:
511         acceptedTypes:
512         validForResourceTypes: 
513             - VFC
514             - CVFC
515             - CP
516             - VL
517             - VF
518             - VFCMT
519             - Abstract
520             - PNF
521     SNMP_POLL:
522         acceptedTypes:
523         validForResourceTypes: *allResourceTypes
524     SNMP_TRAP:
525         acceptedTypes:
526         validForResourceTypes: *allResourceTypes
527     GUIDE:
528         acceptedTypes:
529         validForResourceTypes:
530             - VF
531             - VFC
532             - CVFC
533     PNF_SW_INFORMATION:
534         acceptedTypes:
535             - yaml
536             - yml
537         validForResourceTypes:
538             - PNF
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     active: true
657     hosts: olsd004.wnsnet.com:3905
658     consumerGroup: asdc
659     consumerId: invalidMamaUser #mama - in Order To Consume Remove This String And Replace It With -> mama
660     timeoutMs: 15000
661     limit: 1
662     pollingInterval: 2
663     topic: com.sdc.23911-SDCforTestDev-v001
664     latitude: 32.109333
665     longitude: 34.855499
666     version: 1.0
667     serviceName: dmaap-v1.dev.dmaap.dt.saat.acsi.com/events
668     environment: TEST
669     partner: BOT_R
670     routeOffer: MR1
671     protocol: https
672     contenttype: application/json
673     dme2TraceOn: true
674     aftEnvironment: AFTUAT
675     aftDme2ConnectionTimeoutMs: 15000
676     aftDme2RoundtripTimeoutMs: 240000
677     aftDme2ReadTimeoutMs: 50000
678     dme2preferredRouterFilePath: DME2preferredRouter.txt 
679     timeLimitForNotificationHandleMs: 0
680     credential:
681         username: m09875@sdc.com
682         password: hmXYcznAljMSisdy8zgcag==
683         
684 dmeConfiguration:
685     dme2Search: DME2SEARCH
686     dme2Resolve: DME2RESOLVE
687
688 excludedPolicyTypesMapping:
689     SERVICE:
690       - a.b.c
691     VF:
692       - c.d.e
693     VFC:
694       - c.d.e
695
696 excludedGroupTypesMapping:
697     CR:
698        - org.openecomp.groups.VfModule
699        - org.openecomp.groups.heat.HeatStack
700        - tosca.groups.Root
701     VF:
702        - org.openecomp.groups.VfModule
703        - org.openecomp.groups.heat.HeatStack
704        - tosca.groups.Root
705     Service:
706        - org.openecomp.groups.VfModule
707        - org.openecomp.groups.heat.HeatStack
708        - tosca.groups.Root