Added check in PUT policy 28/3228/2
authorPatrikBuhr <patrik.buhr@est.tech>
Thu, 9 Apr 2020 11:46:21 +0000 (13:46 +0200)
committerPatrikBuhr <patrik.buhr@est.tech>
Thu, 9 Apr 2020 11:51:53 +0000 (13:51 +0200)
commit6f609c727d66ad20b5b31eae472fcde5e4acd569
tree60f828827492841775a79a1c734381f36d00a7eb
parent222a0318c0551eaa4b827a19c7eb5e380a68faf6
Added check in PUT policy

For PUT policy, added ad check that the RIC actually supports the given type.
Previously it was only check that the type existed.

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