-
Story
-
Resolution: Unresolved
-
Medium
-
None
Request:
Method: GET
Path: /dmi/v1/dataJob/{requestId}/dataProducerJob/{dataProducerJobId}/status
How:
- Create a Java interface (DataJobStatusService) (requsetId, dataProducerJobId) that returns a string
- Send an sync request to the dmi (url defined above)
- Implement the DMI Stub version
- Create DmiSubJobStatusRequestHandler
- Check status code and then return the extracted the message
- In case of an error thrown the DmiRequestException
Out of scope:
- error handling
- Treat the Enum as a string
A/C:
- Agree with the external team about the actual Java interface definition (params, java doc etc...) (Csaba Kocsis must confirm the interface)
- Demo to the team (with the stub)
- Create a new acceptance test at src/test/groovy/org/onap/cps/integration/functional/datajobs
Name | Description | Location | Type | Mandatory |
---|---|---|---|---|
dataProducerId | ID of the producer registered by DMI for the alernateIDs in the operations in this request. | Query | String | Y |
requestId | Identifier for the overall Datajob | Path | String | Y |
dataProducerJobId | Identifier of the job created by the data producer. | Path | String | Y |