...
Issue | Notes | Decision | |
---|---|---|---|
1 | dataaccepttype Do we need to consider this parameter in our NCMP internal Java interface? | The controller should accept/reject dataaccepttype. From the client application | The Controller will validate and set the Default as necessary kieran mccarthy Sourabh Sourabh Kolawole Adebisi-Adeolokun Toine Siebelink |
2 | datacontenttype Do we need to consider this parameter in our NCMP internal Java interface? | NCMP should maintain the content type as received and not modify datacontenttype. | NCMP should maintain what content type as received and not modify kieran mccarthy Sourabh Sourabh Kolawole Adebisi-Adeolokun Toine Siebelink |
3 |
| kieran mccarthy & Rafael to come back with a 'definition' and 'example | Kolawole Adebisi-Adeolokun to follow up with stakeholders on decision by 19/03/2024 |
4 | The study mentions ' | kieran mccarthy & Rafael to come back with a 'definition' and 'example | Read and Write data jobs are 2 deff. objects. Kolawole Adebisi-Adeolokun to follow up with stakeholders on decision by 19/03/2024 |
5 | Combine all java api parameters into 1 parameter object? | There is a limit (sonar quality check) of 7 parameter max for a method | Team |
6 | Confirm that validation is the responsibility of the REST? | ||
7 | Can one request contain both read and write operations? |
Data Structures
...
Name | Description | Type | Mandatory |
---|---|---|---|
id | Identifier of the resource object | String | N |
attributes | Attributes object whose members are the class attributes and values. The object contains key/value map where:
| Object | N |
ActionParameters
Name | Description | Type | Mandatory |
---|---|---|---|
input | The input of the action. Key value pairs. | Object | N |
Response
Name | Description | Type | Mandatory |
jobId | The id of the data job | string | Y |
status | The status of the jobid | enum: [ NOT_STARTED, RUNNING, FINSHED, FAILED, PARTIALLY_FAILED, CANCELLING, CANCELLED ] | Y |
statusuri | Status uri for the jobid. Example: {apiRoot}/ranoam/cm/v1/dataJob/{jobId} | uri | Y |
resultsuri | Result uri for the jobid. Example: {apiRoot}/s3-bucket/{bucketId} | uri | Y |
...
READ
Status Code: 200 - Ok
Name | Description | Location | Type | Mandatory |
---|---|---|---|---|
resulturi | internal ncmp topic name | response body | String | Y |
Examples from DCM Study
DataJob Read request (rAPP -> DCM)
...
Priority | Component | Description | JIRA | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | NCMP | Create implementation proposal for NCMP to provide support for Data jobs qualifier during registration |
| |||||||||||||
2 | NCMP | NCMP to provide support for data producer identifier during registration |
| |||||||||||||
3 | NCMP | Support of Datajobs qualifier during registration |
| |||||||||||||
4 | NCMP | Modify the get cmHandle api to return dataProducerIdentifier, moduleSetTag, and alternateId |
| |||||||||||||
5 | NCMP | Modify lcm events to include dataProducerIdentifier and moduleSetTag |
| |||||||||||||
6 | NCMP | Create implementation proposal for NCMP to provide Java interface that can support Data jobs request |
| |||||||||||||
7 | NCMP | Define a java based datastructure for DataJob |
| |||||||||||||
8 | NCMP | Handle Datajob request in java interface |
| |||||||||||||
9 | NCMP | Handle async datajob response in java interface |
| |||||||||||||
10 | DMIResponse schema for DMI dataJob response | Define DMI REST interface for Datajobs |
| |||||||||||||
11 | DMI | Define DMI REST interface for Datajobsa java based datastructure dmi request for dmi endpoint |
| |||||||||||||
12 | NCMP | DMI | Response schema for DMI dataJob responseForward dataJob response from DMI to client topic in header as destination |
| ||||||||||||
13 | NCMP | Forward dataJob response from DMI to client topic in header as destination |
| |||||||||||||
1413 | DMI | Stub should be modified to use generated code from OpenAPI |
| |||||||||||||
1415 | E2E demo for internal team and stakeholder |
|
...