From 0e3740a9011f59e18b0e65230d1ba61ec6ab8ba6 Mon Sep 17 00:00:00 2001 From: RehanRaza Date: Mon, 3 Aug 2020 15:56:03 +0200 Subject: Add seed code for A1 policy management service Change-Id: I4925a613a85b182aab6d78dafd55ec333acba49d Issue-ID: CCSDK-2617 Signed-off-by: RehanRaza --- .../resources/test_osc_get_schema_response.json | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 a1-policy-management/src/test/resources/test_osc_get_schema_response.json (limited to 'a1-policy-management/src/test/resources/test_osc_get_schema_response.json') diff --git a/a1-policy-management/src/test/resources/test_osc_get_schema_response.json b/a1-policy-management/src/test/resources/test_osc_get_schema_response.json new file mode 100644 index 00000000..537d86f7 --- /dev/null +++ b/a1-policy-management/src/test/resources/test_osc_get_schema_response.json @@ -0,0 +1,45 @@ +{ + "name": "pt1", + "description": "pt1 policy type", + "policy_type_id": 1, + "create_schema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "OSC_Type1_1.0.0", + "description": "Type 1 policy type", + "type": "object", + "properties": { + "scope": { + "type": "object", + "properties": { + "ueId": { + "type": "string" + }, + "qosId": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ueId", + "qosId" + ] + }, + "qosObjective": { + "type": "object", + "properties": { + "priorityLevel": { + "type": "number" + } + }, + "additionalProperties": false, + "required": [ + "priorityLevel" + ] + } + }, + "additionalProperties": false, + "required": [ + "scope", "qosObjective" + ] + } +} -- cgit 1.2.3-korg