Skip to content

Commit

Permalink
feat(rules): multi resource rule set
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Jan 30, 2024
1 parent 0c1d044 commit b2a9502
Show file tree
Hide file tree
Showing 10 changed files with 694 additions and 1,836 deletions.
4 changes: 2 additions & 2 deletions datasets/demo-shop/data/seed-data/addresses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
modifiedBy: ""
owners:
- id: urn:restorecommerce:acs:names:ownerIndicatoryEntity
value: urn:restorecommerce:acs:model:organization.Organization
value: urn:restorecommerce:acs:model:user.User
attributes:
- id: urn:restorecommerce:acs:names:ownerInstance
value: restorecommecre-demo-customer-002-organization
value: restorecommerce-demo-customer-002-user-000
6 changes: 3 additions & 3 deletions datasets/demo-shop/data/seed-data/customers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
---
id: restorecommecre-demo-customer-unauthenticated
private:
userId: unauthenticated_user
userId: restorecommerce-demo-unauthenticated-user
contactPointIds: []
meta:
modifiedBy: ""
owners:
- id: urn:restorecommerce:acs:names:ownerIndicatoryEntity
value: urn:restorecommerce:acs:model:user.User
value: urn:restorecommerce:acs:model:organization.Organization
attributes:
- id: urn:restorecommerce:acs:names:ownerInstance
value: unauthenticated_user
value: restorecommecre-demo-root-organization
52 changes: 48 additions & 4 deletions datasets/demo-shop/data/seed-data/organizations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,50 @@
attributes:
- id: urn:restorecommerce:acs:names:ownerInstance
value: restorecommecre-demo-root-organization
---
id: restorecommecre-demo-shops-organization
name: Restorecommerce Demo Shops
contactPointIds: []
website: ""
email: ""
vatId: ""
isicV4: ""
registration: ""
logo:
url: ""
registrationCourt: ""
paymentMethodIds: []
parentId: "restorecommecre-demo-root-organization"
meta:
modifiedBy: ""
owners:
- id: urn:restorecommerce:acs:names:ownerIndicatoryEntity
value: urn:restorecommerce:acs:model:organization.Organization
attributes:
- id: urn:restorecommerce:acs:names:ownerInstance
value: restorecommecre-demo-shops-organization
---
id: restorecommecre-demo-customers-organization
name: Restorecommerce Demo Customers
contactPointIds: []
website: ""
email: ""
vatId: ""
isicV4: ""
registration: ""
logo:
url: ""
registrationCourt: ""
paymentMethodIds: []
parentId: "restorecommecre-demo-root-organization"
meta:
modifiedBy: ""
owners:
- id: urn:restorecommerce:acs:names:ownerIndicatoryEntity
value: urn:restorecommerce:acs:model:organization.Organization
attributes:
- id: urn:restorecommerce:acs:names:ownerInstance
value: restorecommecre-demo-customers-organization
---
id: restorecommecre-demo-shop-000-organization
name: Restorecommerce Demo Shop 000 Organization
Expand All @@ -34,7 +78,7 @@
url: http://console:80/templates/logos/PNG/X_Logo.png
registrationCourt: Amtsgericht Stuttgart (Registergericht)
paymentMethodIds: []
parentId: restorecommecre-demo-root-organization
parentId: restorecommecre-demo-shops-organization
meta:
modifiedBy: ""
owners:
Expand All @@ -57,7 +101,7 @@
url: ""
registrationCourt: Amtsgericht Stuttgart (Registergericht)
paymentMethodIds: [ ]
parentId: restorecommecre-demo-root-organization
parentId: restorecommecre-demo-customers-organization
meta:
modifiedBy: ""
owners:
Expand All @@ -80,12 +124,12 @@
url: ""
registrationCourt: Amtsgericht Stuttgart (Registergericht)
paymentMethodIds: [ ]
parentId: restorecommecre-demo-root-organization
parentId: restorecommecre-demo-customers-organization
meta:
modifiedBy: ""
owners:
- id: urn:restorecommerce:acs:names:ownerIndicatoryEntity
value: urn:restorecommerce:acs:model:organization.Organization
attributes:
- id: urn:restorecommerce:acs:names:ownerInstance
value: restorecommecre-demo-customer-002-organization
value: restorecommecre-demo-customer-001-organization
2 changes: 1 addition & 1 deletion datasets/demo-shop/data/seed-data/shops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
shopNumber: "00000000"
name: "Restorecommerce Demo Shop 000"
description: ""
domain: store.restorecommerce.io
domain: localhost
organizationId: restorecommecre-demo-shop-000-organization
meta:
modifiedBy: ""
Expand Down
Loading

0 comments on commit b2a9502

Please sign in to comment.