From 20e7a733d8a3657fd9932eaf8144f47777965533 Mon Sep 17 00:00:00 2001 From: lukegleeson Date: Thu, 20 Oct 2022 10:14:00 +0100 Subject: Query data NCMP-Operational with CPSpath New GET Endpoint: /v1/ch/{cm-handle}/data/ds/{ncmp-datastore-name}/query?cps-path={CPSPath} Implemented error for {ncmp-datastore-name} other than operational - (Toine) Refactored and renamed (abstract) handler for better re-use Mainly by introducing a separate handler for OperationalQuery Reviewers Toine, Sourabh, Priyank Issue-ID: CPS-1002 Signed-off-by: lukegleeson Change-Id: Iaca018869d95d4ce800072431baa190050a6dad0 --- docs/api/swagger/ncmp/openapi.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/api/swagger/ncmp/openapi.yaml') diff --git a/docs/api/swagger/ncmp/openapi.yaml b/docs/api/swagger/ncmp/openapi.yaml index b9eee5603d..44c4788cfd 100644 --- a/docs/api/swagger/ncmp/openapi.yaml +++ b/docs/api/swagger/ncmp/openapi.yaml @@ -6,7 +6,7 @@ info: servers: - url: /ncmp paths: - /v1/ch/{cm-handle}/data/ds/{ncmp-datastore-name}: + /v1/ch/{cm-handle}/data/ds/{datastore-name}: get: tags: - network-cm-proxy @@ -14,7 +14,7 @@ paths: description: Get resource data for given cm handle operationId: getResourceDataForCmHandle parameters: - - name: ncmp-datastore-name + - name: datastore-name in: path description: The type of the requested data required: true @@ -154,7 +154,7 @@ paths: handle operationId: updateResourceDataRunningForCmHandle parameters: - - name: ncmp-datastore-name + - name: datastore-name in: path description: The type of the requested data required: true @@ -277,7 +277,7 @@ paths: description: create resource data from pass-through running for given cm handle operationId: createResourceDataRunningForCmHandle parameters: - - name: ncmp-datastore-name + - name: datastore-name in: path description: The type of the requested data required: true @@ -397,7 +397,7 @@ paths: description: Delete resource data from pass-through running for a given cm handle operationId: deleteResourceDataRunningForCmHandle parameters: - - name: ncmp-datastore-name + - name: datastore-name in: path description: The type of the requested data required: true @@ -513,7 +513,7 @@ paths: handle operationId: patchResourceDataRunningForCmHandle parameters: - - name: ncmp-datastore-name + - name: datastore-name in: path description: The type of the requested data required: true -- cgit 1.2.3-korg