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