Versions Compared

Key

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

...

Testing the environment

create CBA file:

cd cds/components/model-catalog/blueprint-model/uat-blueprints/pnf_config

zip -r ~/pnf_config.zip .

pnf_config.zip is a valid CBA file.

then post this CBA file to CDS with command:

curl -X POST -u ccsdkapps:ccsdkapps -F file=@$HOME/pnf_conig.zip http://localhost:8000/api/v1/blueprint-model/publish | json_pp

afterwords, you can see the model list with command:

curl -u ccsdkapps:ccsdkapps http://localhost:8000/api/v1/blueprint-model/ | json_pp