Make Service base type optional
[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 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 janus graph 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 uebHealthCheckReconnectIntervalInSeconds: 15
40 uebHealthCheckReadTimeout: 4
41
42 # Protocols
43 protocols:
44    - http
45    - https
46
47 # Default imports
48 defaultImports:
49    - nodes:
50         file: nodes.yml
51    - datatypes:
52         file: data.yml
53    - capabilities:
54         file: capabilities.yml
55    - relationships:
56         file: relationships.yml
57    - groups:
58         file: groups.yml
59    - policies:
60         file: policies.yml
61
62 # Users
63 users:
64     tom: passwd
65     bob: passwd
66
67 neo4j:
68     host: neo4jhost
69     port: 7474
70     user: neo4j
71     password: "12345"
72
73 cassandraConfig:
74     cassandraHosts: ['localhost']
75     localDataCenter: datacenter1
76     reconnectTimeout : 30000
77     authenticate: false
78     username: koko
79     password: bobo
80     ssl: false
81     truststorePath : /path/path
82     truststorePassword : 123123
83     keySpaces:
84         - { name: sdcaudit, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
85         - { name: sdcartifact, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
86         - { name: sdccomponent, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
87         - { name: sdcrepository, replicationStrategy: SimpleStrategy, replicationInfo: ['1']}
88
89 licenseTypes:
90    - User
91    - Installation
92    - CPU
93
94 #Deployment artifacts placeHolder
95 resourceTypes: &allResourceTypes
96   - VFC
97   - CP
98   - VL
99   - VF
100   - CR
101   - VFCMT
102   - Abstract
103   - CVFC
104   - Configuration
105   - ServiceProxy
106   - PNF
107
108 componentAllowedInstanceTypes:
109   Resource:
110     VF:
111       - VFC
112       - VF
113       - CR
114       - CP
115       - PNF
116       - CVFC
117       - VL
118       - Configuration
119       - ServiceProxy
120       - Abstract
121     CVFC:
122       - VFC
123       - VF
124       - CR
125       - CP
126       - PNF
127       - CVFC
128       - VL
129       - ServiceProxy
130       - Abstract
131     PNF:
132       - VF
133       - CR
134       - CP
135       - PNF
136       - CVFC
137       - VL
138       - Configuration
139       - ServiceProxy
140       - Abstract
141     CR:
142       - VF
143       - CR
144       - CP
145       - PNF
146       - CVFC
147       - VL
148       - Configuration
149       - ServiceProxy
150       - Abstract
151     VL:
152       - VL
153   Service:
154     "*":
155       - VF
156       - CR
157       - CP
158       - PNF
159       - CVFC
160       - VL
161       - Configuration
162       - ServiceProxy
163       - Abstract
164
165 # validForResourceTypes usage
166 #     validForResourceTypes:
167 #        - VF
168 #        - VL
169 deploymentResourceArtifacts:
170 #  heat:
171 #      displayName: "Base HEAT Template"
172 #      type: HEAT
173 #      validForResourceTypes: *allResourceTypes
174 #  heatVol:
175 #      displayName: "Volume HEAT Template"
176 #      type: HEAT_VOL
177 #      validForResourceTypes: *allResourceTypes
178 #  heatNet:
179 #      displayName: "Network HEAT Template"
180 #      type: HEAT_NET
181 #      validForResourceTypes: *allResourceTypes
182
183 deploymentResourceInstanceArtifacts:
184   heatEnv:
185       displayName: "HEAT ENV"
186       type: HEAT_ENV
187       description: "Auto-generated HEAT Environment deployment artifact"
188       fileExtension: "env"
189   VfHeatEnv:
190       displayName: "VF HEAT ENV"
191       type: HEAT_ENV
192       description: "VF Auto-generated HEAT Environment deployment artifact"
193       fileExtension: "env"
194
195 #tosca artifacts placeholders
196 toscaArtifacts:
197   assetToscaTemplate:
198       artifactName: -template.yml
199       displayName: Tosca Template
200       type: TOSCA_TEMPLATE
201       description: TOSCA representation of the asset
202   assetToscaCsar:
203       artifactName: -csar.csar
204       displayName: Tosca Model
205       type: TOSCA_CSAR
206       description: TOSCA definition package of the asset
207
208
209 #Informational artifacts placeHolder
210 excludeResourceCategory:
211   - Generic
212 excludeResourceType:
213   - PNF  
214 informationalResourceArtifacts:
215   features:
216       displayName: Features
217       type: OTHER
218   capacity:
219       displayName: Capacity
220       type: OTHER
221   vendorTestResult:
222       displayName: Vendor Test Result
223       type: OTHER
224   testScripts:
225       displayName: Test Scripts
226       type: OTHER
227   CloudQuestionnaire:
228       displayName: Cloud Questionnaire (completed)
229       type: OTHER
230   HEATTemplateFromVendor:
231       displayName: HEAT Template from Vendor
232       type: HEAT
233   resourceSecurityTemplate:
234       displayName: Resource Security Template
235       type: OTHER
236
237 excludeServiceCategory:
238
239 informationalServiceArtifacts:
240   serviceArtifactPlan:
241       displayName: Service Artifact Plan
242       type: OTHER
243   summaryOfImpactsToECOMPElements:
244       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
245       type: OTHER
246   controlLoopFunctions:
247       displayName: Control Loop Functions
248       type: OTHER
249   dimensioningInfo:
250       displayName: Dimensioning Info
251       type: OTHER
252   affinityRules:
253       displayName: Affinity Rules
254       type: OTHER
255   operationalPolicies:
256       displayName: Operational Policies
257       type: OTHER
258   serviceSpecificPolicies:
259       displayName: Service-specific Policies
260       type: OTHER
261   engineeringRules:
262       displayName: Engineering Rules (ERD)
263       type: OTHER
264   distributionInstructions:
265       displayName: Distribution Instructions
266       type: OTHER
267   certificationTestResults:
268       displayName: TD Certification Test Results
269       type: OTHER
270   deploymentVotingRecord:
271       displayName: Deployment Voting Record
272       type: OTHER
273   serviceQuestionnaire:
274       displayName: Service Questionnaire
275       type: OTHER
276   serviceSecurityTemplate:
277       displayName: Service Security Template
278       type: OTHER
279
280 serviceApiArtifacts:
281   configuration:
282       displayName: Configuration
283       type: OTHER
284   instantiation:
285       displayName: Instantiation
286       type: OTHER
287   monitoring:
288       displayName: Monitoring
289       type: OTHER
290   reporting:
291       displayName: Reporting
292       type: OTHER
293   logging:
294       displayName: Logging
295       type: OTHER
296   testing:
297       displayName: Testing
298       type: OTHER
299
300 additionalInformationMaxNumberOfKeys: 50
301
302 systemMonitoring:
303     enabled: false
304     isProxy: false
305     probeIntervalInSeconds: 15
306
307 heatArtifactDeploymentTimeout:
308   defaultMinutes: 30
309   minMinutes: 1
310   maxMinutes: 120
311
312 unLoggedUrls:
313    - /sdc2/rest/healthCheck
314
315 cleanComponentsConfiguration:
316     cleanIntervalInMinutes: 1440
317     componentsToClean:
318        - Resource
319        - Service
320
321 artifactsIndex: resources
322
323 heatEnvArtifactHeader: ""
324 heatEnvArtifactFooter: ""
325
326 onboarding:
327     protocol: http
328     host: localhost
329     port: 8080
330     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
331
332
333 switchoverDetector:
334     gBeFqdn: AIO-BE.ecomp.idns.cip.com
335     gFeFqdn: AIO-FE.ecomp.idns.cip.com
336     beVip: 0.0.0.0
337     feVip: 0.0.0.0
338     beResolveAttempts: 3
339     feResolveAttempts: 3
340     enabled: false
341     interval: 60
342     changePriorityUser: ecompasdc
343     changePriorityPassword: ecompasdc123
344     publishNetworkUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/update_network?user=root"
345     publishNetworkBody: '{"note":"publish network"}'
346     groups:
347       beSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-BE.ecomp.idns.com?user=root",
348                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"}'}
349       feSet: { changePriorityUrl: "http://xxx.com/crt/CipDomain.ECOMP-ASDC-DEVST/config/sites/AIO-FE.ecomp.idns.com?user=root",
350                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"}'}
351
352 applicationL1Cache:
353     datatypes:
354         enabled: true
355         firstRunDelay: 10
356         pollIntervalInSec: 60
357
358 applicationL2Cache:
359     enabled: true
360     catalogL1Cache:
361         enabled: true
362         resourcesSizeInCache: 300
363         servicesSizeInCache: 200
364         productsSizeInCache: 100
365     queue:
366         syncIntervalInSecondes: 43200
367         waitOnShutDownInMinutes: 10
368         numberOfCacheWorkers: 4
369
370 toscaValidators:
371     stringMaxLength: 2500
372
373 disableAudit: false
374
375 vfModuleProperties:
376     min_vf_module_instances:
377         forBaseModule: 1
378         forNonBaseModule: 0
379     max_vf_module_instances:
380         forBaseModule: 1
381         forNonBaseModule:
382     initial_count:
383         forBaseModule: 1
384         forNonBaseModule: 0
385     vf_module_type:
386         forBaseModule: Base
387         forNonBaseModule: Expansion
388
389 genericAssetNodeTypes:
390   VFC: org.openecomp.resource.abstract.nodes.VFC
391   CVFC: org.openecomp.resource.abstract.nodes.VFC
392   VF : org.openecomp.resource.abstract.nodes.VF
393   PNF: org.openecomp.resource.abstract.nodes.PNF
394   Service: org.openecomp.resource.abstract.nodes.service
395   
396 serviceBaseNodeTypes:
397   CategoryA:
398     required: true
399     baseTypes:
400       - org.openecomp.resource.abstract.nodes.A
401   CategoryB:
402     required: false
403   CategoryC:
404     required: false
405     baseTypes:
406       - org.openecomp.resource.abstract.nodes.C1
407       - org.openecomp.resource.abstract.nodes.C2
408
409 workloadContext: Production
410 environmentContext:
411     defaultValue: General_Revenue-Bearing
412     validValues:
413        - Critical_Revenue-Bearing
414        - Vital_Revenue-Bearing
415        - Essential_Revenue-Bearing
416        - Important_Revenue-Bearing
417        - Needed_Revenue-Bearing
418        - Useful_Revenue-Bearing
419        - General_Revenue-Bearing
420        - Critical_Non-Revenue
421        - Vital_Non-Revenue
422        - Essential_Non-Revenue
423        - Important_Non-Revenue
424        - Needed_Non-Revenue
425        - Useful_Non-Revenue
426        - General_Non-Revenue
427
428 dmaapConsumerConfiguration:
429     hosts: olsd004.wnsnet.attws.com:3905
430     consumerGroup: asdc
431     consumerId: invalidMamaUser #mama - in Order To Consume Remove This String And Replace It With -> mama
432     timeoutMs: 15000
433     limit: 1
434     pollingInterval: 2
435     topic: com.att.sdc.23911-SDCforTestDev-v001
436     latitude: 32.109333
437     longitude: 34.855499
438     version: 1.0
439     serviceName: dmaap-v1.dev.dmaap.dt.saat.acsi.att.com/events
440     environment: TEST
441     partner: BOT_R
442     routeOffer: MR1
443     protocol: https
444     contenttype: application/json
445     dme2TraceOn: true
446     aftEnvironment: AFTUAT
447     aftDme2ConnectionTimeoutMs: 15000
448     aftDme2RoundtripTimeoutMs: 240000
449     aftDme2ReadTimeoutMs: 50000
450     dme2preferredRouterFilePath: DME2preferredRouter.txt 
451     timeLimitForNotificationHandleMs: 0
452     credential:
453         username: m09875@sdc.att.com
454         password: hmXYcznAljMSisdy8zgcag==
455         
456 dmeConfiguration:
457     lookupUriFormat: "http://DME2RESOLVE/service=%s/version=1.0.0/envContext=%s/routeOffer=DEFAULT"