summaryrefslogtreecommitdiffstats
path: root/platform-logic/a1Adapter-api/src/main/xml
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-02-10 13:54:26 -0500
committerDan Timoney <dtimoney@att.com>2020-02-10 13:55:22 -0500
commit453f93bcb80b363f20f7a0378472614b25561a16 (patch)
tree0015999a3735c5343a6b34dd562135acf0ba0b41 /platform-logic/a1Adapter-api/src/main/xml
parentca7c8f071efc97bd36818c1af88ec1f6b4544df7 (diff)
Revert "Fixed the host Address"
This reverts commit ca7c8f071efc97bd36818c1af88ec1f6b4544df7. Issue-ID: CCSDK-2083 Change-Id: Ifb4a0d103a3311b2a475d732dddd532ba7111b2a Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'platform-logic/a1Adapter-api/src/main/xml')
-rw-r--r--platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getHealthCheck.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getHealthCheck.xml b/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getHealthCheck.xml
index d4aae7e0..6ba77520 100644
--- a/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getHealthCheck.xml
+++ b/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getHealthCheck.xml
@@ -24,7 +24,7 @@
<block atomic='true'>
<set>
<parameter name="tmp.near-rt-ric-id" value="`$get-health-check-input.near-rt-ric-id`"/>
- <parameter name="tmp.restapi.healthcheck-url" value="`'http://' + $get-health-check-input.host-ip-address + ':' + $prop.nearric.port + '/' + $prop.restapi.healthcheck`"/>
+ <parameter name="tmp.restapi.healthcheck-url" value="`$prop.restapi.healthcheck`"/>
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/A1-Adapter.log" />
@@ -34,7 +34,7 @@
<parameter name="field3" value="`$tmp.restapi.healthcheck-url`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.restapi.healthcheck-url`"/>
+ <parameter name="restapiUrl" value="`$prop.a1Mediator.url + '/' + $tmp.restapi.healthcheck-url`"/>
<parameter name="format" value="json"/>
<parameter name="httpMethod" value="GET"/>
<parameter name="responsePrefix" value="a1MediatorRsp"/>