Versions Compared

Key

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

...

These requests would be of the type-

curl -X POST http://<onboardingapi host>/onboarding/dataformats     -H "Content-Type: application/json" -d @<filepath to request>
curl -X POST http://<onboardingapi host>/onboarding/components     -H "Content-Type: application/json" -d @<filepath to request>   

In our case, 
curl -X POST http://10.12.7.116/onboarding/dataformats     -H "Content-Type: application/json" -d @<filepath to request>
curl -X POST http://10.12.7.116/onboarding/components     -H "Content-Type: application/json" -d @<filepath to request>  

You can download the Components and Data Formats for the demo from – 

Components: 

https://git.onap.org/dcaegen2/collectors/ves/tree/dpo/spec/vescollector-componentspec.json https://git.onap.org/dcaegen2/analytics/tca-gen2/tree/dcae-analytics/dpo/tcagen2_spec.json 

Corresponding Data Formats: 

https://git.onap.org/dcaegen2/collectors/ves/tree/dpo/data-formats
https://git.onap.org/dcaegen2/analytics/tca-gen2/tree/dcae-analytics/dpo/

...