I'm wondering how to set up a stage/test environment for a linked-data infrastructure.
Indeed, in my organization we have the prerequisite to always have test env together with a prod env. Until here nothing abnormal. However, this can be complicate for linked-data where the data are identified by URI. The URI is central to linked-data.
How can you set up a test environment with the same uri(s) as the production environment ?
The only thing that i see are:
A sort of private network where to set some DNS rules that says that when in that environment, the uri should redirect to that test machine IP.
While outside of the that VPN, the machine should be the one that an internet DNS point to.
The other solution is having a reverse proxy like ngnix which does url rewrite. Hence you would adress the test machine with a local url and this url, will be re-injected in the response by the reverse proxy with a rewrite. But that's just too heavy and could only work with rdfa. I don't know if a reverse proxy can pasrse a full turtle file.
final solution, changing the base uri of your data each time.
Please any suggestion ?
Aucun commentaire:
Enregistrer un commentaire