Make Service base type optional
[sdc.git] / catalog-be / src / main / docker / backend / chef-repo / cookbooks / sdc-catalog-be / templates / default / BE-configuration.yaml.erb
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: <%= @catalog_ip %>
10
11 # catalog backend http port
12 beHttpPort: <%= @catalog_port %>
13
14 # catalog backend http context
15 beContext: /sdc/rest/config/get
16
17 # catalog backend protocol
18 <% if node[:disableHttp] -%>
19 beProtocol: https
20 <% else %>
21 beProtocol: http
22 <% end -%>
23
24 # catalog backend ssl port
25 beSslPort: <%= @ssl_port %>
26 version: 1.1.0
27 released: 2012-11-30
28 toscaConformanceLevel: 11.0
29 minToscaConformanceLevel: 3.0
30
31 janusGraphCfgFile: <%= node['cassandra']['janusgraph_config_file'] %>
32 janusGraphInMemoryGraph: false
33 janusGraphLockTimeout: 1800
34 # The interval to try and reconnect to JanusGraph DB when it is down during ASDC startup:
35 janusGraphReconnectIntervalInSeconds: 3
36
37 # The read timeout towards JanusGraph DB when health check is invoked:
38 janusGraphHealthCheckReadTimeout: 1
39
40 # The interval to try and reconnect to Elasticsearch when it is down during ASDC startup:
41
42 uebHealthCheckReconnectIntervalInSeconds: 15
43 uebHealthCheckReadTimeout: 4
44
45 # Protocols
46 protocols:
47    - http
48    - https
49
50 # Default imports
51 defaultImports:
52    - nodes:
53         file: nodes.yml
54    - datatypes:
55         file: data.yml
56    - capabilities:
57         file: capabilities.yml
58    - relationships:
59         file: relationships.yml
60    - groups:
61         file: groups.yml
62    - policies:
63         file: policies.yml
64    - annotations:
65         file: annotations.yml
66
67 # Global CSAR Import Files
68 globalCsarImports:
69   - annotations.yml
70   - artifacts.yml
71   - capabilities.yml
72   - data.yml
73   - groups.yml
74   - interfaces.yml
75   - nodes.yml
76   - policies.yml
77   - relationships.yml
78
79 # Users
80 users:
81     tom: passwd
82     bob: passwd
83
84 # access restriction
85 authCookie:
86   securityKey: "sdcaccessrestrictionsecureykey"
87   maxSessionTimeOut: 86400000
88   sessionIdleTimeOut: 3600000
89   cookieName: "AuthenticationCookie"
90   path: /
91   domain: ""
92   isHttpOnly: true
93   # redirect variable name from portal.properties file
94   redirectURL: ""
95   excludedUrls: [<%= node['access_restriction']['excluded_urls'] %>]
96   onboardingExcludedUrls: [<%= node['access_restriction']['excluded_urls_onboarding'] %>]
97
98 basicAuth:
99   enabled: <%= @basic_auth_flag %>
100   userName: <%= @user_name %>
101   userPass: <%= @user_pass %>
102   excludedUrls: "/sdc2/rest/healthCheck"
103
104 cassandraConfig:
105     cassandraHosts: [<%= @cassandra_ip %>]
106     cassandraPort: <%= @cassandra_port %>
107     localDataCenter: <%= @DC_NAME %>
108     reconnectTimeout : 30000
109     socketReadTimeout: <%= @socket_read_timeout %>
110     socketConnectTimeout: <%= @socket_connect_timeout %>
111     authenticate: true
112     username: <%= @cassandra_usr %>
113     password: <%= @cassandra_pwd %>
114     ssl: <%= @cassandra_ssl_enabled %>
115     truststorePath : <%= node['jetty']['truststore_path'] %>
116     truststorePassword : <%= @cassandra_truststore_password %>
117     keySpaces:
118         - { name: dox,           replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @REP_STRING %>']}
119         - { name: sdcaudit,      replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @REP_STRING %>']}
120         - { name: sdcartifact,   replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @REP_STRING %>']}
121         - { name: sdccomponent,  replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @REP_STRING %>']}
122         - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @REP_STRING %>']}
123
124
125 licenseTypes:
126    - User
127    - Installation
128    - CPU
129
130 #Deployment artifacts placeHolder
131 resourceTypes: &allResourceTypes
132   - VFC
133   - CP
134   - VL
135   - VF
136   - CR
137   - VFCMT
138   - Abstract
139   - CVFC
140   - Configuration
141   - ServiceProxy
142   - PNF
143
144 componentAllowedInstanceTypes:
145   Resource:
146     VF:
147       - VFC
148       - VF
149       - CR
150       - CP
151       - PNF
152       - CVFC
153       - VL
154       - Configuration
155       - ServiceProxy
156       - Abstract
157     CVFC:
158       - VFC
159       - VF
160       - CR
161       - CP
162       - PNF
163       - CVFC
164       - VL
165       - ServiceProxy
166       - Abstract
167     PNF:
168       - VF
169       - CR
170       - CP
171       - PNF
172       - CVFC
173       - VL
174       - Configuration
175       - ServiceProxy
176       - Abstract
177     CR:
178       - VF
179       - CR
180       - CP
181       - PNF
182       - CVFC
183       - VL
184       - Configuration
185       - ServiceProxy
186       - Abstract
187     VL:
188       - VL
189   Service:
190     "*":
191       - VF
192       - CR
193       - CP
194       - PNF
195       - CVFC
196       - VL
197       - Configuration
198       - ServiceProxy
199       - Abstract
200
201 artifacts:
202   - type: CONTROLLER_BLUEPRINT_ARCHIVE
203     categories:
204       - DEPLOYMENT
205     componentTypes:
206       - SERVICE
207       - RESOURCE
208     resourceTypes:
209       - VF
210       - PNF
211     acceptedTypes:
212       - zip
213   - type: HELM
214     categories:
215       - DEPLOYMENT
216     componentTypes:
217       - SERVICE
218       - RESOURCE
219     resourceTypes: *allResourceTypes
220     acceptedTypes:
221       - tgz
222   - type: YANG_XML
223     categories:
224       - DEPLOYMENT
225       - INFORMATIONAL
226     componentTypes:
227       - SERVICE
228       - RESOURCE
229     resourceTypes: *allResourceTypes
230     acceptedTypes:
231       - xml
232   - type: VNF_CATALOG
233     categories:
234       - DEPLOYMENT
235     componentTypes:
236       - SERVICE
237     resourceTypes:
238     acceptedTypes:
239       - xml
240   - type: MODEL_INVENTORY_PROFILE
241     categories:
242       - DEPLOYMENT
243     componentTypes:
244       - SERVICE
245     resourceTypes:
246     acceptedTypes:
247       - xml
248   - type: MODEL_QUERY_SPEC
249     categories:
250       - DEPLOYMENT
251     componentTypes:
252       - SERVICE
253     resourceTypes:
254     acceptedTypes:
255       - xml
256   - type: UCPE_LAYER_2_CONFIGURATION
257     categories:
258       - DEPLOYMENT
259     componentTypes:
260       - SERVICE
261     resourceTypes:
262     acceptedTypes:
263       - xml
264   #AAI Artifacts
265   - type: AAI_SERVICE_MODEL
266     categories:
267       - DEPLOYMENT
268     componentTypes:
269       - SERVICE
270     resourceTypes:
271     acceptedTypes:
272       - xml
273   - type: AAI_VF_MODULE_MODEL
274     categories:
275       - DEPLOYMENT
276     componentTypes:
277       - SERVICE
278     resourceTypes:
279     acceptedTypes:
280       - xml
281   - type: AAI_VF_INSTANCE_MODEL
282     categories:
283       - DEPLOYMENT
284     componentTypes:
285       - SERVICE
286     resourceTypes:
287     acceptedTypes:
288       - xml
289   #Plan
290   - type: PLAN
291     categories:
292       - DEPLOYMENT
293     componentTypes:
294       - SERVICE
295       - RESOURCE
296       - RESOURCE_INSTANCE
297     resourceTypes:
298       - VF
299       - VFC
300     acceptedTypes:
301       - xml
302   - type: WORKFLOW
303     categories:
304       - DEPLOYMENT
305     componentTypes:
306       - SERVICE
307       - RESOURCE
308     resourceTypes:
309       - VFC
310       - CP
311       - VL
312       - VF
313       - CR
314       - VFCMT
315       - Abstract
316       - CVFC
317       - PNF
318     acceptedTypes:
319   - type: HEAT
320     categories:
321       - DEPLOYMENT
322       - INFORMATIONAL
323     componentTypes:
324       - RESOURCE
325     resourceTypes: *allResourceTypes
326     acceptedTypes:
327       - yaml
328       - yml
329   - type: HEAT_VOL
330     categories:
331       - DEPLOYMENT
332     componentTypes:
333       - RESOURCE
334     resourceTypes: *allResourceTypes
335     acceptedTypes:
336       - yaml
337       - yml
338   - type: HEAT_NET
339     categories:
340       - DEPLOYMENT
341     componentTypes:
342       - RESOURCE
343     resourceTypes: *allResourceTypes
344     acceptedTypes:
345       - yaml
346       - yml
347   - type: HEAT_NESTED
348     categories:
349       - DEPLOYMENT
350     componentTypes:
351       - RESOURCE
352     resourceTypes: *allResourceTypes
353     acceptedTypes:
354       - yaml
355       - yml
356   - type: HEAT_ARTIFACT
357     categories:
358       - DEPLOYMENT
359     componentTypes:
360       - RESOURCE
361     resourceTypes: *allResourceTypes
362     acceptedTypes:
363   - type: CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT
364     categories:
365       - DEPLOYMENT
366     componentTypes:
367       - RESOURCE
368     resourceTypes: *allResourceTypes
369     acceptedTypes:
370       - zip
371       - tgz
372       - csar
373   - type: VNF_CATALOG
374     categories:
375       - DEPLOYMENT
376     componentTypes:
377       - RESOURCE
378     resourceTypes: *allResourceTypes
379     acceptedTypes:
380       - xml
381   - type: VF_LICENSE
382     categories:
383       - DEPLOYMENT
384     componentTypes:
385       - RESOURCE
386     resourceTypes: *allResourceTypes
387     acceptedTypes:
388       - xml
389   - type: VENDOR_LICENSE
390     categories:
391       - DEPLOYMENT
392     componentTypes:
393       - RESOURCE
394     resourceTypes: *allResourceTypes
395     acceptedTypes:
396       - xml
397   - type: MODEL_INVENTORY_PROFILE
398     categories:
399       - DEPLOYMENT
400     componentTypes:
401       - RESOURCE
402     resourceTypes: *allResourceTypes
403     acceptedTypes:
404       - xml
405   - type: MODEL_QUERY_SPEC
406     categories:
407       - DEPLOYMENT
408     componentTypes:
409       - RESOURCE
410     resourceTypes: *allResourceTypes
411     acceptedTypes:
412       - xml
413   - type: LIFECYCLE_OPERATIONS
414     categories:
415       - DEPLOYMENT
416     componentTypes:
417       - RESOURCE
418     resourceTypes:
419       - VF
420       - VFC
421     acceptedTypes:
422       - yaml
423       - yml
424   - type: VES_EVENTS
425     categories:
426       - DEPLOYMENT
427     componentTypes:
428       - RESOURCE
429       - RESOURCE_INSTANCE
430     resourceTypes:
431       - VFC
432       - CP
433       - VL
434       - VF
435       - CR
436       - VFCMT
437       - Abstract
438       - CVFC
439       - PNF
440     acceptedTypes:
441       - yaml
442       - yml
443   - type: PERFORMANCE_COUNTER
444     categories:
445       - DEPLOYMENT
446     componentTypes:
447       - RESOURCE
448       - RESOURCE_INSTANCE
449     resourceTypes: *allResourceTypes
450     acceptedTypes:
451       - csv
452   - type: APPC_CONFIG
453     categories:
454       - DEPLOYMENT
455     componentTypes:
456       - RESOURCE
457     resourceTypes:
458       - VF
459     acceptedTypes:
460   - type: DCAE_TOSCA
461     categories:
462       - DEPLOYMENT
463     componentTypes:
464       - RESOURCE
465     resourceTypes:
466       - VF
467       - VFCMT
468     acceptedTypes:
469       - yml
470       - yaml
471   - type: DCAE_JSON
472     categories:
473       - DEPLOYMENT
474     componentTypes:
475       - RESOURCE
476     resourceTypes:
477       - VF
478       - VFCMT
479     acceptedTypes:
480       - json
481   - type: DCAE_POLICY
482     categories:
483       - DEPLOYMENT
484     componentTypes:
485       - RESOURCE
486     resourceTypes:
487       - VF
488       - VFCMT
489     acceptedTypes:
490       - emf
491   - type: DCAE_DOC
492     categories:
493       - DEPLOYMENT
494     componentTypes:
495       - RESOURCE
496     resourceTypes:
497       - VF
498       - VFCMT
499     acceptedTypes:
500   - type: DCAE_EVENT
501     categories:
502       - DEPLOYMENT
503     componentTypes:
504       - RESOURCE
505     resourceTypes:
506       - VF
507       - VFCMT
508     acceptedTypes:
509   - type: AAI_VF_MODEL
510     categories:
511       - DEPLOYMENT
512     componentTypes:
513       - RESOURCE
514     resourceTypes:
515       - VF
516     acceptedTypes:
517       - xml
518   - type: AAI_VF_MODULE_MODEL
519     categories:
520       - DEPLOYMENT
521     componentTypes:
522       - RESOURCE
523     resourceTypes:
524       - VF
525     acceptedTypes:
526       - xml
527   - type: OTHER
528     categories:
529       - DEPLOYMENT
530       - INFORMATIONAL
531     componentTypes:
532       - RESOURCE
533     resourceTypes:
534       - VFC
535       - CVFC
536       - CP
537       - VL
538       - VF
539       - VFCMT
540       - Abstract
541       - PNF
542     acceptedTypes:
543   - type: SNMP_POLL
544     categories:
545       - DEPLOYMENT
546       - INFORMATIONAL
547     componentTypes:
548       - RESOURCE
549       - RESOURCE_INSTANCE
550     resourceTypes: *allResourceTypes
551     acceptedTypes:
552   - type: SNMP_TRAP
553     categories:
554       - DEPLOYMENT
555       - INFORMATIONAL
556     componentTypes:
557       - RESOURCE
558       - RESOURCE_INSTANCE
559     resourceTypes: *allResourceTypes
560     acceptedTypes:
561   - type: PM_DICTIONARY
562     categories:
563       - DEPLOYMENT
564     componentTypes:
565       - RESOURCE
566     resourceTypes:
567       - VF
568       - PNF
569     acceptedTypes:
570       - yaml
571       - yml
572   - type: YANG_MODULE
573     categories:
574       - DEPLOYMENT
575     componentTypes:
576       - RESOURCE
577     resourceTypes:
578       - VF
579       - PNF
580     acceptedTypes:
581       - yang
582   - type: ANSIBLE_PLAYBOOK
583     categories:
584       - DEPLOYMENT
585     componentTypes:
586       - RESOURCE
587     resourceTypes:
588       - VF
589       - PNF
590     acceptedTypes:
591       - yaml
592       - yml
593   - type: ONBOARDED_PACKAGE
594     categories:
595       - DEPLOYMENT
596     componentTypes:
597       - RESOURCE
598     resourceTypes:
599       - VF
600       - PNF
601     acceptedTypes:
602       - csar
603       - zip
604   - type: ETSI_PACKAGE
605     categories:
606       - DEPLOYMENT
607     componentTypes:
608       - RESOURCE
609     resourceTypes:
610       - VF
611       - PNF
612     acceptedTypes:
613       - csar
614       - zip
615   - type: HEAT_ENV
616     categories:
617       - DEPLOYMENT
618     componentTypes:
619       - RESOURCE_INSTANCE
620     resourceTypes:
621     acceptedTypes:
622       - env
623   - type: VF_MODULES_METADATA
624     categories:
625       - DEPLOYMENT
626     componentTypes:
627       - RESOURCE_INSTANCE
628     resourceTypes:
629     acceptedTypes:
630       - json
631   - type: DCAE_INVENTORY_TOSCA
632     categories:
633       - DEPLOYMENT
634     componentTypes:
635       - RESOURCE_INSTANCE
636     resourceTypes:
637     acceptedTypes:
638       - yml
639       - yaml
640   - type: DCAE_INVENTORY_JSON
641     categories:
642       - DEPLOYMENT
643     componentTypes:
644       - RESOURCE_INSTANCE
645     resourceTypes:
646     acceptedTypes:
647       - json
648   - type: DCAE_INVENTORY_POLICY
649     categories:
650       - DEPLOYMENT
651     componentTypes:
652       - RESOURCE_INSTANCE
653     resourceTypes:
654     acceptedTypes:
655       - emf
656   - type: DCAE_INVENTORY_DOC
657     categories:
658       - DEPLOYMENT
659     componentTypes:
660       - RESOURCE_INSTANCE
661     resourceTypes:
662     acceptedTypes:
663   - type: DCAE_INVENTORY_BLUEPRINT
664     categories:
665       - DEPLOYMENT
666     componentTypes:
667       - RESOURCE_INSTANCE
668     resourceTypes:
669     acceptedTypes:
670   - type: DCAE_INVENTORY_EVENT
671     categories:
672       - DEPLOYMENT
673     componentTypes:
674       - RESOURCE_INSTANCE
675     resourceTypes:
676     acceptedTypes:
677   - type: CHEF
678     categories:
679       - INFORMATIONAL
680     componentTypes:
681       - RESOURCE
682     resourceTypes: *allResourceTypes
683     acceptedTypes:
684   - type: PUPPET
685     categories:
686       - INFORMATIONAL
687     componentTypes:
688       - RESOURCE
689     resourceTypes: *allResourceTypes
690     acceptedTypes:
691   - type: SHELL
692     categories:
693       - INFORMATIONAL
694     componentTypes:
695       - RESOURCE
696     resourceTypes: *allResourceTypes
697     acceptedTypes:
698   - type: YANG
699     categories:
700       - INFORMATIONAL
701     componentTypes:
702       - RESOURCE
703     resourceTypes: *allResourceTypes
704     acceptedTypes:
705   - type: BPEL
706     categories:
707       - INFORMATIONAL
708     componentTypes:
709       - RESOURCE
710     resourceTypes: *allResourceTypes
711     acceptedTypes:
712   - type: DG_XML
713     categories:
714       - INFORMATIONAL
715     componentTypes:
716       - RESOURCE
717     resourceTypes: *allResourceTypes
718     acceptedTypes:
719   - type: MURANO_PKG
720     categories:
721       - INFORMATIONAL
722     componentTypes:
723       - RESOURCE
724     resourceTypes: *allResourceTypes
725     acceptedTypes:
726   - type: PNF_SW_INFORMATION
727     categories:
728       - INFORMATIONAL
729     componentTypes:
730       - RESOURCE
731     resourceTypes:
732       - PNF
733     acceptedTypes:
734       - yaml
735       - yml
736   - type: GUIDE
737     categories:
738       - INFORMATIONAL
739     componentTypes:
740       - RESOURCE
741     resourceTypes:
742       - VF
743       - VFC
744       - CVFC
745       - PNF
746     acceptedTypes:
747       - yaml
748       - yml
749   - type: FLOW
750     categories:
751       - DEPLOYMENT
752     componentTypes:
753       - SERVICE
754     resourceTypes: *allResourceTypes
755     acceptedTypes:
756   - type: SHELL_SCRIPT
757     categories:
758       - DEPLOYMENT
759     componentTypes:
760       - SERVICE
761       - SERVICE_INSTANCE
762       - RESOURCE
763       - RESOURCE_INSTANCE
764     resourceTypes: *allResourceTypes
765     acceptedTypes:
766       - sh
767   - type: TOSCA_CSAR
768     categories:
769       - TOSCA
770     componentTypes:
771     resourceTypes:
772     acceptedTypes:
773       - csar
774   - type: TOSCA_TEMPLATE
775     categories:
776       - TOSCA
777     componentTypes:
778     resourceTypes:
779     acceptedTypes:
780       - yml
781       - yaml
782   - type: NETWORK_CALL_FLOW
783     categories:
784     componentTypes:
785     resourceTypes:
786     acceptedTypes:
787   - type: ICON
788     categories:
789     componentTypes:
790     resourceTypes:
791     acceptedTypes:
792
793 deploymentResourceArtifacts:
794
795 deploymentResourceInstanceArtifacts:
796   heatEnv:
797       displayName: "HEAT ENV"
798       type: HEAT_ENV
799       description: "Auto-generated HEAT Environment deployment artifact"
800       fileExtension: "env"
801   VfHeatEnv:
802       displayName: "VF HEAT ENV"
803       type: HEAT_ENV
804       description: "VF Auto-generated HEAT Environment deployment artifact"
805       fileExtension: "env"
806
807 #tosca artifacts placeholders
808 toscaArtifacts:
809   assetToscaTemplate:
810       artifactName: -template.yml
811       displayName: Tosca Template
812       type: TOSCA_TEMPLATE
813       description: TOSCA representation of the asset
814   assetToscaCsar:
815       artifactName: -csar.csar
816       displayName: Tosca Model
817       type: TOSCA_CSAR
818       description: TOSCA definition package of the asset
819
820 #Informational artifacts placeHolder
821 excludeResourceCategory:
822   - Generic
823 excludeResourceType:
824   - PNF
825   - CR
826 informationalResourceArtifacts:
827   features:
828       displayName: Features
829       type: OTHER
830   capacity:
831       displayName: Capacity
832       type: OTHER
833   vendorTestResult:
834       displayName: Vendor Test Result
835       type: OTHER
836   testScripts:
837       displayName: Test Scripts
838       type: OTHER
839   CloudQuestionnaire:
840       displayName: Cloud Questionnaire (completed)
841       type: OTHER
842   HEATTemplateFromVendor:
843       displayName: HEAT Template from Vendor
844       type: HEAT
845   resourceSecurityTemplate:
846       displayName: Resource Security Template
847       type: OTHER
848
849 excludeServiceCategory:
850
851 informationalServiceArtifacts:
852   serviceArtifactPlan:
853       displayName: Service Artifact Plan
854       type: OTHER
855   summaryOfImpactsToECOMPElements:
856       displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
857       type: OTHER
858   controlLoopFunctions:
859       displayName: Control Loop Functions
860       type: OTHER
861   dimensioningInfo:
862       displayName: Dimensioning Info
863       type: OTHER
864   affinityRules:
865       displayName: Affinity Rules
866       type: OTHER
867   operationalPolicies:
868       displayName: Operational Policies
869       type: OTHER
870   serviceSpecificPolicies:
871       displayName: Service-specific Policies
872       type: OTHER
873   engineeringRules:
874       displayName: Engineering Rules (ERD)
875       type: OTHER
876   distributionInstructions:
877       displayName: Distribution Instructions
878       type: OTHER
879   certificationTestResults:
880       displayName: TD Certification Test Results
881       type: OTHER
882   deploymentVotingRecord:
883       displayName: Deployment Voting Record
884       type: OTHER
885   serviceQuestionnaire:
886       displayName: Service Questionnaire
887       type: OTHER
888   serviceSecurityTemplate:
889       displayName: Service Security Template
890       type: OTHER
891
892 serviceApiArtifacts:
893   configuration:
894       displayName: Configuration
895       type: OTHER
896   instantiation:
897       displayName: Instantiation
898       type: OTHER
899   monitoring:
900       displayName: Monitoring
901       type: OTHER
902   reporting:
903       displayName: Reporting
904       type: OTHER
905   logging:
906       displayName: Logging
907       type: OTHER
908   testing:
909       displayName: Testing
910       type: OTHER
911
912
913 additionalInformationMaxNumberOfKeys: 50
914
915 systemMonitoring:
916     enabled: false
917     isProxy: false
918     probeIntervalInSeconds: 15
919 heatArtifactDeploymentTimeout:
920   defaultMinutes: 30
921   minMinutes: 1
922   maxMinutes: 120
923
924 unLoggedUrls:
925    - /sdc2/rest/monitoring
926    - /sdc2/rest/healthCheck
927
928 cleanComponentsConfiguration:
929     cleanIntervalInMinutes: 1440
930     componentsToClean:
931        - Resource
932        - Service
933
934 artifactsIndex: resources
935
936 heatEnvArtifactHeader: ""
937 heatEnvArtifactFooter: ""
938
939 onboarding:
940     host: <%= node['ONBOARDING_BE_VIP'] %>
941     <% if node[:disableHttp] -%>
942     protocol: https
943     port: <%= node['ONBOARDING_BE'][:https_port] %>
944     <% else %>
945     protocol: http
946     port: <%= node['ONBOARDING_BE'][:http_port] %>
947     <% end -%>
948     getVspPackageUri: "/onboarding-api/v1.0/vendor-software-products/packages/%s?versionId=%s" # /onboarding-api/v1.0/vendor-software-products/packages/:vspId?versionId=:vspVersionId
949     getLatestVspPackageUri: "/onboarding-api/v1.0/vendor-software-products/packages/%s" # /onboarding-api/v1.0/vendor-software-products/packages/:vspId
950     getVspUri: "/onboarding-api/v1.0/vendor-software-products/%s/versions/%s" # /onboarding-api/v1.0/vendor-software-products/:vspId/versions/:vspVersionId
951     getLatestVspUri: "/onboarding-api/v1.0/vendor-software-products/%s" # /onboarding-api/v1.0/vendor-software-products/:vspId
952     healthCheckUri: "/onboarding-api/v1.0/healthcheck"
953
954 # #GSS IDNS
955 switchoverDetector:
956     gBeFqdn:
957     gFeFqdn:
958     beVip: 1.2.3.4
959     feVip: 1.2.3.4
960     beResolveAttempts: 3
961     feResolveAttempts: 3
962     enabled: false
963     interval: 60
964     changePriorityUser: ecompasdc
965     changePriorityPassword: ecompasdc123
966     publishNetworkUrl:
967     publishNetworkBody: '{"note":"comment"}'
968     groups:
969       beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
970       feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
971
972 applicationL1Cache:
973     datatypes:
974         enabled: true
975         firstRunDelay: 10
976         pollIntervalInSec: 60
977
978 applicationL2Cache:
979     enabled: false
980     catalogL1Cache:
981         enabled: false
982         resourcesSizeInCache: 300
983         servicesSizeInCache: 200
984         productsSizeInCache: 100
985     queue:
986         syncIntervalInSecondes: 43200
987         waitOnShutDownInMinutes: 10
988         numberOfCacheWorkers: 4
989
990 toscaValidators:
991     stringMaxLength: 2500
992
993 disableAudit: false
994
995 consumerBusinessLogic: true
996
997 vfModuleProperties:
998     min_vf_module_instances:
999         forBaseModule: 1
1000         forNonBaseModule: 0
1001     max_vf_module_instances:
1002         forBaseModule: 1
1003         forNonBaseModule:
1004     initial_count:
1005         forBaseModule: 1
1006         forNonBaseModule: 0
1007     vf_module_type:
1008         forBaseModule: Base
1009         forNonBaseModule: Expansion
1010
1011 genericAssetNodeTypes:
1012   VFC: org.openecomp.resource.abstract.nodes.VFC
1013   CVFC: org.openecomp.resource.abstract.nodes.VFC
1014   VF : org.openecomp.resource.abstract.nodes.VF
1015   CR : org.openecomp.resource.abstract.nodes.CR
1016   PNF: org.openecomp.resource.abstract.nodes.PNF
1017   Service: org.openecomp.resource.abstract.nodes.service
1018   ETSI NFV Network Service: tosca.nodes.nfv.NS
1019
1020 # Defines the base types for Services
1021 # <category name>:
1022 #   required: <boolean> //if the base type is mandatory or not
1023 #   baseTypes: <list of TOSCA types> //the base types. Required if the base type is required.
1024 #                                      If not provided, the category will have no base type.
1025 serviceBaseNodeTypes:
1026   ETSI NFV Network Service:
1027     required: true
1028     baseTypes:
1029       - tosca.nodes.nfv.NS
1030
1031 workloadContext: Production
1032
1033 environmentContext:
1034     defaultValue: General_Revenue-Bearing
1035     validValues:
1036        - Critical_Revenue-Bearing
1037        - Vital_Revenue-Bearing
1038        - Essential_Revenue-Bearing
1039        - Important_Revenue-Bearing
1040        - Needed_Revenue-Bearing
1041        - Useful_Revenue-Bearing
1042        - General_Revenue-Bearing
1043        - Critical_Non-Revenue
1044        - Vital_Non-Revenue
1045        - Essential_Non-Revenue
1046        - Important_Non-Revenue
1047        - Needed_Non-Revenue
1048        - Useful_Non-Revenue
1049        - General_Non-Revenue
1050
1051 gabConfig:
1052   - artifactType: 'VES_EVENTS'
1053     pathsAndNamesDefinitions:
1054       -
1055         friendlyName: "Action"
1056         path: "event.action[2]"
1057         searchable: true
1058       -
1059         friendlyName: "Comment"
1060         path: "event.comment"
1061         searchable: true
1062       -
1063         friendlyName: "Alarm Additional Information"
1064         path: "event.structure.faultFields.structure.alarmAdditionalInformation.comment"
1065         searchable: true
1066   - artifactType: 'PM_DICTIONARY'
1067     pathsAndNamesDefinitions:
1068       -
1069         friendlyName: "measType"
1070         path: "pmMetaData.pmFields.measType"
1071         searchable: true
1072       -
1073         friendlyName: "measDescription"
1074         path: "pmMetaData.pmFields.measDescription"
1075         searchable: true
1076       -
1077         friendlyName: "measCondition"
1078         path: "pmMetaData.pmFields.measCondition"
1079         searchable: false
1080       -
1081         friendlyName: "measResultUnits"
1082         path: "pmMetaData.pmFields.measResultUnits"
1083         searchable: false
1084       -
1085         friendlyName: "measResultRange"
1086         path: "pmMetaData.pmFields.measResultRange"
1087         searchable: false
1088       -
1089         friendlyName: "measObjClass"
1090         path: "pmMetaData.pmFields.measObjClass"
1091         searchable: true
1092       -
1093         friendlyName: "measCollectionMethod"
1094         path: "pmMetaData.pmFields.measCollectionMethod"
1095         searchable: false
1096       -
1097         friendlyName: "measInfoId"
1098         path: "pmMetaData.pmFields.measInfoId"
1099         searchable: true
1100       -
1101         friendlyName: "iMeasInfoId"
1102         path: "pmMetaData.pmFields.iMeasInfoId"
1103         searchable: false
1104
1105 dmaapConsumerConfiguration:
1106     active: <%= @dmaap_active %>
1107     hosts: localhost:3905
1108     consumerGroup: sdc
1109     consumerId: mama
1110     timeoutMs: 15000
1111     limit: 1
1112     pollingInterval: 2
1113     topic: topic
1114     latitude: 32.109333
1115     longitude: 34.855499
1116     version: 1.0
1117     serviceName: localhost/events
1118     environment: TEST
1119     partner: BOT_R
1120     routeOffer: MR1
1121     protocol: https
1122     contenttype: application/json
1123     dme2TraceOn: true
1124     aftEnvironment: AFTUAT
1125     aftDme2ConnectionTimeoutMs: 15000
1126     aftDme2RoundtripTimeoutMs: 240000
1127     aftDme2ReadTimeoutMs: 50000
1128     dme2preferredRouterFilePath: DME2preferredRouter.txt
1129     timeLimitForNotificationHandleMs: 120000
1130     credential:
1131         username: user
1132         password:
1133     aftDme2SslEnable: true
1134     aftDme2ClientKeystore: <%= node['jetty']['truststore_path'] %>
1135     aftDme2ClientKeystorePassword: ""
1136     aftDme2ClientSslCertAlias: certman
1137
1138 dmaapProducerConfiguration:
1139     active: true
1140     hosts: <%= node['DMAAP']['producer']['host']%>
1141     consumerGroup: sdc-<%= node.chef_environment %>-<%= node['DMAAP']['random_id'] %>
1142     consumerId: sdc-<%= node.chef_environment %>1-<%= node['DMAAP']['random_id'] %>
1143     timeoutMs: 15000
1144     limit: 1
1145     pollingInterval: 2
1146     topic: <%= node['DMAAP']['producer']['topic'] %>
1147     latitude: 32.109333
1148     longitude: 34.855499
1149     version: 1.0
1150     serviceName: <%= node['DMAAP']['producer']['serviceName'] %>
1151     environment: <%= node['DMAAP']['producer']['environment'] %>
1152     partner: BOT_R
1153     routeOffer: MR1
1154     protocol: <%= node['http_protocol'] %>
1155     contenttype: application/json
1156     dme2TraceOn: true
1157     aftEnvironment: <%= node['DMAAP']['producer']['aftEnvironment']%>
1158     aftDme2ConnectionTimeoutMs: 15000
1159     aftDme2RoundtripTimeoutMs: 240000
1160     aftDme2ReadTimeoutMs: 50000
1161     dme2preferredRouterFilePath: <%= node['DMAAP']['producer']['dme2preferredRouterFilePath'] %>
1162     timeLimitForNotificationHandleMs: 120000
1163     credential:
1164         username: <%= node['DMAAP']['producer']['username'] %>
1165         password: <%= node['DMAAP']['producer']['password'] %>
1166     aftDme2SslEnable: true
1167     aftDme2ClientKeystore: <%= node['jetty']['truststore_path'] %>
1168     aftDme2ClientKeystorePassword: <%= node['jetty']['dmaap_truststore_pwd'] %>
1169     aftDme2ClientSslCertAlias: certman
1170
1171
1172 # ToDo: AF - had to remove due to configuration laod class failure
1173 #dmeConfiguration:
1174 #    lookupUriFormat: "http://DME2RESOLVE/service=%s/version=1.0.0/envContext=%s/routeOffer=DEFAULT"
1175 #    dme2Search: DME2SEARCH
1176 #    dme2Resolve: DME2RESOLVE
1177
1178 excludedPolicyTypesMapping:
1179    # VF:
1180     #  - a.b.c
1181     #  - c.d.e
1182     #CR:
1183     #  - x.y.z
1184
1185 excludedGroupTypesMapping:
1186     CR:
1187        - org.openecomp.groups.VfModule
1188        - org.openecomp.groups.heat.HeatStack
1189        - org.openecomp.groups.Group
1190        - tosca.groups.Root
1191     PNF:
1192        - org.openecomp.groups.VfModule
1193        - org.openecomp.groups.heat.HeatStack
1194        - org.openecomp.groups.Group
1195        - tosca.groups.Root
1196     VF:
1197        - org.openecomp.groups.VfModule
1198        - org.openecomp.groups.heat.HeatStack
1199        - org.openecomp.groups.Group
1200        - tosca.groups.Root
1201     Service:
1202        - org.openecomp.groups.VfModule
1203        - org.openecomp.groups.heat.HeatStack
1204        - org.openecomp.groups.Group
1205        - tosca.groups.Root
1206
1207 healthStatusExclude:
1208    - DE
1209    - DMAAP
1210    - DMAAP_PRODUCER
1211    - ON_BOARDING
1212    - DCAE
1213    - PORTAL
1214    - External API
1215
1216 #Auto Healing
1217 enableAutoHealing: false
1218 appVersion: <%= @app_version %>
1219
1220 artifactGeneratorConfig: Artifact-Generator.properties
1221 resourcesForUpgrade:
1222  8.0:
1223   - org.openecomp.resource.cp.extCP
1224   - tosca.nodes.network.Network
1225   - tosca.nodes.network.Port
1226   - org.openecomp.resource.cp.nodes.network.SubInterface
1227 skipUpgradeFailedVfs: true
1228 skipUpgradeVSPs: true
1229 autoHealingOwner: jh0003
1230 supportAllottedResourcesAndProxy: true
1231 deleteLockTimeoutInSeconds: 60
1232 maxDeleteComponents: 10
1233
1234 # Cadi filter (access restriction) Parameters
1235 aafNamespace:  <%= node['aafNamespace'] %>
1236 aafAuthNeeded:  <%= node['access_restriction']['aafAuthNeeded'] %>
1237
1238 cadiFilterParams:
1239     AFT_LATITUDE:  "32.780140"
1240     AFT_LONGITUDE: "-96.800451"
1241     hostname: <%= node['BE_VIP'] %>
1242     aaf_id: <%= node['access_restriction']['aaf_id'] %>
1243     aaf_env: <%= node['access_restriction']['aaf_env'] %>
1244     aaf_url: <%= node['access_restriction']['aaf_url'] %>
1245     csp_domain: <%= node['access_restriction']['csp_domain'] %>
1246     cadi_keyfile: <%= node['access_restriction']['cadi_keyfile'] %>
1247     aaf_password: <%= node['access_restriction']['aaf_password'] %>
1248     cadi_loglevel: <%= node['access_restriction']['cadi_loglevel'] %>
1249     AFT_ENVIRONMENT: <%= node['access_restriction']['AFT_ENVIRONMENT'] %>
1250     cadiX509Issuers: <%= node['access_restriction']['cadiX509Issuers'] %>
1251     cadi_truststore: <%= node['access_restriction']['cadi_truststore'] %>
1252     cadi_truststore_password: <%= node['access_restriction']['cadi_truststore_password'] %>
1253
1254 # This configuration entry lists all node type names prefix that shall be allowed on SDC.
1255 definedResourceNamespace:
1256   - org.openecomp.resource.
1257
1258 # This configuration entry lists all Directives values that shall be allowed on SDC.
1259 directives:
1260   - select
1261   - selectable
1262   - substitute
1263   - substitutable