LOG.info(_LI("Initializing Music API"))
server_url = CONF.music_api.server_url.rstrip('/')
+ if server_url and server_url.startswith('https'):
+ CONF.music_api.enable_https_mode = True
if not server_url:
# host/port/path are deprecated and should not be used anymore.
# Defaults removed from oslo_config to give more incentive.
# Set one parameter for connection mode
# Currently depend on music version
if CONF.music_api.enable_https_mode:
- self.rest.server_url = 'https://{}:{}/{}'.format(
- host, port, version, path.rstrip('/').lstrip('/'))
self.rest.session.verify = CONF.music_api.certificate_authority_bundle_file
if CONF.music_api.music_new_version:
<parent>
<groupId>org.onap.optf.has</groupId>
- <version>2.0.2-SNAPSHOT</version>
+ <version>2.0.3-SNAPSHOT</version>
<artifactId>optf-has</artifactId>
</parent>
<groupId>org.onap.optf.has</groupId>
<artifactId>optf-has-conductor</artifactId>
- <version>2.0.2-SNAPSHOT</version>
+ <version>2.0.3-SNAPSHOT</version>
<name>optf-has-conductor</name>
<description>Homing Allocation Service/Conductor</description>
<artifactId>optf-has</artifactId>
<name>optf-has</name>
- <version>2.0.2-SNAPSHOT</version>
+ <version>2.0.3-SNAPSHOT</version>
<description>Homing Allocation Service</description>
<modules>
major=2
minor=0
-patch=2
+patch=3
base_version=${major}.${minor}.${patch}