From d279ef72d0b634f9fa57b4bce9dffebebf010d83 Mon Sep 17 00:00:00 2001 From: PatrikBuhr Date: Tue, 21 Sep 2021 14:47:59 +0200 Subject: Create a json schema for validation of the configuration of the A1 PMS - A1 Jakarta To create a json schema to be used for validation of the PMS configuration. The schema shall be used by PMS. It can also be used by the end user. The documentation should be updated on how can be done. Issue-ID: CCSDK-3468 Signed-off-by: PatrikBuhr Change-Id: I9932fa42ff40681098764c8dc84ac201bb3fabaf --- a1-policy-management/config/application.yaml | 1 + a1-policy-management/config/application_configuration.json | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'a1-policy-management/config') diff --git a/a1-policy-management/config/application.yaml b/a1-policy-management/config/application.yaml index a40f172f..e1a778c3 100644 --- a/a1-policy-management/config/application.yaml +++ b/a1-policy-management/config/application.yaml @@ -74,4 +74,5 @@ app: http.proxy-type: HTTP # path where the service can store data vardata-directory: /var/policy-management-service + config-file-schema-path: diff --git a/a1-policy-management/config/application_configuration.json b/a1-policy-management/config/application_configuration.json index 6c21b166..6187c866 100644 --- a/a1-policy-management/config/application_configuration.json +++ b/a1-policy-management/config/application_configuration.json @@ -1,6 +1,6 @@ { - "config": { - "//description": "Application configuration", + "description": "Application configuration", + "config": { "controller": [ { "name": "controller1", @@ -21,4 +21,4 @@ } ] } -} \ No newline at end of file +} -- cgit 1.2.3-korg