[use]
plugin = basics
plugin = analytics
plugin = conditor
plugin = lodex
; #1
[assign]
path = ws.originalGenre
value = get('originalGenre')
[expand]
path = ws.originalGenre
size = 10
cacheName = mapping-tools-v1-homogenize-documentType-json
[expand/URLConnect]
url = https://mapping-tools.services.inist.fr/v1/homogenize/documentType/json
retries = 3
timeout = 3000
noerror = true
; #2
[assign]
path = ws.host.publisher
value = get('host.publisher')
[expand]
path = ws.host.publisher
size = 10
cacheName = mapping-tools-v1-homogenize-publisher-json
[expand/URLConnect]
url = https://mapping-tools.services.inist.fr/v1/homogenize/publisher/json
retries = 3
timeout = 3000
noerror = true
; #3
[map]
path = authors
[map/map]
path = rnsr
[map/map/replace]
path = code
value = self()
path = label
value = self()
[map/map/expand]
path = label
size = 10
cacheName = mapping-tools-tools-v1-rnsr-instituts-cnrs-json
[map/map/expand/URLConnect]
url = https://mapping-tools.services.inist.fr/v1/rnsr/instituts-cnrs/json
retries = 3
timeout = 3000
noerror = false
; #4
[assign]
path = ws.host.title
value = get('host.title')
[expand]
path = ws.host.title
size = 100
cacheName = terms-extraction-v1-tools-normalize
[expand/URLConnect]
url = https://terms-extraction.services.inist.fr/v1/tools/normalize
retries = 3
timeout = 3000
noerror = true
; # 5 (meta ws)
[map]
path = authors
[map/map]
path = affiliations
[map/map/assign]
path = address_enriched
value = get('address')
[map/map/expand]
path = address_enriched
size = 10
cacheName = affiliations-tools-v1-expand
[map/map/expand/URLConnect]
url = https://affiliations-tools.services.inist.fr/v1/expand
retries = 3
timeout = 3000
noerror = true