70352cda6e832d561153b1a025ef891dd11ba917
[sdc.git] / docs / configuration.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3
4 =============
5 Configuration
6 =============
7
8 .. contents::
9    :depth: 3
10 ..
11
12 Global Configuration
13 ====================
14
15 environment.json
16 ----------------
17
18 ::
19
20     {
21         "name": "xxx",
22         "description": "OpenSource-xxx",
23         "cookbook_versions": {
24             "Deploy-SDandC": "= 1.0.0"
25         },
26         "json_class": "Chef::Environment",
27         "chef_type": "environment",
28         "default_attributes": {
29             "CS_VIP": "yyy",
30             "BE_VIP": "yyy",
31             "FE_VIP": "yyy",
32             "ES_VIP": "yyy",
33             "interfaces": {
34                 "application": "eth0",
35                 "private": "eth1"
36             },
37             "ECompP": {
38                 "ecomp_rest_url": "http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi",
39                 "ueb_url_list": "10.0.11.1,10.0.11.1",
40                 "app_secret": "XftIATw9Jr3VzAcPqt3NnJOu",
41                 "app_key": "x9UfO7JsDn8BESVX",
42                 "inbox_name": "ECOMP-PORTAL-INBOX",
43                 "ecomp_redirect_url": "http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm",
44                 "app_topic_name": "ECOMP-PORTAL-OUTBOX-SDC1",
45                 "decryption_key": "AGLDdG4D04BKm2IxIWEr8o=="
46             },
47             "UEB": {
48                 "PublicKey": "iPIxkpAMI8qTcQj8",
49                 "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
50                 "fqdn": ["10.0.11.1", "10.0.11.1"]
51             },
52             "Nodes": {
53                 "CS": "yyy",
54                 "BE": "yyy",
55                 "FE": "yyy",
56                 "ES": "yyy"
57             }
58         },
59         "override_attributes": {
60             "FE": {
61                 "http_port": "8181",
62                 "https_port": "9443"
63             },
64             "BE": {
65                 "http_port": "8080",
66                 "https_port": "8443"
67             },
68             "elasticsearch": {
69                 "cluster_name": "SDC-ES-",
70                 "ES_path_home": "/usr/share/elasticsearch",
71                 "ES_path_data": "/usr/share/elasticsearch/data",
72                 "num_of_replicas": "0",
73                 "num_of_shards": "1"
74             },
75             "cassandra": {
76                 "concurrent_reads": "32",
77                 "num_tokens": "256",
78                 "data_dir": "/var/lib/cassandra/data",
79                 "hinted_handoff_enabled": "true",
80                 "cassandra_user": "asdc_user",
81                 "cassandra_password": "Aa1234%^!",
82                 "concurrent_writes": "32",
83                 "cluster_name": "SDC-CS-",
84                 "multithreaded_compaction": "false",
85                 "cache_dir": "/var/lib/cassandra/saved_caches",
86                 "log_file": "/var/lib/cassandra/log/system.log",
87                 "phi_convict_threshold": "8",
88                 "commitlog_dir": "/var/lib/cassandra/commitlog"
89             }
90         }
91     }
92
93 Backend Configurations
94 ======================
95
96 BE-configuration.yaml
97 ---------------------
98
99 ::
100
101     # Request headers for identification of the user that made the request
102     identificationHeaderFields:
103     - HTTP_IV_USER
104     - HTTP_CSP_FIRSTNAME
105     - HTTP_CSP_LASTNAME
106     - HTTP_IV_REMOTE_ADDRESS
107     - HTTP_CSP_WSTYPE
108     
109     # Catalog backend hostname
110     beFqdn: <%= @host_ip %>
111     
112     # Catalog backend http port
113     beHttpPort: <%= @catalog_port %>
114     
115     # Catalog backend http context
116     beContext: /sdc/rest/config/get
117     
118     # Catalog backend protocol
119     beProtocol: http
120     
121     # Catalog backend ssl port
122     beSslPort: <%= @ssl_port %>
123     
124     # Catalog backend configuration vesrion
125     version: 1.0
126     
127     # Catalog backend configuration release date
128     released: 2012-11-30
129     
130     # Catalog tosca current conformance version
131     toscaConformanceLevel: 4.0
132     
133     # Catalog minimum tosca conformance version
134     minToscaConformanceLevel: 3.0
135     
136     # Titan configuration file location
137     titanCfgFile: /var/lib/jetty/config/catalog-be/titan.properties
138     
139     # Does titan holds the persistency data in memory
140     titanInMemoryGraph: false
141     
142     # The timeout for titan to lock on an object in a transaction
143     titanLockTimeout: 1800
144     
145     # The interval to try and reconnect to titan DB when it is down during SDC startup
146     titanReconnectIntervalInSeconds: 3
147     
148     # The read timeout towards Titan DB when health check is invoked
149     titanHealthCheckReadTimeout: 1
150     
151     # The interval to try and reconnect to Elasticsearch when it is down during SDC startup
152     esReconnectIntervalInSeconds: 3
153     
154     # The interval to try and reconnect to UEB health check when it is down during SDC startup
155     uebHealthCheckReconnectIntervalInSeconds: 15
156     
157     # The read timeout towards UEB when helath check is invoked
158     uebHealthCheckReadTimeout: 4
159     
160     # Protocols being used in SDC
161     protocols:
162         - http
163         - https
164     
165     # Default imports
166     # Under each import there is the file the data will be imported from
167     defaultImports:
168         - nodes:
169             file: nodes.yml
170         - datatypes:
171             file: data.yml
172         - capabilities:
173             file: capabilities.yml
174         - relationships:
175             file: relationships.yml
176         - groups:
177             file: groups.yml
178         - policies:
179             file: policies.yml
180     
181     # Users
182     **Is this neccessary**
183     users:
184         tom: passwd
185         bob: passwd
186     
187     cassandraConfig:
188         # Cassandra hostname
189         cassandraHosts: <%= @cassandra_ip %>
190         
191         # Cassandra local data center name
192         localDataCenter: <%= @DC_NAME %>
193         
194         # The read timeout towards Cassandra when health check is invoked
195         reconnectTimeout : 30000
196         
197         # Should an authentication be used when accessing Cassandra
198         authenticate: true
199         
200         # Username for accessing Cassandra
201         username: asdc_user
202         
203         # Password for accessing Cassnadra
204         password: {{cassandra_password}}
205         
206         # Does an ssl should be used
207         ssl: false
208         
209         # Location of .truststore file
210         truststorePath : /config/.truststore
211         
212         # The .truststore file password
213         truststorePassword : Aa123456
214         
215         # Keyspaces configuration for Cassandra
216         keySpaces:
217             - { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
218             - { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
219             - { name: sdcartifact, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
220             - { name: sdccomponent, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
221             - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
222     
223     **Commented out. Is this neccessary** 
224     #Application-specific settings of ES
225     elasticSearch:
226         
227         # Mapping of index prefix to time-based frame. For example, if below is configured:
228         #
229         # - indexPrefix: auditingevents
230         #    creationPeriod: minute
231         #
232         # then ES object of type which is mapped to "auditingevents-*" template, and created on 2015-12-23 13:24:54, will enter "auditingevents-2015-12-23-13-24" index.
233         # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
234         # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
235         #
236         # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
237         #
238         # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
239         #
240         # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
241         indicesTimeFrequency:
242             - indexPrefix: auditingevents
243               creationPeriod: month
244             - indexPrefix: monitoring_events
245               creationPeriod: month
246     
247     # Artifact types placeholder
248     artifactTypes:
249         - CHEF
250         - PUPPET
251         - SHELL
252         - YANG
253         - YANG_XML
254         - HEAT
255         - BPEL
256         - DG_XML
257         - MURANO_PKG
258         - WORKFLOW
259         - NETWORK_CALL_FLOW
260         - TOSCA_TEMPLATE
261         - TOSCA_CSAR
262         - AAI_SERVICE_MODEL
263         - AAI_VF_MODEL
264         - AAI_VF_MODULE_MODEL
265         - AAI_VF_INSTANCE_MODEL
266         - OTHER
267         - SNMP_POLL
268         - SNMP_TRAP
269         - GUIDE
270         - PLAN
271     
272     # License types placeholder
273     licenseTypes:
274         - User
275         - Installation
276         - CPU
277     
278     #Deployment artifacts placeHolder
279     resourceTypes: &allResourceTypes
280         - VFC
281         - CP
282         - VL
283         - VF
284         - VFCMT
285         - Abstract
286         - CVFC
287     
288     **Commented out. is this neccessary**
289     # validForResourceTypes usage
290     #     validForResourceTypes:
291     #        - VF
292     #        - VL
293     
294     deploymentResourceArtifacts:
295     
296     # Deployment resource instance artifacts placeholders
297     # For each artifact the following properties exists:
298     # 
299     # displayName - The display name of the artifact
300     # type - The type of the artifact
301     # description - The description of the artifact
302     # fileExtension - The file extension of the artifact file for uploading
303     deploymentResourceInstanceArtifacts:
304         heatEnv:
305             displayName: "HEAT ENV"
306             type: HEAT_ENV
307             description: "Auto-generated HEAT Environment deployment artifact"
308             fileExtension: "env"
309         VfHeatEnv:
310             displayName: "VF HEAT ENV"
311             type: HEAT_ENV
312             description: "VF Auto-generated HEAT Environment deployment artifact"
313             fileExtension: "env"
314     
315     # Tosca artifacts placeholders
316     # For each artifact there is a template and a scar.
317     # For each one the following properties exists:
318     # 
319     # artifactName - The suffix of the artifact file
320     # displayName - The display name of the artifact
321     # type - The type of the artifact
322     # description - The description of the artifact
323     toscaArtifacts:
324         assetToscaTemplate:
325             artifactName: -template.yml
326             displayName: Tosca Template
327             type: TOSCA_TEMPLATE
328             description: TOSCA representation of the asset
329         assetToscaCsar:
330             artifactName: -csar.csar
331             displayName: Tosca Model
332             type: TOSCA_CSAR
333             description: TOSCA definition package of the asset
334     
335     # Resource category to exclude
336     excludeResourceCategory:
337         - Generic
338     
339     # Resource type to exclude
340     excludeResourceType:
341         - PNF
342     
343     # Informational resource artifacts placeHolder
344     # For each artifact the following properties exists:
345     # 
346     # displayName - The display name of the artifact
347     # type - The type of the artifact
348     informationalResourceArtifacts:
349         features:
350             displayName: Features
351             type: OTHER
352     capacity:
353         displayName: Capacity
354         type: OTHER
355     vendorTestResult:
356         displayName: Vendor Test Result
357         type: OTHER
358     testScripts:
359         displayName: Test Scripts
360         type: OTHER
361     CloudQuestionnaire:
362         displayName: Cloud Questionnaire (completed)
363         type: OTHER
364     HEATTemplateFromVendor:
365         displayName: HEAT Template from Vendor
366         type: HEAT
367     resourceSecurityTemplate:
368         displayName: Resource Security Template
369         type: OTHER
370     
371     # Service category to exclude
372     excludeServiceCategory:
373     
374     # Informational service artifacts placeHolder
375     # For each artifact the following properties exists:
376     # 
377     # displayName - The display name of the artifact
378     # type - The type of the artifact
379     informationalServiceArtifacts:
380         serviceArtifactPlan:
381             displayName: Service Artifact Plan
382             type: OTHER
383         summaryOfImpactsToECOMPElements:
384             displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
385             type: OTHER
386         controlLoopFunctions:
387             displayName: Control Loop Functions
388             type: OTHER
389         dimensioningInfo:
390             displayName: Dimensioning Info
391             type: OTHER
392         affinityRules:
393             displayName: Affinity Rules
394             type: OTHER
395         operationalPolicies:
396             displayName: Operational Policies
397             type: OTHER
398         serviceSpecificPolicies:
399             displayName: Service-specific Policies
400             type: OTHER
401         engineeringRules:
402             displayName: Engineering Rules (ERD)
403             type: OTHER
404         distributionInstructions:
405             displayName: Distribution Instructions
406             type: OTHER
407         certificationTestResults:
408             displayName: TD Certification Test Results
409             type: OTHER
410         deploymentVotingRecord:
411             displayName: Deployment Voting Record
412             type: OTHER
413         serviceQuestionnaire:
414             displayName: Service Questionnaire
415             type: OTHER
416         serviceSecurityTemplate:
417             displayName: Service Security Template
418             type: OTHER
419     
420     # Service api artifacts placeHolder
421     # For each artifact the following properties exists:
422     # 
423     # displayName - The display name of the artifact
424     # type - The type of the artifact
425     serviceApiArtifacts:
426         configuration:
427             displayName: Configuration
428             type: OTHER
429         instantiation:
430             displayName: Instantiation
431             type: OTHER
432         monitoring:
433             displayName: Monitoring
434             type: OTHER
435         reporting:
436             displayName: Reporting
437             type: OTHER
438         logging:
439             displayName: Logging
440             type: OTHER
441         testing:
442             displayName: Testing
443             type: OTHER
444     
445     **Need to add data**
446     additionalInformationMaxNumberOfKeys: 50
447     
448     **Need to add data**
449     systemMonitoring:
450         enabled: false
451         isProxy: false
452         probeIntervalInSeconds: 15
453     defaultHeatArtifactTimeoutMinutes: 60
454     
455     # Service deployment artifacts placeHolder
456     # For each artifact the following properties exists:
457     # 
458     # acceptedTypes - File types that can be uploaded as each artifact
459     serviceDeploymentArtifacts:
460         YANG_XML:
461             acceptedTypes:
462                 - xml
463         VNF_CATALOG:
464             acceptedTypes:
465                 - xml
466         MODEL_INVENTORY_PROFILE:
467             acceptedTypes:
468                 - xml
469         MODEL_QUERY_SPEC:
470             acceptedTypes:
471                 - xml
472         UCPE_LAYER_2_CONFIGURATION:
473             acceptedTypes:
474                 - xml
475     
476     #AAI Artifacts
477         AAI_SERVICE_MODEL:
478             acceptedTypes:
479                 - xml
480         AAI_VF_MODULE_MODEL:
481             acceptedTypes:
482                 - xml
483         AAI_VF_INSTANCE_MODEL:
484             acceptedTypes:
485                 - xml
486         OTHER:
487             acceptedTypes:
488     
489     #PLAN
490         PLAN:
491             acceptedTypes:
492                 - xml
493     
494     # Resource deployment artifacts placeHolder
495     # For each artifact the following properties exists:
496     # 
497     # acceptedTypes - File types that can be uploaded as each artifact
498     # validForRespurceTypes - Resource types that support each artifact. 
499     # If left empty it means all resource types are valid
500     resourceDeploymentArtifacts:
501         HEAT:
502             acceptedTypes:
503                 - yaml
504                 - yml
505             validForResourceTypes: *allResourceTypes
506         HEAT_VOL:
507             acceptedTypes:
508                 - yaml
509                 - yml
510             validForResourceTypes: *allResourceTypes
511         HEAT_NET:
512             acceptedTypes:
513                 - yaml
514                 - yml
515             validForResourceTypes: *allResourceTypes
516         HEAT_NESTED:
517             acceptedTypes:
518                 - yaml
519                 - yml
520             validForResourceTypes: *allResourceTypes
521         HEAT_ARTIFACT:
522             acceptedTypes:
523             validForResourceTypes: *allResourceTypes
524         YANG_XML:
525             acceptedTypes:
526                 - xml
527             validForResourceTypes: *allResourceTypes
528         VNF_CATALOG:
529             acceptedTypes:
530                 - xml
531             validForResourceTypes: *allResourceTypes
532         VF_LICENSE:
533             acceptedTypes:
534                 - xml
535             validForResourceTypes: *allResourceTypes
536         VENDOR_LICENSE:
537             acceptedTypes:
538                 - xml
539             validForResourceTypes: *allResourceTypes
540         MODEL_INVENTORY_PROFILE:
541             acceptedTypes:
542                 - xml
543             validForResourceTypes: *allResourceTypes
544         MODEL_QUERY_SPEC:
545             acceptedTypes:
546                 - xml
547             validForResourceTypes: *allResourceTypes
548         LIFECYCLE_OPERATIONS:
549             acceptedTypes:
550                 - yaml
551                 - yml
552             validForResourceTypes:
553                 - VF
554                 - VFC
555         VES_EVENTS:
556             acceptedTypes:
557                 - yaml
558                 - yml
559             validForResourceTypes: *allResourceTypes
560         PERFORMANCE_COUNTER:
561             acceptedTypes:
562                 - csv
563             validForResourceTypes: *allResourceTypes
564         APPC_CONFIG:
565             acceptedTypes:
566             validForResourceTypes:
567                 - VF
568         DCAE_TOSCA:
569             acceptedTypes:
570                 - yml
571                 - yaml
572             validForResourceTypes:
573                 - VF
574                 - VFCMT
575         DCAE_JSON:
576             acceptedTypes:
577                 - json
578             validForResourceTypes:
579                 - VF
580                 - VFCMT
581         DCAE_POLICY:
582             acceptedTypes:
583                 - emf
584             validForResourceTypes:
585                 - VF
586                 - VFCMT
587         DCAE_DOC:
588             acceptedTypes:
589             validForResourceTypes:
590                 - VF
591                 - VFCMT
592         DCAE_EVENT:
593             acceptedTypes:
594             validForResourceTypes:
595                 - VF
596                 - VFCMT
597         AAI_VF_MODEL:
598             acceptedTypes:
599                 - xml
600             validForResourceTypes:
601                 - VF
602         AAI_VF_MODULE_MODEL:
603             acceptedTypes:
604                 - xml
605             validForResourceTypes:
606                 - VF
607         OTHER:
608             acceptedTypes:
609             validForResourceTypes: *allResourceTypes
610         SNMP_POLL:
611             acceptedTypes:
612             validForResourceTypes: *allResourceTypes
613         SNMP_TRAP:
614             acceptedTypes:
615             validForResourceTypes: *allResourceTypes
616     
617     #PLAN
618         PLAN:
619             acceptedTypes:
620                 - xml
621             validForResourceTypes:
622                 - VF
623                 - VFC
624     
625     # Resource instance deployment artifacts placeHolder
626     # For each artifact the following properties exists:
627     # 
628     # acceptedTypes - File types that can be uploaded as each artifact
629     # validForRespurceTypes - Resource types that support each artifact. 
630     # If left empty it means all resource types are valid
631     resourceInstanceDeploymentArtifacts:
632         HEAT_ENV:
633             acceptedTypes:
634                 - env
635         VF_MODULES_METADATA:
636             acceptedTypes:
637                 - json
638         VES_EVENTS:
639             acceptedTypes:
640                 - yaml
641                 - yml
642         PERFORMANCE_COUNTER:
643             acceptedTypes:
644                 - csv
645         DCAE_INVENTORY_TOSCA:
646             acceptedTypes:
647                 - yml
648                 - yaml
649         DCAE_INVENTORY_JSON:
650             acceptedTypes:
651                 - json
652         DCAE_INVENTORY_POLICY:
653           acceptedTypes:
654                 - emf
655         DCAE_INVENTORY_DOC:
656           acceptedTypes:
657         DCAE_INVENTORY_BLUEPRINT:
658           acceptedTypes:
659         DCAE_INVENTORY_EVENT:
660           acceptedTypes:
661         SNMP_POLL:
662             acceptedTypes:
663             validForResourceTypes: *allResourceTypes
664         SNMP_TRAP:
665             acceptedTypes:
666             validForResourceTypes: *allResourceTypes
667     
668     #PLAN
669         PLAN:
670             acceptedTypes:
671                 - xml
672     
673     # Resource informational artifacts placeHolder
674     # For each artifact the following properties exists:
675     # 
676     # acceptedTypes - File types that can be uploaded as each artifact
677     # validForRespurceTypes - Resource types that support each artifact. 
678     # If left empty it means all resource types are valid
679     resourceInformationalArtifacts:
680         CHEF:
681             acceptedTypes:
682             validForResourceTypes: *allResourceTypes
683         PUPPET:
684             acceptedTypes:
685             validForResourceTypes: *allResourceTypes
686         SHELL:
687             acceptedTypes:
688             validForResourceTypes: *allResourceTypes
689         YANG:
690             acceptedTypes:
691             validForResourceTypes: *allResourceTypes
692         YANG_XML:
693             acceptedTypes:
694             validForResourceTypes: *allResourceTypes
695         HEAT:
696             acceptedTypes:
697             validForResourceTypes: *allResourceTypes
698         BPEL:
699             acceptedTypes:
700             validForResourceTypes: *allResourceTypes
701         DG_XML:
702             acceptedTypes:
703             validForResourceTypes: *allResourceTypes
704         MURANO_PKG:
705             acceptedTypes:
706             validForResourceTypes: *allResourceTypes
707         OTHER:
708             acceptedTypes:
709             validForResourceTypes:
710                 - VFC
711                 - CVFC
712                 - CP
713                 - VL
714                 - VF
715                 - VFCMT
716                 - Abstract
717                 - PNF
718         SNMP_POLL:
719             acceptedTypes:
720             validForResourceTypes: *allResourceTypes
721         SNMP_TRAP:
722             acceptedTypes:
723             validForResourceTypes: *allResourceTypes
724         GUIDE:
725             acceptedTypes:
726             validForResourceTypes:
727                 - VF
728                 - VFC
729                 - CVFC
730     
731     resourceInformationalDeployedArtifacts:
732     
733     requirementsToFulfillBeforeCert:
734     
735     capabilitiesToConsumeBeforeCert:
736     
737     **Need to add data**
738     unLoggedUrls:
739        - /sdc2/rest/healthCheck
740     
741     **Need to add data**
742     cleanComponentsConfiguration:
743         cleanIntervalInMinutes: 1440
744         componentsToClean:
745            - Resource
746            - Service
747     
748     **Need to add data**
749     artifactsIndex: resources
750     
751     **Need to add data**
752     heatEnvArtifactHeader: ""
753     heatEnvArtifactFooter: ""
754     
755     onboarding:
756         
757         # Onboarding protocol
758         protocol: http
759         
760         # Onboarding backend hostname
761         host: <%= @host_ip %>
762         
763         # Onboarding backend http port
764         port: <%= @catalog_port %>
765         
766         # The url that being used when downloading CSARs
767         downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
768         
769         # Url for onboarding health check
770         healthCheckUri: "/onboarding-api/v1.0/healthcheck"
771     
772     **Need to add data**
773     #GSS IDNS
774     switchoverDetector:
775         gBeFqdn:
776         gFeFqdn:
777         beVip: 1.2.3.4
778         feVip: 1.2.3.4
779         beResolveAttempts: 3
780         feResolveAttempts: 3
781         enabled: false
782         interval: 60
783         changePriorityUser: ecompasdc
784         changePriorityPassword: ecompasdc123
785         publishNetworkUrl:
786         publishNetworkBody: '{"note":"comment"}'
787         groups:
788           beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
789           feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
790     
791     **Need to add data**
792     applicationL1Cache:
793         datatypes:
794             enabled: true
795             firstRunDelay: 10
796             pollIntervalInSec: 60
797     
798     **Need to add data**
799     applicationL2Cache:
800         enabled: false
801         catalogL1Cache:
802             enabled: false
803             resourcesSizeInCache: 300
804             servicesSizeInCache: 200
805             productsSizeInCache: 100
806         queue:
807             syncIntervalInSecondes: 43200
808             waitOnShutDownInMinutes: 10
809             numberOfCacheWorkers: 4
810     
811     **Need to add data**
812     toscaValidators:
813         stringMaxLength: 2500
814     
815     # Should audit be disabled
816     disableAudit: false
817     
818     **Need to add data**
819     vfModuleProperties:
820         min_vf_module_instances:
821             forBaseModule: 1
822             forNonBaseModule: 0
823         max_vf_module_instances:
824             forBaseModule: 1
825             forNonBaseModule:
826         initial_count:
827             forBaseModule: 1
828             forNonBaseModule: 0
829         vf_module_type:
830             forBaseModule: Base
831             forNonBaseModule: Expansion
832     
833     # For each generic node type defining it's coresponding class
834     genericAssetNodeTypes:
835         VFC: org.openecomp.resource.abstract.nodes.VFC
836         CVFC: org.openecomp.resource.abstract.nodes.VFC
837         VF : org.openecomp.resource.abstract.nodes.VF
838         PNF: org.openecomp.resource.abstract.nodes.PNF
839         Service: org.openecomp.resource.abstract.nodes.service
840
841
842 BE-distribution-engine-configuration.yaml
843 -----------------------------------------
844
845 ::
846
847     # UEB servers list
848     uebServers:
849         <% node['UEB']['fqdn'].each do |conn| -%>
850             - <%= conn %>
851         <% end -%>
852     
853     # UEB public key
854     uebPublicKey: <%= node['UEB']['PublicKey'] %>
855     
856     # UEB secret key
857     uebSecretKey: <%= node['UEB']['SecretKey'] %>
858     
859     # Topic name for receiving distribution notification
860     distributionNotifTopicName:  SDC-DISTR-NOTIF-TOPIC
861     
862     # Topic name for distribution status
863     distributionStatusTopicName: SDC-DISTR-STATUS-TOPIC
864     
865     # Distibution initializtion retry interval time
866     initRetryIntervalSec: 5
867     
868     # Distribution initializtion maximum interval time
869     initMaxIntervalSec: 60
870     
871     **Need to add data**
872     distribNotifServiceArtifactTypes:
873         info:
874             - MURANO-PKG
875     
876     **Need to add data**
877     distribNotifResourceArtifactTypes:
878         lifecycle:
879             - HEAT
880             - DG-XML
881     
882     # Distribution environments
883     environments:
884         - <%= node.chef_environment %>
885     
886     distributionStatusTopic:
887         
888         # Distribution status polling interval
889         pollingIntervalSec: 60
890         
891         # Distribution status fetch time
892         fetchTimeSec: 15
893         
894         # Distribution status consumer group
895         consumerGroup: sdc-<%= node.chef_environment %>
896         
897         # Distribution status consumer id
898         consumerId: sdc-<%= node.chef_environment %>1
899     
900     distributionNotificationTopic:
901         
902         # Minimum pool size for distribution notifications
903         minThreadPoolSize: 0
904         
905         # Maximum pool size for distribution notifications
906         maxThreadPoolSize: 10
907         
908         # Maximum waiting time after sending a notification
909         maxWaitingAfterSendingSeconds: 5
910     
911     **Need to add data**
912     createTopic:
913         partitionCount: 1
914         replicationCount: 1
915     
916     # STarting the distribution engine
917     startDistributionEngine: true
918     
919     #This is false by default, since ONAP Dmaap currently doesn't support https
920     # Does https should be used with Dmaap
921     useHttpsWithDmaap: false
922
923
924 BE-onboarding-configuration.yaml
925 --------------------------------
926
927 ::
928
929     notifications:
930         
931         # Backend onboarding notifications polling interval in milliseconds
932         pollingIntervalMsec: 2000
933         
934         # Backend onboarding notifications selection size
935         selectionSize: 100
936         
937         # Backend onboarding norifications backend hostname
938         beHost: <%= @catalog_ip %>
939         
940         # Backend onboarding notifications backend http port
941         beHttpPort: <%= @catalog_port %>
942
943
944 BE-titan.properties
945 -------------------
946
947 ::
948
949     # Titan storage backend
950     storage.backend=cassandra
951     
952     # Titan storage hostname
953     storage.hostname=<%= @CASSANDRA_IP %>
954     
955     # Titan storage port]
956     storage.port=9160
957     
958     # Titan storage username
959     storage.username=<%= @CASSANDRA_USR %>
960     
961     # Titan storage password
962     storage.password=<%= @CASSANDRA_PWD %>
963     
964     # Titan storage connection timeout
965     storage.connection-timeout=10000
966     
967     # Titan cassandra keyspace name
968     storage.cassandra.keyspace=sdctitan
969     
970     # Is Titan cassandra ssl is enabled
971     storage.cassandra.ssl.enabled=false
972     
973     # Titan cassandra ssl truststore file location
974     storage.cassandra.ssl.truststore.location=/var/lib/jetty/config/.truststore
975     
976     # Titan cassandra ssl truststore file password
977     storage.cassandra.ssl.truststore.password=Aa123456
978     
979     # Does titan should use cache
980     cache.db-cache = false
981     
982     **Need to add data**
983     cache.db-cache-clean-wait = 20
984     cache.db-cache-time = 180000
985     cache.db-cache-size = 0.5
986     
987     # Titan cassandra read consistency level
988     storage.cassandra.read-consistency-level=LOCAL_QUORUM
989     
990     # Titan cassandra write consistency level
991     storage.cassandra.write-consistency-level=LOCAL_QUORUM
992     
993     # Titan cassandra replication strategy class name
994     storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.NetworkTopologyStrategy
995     
996     # Titan cassandra replication startegy options
997     storage.cassandra.replication-strategy-options=<%= @DC_NAME %>,<%= @rep_factor %>
998     
999     # Titan cassandra local data center name
1000     storage.cassandra.astyanax.local-datacenter=<%= @DC_NAME %>
1001     
1002     **Need to add data**
1003     storage.lock.retries=5
1004     storage.lock.wait-time=500
1005
1006
1007 Frontend Configuration
1008 ======================
1009
1010 FE-configuration.yaml
1011 ---------------------
1012
1013 ::
1014
1015     # Catalog frontend hostname
1016     feFqdn: <%= @fe_host_ip %>
1017     
1018     # Catalog backend hostname
1019     beHost: <%= @be_host_ip %>
1020     
1021     # Catalog backend http port
1022     beHttpPort: <%= @catalog_port %>
1023     
1024     # Catalog backend http context
1025     beContext: /sdc2/rest/v1/catalog/upload/resources
1026     
1027     # Catalog backend protocol
1028     beProtocol: http
1029     
1030     # Catalog backend ssl port
1031     beSslPort: <%= @ssl_port %>
1032     
1033     # Threadpool size for handling requests
1034     threadpoolSize: 50
1035     
1036     # Request processing timeout (seconds)
1037     requestTimeout: 10
1038     
1039     # Health check timeout in milliseconds
1040     healthCheckSocketTimeoutInMs: 5000
1041     
1042     # Health check inteval in seconds
1043     healthCheckIntervalInSeconds: 5
1044     
1045     onboarding:
1046         
1047         # Onboarding protocol
1048         protocol: http
1049         
1050         # Onboarding frontend hostname
1051         host: <%= @fe_host_ip %>
1052         
1053         # Onboarding frontend port
1054         port: 8181
1055         
1056         # Onboarding frontend health check url
1057         healthCheckUri: "/onboarding/v1.0/healthcheck"
1058     
1059     # Request headers for identification of the user that made the request
1060     identificationHeaderFields: 
1061         -
1062             - &HTTP_IV_USER HTTP_IV_USER
1063             - &iv-user iv-user
1064         -
1065             - &USER_ID USER_ID
1066             - &user-id user-id
1067         -
1068             - &HTTP_CSP_ATTUID HTTP_CSP_ATTUID
1069             - &csp-attuid csp-attuid
1070         -
1071             - &HTTP_CSP_WSTYPE HTTP_CSP_WSTYPE
1072             - &csp-wstype csp-wstype
1073     
1074     # Optional request headers
1075     optionalHeaderFields:
1076         -
1077             - &HTTP_CSP_FIRSTNAME HTTP_CSP_FIRSTNAME
1078             - &csp-firstname csp-firstname
1079         -
1080             - &HTTP_CSP_LASTNAME HTTP_CSP_LASTNAME
1081             - &csp-lastname csp-lastname
1082         -
1083             - &HTTP_IV_REMOTE_ADDRESS HTTP_IV_REMOTE_ADDRESS
1084             - &iv-remote-address iv-remote-address
1085         -
1086             - &HTTP_CSP_EMAIL HTTP_CSP_EMAIL
1087             - &csp-email csp-email
1088     
1089     # Frontend configuration version
1090     version: 1.0
1091     
1092     # Frontend configuration release date
1093     released: 2012-11-30
1094     
1095     # Connection parameters
1096     connection:
1097         url: jdbc:mysql://localhost:3306/db
1098         poolSize: 17
1099     
1100     # Protocols being used in SDC
1101     protocols:
1102         - http
1103         - https
1104     
1105     **Need to add data**
1106     systemMonitoring:
1107         enabled: false
1108         isProxy: true
1109         probeIntervalInSeconds: 15
1110     
1111     # Kibana hostname
1112     kibanaHost: localhost
1113     
1114     # Kibana http port
1115     kibanaPort: 5601
1116     
1117     # Kibana usage protocol
1118     kibanaProtocol: http
1119
1120
1121 FE-onboarding-configuration.yaml
1122 --------------------------------
1123
1124 ::
1125
1126     notifications:
1127         
1128         # Frontend onboarding notifications polling interval in milliseconds
1129         pollingIntervalMsec: 2000
1130         
1131         # Frontend onboarding notifications selection size
1132         selectionSize: 100
1133         
1134         # Frontend onboarding norifications backend hostname
1135         beHost: <%= @catalog_ip %>
1136         
1137         # Frontend onboarding notifications backend http port
1138         beHttpPort: <%= @catalog_port %>