Bugfix controller adaption 24/3224/3
authorPatrikBuhr <patrik.buhr@est.tech>
Thu, 9 Apr 2020 05:48:26 +0000 (07:48 +0200)
committerPatrikBuhr <patrik.buhr@est.tech>
Thu, 9 Apr 2020 06:13:46 +0000 (08:13 +0200)
commit67cb2d0bd5b6294cd021f4c8931bcb9d5c2a5dc5
tree987d42bacba58bf626eff6d1effa1b31472412d0
parent3d0aa333829644f0590b5064d68866da212ef717
Bugfix controller adaption

The input to the controllers is Json, so the follwing
has changed (illustrated by an example):

From:
{"input":"{\"near-rt-ric-url\":\"XXXX/A1-P/v1/policies\"}"}

To:
{"input":{"near-rt-ric-url":"XXXX/A1-P/v1/policies"}}

Change-Id: I668eda2072fff9ce71bdbfed32fcb1a40b0799c8
Issue-ID: NONRTRIC-164
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
policy-agent/src/main/java/org/oransc/policyagent/clients/SdncJsonHelper.java
policy-agent/src/test/java/org/oransc/policyagent/clients/A1ClientHelper.java
policy-agent/src/test/java/org/oransc/policyagent/clients/SdncOnapA1ClientTest.java
policy-agent/src/test/java/org/oransc/policyagent/clients/SdncOscA1ClientTest.java