Skip to content
This repository has been archived by the owner on Aug 24, 2020. It is now read-only.

Signature for each item #32

Open
CarstenWalther opened this issue Sep 20, 2018 · 0 comments
Open

Signature for each item #32

CarstenWalther opened this issue Sep 20, 2018 · 0 comments

Comments

@CarstenWalther
Copy link
Collaborator

Products carry a signature to detect manipulations of product attributes like quantity.

Currently a group of items share a signature. Example: a merchant orders 10 items and receives the items including a signature. The signature contains the quantity 10.

This system works well with offering products on the marketplace and removing offers. However, restocking an offer with new items becomes complicated because the marketplace has to keep track, which item of the restocked offer belongs to which signature. When the merchant removed a restocked offer, the marketplace might need to return multiple groups of items and their signatures.

Martin and I have discussed to have each item have its own identity and signature. With this change, producer and merchants can act as before. The offer management (create/restock/delete) on the marketplace will be simpler and problems with the current offer management will be fixed.
The disadvantage of approach is that more data must be sent/received (each individual item instead of a single group of items with a 'quantity' attribute.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant