Versions Compared

Key

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

...

To load a yang resource, create a new yang resource csv file to load the data (as outlined above) in the following format 'yang_resource_@*@<revision*>'   (the revision is usually the date of the change in the format yyyy-mm-dd)

...

Code Block
languagebash
curl --location --request POST 'http://localhost:8080/cps/api/v1/dataspaces/*dataspacename*<dataspace name>/schema-sets' --header 'Authorization: Basic Y3BzdXNlcjpjcHNyMGNrcyE=' --form 'file=*PATH-TO-YANG-FILE-ON-LOCAL*<path to local file>' --form 'schema-set-name='*NAME-OF-SCEHMA-SET-DEFINED-IN-YANG_RESOURCE*<schema set name>'

Add the generated checksum into the yang resource csv above.

...