Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Creating anchor:
curl --location --user cpsuser:cpsr0cks!  --request POST \
http://$CPS_IP:8080/cps/api/v1/dataspaces/E2EDemo/anchors?schema-set-name=ran-network \
-d anchor-name=11

Uploading cps payload:

payload-ran-network-anchor

Uploading cps payload:

payload.json
curl --location --user cpsuser:cpsr0cks! --request POST \
http://$CPS_IP:8080/cps/api/v1/dataspaces/E2EDemo/anchors/11/nodes \
--header 'Content-Type: application/json' \
-d @payload-ran-network.json

curl --location --user cpsuser:cpsr0cks! --request POST \
http://$CPS_IP:8080/cps/api/v1/dataspaces/E2EDemo/anchors/ran-networkinventory-anchor/nodes \
--header 'Content-Type: application/json' \
-d @payload-ran-network.json@ran-inventory-sample-data.json ran-inventory-sample-data.json 
Uploading tbdmt-templates:

...