...
Code Block |
---|
|
curl -X PUT -H Content-Type:application/json https://localhost:8083/data-consumer/v1/info-jobs/job1 --data-binary @job1.json |
Check that the job has been enabled - job accepted by the Dmaap Adaptor Service
Code Block |
---|
|
curl -k https://informationservice:8434/A1-EI/v1/eijobs/job1/status
{"eiJobStatus":"ENABLED"} |
Data posted on the message router topic unauthenticated.dmaapadp.json will be delivered to the path as specified in the job1.json.
...
Code Block |
---|
language | bash |
---|
title | job1.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 job1 job2 for type 'ExampleInformationType'
Code Block |
---|
|
curl -X PUT -H Content-Type:application/json https://localhost:8083/data-consumer/v1/info-jobs/job1 --data-binary @job2.json |
Check that the job has been enabled - job accepted by the Dmaap Adaptor Service
Code Block |
---|
|
curl -k https://informationservice:8434/A1-EI/v1/eijobs/job2/status
{"eiJobStatus":"ENABLED"} |
Data posted on the kafka topic unauthenticated.dmaapadp_kafka.text will be delivered to the path as specified in the job1.json.
...
Code Block |
---|
|
curl -X PUT -H Content-Type:application/json https://localhost:8083/data-consumer/v1/info-jobs/job3 --data-binary @job3.json |
Check that the job has been enabled - job accepted by the Dmaap Adaptor Service
Code Block |
---|
|
curl -k https://informationservice:8434/A1-EI/v1/eijobs/job3/status
{"eiJobStatus":"ENABLED"} |
Data posted on the message router topic unauthenticated.dmaapmed.json will be delivered to the path as specified in the jo2.json