[TECHDEBT] Remove deprecated API methods related to NCMP
[cps.git] / cps-ncmp-rest / docs / openapi / openapi.yml
index 8d8684a..838a0d0 100755 (executable)
@@ -1,5 +1,5 @@
 #  ============LICENSE_START=======================================================
-#  Copyright (C) 2021 Nordix Foundation
+#  Copyright (C) 2021-2022 Nordix Foundation
 #  Modifications Copyright (C) 2021 Pantheon.tech
 #  Modifications Copyright (C) 2021 Bell Canada
 #  ================================================================================
@@ -26,23 +26,14 @@ info:
 servers:
   - url: /ncmp
 paths:
-  /v1/cm-handles/{cm-handle}/node:
-    $ref: 'ncmproxy.yml#/nodeByCmHandleAndXpath'
+  /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-operational:
+    $ref: 'ncmp.yml#/getResourceDataForPassthroughOperational'
 
-  /v1/cm-handles/{cm-handle}/list-node:
-    $ref: 'ncmproxy.yml#/listNodeByCmHandleAndXpath'
+  /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running:
+    $ref: 'ncmp.yml#/resourceDataForPassthroughRunning'
 
-  /v1/cm-handles/{cm-handle}/nodes/query:
-    $ref: 'ncmproxy.yml#/nodesByCmHandleAndCpsPath'
+  /v1/ch/{cm-handle}/modules:
+    $ref: 'ncmp.yml#/fetchModuleReferencesByCmHandle'
 
-  /v1/cm-handles/{cm-handle}/nodes:
-    $ref: 'ncmproxy.yml#/nodesByCmHandleAndXpath'
-
-  /v1/ch:
-    $ref: 'ncmproxy.yml#/updateDmiRegistration'
-
-  /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-operational/{resourceIdentifier}:
-    $ref: 'ncmproxy.yml#/getResourceDataForPassthroughOperational'
-
-  /v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running/{resourceIdentifier}:
-    $ref: 'ncmproxy.yml#/resourceDataForPassthroughRunning'
\ No newline at end of file
+  /v1/ch/searches:
+    $ref: 'ncmp.yml#/executeCmHandleSearch'
\ No newline at end of file