diff --git a/apil-dumps/03-enrichment-address.ini b/apil-dumps/03-enrichment-address.ini index 5edec62..1685b35 100644 --- a/apil-dumps/03-enrichment-address.ini +++ b/apil-dumps/03-enrichment-address.ini @@ -33,13 +33,14 @@ [expand/expand/expand] path = value.address size = env('size') +cacheName = env('cache').thru(x => x ? 'affiliations-tools-v1-expand' : null) ;[expand/expand/expand/debug] ;text = address [expand/expand/expand/URLConnect] -url = https://affiliations-tools.services.inist.fr/v1/expand +url = env('url', 'https://affiliations-tools.services.inist.fr/v1/expand') retries = env('retries') timeout = env('timeout') noerror = true diff --git a/apil-dumps/03-enrichment-documentType.ini b/apil-dumps/03-enrichment-documentType.ini index 530571a..d6eb6e0 100644 --- a/apil-dumps/03-enrichment-documentType.ini +++ b/apil-dumps/03-enrichment-documentType.ini @@ -14,7 +14,7 @@ cacheName = env('cache').thru(x => x ? 'mapping-tools-v1-homogenize-documentType-json' : null) [expand/URLConnect] -url = https://mapping-tools.services.inist.fr/v1/homogenize/documentType/json +url = env('url', 'https://mapping-tools.services.inist.fr/v1/homogenize/documentType/json') retries = env('retries') timeout = env('timeout') noerror = true diff --git a/apil-dumps/03-enrichment-publisher.ini b/apil-dumps/03-enrichment-publisher.ini index f7542e0..a57c140 100644 --- a/apil-dumps/03-enrichment-publisher.ini +++ b/apil-dumps/03-enrichment-publisher.ini @@ -13,7 +13,7 @@ cacheName = env('cache').thru(x => x ? 'mapping-tools-v1-homogenize-publisher-json' : null) [expand/URLConnect] -url = https://mapping-tools.services.inist.fr/v1/homogenize/publisher/json +url = env('url', 'https://mapping-tools.services.inist.fr/v1/homogenize/publisher/json') retries = env('retries') timeout = env('timeout') noerror = true diff --git a/apil-dumps/03-enrichment-rnsr.ini b/apil-dumps/03-enrichment-rnsr.ini index d33ec7e..cb4f33f 100644 --- a/apil-dumps/03-enrichment-rnsr.ini +++ b/apil-dumps/03-enrichment-rnsr.ini @@ -34,7 +34,7 @@ cacheName = env('cache').thru(x => x ? 'mapping-tools-tools-v1-rnsr-2022-json' : null) [expand/expand/expand/URLConnect] -url = https://mapping-tools.services.inist.fr/v1/rnsr/2022/json +url = env('url', 'https://mapping-tools.services.inist.fr/v1/rnsr/2022/json') retries = env('retries') timeout = env('timeout') noerror = false diff --git a/apil-dumps/03-enrichment.ini b/apil-dumps/03-enrichment.ini index ad13a4a..0b9338d 100644 --- a/apil-dumps/03-enrichment.ini +++ b/apil-dumps/03-enrichment.ini @@ -18,6 +18,10 @@ path = cache value = false +path = url +;value = http://localhost:31976/v1/echo/json +value = https://base-line.services.inist.fr/v1/echo/json + ; #1 [delegate] file = ./03-enrichment-documentType.ini