-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into MODINVOSTO-187
- Loading branch information
Showing
4 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"id": "a93373df-e7ec-4d31-b200-719736610d89", | ||
"_version": 1, | ||
"jobNumber": 1, | ||
"jobName": "Daily Fund Update", | ||
"jobDetails": { | ||
"description": "Updating fund records for the day" | ||
}, | ||
"status": "IN_PROGRESS", | ||
"recordsCount": 100, | ||
"metadata": { | ||
"createdDate": "2023-10-01T12:00:00Z", | ||
"createdByUserId": "d93373df-e7ec-4d31-b200-719736610d89", | ||
"updatedDate": "2023-10-01T12:00:00Z", | ||
"updatedByUserId": "d93373df-e7ec-4d31-b200-719736610d89" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"fundUpdateLogs": [ | ||
{ | ||
"id": "a93373df-e7ec-4d31-b200-719736610d89", | ||
"_version": 1, | ||
"jobNumber": 1, | ||
"jobName": "Daily Fund Update", | ||
"jobDetails": { | ||
"description": "Updating fund records for the day" | ||
}, | ||
"status": "IN_PROGRESS", | ||
"recordsCount": 100, | ||
"metadata": { | ||
"createdDate": "2023-10-01T12:00:00Z", | ||
"createdByUserId": "user123", | ||
"updatedDate": "2023-10-01T12:00:00Z", | ||
"updatedByUserId": "user123" | ||
} | ||
} | ||
], | ||
"totalRecords": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "Fund update logs", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"description": "UUID of fund update log", | ||
"$ref": "../../common/schemas/uuid.json" | ||
}, | ||
"_version": { | ||
"type": "integer", | ||
"description": "Record version for optimistic locking" | ||
}, | ||
"jobNumber": { | ||
"description": "The number of the job", | ||
"type": "integer" | ||
}, | ||
"jobName": { | ||
"description": "The name of the job", | ||
"type": "string" | ||
}, | ||
"jobDetails": { | ||
"description": "details of job", | ||
"type": "object" | ||
}, | ||
"status": { | ||
"description": "The status of the job", | ||
"type": "string", | ||
"enum": [ | ||
"IN_PROGRESS", | ||
"COMPLETED", | ||
"ERROR" | ||
] | ||
}, | ||
"recordsCount": { | ||
"description": "The count of records", | ||
"type": "integer" | ||
}, | ||
"metadata": { | ||
"type": "object", | ||
"$ref": "../../../raml-util/schemas/metadata.schema", | ||
"readonly": true | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"jobName" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "A collection of fund update logs", | ||
"type": "object", | ||
"properties": { | ||
"fundUpdateLogs": { | ||
"description": "The list of objects contained in this collection", | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"$ref": "fund_update_log.json" | ||
} | ||
}, | ||
"totalRecords": { | ||
"description": "The number of object contained in this collection", | ||
"type": "integer" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"fundUpdateLogs", | ||
"totalRecords" | ||
] | ||
} |