diff options
author | piclose <pc457b@intl.att.com> | 2017-02-01 16:18:30 +0100 |
---|---|---|
committer | piclose <pc457b@intl.att.com> | 2017-02-01 16:19:06 +0100 |
commit | 03f2362649b5bcf83d7e6e5359abf18b6810f16b (patch) | |
tree | 2107611be86508add699e6ed33e912221795f25f /attributes/topology.rb | |
parent | dd8e6f97fe382311d40487749b8706f4f3ae9f94 (diff) |
Initial OpenECOMP MSO mso-config cookbook commit
Change-Id: I57dfeb7fb8fceea14e1d1394f51009af141dd6a1
Signed-off-by: piclose <pc457b@intl.att.com>
Diffstat (limited to 'attributes/topology.rb')
-rw-r--r-- | attributes/topology.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/attributes/topology.rb b/attributes/topology.rb new file mode 100644 index 0000000..72df8ba --- /dev/null +++ b/attributes/topology.rb @@ -0,0 +1,17 @@ +require 'uri' +###################### +# MSO Config Path +########## +node.default["mso-config"]["topology"]["apih-load-balancer"] = URI.join(node["mso-bpmn-urn-config"]["adaptersDbEndpoint"], "/").to_s +node.default["mso-config"]["topology"]["jra-load-balancer"] = URI.join(node["mso-bpmn-urn-config"]["adaptersSdncEndpoint"], "/").to_s +node.default["mso-config"]["topology"]["camunda-load-balancer"] = URI.join(node["mso-api-handler-infra-config"]["camundaURL"], "/").to_s + +node.default["mso-config"]["topology"]["site-name"] = node.chef_environment +node.default["mso-config"]["topology"]["server-port"] = "8080" +node.default["mso-config"]["topology"]["ssl-enable"] = "false" + +node.default["mso-config"]["topology"]["apih-healthcheck-urn"] = "/ecomp/mso/infra/healthcheck,/asdc/healthcheck,/dbadapters/healthcheck" +node.default["mso-config"]["topology"]["jra-healthcheck-urn"] = "/networks/rest/healthcheck,/adapters/rest/healthcheck,/vnfs/rest/healthcheck,/tenants/rest/healthcheck" +node.default["mso-config"]["topology"]["camunda-healthcheck-urn"] = "/mso/healthcheck" +node.default["mso-config"]["topology"]["apih-nodehealthcheck-urn"] = "/ecomp/mso/infra/nodehealthcheck" +node.default["mso-config"]["topology"]["jra-nodehealthcheck-urn"] = "/adapters/rest/nodehealthcheck" |