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