gs1 / GS1_DigitalLink_Resolver_CE

The GS1 DigitalLink Resolver Community Edition
Apache License 2.0
42 stars 26 forks source link

Pattern-based redirection #5

Closed philarcher closed 3 years ago

philarcher commented 5 years ago

We need to be able to redirect all requests for a given MO or GCP to an alternative resolver. And this needs to be an option in the UI in a way that makes sense to non-specialist users. At its most simple, it's likely to be just 0123456789* (i.e. anything that matches that initial string) but we also need to support more intricate things like:

https://target.api.example.com?gtin={gtin}&ser={ser}

etc.

N.B. This is not fully defined in version 1.1 of the standard but will be in version 1.2.

philarcher commented 3 years ago

Tidying up old issues. This was done ages ago.