Skip to content

Commit

Permalink
[MODFISTO-497] - add jobNUmber field
Browse files Browse the repository at this point in the history
  • Loading branch information
azizbekxm committed Nov 5, 2024
1 parent 0c9a0b7 commit 0aa7610
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions mod-finance/examples/fund_update_log.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": 1,
"_version": 1,
"jobNumber": 1,
"jobName": "Daily Fund Update",
"jobDetails": {
"description": "Updating fund records for the day"
Expand Down
3 changes: 2 additions & 1 deletion mod-finance/examples/fund_update_log_collection.sample
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"fundUpdateLogs": [
{
"id": 1,
"id": "a93373df-e7ec-4d31-b200-719736610d89",
"_version": 1,
"jobNumber": 1,
"jobName": "Daily Fund Update",
"jobDetails": {
"description": "Updating fund records for the day"
Expand Down
8 changes: 6 additions & 2 deletions mod-finance/schemas/fund_update_log.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@
"type": "object",
"properties": {
"id": {
"description": "id of the fund update log record",
"type": "integer"
"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"
Expand Down

0 comments on commit 0aa7610

Please sign in to comment.