Versions Compared

Key

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

...

Create a file job1.json with the job definition (replace paths <url-for-jod-data-delivery> and <url-for-jod-status-delivery> to fit your environment:


Code Block
titlejob1.json
{

...


  "info_type_id":

...

 "ExampleInformationType",

...


  "job_result_uri":

...

 "<url-for-jod-data-delivery>",

...


  "job_owner":

...

 "job1owner",

...


  "status_notification_uri":

...

 "<url-for-jod-status-delivery>",

...


  "job_definition": {}

...


}


Create job1 for type 'ExampleInformationType'

curl -k -X PUT -H Content-Type:application/json https://localhost:8434/data-consumer/v1/info-jobs/job1 --data-binary @job1.json

Check that the job has been enabled - job accepted by the Dmaap Adapter Service

...

Create a file job2.json with the job definition (replace paths <url-for-jod-data-delivery> and <url-for-jod-status-delivery> to fit your enviroment:


Code Block
titlejob2.json
{

...


  "info_type_id":

...

 "ExampleInformationTypeKafka",

...


  "job_result_uri":

...

 "<url-for-jod-data-delivery>",

...


  "job_owner":

...

 "job1owner",

...


  "status_notification_uri":

...

 "<url-for-jod-status-delivery>",

...


  "job_definition": {}

...


}


Create job2 for type 'ExampleInformationType'

curl -k -X PUT -H Content-Type:application/json https://localhost:8434/data-consumer/v1/info-jobs/job2 --data-binary @job2.json

Check that the job has been enabled - job accepted by the Dmaap Adapter Service

...