summaryrefslogtreecommitdiffstats
path: root/platform-logic/a1Adapter-api/src/main/xml
diff options
context:
space:
mode:
authorLathish <lathishbabu.ganesan@est.tech>2020-02-07 11:32:33 +0000
committerLathish <lathishbabu.ganesan@est.tech>2020-02-07 11:32:37 +0000
commitca7c8f071efc97bd36818c1af88ec1f6b4544df7 (patch)
tree818b6fcf0c4693a54224af604389dc5fc9ea8629 /platform-logic/a1Adapter-api/src/main/xml
parent44718ad0bc22f3c6f9f10176d07383f4ae581375 (diff)
Fixed the host Address
Issue-ID: CCSDK-2083 Change-Id: Ia45aed46a4630c6de399b424b11ed773b48bd01b Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
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 6ba77520..d4aae7e0 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="`$prop.restapi.healthcheck`"/>
+ <parameter name="tmp.restapi.healthcheck-url" value="`'http://' + $get-health-check-input.host-ip-address + ':' + $prop.nearric.port + '/' + $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="`$prop.a1Mediator.url + '/' + $tmp.restapi.healthcheck-url`"/>
+ <parameter name="restapiUrl" value="`$tmp.restapi.healthcheck-url`"/>
<parameter name="format" value="json"/>
<parameter name="httpMethod" value="GET"/>
<parameter name="responsePrefix" value="a1MediatorRsp"/>