feat(mapping-tools): Add TABLE_SERVER_URL environment variable #23

Merged parmentf merged 1 commit into tdm:master from tdm:mapping-tools-use-env-url on 23 Jan 2023
@parmentf parmentf commented on 23 Jan 2023

As the mapping tables are now external to the mapping-tools lodex-workers instance, it would be useful to set the URL of the tables server in the instance's configuration.

Thus, the creation of an environment variable named TABLE_SERVER_URL.

Oh: when you change TABLE_SERVER_URL, you have to rm /tmp/memory directory, where cache is stored, otherwise new tables won't be taken into account.

Maybe we should add a /v1/clean-cache route ?

@parmentf parmentf referenced the pull request on 23 Jan 2023

feat(mapping-tools): Add TABLE_SERVER_URL environment variable

@parmentf parmentf merged commit d44a7d6 into master from mapping-tools-use-env-url on 23 Jan 2023
@parmentf parmentf closed this pull request on 23 Jan 2023
@parmentf parmentf deleted the mapping-tools-use-env-url branch on 23 Jan 2023
Labels

Priority
high
Milestone
No milestone
Assignee
@parmentf parmentf
1 participant
@parmentf