Configuration file runtime reload
[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         # Environment name
22         "name": "xxx",
23         
24         # Environment description
25         "description": "OpenSource-xxx",
26         "json_class": "Chef::Environment",
27         "chef_type": "environment",
28
29         "default_attributes": {
30             "disableHttp": false,
31             # IPs used for docker configuration
32             "CS_VIP": "yyy",
33             "BE_VIP": "yyy",
34             "ONBOARDING_BE_VIP": "yyy",
35             "FE_VIP": "yyy",
36             "ES_VIP": "yyy",
37             "KB_VIP": "yyy",
38             "DCAE_BE_VIP": "yyy",
39             "DCAE_FE_VIP": "yyy",
40             "interfaces": {
41                 "application": "eth0",
42                 "private": "eth1"
43             },
44
45             # Configuration parameters used in portal properties
46             "ECompP": {
47                 "ecomp_rest_url": "http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi",
48                 "ecomp_redirect_url": "http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm",
49                 "cipher_key": "AGLDdG4D04BKm2IxIWEr8o==",
50                 "portal_user": "Ipwxi2oLvDxctMA1royaRw1W0jhucLx+grHzci3ePIA=",
51                 "portal_pass": "j85yNhyIs7zKYbR1VlwEfNhS6b7Om4l0Gx5O8931sCI="
52             },
53
54             # Configuration parameters used by SDC to work with Dmaap
55             "UEB": {
56                 "PublicKey": "iPIxkpAMI8qTcQj8",
57                 "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
58                 "fqdn": ["10.0.11.1", "10.0.11.1"]
59             },
60
61             # IPs used for docker configuration
62             "Nodes": {
63                 "CS": ["yyy"],
64                 "BE": "yyy",
65                 "ONBOARDING_BE": "yyy",
66                 "FE": "yyy",
67                 "ES": ["yyy"],
68                 "KB":  "yyy"
69             },
70             "Plugins": {
71                "DCAE": {
72                   "dcae_discovery_url": "yyy",
73                   "dcae_source_url": "yyy"
74                },
75                "WORKFLOW": {
76                   "workflow_discovery_url": "yyy",
77                   "workflow_source_url": "yyy"
78                }
79             },
80             "VnfRepo": {
81                 "vnfRepoPort": "8702",
82                 "vnfRepoHost": "10.0.14.1"
83             }
84         },
85         "override_attributes": {
86
87             # FE and BE listening ports
88             "FE": {
89                 "http_port": "8181",
90                 "https_port": "9443"
91             },
92             "BE": {
93                 "http_port": "8080",
94                 "https_port": "8443"
95             },
96             "ONBOARDING_BE": {
97                "http_port": "8081",
98                "https_port": "8445"
99             },
100
101             # Elasticsearch configuration
102             "elasticsearch": {
103                 "cluster_name": "SDC-ES-",
104                 "ES_path_home": "/usr/share/elasticsearch",
105                 "ES_path_data": "/usr/share/elasticsearch/data",
106                 "num_of_replicas": "0",
107                 "num_of_shards": "1"
108             },
109
110             # Cassandra configuration
111             "cassandra": {
112                 "concurrent_reads": "32",
113                 "num_tokens": "256",
114                 "data_dir": "/var/lib/cassandra/data",
115                 "hinted_handoff_enabled": "true",
116                 "cassandra_user": "asdc_user",
117                 "cassandra_password": "Aa1234%^!",
118                 "concurrent_writes": "32",
119                 "cluster_name": "SDC-CS-",
120                 "datacenter_name": "SDC-CS-",
121                 "multithreaded_compaction": "false",
122                 "cache_dir": "/var/lib/cassandra/saved_caches",
123                 "log_file": "/var/lib/cassandra/log/system.log",
124                 "phi_convict_threshold": "8",
125                 "commitlog_dir": "/var/lib/cassandra/commitlog",
126                 "socket_read_timeout": "20000",
127                 "socket_connect_timeout": "20000",
128                 "janusgraph_connection_timeout": "10000"
129             }
130         }
131     }
132
133
134
135 Backend Configurations
136 ======================
137
138 Catalog Configurations
139 ----------------------
140
141 BE-configuration.yaml
142 **********************
143
144
145
146 ::
147
148     # Request headers for identification of the user that made the request
149     identificationHeaderFields:
150     - HTTP_IV_USER
151     - HTTP_CSP_FIRSTNAME
152     - HTTP_CSP_LASTNAME
153     - HTTP_IV_REMOTE_ADDRESS
154     - HTTP_CSP_WSTYPE
155
156     # Catalog backend hostname
157     beFqdn: <%= @catalog_ip %>
158
159     # Catalog backend http port
160     beHttpPort: <%= @catalog_port %>
161
162     # Catalog backend http context
163     beContext: /sdc/rest/config/get
164
165     # Catalog backend protocol
166     beProtocol: http
167
168     # Catalog backend ssl port
169     beSslPort: <%= @ssl_port %>
170
171     # Catalog backend configuration version
172     version: 1.1.0
173
174     # Catalog backend configuration release date
175     released: 2012-11-30
176
177     # Catalog tosca current conformance version
178     toscaConformanceLevel: 5.0
179
180     # Catalog minimum tosca conformance version
181     minToscaConformanceLevel: 3.0
182
183     # JanusGraph configuration file location
184     janusGraphCfgFile: /var/lib/jetty/config/catalog-be/janusgraph.properties
185
186     # Does JanusGraph hold the persistence data in memory
187     janusGraphInMemoryGraph: false
188
189     # The timeout for JanusGraph to lock on an object in a transaction
190     janusGraphLockTimeout: 1800
191
192     # The interval to try and reconnect to JanusGraph DB when it is down during SDC startup
193     janusGraphReconnectIntervalInSeconds: 3
194
195     # The read timeout towards JanusGraph DB when health check is invoked
196     janusGraphHealthCheckReadTimeout: 1
197
198     # The interval to try and reconnect to Elasticsearch when it is down during SDC startup
199     esReconnectIntervalInSeconds: 3
200
201     # The interval to try and reconnect to UEB health check when it is down during SDC startup
202     uebHealthCheckReconnectIntervalInSeconds: 15
203
204     # The read timeout towards UEB when health check is invoked
205     uebHealthCheckReadTimeout: 4
206
207     # Protocols being used in SDC
208     protocols:
209         - http
210         - https
211
212     # Default imports
213     # Under each import there is the file the data will be imported from
214     defaultImports:
215         - nodes:
216             file: nodes.yml
217         - datatypes:
218             file: data.yml
219         - capabilities:
220             file: capabilities.yml
221         - relationships:
222             file: relationships.yml
223         - groups:
224             file: groups.yml
225         - policies:
226             file: policies.yml
227         - annotations:
228             file: annotations.yml
229
230     # Users
231     # Deprecated. Will be removed in future releases
232     users:
233         tom: passwd
234         bob: passwd
235
236     cassandraConfig:
237         # Cassandra hostname
238         cassandraHosts: <%= @cassandra_ip %>
239
240         # Cassandra local data center name
241         localDataCenter: <%= @DC_NAME %>
242
243         # The read timeout towards Cassandra when health check is invoked
244         reconnectTimeout : 30000
245         # The amount of time the Cassandra client will wait for a socket
246         socketReadTimeout: <%= @socket_read_timeout %>
247         # The amount of time the Cassandra client will wait for a response
248         socketConnectTimeout: <%= @socket_connect_timeout %>
249
250         # Should authentication be used when accessing Cassandra
251         authenticate: true
252
253         # Username for accessing Cassandra
254         username: asdc_user
255
256         # Password for accessing Cassandra
257         password: {{cassandra_password}}
258
259         # Should ssl be used
260         ssl: false
261
262         # Location of .truststore file
263         truststorePath : /config/.truststore
264
265         # The .truststore file password
266         truststorePassword : Aa123456
267
268         # Keyspaces configuration for Cassandra
269         keySpaces:
270             - { name: dox, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
271             - { name: sdcaudit, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
272             - { name: sdcartifact, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
273             - { name: sdccomponent, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
274             - { name: sdcrepository, replicationStrategy: NetworkTopologyStrategy, replicationInfo: ['<%= @DC_NAME %>','<%= @rep_factor %>']}
275
276     # Application-specific settings of ES
277     elasticSearch:
278
279         # Mapping of index prefix to time-based frame. For example, if below is configured:
280         #
281         # - indexPrefix: auditing events
282         #    creationPeriod: minute
283         #
284         # 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.
285         # Another object created on 2015-12-23 13:25:54, will enter "auditingevents-2015-12-23-13-25" index.
286         # If creationPeriod: month, both of the above will enter "auditingevents-2015-12" index.
287         #
288         # PLEASE NOTE: the timestamps are created in UTC/GMT timezone! This is needed so that timestamps will be correctly presented in Kibana.
289         #
290         # Legal values for creationPeriod - year, month, day, hour, minute, none (meaning no time-based behaviour).
291         #
292         # If no creationPeriod is configured for indexPrefix, default behavour is creationPeriod: month.
293         indicesTimeFrequency:
294             - indexPrefix: auditingevents
295               creationPeriod: month
296             - indexPrefix: monitoring_events
297               creationPeriod: month
298
299     # Artifact types placeholder
300     artifactTypes:
301         - CHEF
302         - PUPPET
303         - SHELL
304         - YANG
305         - YANG_XML
306         - HEAT
307         - BPEL
308         - DG_XML
309         - MURANO_PKG
310         - WORKFLOW
311         - NETWORK_CALL_FLOW
312         - TOSCA_TEMPLATE
313         - TOSCA_CSAR
314         - AAI_SERVICE_MODEL
315         - AAI_VF_MODEL
316         - AAI_VF_MODULE_MODEL
317         - AAI_VF_INSTANCE_MODEL
318         - OTHER
319         - SNMP_POLL
320         - SNMP_TRAP
321         - GUIDE
322         - PLAN
323
324     # License types placeholder
325     licenseTypes:
326         - User
327         - Installation
328         - CPU
329
330     # Resource types placeholder
331     resourceTypes: &allResourceTypes
332         - VFC
333         - CP
334         - VL
335         - VF
336         - CR
337         - VFCMT
338         - Abstract
339         - CVFC
340
341     #Deployment resource artifacts placeHolder
342     deploymentResourceArtifacts:
343
344     # Deployment resource instance artifact placeholders
345     # For each artifact the following properties exist:
346     #
347     # displayName - The display name of the artifact
348     # type - The type of the artifact
349     # description - The description of the artifact
350     # fileExtension - The file extension of the artifact file for uploading
351     deploymentResourceInstanceArtifacts:
352         heatEnv:
353             displayName: "HEAT ENV"
354             type: HEAT_ENV
355             description: "Auto-generated HEAT Environment deployment artifact"
356             fileExtension: "env"
357         VfHeatEnv:
358             displayName: "VF HEAT ENV"
359             type: HEAT_ENV
360             description: "VF Auto-generated HEAT Environment deployment artifact"
361             fileExtension: "env"
362
363     # Tosca artifacts placeholders
364     # For each artifact there is a template and a csar.
365     # For each one the following properties exists:
366     #
367     # artifactName - The suffix of the artifact file
368     # displayName - The display name of the artifact
369     # type - The type of the artifact
370     # description - The description of the artifact
371     toscaArtifacts:
372         assetToscaTemplate:
373             artifactName: -template.yml
374             displayName: Tosca Template
375             type: TOSCA_TEMPLATE
376             description: TOSCA representation of the asset
377         assetToscaCsar:
378             artifactName: -csar.csar
379             displayName: Tosca Model
380             type: TOSCA_CSAR
381             description: TOSCA definition package of the asset
382
383     # Resource category to exclude
384     excludeResourceCategory:
385         - Generic
386
387     # Resource type to exclude
388     excludeResourceType:
389         - PNF
390         - CR
391     # Informational resource artifacts placeHolder
392     # For each artifact the following properties exists:
393     #
394     # displayName - The display name of the artifact
395     # type - The type of the artifact
396     informationalResourceArtifacts:
397         features:
398             displayName: Features
399             type: OTHER
400     capacity:
401         displayName: Capacity
402         type: OTHER
403     vendorTestResult:
404         displayName: Vendor Test Result
405         type: OTHER
406     testScripts:
407         displayName: Test Scripts
408         type: OTHER
409     CloudQuestionnaire:
410         displayName: Cloud Questionnaire (completed)
411         type: OTHER
412     HEATTemplateFromVendor:
413         displayName: HEAT Template from Vendor
414         type: HEAT
415     resourceSecurityTemplate:
416         displayName: Resource Security Template
417         type: OTHER
418
419     # Service category to exclude
420     excludeServiceCategory:
421
422     # Informational service artifacts placeHolder
423     # For each artifact the following properties exists:
424     #
425     # displayName - The display name of the artifact
426     # type - The type of the artifact
427     informationalServiceArtifacts:
428         serviceArtifactPlan:
429             displayName: Service Artifact Plan
430             type: OTHER
431         summaryOfImpactsToECOMPElements:
432             displayName: Summary of impacts to ECOMP elements,OSSs, BSSs
433             type: OTHER
434         controlLoopFunctions:
435             displayName: Control Loop Functions
436             type: OTHER
437         dimensioningInfo:
438             displayName: Dimensioning Info
439             type: OTHER
440         affinityRules:
441             displayName: Affinity Rules
442             type: OTHER
443         operationalPolicies:
444             displayName: Operational Policies
445             type: OTHER
446         serviceSpecificPolicies:
447             displayName: Service-specific Policies
448             type: OTHER
449         engineeringRules:
450             displayName: Engineering Rules (ERD)
451             type: OTHER
452         distributionInstructions:
453             displayName: Distribution Instructions
454             type: OTHER
455         certificationTestResults:
456             displayName: TD Certification Test Results
457             type: OTHER
458         deploymentVotingRecord:
459             displayName: Deployment Voting Record
460             type: OTHER
461         serviceQuestionnaire:
462             displayName: Service Questionnaire
463             type: OTHER
464         serviceSecurityTemplate:
465             displayName: Service Security Template
466             type: OTHER
467
468     # Service api artifacts placeHolder
469     # For each artifact the following properties exists:
470     #
471     # displayName - The display name of the artifact
472     # type - The type of the artifact
473     serviceApiArtifacts:
474         configuration:
475             displayName: Configuration
476             type: OTHER
477         instantiation:
478             displayName: Instantiation
479             type: OTHER
480         monitoring:
481             displayName: Monitoring
482             type: OTHER
483         reporting:
484             displayName: Reporting
485             type: OTHER
486         logging:
487             displayName: Logging
488             type: OTHER
489         testing:
490             displayName: Testing
491             type: OTHER
492
493     # The maximum number of keys permitted for additional information on service
494     additionalInformationMaxNumberOfKeys: 50
495
496     # Collect process statistics
497     systemMonitoring:
498
499         # Should monitoring be enabled
500         enabled: false
501
502         # In case of going through the FE server proxy the information to the BE
503         isProxy: false
504
505         # What is the interval of the statistics collection
506         probeIntervalInSeconds: 15
507
508     defaultHeatArtifactTimeoutMinutes: 60
509
510     # Service deployment artifacts placeHolder
511     # For each artifact the following properties exists:
512     #
513     # acceptedTypes - File types that can be uploaded as each artifact
514     serviceDeploymentArtifacts:
515         YANG_XML:
516             acceptedTypes:
517                 - xml
518         VNF_CATALOG:
519             acceptedTypes:
520                 - xml
521         MODEL_INVENTORY_PROFILE:
522             acceptedTypes:
523                 - xml
524         MODEL_QUERY_SPEC:
525             acceptedTypes:
526                 - xml
527         UCPE_LAYER_2_CONFIGURATION:
528             acceptedTypes:
529                 - xml
530
531     #AAI Artifacts
532         AAI_SERVICE_MODEL:
533             acceptedTypes:
534                 - xml
535         AAI_VF_MODULE_MODEL:
536             acceptedTypes:
537                 - xml
538         AAI_VF_INSTANCE_MODEL:
539             acceptedTypes:
540                 - xml
541         UCPE_LAYER_2_CONFIGURATION:
542             acceptedTypes:
543                 - xml
544         OTHER:
545             acceptedTypes:
546
547     #PLAN
548         PLAN:
549             acceptedTypes:
550                 - xml
551     WORKFLOW:
552             acceptedTypes:
553     # Resource deployment artifacts placeHolder
554     # For each artifact the following properties exists:
555     #
556     # acceptedTypes - File types that can be uploaded as each artifact
557     # validForRespurceTypes - Resource types that support each artifact.
558     # If left empty it means all resource types are valid
559     resourceDeploymentArtifacts:
560         HEAT:
561             acceptedTypes:
562                 - yaml
563                 - yml
564             validForResourceTypes: *allResourceTypes
565         HEAT_VOL:
566             acceptedTypes:
567                 - yaml
568                 - yml
569             validForResourceTypes: *allResourceTypes
570         HEAT_NET:
571             acceptedTypes:
572                 - yaml
573                 - yml
574             validForResourceTypes: *allResourceTypes
575         HEAT_NESTED:
576             acceptedTypes:
577                 - yaml
578                 - yml
579             validForResourceTypes: *allResourceTypes
580         HEAT_ARTIFACT:
581             acceptedTypes:
582             validForResourceTypes: *allResourceTypes
583         YANG_XML:
584             acceptedTypes:
585                 - xml
586             validForResourceTypes: *allResourceTypes
587         VNF_CATALOG:
588             acceptedTypes:
589                 - xml
590             validForResourceTypes: *allResourceTypes
591         VF_LICENSE:
592             acceptedTypes:
593                 - xml
594             validForResourceTypes: *allResourceTypes
595         VENDOR_LICENSE:
596             acceptedTypes:
597                 - xml
598             validForResourceTypes: *allResourceTypes
599         MODEL_INVENTORY_PROFILE:
600             acceptedTypes:
601                 - xml
602             validForResourceTypes: *allResourceTypes
603         MODEL_QUERY_SPEC:
604             acceptedTypes:
605                 - xml
606             validForResourceTypes: *allResourceTypes
607         LIFECYCLE_OPERATIONS:
608             acceptedTypes:
609                 - yaml
610                 - yml
611             validForResourceTypes:
612                 - VF
613                 - VFC
614         VES_EVENTS:
615             acceptedTypes:
616                 - yaml
617                 - yml
618             validForResourceTypes: *allResourceTypes
619         PERFORMANCE_COUNTER:
620             acceptedTypes:
621                 - csv
622             validForResourceTypes: *allResourceTypes
623         APPC_CONFIG:
624             acceptedTypes:
625             validForResourceTypes:
626                 - VF
627         DCAE_TOSCA:
628             acceptedTypes:
629                 - yml
630                 - yaml
631             validForResourceTypes:
632                 - VF
633                 - VFCMT
634         DCAE_JSON:
635             acceptedTypes:
636                 - json
637             validForResourceTypes:
638                 - VF
639                 - VFCMT
640         DCAE_POLICY:
641             acceptedTypes:
642                 - emf
643             validForResourceTypes:
644                 - VF
645                 - VFCMT
646         DCAE_DOC:
647             acceptedTypes:
648             validForResourceTypes:
649                 - VF
650                 - VFCMT
651         DCAE_EVENT:
652             acceptedTypes:
653             validForResourceTypes:
654                 - VF
655                 - VFCMT
656         AAI_VF_MODEL:
657             acceptedTypes:
658                 - xml
659             validForResourceTypes:
660                 - VF
661         AAI_VF_MODULE_MODEL:
662             acceptedTypes:
663                 - xml
664             validForResourceTypes:
665                 - VF
666         OTHER:
667             acceptedTypes:
668             validForResourceTypes: *allResourceTypes
669         SNMP_POLL:
670             acceptedTypes:
671             validForResourceTypes: *allResourceTypes
672         SNMP_TRAP:
673             acceptedTypes:
674             validForResourceTypes: *allResourceTypes
675
676     #PLAN
677         PLAN:
678             acceptedTypes:
679                 - xml
680             validForResourceTypes:
681                 - VF
682                 - VFC
683     WORKFLOW:
684         acceptedTypes:
685
686     # Resource instance deployment artifacts placeHolder
687     # For each artifact the following properties exists:
688     #
689     # acceptedTypes - File types that can be uploaded as each artifact
690     # validForRespurceTypes - Resource types that support each artifact.
691     # If left empty it means all resource types are valid
692     resourceInstanceDeploymentArtifacts:
693         HEAT_ENV:
694             acceptedTypes:
695                 - env
696         VF_MODULES_METADATA:
697             acceptedTypes:
698                 - json
699         VES_EVENTS:
700             acceptedTypes:
701                 - yaml
702                 - yml
703         PERFORMANCE_COUNTER:
704             acceptedTypes:
705                 - csv
706         DCAE_INVENTORY_TOSCA:
707             acceptedTypes:
708                 - yml
709                 - yaml
710         DCAE_INVENTORY_JSON:
711             acceptedTypes:
712                 - json
713         DCAE_INVENTORY_POLICY:
714           acceptedTypes:
715                 - emf
716         DCAE_INVENTORY_DOC:
717           acceptedTypes:
718         DCAE_INVENTORY_BLUEPRINT:
719           acceptedTypes:
720         DCAE_INVENTORY_EVENT:
721           acceptedTypes:
722         SNMP_POLL:
723             acceptedTypes:
724             validForResourceTypes: *allResourceTypes
725         SNMP_TRAP:
726             acceptedTypes:
727             validForResourceTypes: *allResourceTypes
728
729     #PLAN
730         PLAN:
731             acceptedTypes:
732                 - xml
733
734     # Resource informational artifacts placeHolder
735     # For each artifact the following properties exists:
736     #
737     # acceptedTypes - File types that can be uploaded as each artifact
738     # validForRespurceTypes - Resource types that support each artifact.
739     # If left empty it means all resource types are valid
740     resourceInformationalArtifacts:
741         CHEF:
742             acceptedTypes:
743             validForResourceTypes: *allResourceTypes
744         PUPPET:
745             acceptedTypes:
746             validForResourceTypes: *allResourceTypes
747         SHELL:
748             acceptedTypes:
749             validForResourceTypes: *allResourceTypes
750         YANG:
751             acceptedTypes:
752             validForResourceTypes: *allResourceTypes
753         YANG_XML:
754             acceptedTypes:
755             validForResourceTypes: *allResourceTypes
756         HEAT:
757             acceptedTypes:
758             validForResourceTypes: *allResourceTypes
759         BPEL:
760             acceptedTypes:
761             validForResourceTypes: *allResourceTypes
762         DG_XML:
763             acceptedTypes:
764             validForResourceTypes: *allResourceTypes
765         MURANO_PKG:
766             acceptedTypes:
767             validForResourceTypes: *allResourceTypes
768         OTHER:
769             acceptedTypes:
770             validForResourceTypes:
771                 - VFC
772                 - CVFC
773                 - CP
774                 - VL
775                 - VF
776                 - CR
777                 - VFCMT
778                 - Abstract
779                 - PNF
780         SNMP_POLL:
781             acceptedTypes:
782             validForResourceTypes: *allResourceTypes
783         SNMP_TRAP:
784             acceptedTypes:
785             validForResourceTypes: *allResourceTypes
786         GUIDE:
787             acceptedTypes:
788             validForResourceTypes:
789                 - VF
790                 - VFC
791                 - CVFC
792
793     # Requirements needed to be fulfilled before certification
794     requirementsToFulfillBeforeCert:
795
796     # Capabilities needed to be fulfilled before certification
797     capabilitiesToConsumeBeforeCert:
798
799     # Urls that should not be logged
800     unLoggedUrls:
801        - /sdc2/rest/healthCheck
802
803     # When component is being set as deleted those are the clean configurations
804     cleanComponentsConfiguration:
805
806         # The interval to check for deleted components to clean
807         cleanIntervalInMinutes: 1440
808
809         # The components types to delete
810         componentsToClean:
811            - Resource
812            - Service
813
814     # Deprecated. Will be removed in future releases
815     artifactsIndex: resources
816
817     # Used to add header and footer to heatENV files generated by SDC
818     heatEnvArtifactHeader: ""
819     heatEnvArtifactFooter: ""
820
821     onboarding:
822
823         # Onboarding protocol
824         protocol: http
825
826         # Onboarding backend hostname
827         host: <%= @host_ip %>
828
829         # Onboarding backend http port
830         port: <%= @catalog_port %>
831
832         # The url that being used when downloading CSARs
833         downloadCsarUri: "/onboarding-api/v1.0/vendor-software-products/packages"
834
835         # Url for onboarding health check
836         healthCheckUri: "/onboarding-api/v1.0/healthcheck"
837
838     dcae:
839         # The ip of the onboarding docker
840         host: <%= @dcae_be_vip %>
841         # The protocol to use
842         protocol: <https/http>
843         # The port the docker is listening on
844         port: <port>
845         # The url of the health check to use
846         healthCheckUri: "/dcae/healthCheck"
847
848
849     #GSS IDNS
850     # Switchover configuration is used for Geo redundancy to provide automatic failovers
851     switchoverDetector:
852         gBeFqdn:
853         gFeFqdn:
854         beVip: 1.2.3.4
855         feVip: 1.2.3.4
856         beResolveAttempts: 3
857         feResolveAttempts: 3
858         enabled: false
859         interval: 60
860         changePriorityUser: ecompasdc
861         changePriorityPassword: ecompasdc123
862         publishNetworkUrl:
863         publishNetworkBody: '{"note":"comment"}'
864         groups:
865           beSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["","","failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
866           feSet: { changePriorityUrl: "", changePriorityBody: '{"name":"","uri":"","no_ad_redirection":false,"v4groups":{"failover_groups":["",""],"failover_policy":["FAILALL"]},"comment":"","intended_app_proto":"DNS"}'}
867
868     # Cache for datatypes. Improving run times for data type search
869     applicationL1Cache:
870         datatypes:
871             enabled: true
872             firstRunDelay: 10
873             pollIntervalInSec: 60
874
875     # Deprecated. Will be removed in future releases
876     applicationL2Cache:
877         enabled: false
878         catalogL1Cache:
879             enabled: false
880             resourcesSizeInCache: 300
881             servicesSizeInCache: 200
882             productsSizeInCache: 100
883         queue:
884             syncIntervalInSecondes: 43200
885             waitOnShutDownInMinutes: 10
886             numberOfCacheWorkers: 4
887
888     # Validators for Tosca properties
889     toscaValidators:
890         stringMaxLength: 2500
891
892     # Should audit be disabled
893     disableAudit: false
894
895     # VF module validations properties
896     vfModuleProperties:
897         min_vf_module_instances:
898             forBaseModule: 1
899             forNonBaseModule: 0
900         max_vf_module_instances:
901             forBaseModule: 1
902             forNonBaseModule:
903         initial_count:
904             forBaseModule: 1
905             forNonBaseModule: 0
906         vf_module_type:
907             forBaseModule: Base
908             forNonBaseModule: Expansion
909
910     # For each generic node type defining its corresponding class
911     genericAssetNodeTypes:
912         VFC: org.openecomp.resource.abstract.nodes.VFC
913         CVFC: org.openecomp.resource.abstract.nodes.VFC
914         VF : org.openecomp.resource.abstract.nodes.VF
915         PNF: org.openecomp.resource.abstract.nodes.PNF
916         Service: org.openecomp.resource.abstract.nodes.service
917     # tenant isolation configuration
918     workloadContext: Production
919     # tenant isolation configuration
920     environmentContext:
921         defaultValue: General_Revenue-Bearing
922         validValues:
923            - Critical_Revenue-Bearing
924            - Vital_Revenue-Bearing
925            - Essential_Revenue-Bearing
926            - Important_Revenue-Bearing
927            - Needed_Revenue-Bearing
928            - Useful_Revenue-Bearing
929            - General_Revenue-Bearing
930            - Critical_Non-Revenue
931            - Vital_Non-Revenue
932            - Essential_Non-Revenue
933            - Important_Non-Revenue
934            - Needed_Non-Revenue
935            - Useful_Non-Revenue
936            - General_Non-Revenue
937     # tenant isolation configuration
938     dmaapConsumerConfiguration:
939         hosts: localhost:3905
940         consumerGroup: sdc
941         consumerId: mama
942         timeoutMs: 15000
943         limit: 1
944         pollingInterval: 2
945         topic: topic
946         latitude: 32.109333
947         longitude: 34.855499
948         version: 1.0
949         serviceName: localhost/events
950         environment: TEST
951         partner: BOT_R
952         routeOffer: MR1
953         protocol: https
954         contenttype: application/json
955         dme2TraceOn: true
956         aftEnvironment: AFTUAT
957         aftDme2ConnectionTimeoutMs: 15000
958         aftDme2RoundtripTimeoutMs: 240000
959         aftDme2ReadTimeoutMs: 50000
960         dme2preferredRouterFilePath: DME2preferredRouter.txt
961         timeLimitForNotificationHandleMs: 120000
962         credential:
963             username: user
964             password:
965     # tenant isolation configuration
966     dmeConfiguration:
967         dme2Search: DME2SEARCH
968         dme2Resolve: DME2RESOLVE
969     # definition for policies types that cannot by created by api
970     excludedPolicyTypesMapping:
971        # VF:
972         #  - a.b.c
973         #  - c.d.e
974         #CR:
975         #  - x.y.z
976     # definition for group types that cannot by created by api
977     excludedGroupTypesMapping:
978         CR:
979            - org.openecomp.groups.VfModule
980            - org.openecomp.groups.heat.HeatStack
981            - tosca.groups.Root
982         PNF:
983            - org.openecomp.groups.VfModule
984            - org.openecomp.groups.heat.HeatStack
985            - tosca.groups.Root
986         VF:
987            - org.openecomp.groups.VfModule
988            - org.openecomp.groups.heat.HeatStack
989            - tosca.groups.Root
990         Service:
991            - org.openecomp.groups.VfModule
992            - org.openecomp.groups.heat.HeatStack
993            - tosca.groups.Root
994
995     healthStatusExclude:
996        - DE
997        - DMAAP
998        - DCAE
999
1000
1001 BE-distribution-engine-configuration.yaml
1002 *****************************************
1003
1004 ::
1005
1006     # UEB servers list
1007     uebServers:
1008         <% node['UEB']['fqdn'].each do |conn| -%>
1009             - <%= conn %>
1010         <% end -%>
1011
1012     # UEB public key
1013     uebPublicKey: <%= node['UEB']['PublicKey'] %>
1014
1015     # UEB secret key
1016     uebSecretKey: <%= node['UEB']['SecretKey'] %>
1017
1018     # Topic name for receiving distribution notification
1019     distributionNotifTopicName:  SDC-DISTR-NOTIF-TOPIC
1020
1021     # Topic name for distribution status
1022     distributionStatusTopicName: SDC-DISTR-STATUS-TOPIC
1023
1024     # Distribution initialization retry interval time
1025     initRetryIntervalSec: 5
1026
1027     # Distribution initialization maximum interval time
1028     initMaxIntervalSec: 60
1029
1030     # Deprecated. Will be removed in future releases
1031     distribNotifServiceArtifactTypes:
1032         info:
1033             - MURANO-PKG
1034
1035     # Deprecated. Will be removed in future releases
1036     distribNotifResourceArtifactTypes:
1037         lifecycle:
1038             - HEAT
1039             - DG-XML
1040
1041     # Distribution environments
1042     environments:
1043         - <%= node.chef_environment %>
1044
1045     distributionStatusTopic:
1046
1047         # Distribution status polling interval
1048         pollingIntervalSec: 60
1049
1050         # Distribution status fetch time
1051         fetchTimeSec: 15
1052
1053         # Distribution status consumer group
1054         consumerGroup: sdc-<%= node.chef_environment %>
1055
1056         # Distribution status consumer id
1057         consumerId: sdc-<%= node.chef_environment %>1
1058
1059     distributionNotificationTopic:
1060
1061         # Minimum pool size for distribution notifications
1062         minThreadPoolSize: 0
1063
1064         # Maximum pool size for distribution notifications
1065         maxThreadPoolSize: 10
1066
1067         # Maximum waiting time after sending a notification
1068         maxWaitingAfterSendingSeconds: 5
1069
1070     # Deprecated. Will be removed in future releases
1071     createTopic:
1072         partitionCount: 1
1073         replicationCount: 1
1074
1075     # STarting the distribution engine
1076     startDistributionEngine: true
1077
1078     #This is false by default, since ONAP Dmaap currently doesn't support https
1079     # Should https be used with Dmaap
1080     useHttpsWithDmaap: false
1081     opEnvRecoveryIntervalSec: 180
1082     allowedTimeBeforeStaleSec: 300
1083     # aai configuration for tenant isolation
1084     aaiConfig:
1085        httpRequestConfig:
1086           serverRootUrl: https://aai-uint3.test.att.com:8443
1087           resourceNamespaces:
1088              operationalEnvironments: /aai/v12/cloud-infrastructure/operational-environments
1089
1090        httpClientConfig:
1091           timeouts:
1092              readTimeoutMs: 5000
1093              connectTimeoutMs: 1000
1094           clientCertificate:
1095              keyStore: /opt/app/jetty/base/be/etc/non-prod.jks
1096              keyStorePassword: hmXYcznAljMSisdy8zgcag==
1097           headers:
1098              X-FromAppId: asdc
1099           numOfRetries: 3
1100     # mso configuration for tenant isolation
1101     msoConfig:
1102        httpRequestConfig:
1103           serverRootUrl: http://127.0.0.1:8080/onap/mso/infra/modelDistributions/v1
1104           resourceNamespaces:
1105              distributions: /distributions
1106
1107        httpClientConfig:
1108            timeouts:
1109               readTimeoutMs: 2000
1110               connectTimeoutMs: 500
1111            basicAuthorization:
1112               userName: asdc
1113               password: OTLEp5lfVhYdyw5EAtTUBQ==
1114            numOfRetries: 3
1115
1116     currentArtifactInstallationTimeout: 120
1117
1118 BE-janusgraph.properties
1119 *******************
1120
1121 ::
1122
1123     # JanusGraph storage backend
1124     storage.backend=cassandra
1125
1126     # JanusGraph storage hostname
1127     storage.hostname=<%= @CASSANDRA_IP %>
1128
1129     # JanusGraph storage port
1130     storage.port=9042
1131
1132     # JanusGraph storage username
1133     storage.username=<%= @CASSANDRA_USR %>
1134
1135     # JanusGraph storage password
1136     storage.password=<%= @CASSANDRA_PWD %>
1137
1138     # JanusGraph storage connection timeout
1139     storage.connection-timeout=10000
1140
1141     # JanusGraph cassandra keyspace name
1142     storage.cassandra.keyspace=sdctitan
1143
1144     # Is JanusGraph cassandra ssl is enabled
1145     storage.cassandra.ssl.enabled=false
1146
1147     # JanusGraph cassandra ssl truststore file location
1148     storage.cassandra.ssl.truststore.location=/var/lib/jetty/config/.truststore
1149
1150     # JanusGraph cassandra ssl truststore file password
1151     storage.cassandra.ssl.truststore.password=Aa123456
1152
1153     # Should JanusGraph use cache
1154     cache.db-cache = false
1155
1156     # How long in milliseconds should the cache keep entries before flushing them
1157     cache.db-cache-clean-wait = 20
1158
1159     # Default expiration time in milliseconds for entries in the cache
1160     cache.db-cache-time = 180000
1161
1162     # Size of JanusGraph database cache
1163     cache.db-cache-size = 0.5
1164
1165     # JanusGraph cassandra read consistency level
1166     storage.cassandra.read-consistency-level=LOCAL_QUORUM
1167
1168     # JanusGraph cassandra write consistency level
1169     storage.cassandra.write-consistency-level=LOCAL_QUORUM
1170
1171     # JanusGraph cassandra replication strategy class name
1172     storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.NetworkTopologyStrategy
1173
1174     # JanusGraph cassandra replication startegy options
1175     storage.cassandra.replication-strategy-options=<%= @DC_NAME %>,<%= @rep_factor %>
1176
1177     # JanusGraph cassandra local data center name
1178     storage.cassandra.astyanax.local-datacenter=<%= @DC_NAME %>
1179
1180     # Number of times the system attempts to acquire a lock before giving up and throwing an exception
1181     storage.lock.retries=5
1182
1183     # Number of milliseconds the system waits for a lock application to be acknowledged by the storage backend
1184     storage.lock.wait-time=500
1185
1186
1187 Onboarding configuration
1188 ------------------------
1189
1190 BE-onboarding-configuration.yaml
1191 ********************************
1192
1193 ::
1194
1195     notifications:
1196
1197         # Backend onboarding notifications polling interval in milliseconds
1198         pollingIntervalMsec: 2000
1199
1200         # Backend onboarding notifications selection size
1201         selectionSize: 100
1202
1203         # Backend onboarding notifications backend hostname
1204         beHost: <%= @catalog_ip %>
1205
1206         # Backend onboarding notifications backend http port
1207         beHttpPort: <%= @catalog_port %>
1208     # Casandra configuration
1209     cassandraConfig:
1210         cassandraHosts: [<%= @cassandra_ip %>]
1211         localDataCenter: <%= @DC_NAME %>
1212         reconnectTimeout : 30000
1213         socketReadTimeout: <%= @socket_read_timeout %>
1214         socketConnectTimeout: <%= @socket_connect_timeout %>
1215         authenticate: true
1216         username: <%= @cassandra_usr %>
1217         password: <%= @cassandra_pwd %>
1218         ssl: <%= @cassandra_ssl_enabled %>
1219         truststorePath: /config/truststore
1220         truststorePassword: <%= @cassandra_truststore_password %>
1221
1222 externaltesting-configuration.yaml
1223 **********************************
1224
1225 ::
1226
1227     # configuration to make available to the front end of this feature
1228     client:
1229       enabled: true
1230     # array of endpoints that SDC-BE should connect with for external testing
1231     # id,label,enabled,url[,scenariofilter][,apikey]
1232     endpoints:
1233       - vtp:VTP,true,http://<hostname>[:<port>]/onapapi/vnfsdk-marketplace,c.*
1234       - repository:Repository,false,http://<ovphostname>[:<ovpport>]
1235
1236
1237
1238 vnfrepo-configuration.yaml
1239 **************************
1240
1241 ::
1242
1243     # The port on which the vnfsdk is licensing
1244     vnfRepoPort: <port>
1245     # The ip where vnfdk is deployed
1246     vnfRepoHost: <ip>
1247     # The url used for querying the vnf sdk for available CSARs
1248     getVnfUri: /onapapi/vnfsdk-marketplace/v1/PackageResource/csars
1249     # The url used for downloading the the CSAR from vnf sdk
1250     downloadVnfUri: /onapapi/vnfsdk-marketplace/v1/PackageResource/csars/%s/files
1251
1252
1253
1254 Frontend Configuration
1255 ======================
1256 Catalog configuration
1257 ---------------------
1258
1259 FE-configuration.yaml
1260 *********************
1261
1262 ::
1263
1264     # Catalog frontend hostname
1265     feFqdn: <%= @fe_host_ip %>
1266
1267     # Catalog backend hostname
1268     beHost: <%= @be_host_ip %>
1269
1270     # Catalog backend http port
1271     beHttpPort: <%= @catalog_port %>
1272
1273     # Catalog backend http context
1274     beContext: /sdc2/rest/v1/catalog/upload/resources
1275
1276     # Catalog backend protocol
1277     beProtocol: http
1278
1279     # Catalog backend ssl port
1280     beSslPort: <%= @ssl_port %>
1281
1282     # Threadpool size for handling requests
1283     threadpoolSize: 50
1284
1285     # Request processing timeout (seconds)
1286     requestTimeout: 10
1287
1288     # Health check timeout in milliseconds
1289     healthCheckSocketTimeoutInMs: 5000
1290
1291     # Health check inteval in seconds
1292     healthCheckIntervalInSeconds: 5
1293
1294     onboarding:
1295
1296         # Onboarding protocol
1297         protocol: http
1298
1299         # Onboarding frontend hostname
1300         host: <%= @fe_host_ip %>
1301
1302         # Onboarding frontend port
1303         port: 8181
1304
1305         # Onboarding frontend health check url
1306         healthCheckUri: "/onboarding/v1.0/healthcheck"
1307
1308     # Request headers for identification of the user that made the request
1309     identificationHeaderFields:
1310         -
1311             - &HTTP_IV_USER HTTP_IV_USER
1312             - &iv-user iv-user
1313         -
1314             - &USER_ID USER_ID
1315             - &user-id user-id
1316         -
1317             - &HTTP_CSP_ATTUID HTTP_CSP_ATTUID
1318             - &csp-attuid csp-attuid
1319         -
1320             - &HTTP_CSP_WSTYPE HTTP_CSP_WSTYPE
1321             - &csp-wstype csp-wstype
1322
1323     # Optional request headers
1324     optionalHeaderFields:
1325         -
1326             - &HTTP_CSP_FIRSTNAME HTTP_CSP_FIRSTNAME
1327             - &csp-firstname csp-firstname
1328         -
1329             - &HTTP_CSP_LASTNAME HTTP_CSP_LASTNAME
1330             - &csp-lastname csp-lastname
1331         -
1332             - &HTTP_IV_REMOTE_ADDRESS HTTP_IV_REMOTE_ADDRESS
1333             - &iv-remote-address iv-remote-address
1334         -
1335             - &HTTP_CSP_EMAIL HTTP_CSP_EMAIL
1336             - &csp-email csp-email
1337
1338     # Frontend configuration version
1339     version: 1.0
1340
1341     # Frontend configuration release date
1342     released: 2012-11-30
1343
1344     # Connection parameters
1345     connection:
1346         url: jdbc:mysql://localhost:3306/db
1347         poolSize: 17
1348
1349     # Protocols being used in SDC
1350     protocols:
1351         - http
1352         - https
1353
1354     # Collect process statistics
1355     systemMonitoring:
1356
1357         # Should monitoring be enabled
1358         enabled: false
1359
1360         # In case of going through the FE server proxy the information to the BE
1361         isProxy: true
1362
1363         # What is the interval of the statistics collection
1364         probeIntervalInSeconds: 15
1365
1366     # Kibana hostname
1367     kibanaHost: localhost
1368
1369     # Kibana http port
1370     kibanaPort: 5601
1371
1372     # Kibana usage protocol
1373     kibanaProtocol: http
1374
1375 FE-plugins-configuration.yaml
1376 *****************************
1377 ::
1378
1379    # definition of the plugins that exist in sdc
1380    # we have a pre-defined list of plugins that are connected to the system.
1381    # the plugins define where they are shown, to whom and on what elements
1382    pluginsList:
1383         # the DCAE-DS is the SDC monitoring design studio this entry defines there use as part of the service level context
1384       - pluginId: DCAED
1385         # this defines from which url to chek that they are available
1386         pluginDiscoveryUrl: <%= @dcae_discovery_url %>
1387         # this defines from wht URL will ther you be served.
1388         pluginSourceUrl: <%= @dcae_source_url %>
1389         #thsi defines the plugin state name used by the UI for sending messages.
1390         pluginStateUrl: "dcaed"
1391         # the display options for the plugin
1392         pluginDisplayOptions:
1393            # the plugin will be displayed in the context of a catalog item
1394            context:
1395                # what will the option tag in the ui will be called
1396                displayName: "Monitoring"
1397                # under what catalog item to display it
1398                displayContext: ["SERVICE"]
1399                # what user roles will have the option to access the plugin
1400                displayRoles: ["DESIGNER"]
1401         # DCAE-DS as a tab
1402       - pluginId: DCAE-DS
1403         pluginDiscoveryUrl: <%= @dcae_dt_discovery_url %>
1404         pluginSourceUrl: <%= @dcae_dt_source_url %>
1405         pluginStateUrl: "dcae-ds"
1406         pluginDisplayOptions:
1407           tab:
1408               displayName: "DCAE-DS"
1409               displayRoles: ["DESIGNER"]
1410         #work flow plugin
1411       - pluginId: WORKFLOW
1412         pluginDiscoveryUrl: <%= @workflow_discovery_url %>
1413         pluginSourceUrl: <%= @workflow_source_url %>
1414         pluginStateUrl: "workflowDesigner"
1415         pluginDisplayOptions:
1416            tab:
1417                displayName: "WORKFLOW"
1418                displayRoles: ["DESIGNER", "TESTER"]
1419
1420    # how long we will wait for the plugin to respond before cutting it.
1421    connectionTimeout: 1000
1422
1423 FE-workspace-configuration.yaml
1424 *****************************
1425 ::
1426
1427 # this file contains the different configurable UI workspace items that can be set according to resource and service type.
1428 # the workspaceMenuConfiguration entry defines the workspace menus that are displayed according to type/subtype of the component in the workspace
1429 # in addition, they can also be disabled for specific roles. the key is the resource type or service type and it will return the list of the menu
1430 # items that will be displayed.
1431 #
1432 # each key had a list of menu items with the following data:
1433 #   - text: display text,
1434 #   - state: the state for the screen
1435 #   - action: action associated
1436 #   - index: optional - an integer that will be used to decide on the order of appearance
1437 # following are 2 example
1438     workspaceMenuConfiguration:
1439       VFC:
1440       - text: General
1441         action: onMenuItemPressed
1442         state: workspace.general
1443       - text: Deployment Artifact
1444         action: onMenuItemPressed
1445         state: workspace.deployment_artifacts
1446       - text: Information Artifact
1447         action: onMenuItemPressed
1448         state: workspace.information_artifacts
1449       - text: TOSCA Artifacts
1450         action: onMenuItemPressed
1451         state: workspace.tosca_artifacts
1452       - text: Properties
1453         action: onMenuItemPressed
1454         state: workspace.properties
1455       - text: Attributes
1456         action: onMenuItemPressed
1457         state: workspace.attributes
1458       - text: Req. & Capabilities
1459         action: onMenuItemPressed
1460         state: workspace.reqAndCap
1461       - text: Activity Log
1462         action: onMenuItemPressed
1463         state: workspace.activity_log
1464       SERVICE:
1465       - text: General
1466         action: onMenuItemPressed
1467         state: workspace.general
1468       - text: TOSCA Artifacts
1469         action: onMenuItemPressed
1470         state: workspace.tosca_artifacts
1471       - text: Composition
1472         action: onMenuItemPressed
1473         state: workspace.composition.details
1474       - text: Operation
1475         action: onMenuItemPressed
1476         state: workspace.interface_operation
1477       - text: Activity Log
1478         action: onMenuItemPressed
1479         state: workspace.activity_log
1480       - text: Management Workflow
1481         action: onMenuItemPressed
1482         state: workspace.management_workflow
1483       - text: 'Network Call Flow '
1484         action: onMenuItemPressed
1485         state: workspace.network_call_flow
1486       - text: Distribution
1487         action: onMenuItemPressed
1488         state: workspace.distribution
1489         disabledRoles:
1490         - ADMIN
1491         - TESTER
1492         - GOVERNOR
1493         - DESIGNER
1494       - text: Deployment
1495         action: onMenuItemPressed
1496         state: workspace.deployment
1497       - text: Properties Assignment
1498         action: onMenuItemPressed
1499         state: workspace.properties_assignment
1500       - text: Outputs
1501         action: onMenuItemPressed
1502         state: workspace.outputs_assignment
1503       - text: Req. & Capabilities
1504         action: onMenuItemPressed
1505         state: workspace.reqAndCapEditable
1506
1507
1508 Onboarding configuration
1509 ------------------------
1510
1511 FE-onboarding-configuration.yaml
1512 ********************************
1513
1514 ::
1515
1516     notifications:
1517
1518         # Frontend onboarding notifications polling interval in milliseconds
1519         pollingIntervalMsec: 2000
1520
1521         # Frontend onboarding notifications selection size
1522         selectionSize: 100
1523
1524         # Frontend onboarding notifications backend hostname
1525         beHost: <%= @catalog_ip %>
1526
1527         # Frontend onboarding notifications backend http port
1528         beHttpPort: <%= @catalog_port %>
1529
1530