Mutlicloud config aligned with global so config
Issue-ID: SO-3643
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I1adb99cae66c1daf3ca61c49da5908f310da7297
@Configuration
public class MulticloudConfiguration {
- @Value("${multicloud.protocol}")
- private String protocol;
- @Value("${multicloud.host}")
- private String host;
- @Value("${multicloud.port}")
- private Integer port;
+ @Value("${multicloud.endpoint}")
+ private String endpoint;
public String getMulticloudUrl() {
- return protocol + "://" + host + ":" + port;
+ return endpoint;
}
}
max-threads: 50
multicloud:
- protocol: "http"
- host: "multicloud-k8s"
- port: 9015
+ endpoint: http://multicloud-k8s.onap:9015
#mso:
# key: 07a7159d3bf51a0e53be7a8f89699be7