Added a test for service supervision

Added that when service supervision deletes policices, it will
grant a shared lock of the RIC (which it must).

PUT and DELETE a policy will trigger keep alive of the owning service

Change-Id: I6770694a5dbff3b8d635a9997265292ad3c0f524
Issue-ID: NONRTRIC-155
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
diff --git a/policy-agent/docs/api.yaml b/policy-agent/docs/api.yaml
index 9c7d96e..a2f1b57 100644
--- a/policy-agent/docs/api.yaml
+++ b/policy-agent/docs/api.yaml
@@ -431,11 +431,11 @@
         '200':
           description: Policy updated
           schema:
-            type: string
+            type: object
         '201':
           description: Policy created
           schema:
-            type: string
+            type: object
         '401':
           description: Unauthorized
         '403':
@@ -869,6 +869,8 @@
     title: RicInfo
   ServiceRegistrationInfo:
     type: object
+    required:
+      - serviceName
     properties:
       callbackUrl:
         type: string