update sdc portal integration
[sdc.git] / sdc-os-chef / environments / Template.json
1 {
2    "name": "xxx",
3    "description": "OpenSource-xxx",
4    "json_class": "Chef::Environment",
5    "chef_type": "environment",
6
7    "default_attributes": {
8         "disableHttp": false,
9         "CS_VIP": "yyy",
10         "BE_VIP": "yyy",
11         "ONBOARDING_BE_VIP": "yyy",
12         "FE_VIP": "yyy",
13         "ES_VIP": "yyy",
14         "KB_VIP": "yyy",
15         "DCAE_BE_VIP": "yyy",
16         "DCAE_FE_VIP": "yyy",
17         "interfaces": {
18             "application": "eth0",
19             "private": "eth1"
20         },
21                 "ECompP": {
22                     "ecomp_rest_url": "http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi",
23             "ecomp_redirect_url": "http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm",
24             "cipher_key": "AGLDdG4D04BKm2IxIWEr8o==",
25             "portal_user": "Ipwxi2oLvDxctMA1royaRw1W0jhucLx+grHzci3ePIA=",
26             "portal_pass": "j85yNhyIs7zKYbR1VlwEfNhS6b7Om4l0Gx5O8931sCI=",
27             "portal_app_name": "Ipwxi2oLvDxctMA1royaRw1W0jhucLx+grHzci3ePIA="
28         },
29         "UEB": {
30             "PublicKey": "iPIxkpAMI8qTcQj8",
31             "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
32             "fqdn": ["10.0.11.1", "10.0.11.1"]
33         },
34         "Nodes": {
35             "CS": [
36               "yyy"
37             ],
38             "BE":            "yyy",
39             "ONBOARDING_BE": "yyy",
40             "FE":            "yyy",
41             "ES": [
42                "yyy"
43             ],
44             "KB":            "yyy"
45         },
46         "Plugins": {
47             "DCAE": {
48                 "dcae_discovery_url": "http://yyy:8183/dcaed/#/demo",
49                 "dcae_source_url": "http://yyy:8183/dcaed/#/demo"
50             },
51             "DCAE-TAB": {
52                 "dcae_dt_discovery_url": "yyy",
53                 "dcae_dt_source_url": "yyy"
54             },
55             "WORKFLOW": {
56                 "workflow_discovery_url": "yyy",
57                 "workflow_source_url": "yyy"
58             }
59         },
60            "VnfRepo": {
61              "vnfRepoPort": "8702",
62              "vnfRepoHost": "10.0.14.1"
63            }
64     },
65     "override_attributes": {
66         "FE": {
67             "http_port": "8181",
68             "https_port": "9443"
69         },
70         "BE": {
71             "http_port": "8080",
72             "https_port": "8443"
73         },
74         "ONBOARDING_BE": {
75             "http_port": "8081",
76             "https_port": "8445",
77             "catalog_notification_url": "%s://%s:%s/sdc2/rest/v1/catalog/notif/vsp/"
78         },
79         "elasticsearch": {
80             "cluster_name": "SDC-ES-",
81             "ES_path_home": "/usr/share/elasticsearch",
82             "ES_path_data": "/usr/share/elasticsearch/data",
83             "num_of_replicas": "0",
84             "num_of_shards": "1"
85         },
86
87         "cassandra": {
88             "concurrent_reads": "32",
89             "num_tokens": "256",
90             "data_dir": "/var/lib/cassandra/data",
91             "hinted_handoff_enabled": "true",
92             "cassandra_user": "asdc_user",
93             "cassandra_password": "Aa1234%^!",
94             "concurrent_writes": "32",
95             "cluster_name": "SDC-CS-",
96             "datacenter_name": "SDC-CS-",
97             "multithreaded_compaction": "false",
98             "cache_dir": "/var/lib/cassandra/saved_caches",
99             "log_file": "/var/lib/cassandra/log/system.log",
100             "phi_convict_threshold": "8",
101             "commitlog_dir": "/var/lib/cassandra/commitlog",
102             "socket_read_timeout": "20000",
103             "socket_connect_timeout": "20000",
104             "titan_connection_timeout": "10000"
105         }
106     }
107 }
108