Pull Product Image(s) from GDSN URI
User Story
As a Product Manager I want the Product Image(s) to be pulled from the web when GS1 attributes are pulled through the GDSN so that my Products have images automatically downloaded from the web directed by the GS1 information provider.
Background Documents
Acceptance Criteria
-
Add a new type of Rule to download images from URL -
In the new rule, selecting the Family is required -
There is a way to map family text attributes (source) to image attributes (destination): -
From the family's attributes, all those that are text attributes that have a URL
validation are shown to be chosen as a source to download images from. -
From the the family's image attributes, the user can map the source attribute to the destination attribute, and when the family is a variant family, the list of destination image attributes that the user can select from should be from the same variant level.
-
-
When the rule is run, the URLs in the source attributes are downloaded from the internet as a file in a temporary location, then set to the destination image attribute, and any temp cache download should be cleared. -
The destination image attribute's constraints should be followed in the download (e.g. file extension, max file size). -
A default time-out should be used (e.g. 15s).
Definition of Ready
-
User Story can be broken down no further -
Acceptance Criteria and Story Points are agreed upon by development team and PO
Definition of Done
-
If required, UI Mockups are created and reviewed -
Code is written with automated unit tests, reviewed, merged to master branch, all tests pass -
All UI texts are multilingual -
Manual tests in test environment are successfully performed -
Test Plan is updated -
Documentation is updated
Edited by Piotr Borek