Skip to content

Commit

Permalink
feat(currency): add currencies to dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Nov 25, 2024
1 parent f1bd5fe commit 73deeff
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions datasets/system/data/seed-data/currencies.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
id: euro
name: Euro
symbol:
precision: 2
meta:
modifiedBy: ""
owners:
- id: urn:restorecommerce:acs:names:ownerIndicatoryEntity
value: urn:restorecommerce:acs:model:organization.Organization
attributes:
- id: urn:restorecommerce:acs:names:ownerInstance
value: system
---
6 changes: 6 additions & 0 deletions datasets/system/jobs/job_master.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
"filter": "countries.yaml",
"mutation": "mutation{ master_data { country { Mutate( input: { items: ${resource_list}, totalCount: 0, mode: UPSERT } ) { details{items {status {id, code, message}}, operationStatus { code message }} } } }}"
},
{
"name": "currencies",
"operation": "sync",
"filter": "currencies.yaml",
"mutation": "mutation{ master_data { currency { Mutate( input: { items: ${resource_list}, totalCount: 0, mode: UPSERT } ) { details{items {status {id, code, message}}, operationStatus { code message }} } } }}"
},
{
"name": "contact_point_types",
"operation": "sync",
Expand Down

0 comments on commit 73deeff

Please sign in to comment.