Fix nfdeployment deleting issue
[pti/o2.git] / README.md
index aae2c5c..01d9710 100644 (file)
--- a/README.md
+++ b/README.md
@@ -132,6 +132,9 @@ kubectl get pods -A
 \r
 ```sh\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
 export NODE_IP=<INF OAM IP>\r
 \r
@@ -143,6 +146,7 @@ service:
   type: NodePort\r
   nodePort: 30330\r
 EOF\r
+\r
 helm install chartmuseumrepo chartmuseum/chartmuseum -f chartmuseum-override.yaml\r
 kubectl get pods\r
 Kubectl get services\r
@@ -260,7 +264,7 @@ docker logs -f o2_redis_pubsub_1
 \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
@@ -272,9 +276,9 @@ curl --location --request POST 'http://localhost:5005/o2dms/${dmsId}/O2dms_Deplo
   "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
@@ -283,7 +287,7 @@ curl --location --request POST 'http://localhost:5005/o2dms/${dmsId}/O2dms_Deplo
   "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
@@ -305,5 +309,5 @@ open browswer with url: http://<NODE_IP>:30667
 ## 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