summaryrefslogtreecommitdiffstats
path: root/platform-logic/a1Adapter-api/src/main/xml
diff options
context:
space:
mode:
authorychacon <yennifer.chacon@est.tech>2021-10-07 08:47:21 +0200
committerychacon <yennifer.chacon@est.tech>2021-10-07 08:47:21 +0200
commit49f5f04a369961a3e72cc5ba2167131caed42073 (patch)
treea90c6b4bcd88f29964e6dd02a4500bf3c79dd3e8 /platform-logic/a1Adapter-api/src/main/xml
parent4d06be520a77ad871eeabf0e12c8e4f8a77f275b (diff)
Bug fix - Update http response code
Issue-ID: CCSDK-3475 Signed-off-by: ychacon <yennifer.chacon@est.tech> Change-Id: Ib591c350462fedb2076a18999c6ccf3541323e15
Diffstat (limited to 'platform-logic/a1Adapter-api/src/main/xml')
-rw-r--r--platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_deleteA1Policy.xml8
-rw-r--r--platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1Policy.xml8
-rw-r--r--platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1PolicyStatus.xml6
-rw-r--r--platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1PolicyType.xml8
4 files changed, 15 insertions, 15 deletions
diff --git a/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_deleteA1Policy.xml b/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_deleteA1Policy.xml
index 760a84da..feb3253b 100644
--- a/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_deleteA1Policy.xml
+++ b/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_deleteA1Policy.xml
@@ -10,7 +10,7 @@
<parameter name="field2" value="`$delete-a1-policy-input.near-rt-ric-url`"/>
</record>
<set>
- <parameter name='response-code' value='200' />
+ <parameter name='tmp-response-code' value='200' />
<parameter name='response-message' value='deletePolicy executed successfully' />
</set>
<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
@@ -68,7 +68,7 @@
</record>
<set>
<parameter name='body' value='`$a1MediatorRsp.httpResponse`'/>
- <parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>
+ <parameter name='tmp-response-code' value='`$a1MediatorRsp.response-code`'/>
<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>
</set>
</block>
@@ -93,8 +93,8 @@
<parameter name="ack-final-indicator" value="Y" />
<parameter name="error-code" value="200" />
<parameter name="error-message" value="`$error-message`" />
- <parameter name='response-code' value='200' />
- <parameter name='response-message' value='deletePolicyInstance executed successfully'/>
+ <parameter name='response-code' value="`$tmp-response-code`" />
+ <parameter name='response-message' value="Delete Policy Instance executed successfully"/>
<parameter name='ack-final' value='Y'/>
</return>
</block>
diff --git a/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1Policy.xml b/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1Policy.xml
index 5b8e46d1..b299165d 100644
--- a/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1Policy.xml
+++ b/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1Policy.xml
@@ -10,7 +10,7 @@
<parameter name="field2" value="`$get-a1-policy-input.near-rt-ric-url`"/>
</record>
<set>
- <parameter name='response-code' value='200' />
+ <parameter name='tmp-response-code' value='200' />
<parameter name='response-message' value='Get A1 Policy executed successfully' />
</set>
<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
@@ -74,7 +74,7 @@
</record>
<set>
<parameter name='responseBody' value='`$tmp.a1-mediator-restapi.httpResponse`'/>
- <parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>
+ <parameter name='tmp-response-code' value='`$a1MediatorRsp.response-code`'/>
<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>
</set>
</block>
@@ -99,8 +99,8 @@
<parameter name="ack-final-indicator" value="Y" />
<parameter name="error-code" value="200" />
<parameter name="error-message" value="`$error-message`" />
- <parameter name='response-code' value='200' />
- <parameter name='response-message' value='Get PolicyInstance executed successfully'/>
+ <parameter name='response-code' value="`$tmp-response-code`" />
+ <parameter name='response-message' value="Get PolicyInstance executed successfully"/>
<parameter name='ack-final' value='Y'/>
</return>
</block>
diff --git a/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1PolicyStatus.xml b/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1PolicyStatus.xml
index a96c5f10..b41edafe 100644
--- a/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1PolicyStatus.xml
+++ b/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1PolicyStatus.xml
@@ -10,7 +10,7 @@
<parameter name="field2" value="`$get-a1-policy-status-input.near-rt-ric-url`"/>
</record>
<set>
- <parameter name='response-code' value='200' />
+ <parameter name='tmp-response-code' value='200' />
<parameter name='response-message' value='Get A1 Policy executed successfully' />
</set>
<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
@@ -74,7 +74,7 @@
</record>
<set>
<parameter name='responseBody' value='`$tmp.a1-mediator-restapi.httpResponse`'/>
- <parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>
+ <parameter name='tmp-response-code' value='`$a1MediatorRsp.response-code`'/>
<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>
</set>
</block>
@@ -99,7 +99,7 @@
<parameter name="ack-final-indicator" value="Y" />
<parameter name="error-code" value="200" />
<parameter name="error-message" value="`$error-message`" />
- <parameter name='response-code' value='200' />
+ <parameter name='response-code' value="`$tmp-response-code`" />
<parameter name='response-message' value='Get Policy Status executed successfully'/>
<parameter name='ack-final' value='Y'/>
</return>
diff --git a/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1PolicyType.xml b/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1PolicyType.xml
index 0f8c5875..56341f95 100644
--- a/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1PolicyType.xml
+++ b/platform-logic/a1Adapter-api/src/main/xml/A1-ADAPTER-API_getA1PolicyType.xml
@@ -10,7 +10,7 @@
<parameter name="field2" value="`$get-a1-policy-type-input.near-rt-ric-url`"/>
</record>
<set>
- <parameter name='response-code' value='200' />
+ <parameter name='tmp-response-code' value='200' />
<parameter name='response-message' value='getA1PolicyType executed successfully' />
</set>
<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
@@ -74,7 +74,7 @@
</record>
<set>
<parameter name='responseBody' value="`$tmp.a1-mediator-restapi.httpResponse`"/>
- <parameter name='response-code' value='`$a1MediatorRsp.response-code`'/>
+ <parameter name='tmp-response-code' value='`$a1MediatorRsp.response-code`'/>
<parameter name='response-message' value='`$a1MediatorRsp.response-message`'/>
</set>
</block>
@@ -99,8 +99,8 @@
<parameter name="ack-final-indicator" value="Y" />
<parameter name="error-code" value="200" />
<parameter name="error-message" value="`$error-message`" />
- <parameter name='response-code' value='200' />
- <parameter name='response-message' value='A1 Adapter is healthy'/>
+ <parameter name='response-code' value="`$tmp-response-code`" />
+ <parameter name='response-message' value='Get A1 Policy Type Information successfully'/>
<parameter name='health-status' value='200'/>
<parameter name='ack-final' value='Y'/>
</return>