diff --git a/datasets/system/data/seed-data/currencies.yaml b/datasets/system/data/seed-data/currencies.yaml new file mode 100644 index 0000000..1cc85b8 --- /dev/null +++ b/datasets/system/data/seed-data/currencies.yaml @@ -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 +--- \ No newline at end of file diff --git a/datasets/system/jobs/job_master.json b/datasets/system/jobs/job_master.json index 6d9de98..af6bc2e 100644 --- a/datasets/system/jobs/job_master.json +++ b/datasets/system/jobs/job_master.json @@ -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",