## setup local repo: o2imsrepo\r
\r
```sh\r
-# helm repo add chartmuseum https://chartmuseum.github.io/charts\r
-# helm repo update\r
+helm repo add chartmuseum https://chartmuseum.github.io/charts\r
+helm repo update\r
helm pull chartmuseum/chartmuseum # download chartmuseum-3.4.0.tgz to local\r
tar zxvf chartmuseum-3.4.0.tgz\r
\r
\r
curl --location --request GET 'http://localhost:5005/o2ims_infrastructureInventory/v1/deploymentManagers'\r
export dmsId=<DMS ID>\r
-curl --location --request POST 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor' \\r
+curl --location --request POST 'http://localhost:5005/o2dms/v1/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor' \\r
--header 'Content-Type: application/json' \\r
--data-raw '{\r
"name": "cfwdesc1",\r
"outputParams": "{\"output1\": 100}"\r
}'\r
\r
-curl --location --request GET 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor'\r
+curl --location --request GET 'http://localhost:5005/o2dms/v1/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor'\r
\r
-curl --location --request POST 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment' \\r
+curl --location --request POST 'http://localhost:5005/o2dms/v1/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment' \\r
--header 'Content-Type: application/json' \\r
--data-raw '{\r
"name": "cfw100",\r
"parentDeploymentId": ""\r
}'\r
\r
-curl --location --request GET 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment'\r
+curl --location --request GET 'http://localhost:5005/o2dms/v1/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment'\r
\r
export NfDeploymentId=<NfDeployment Id>\r
\r
## bring down CFW\r
\r
```sh\r
-curl --location --request DELETE 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment/${NfDeploymentId}'\r
+curl --location --request DELETE 'http://localhost:5005/o2dms/v1/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment/${NfDeploymentId}'\r
```\r