diff --git a/mapping-tools/v1/apc/2018/doi.ini b/mapping-tools/v1/apc/2018/doi.ini index 0b90dc2..f31e369 100644 --- a/mapping-tools/v1/apc/2018/doi.ini +++ b/mapping-tools/v1/apc/2018/doi.ini @@ -12,7 +12,7 @@ post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant un cout APC. post.description = Renvoie l'identifiant idRef correspondant à l'identifiant halAuthorId envoyé. post.tags.0: mapping -post.summary: Propose un cout APC par DOI +post.summary: Propose un coût APC par DOI post.parameters.0.description = Indenter le JSON résultant post.parameters.0.in = query post.parameters.0.name = indent @@ -23,12 +23,16 @@ plugin = basics plugin = analytics +[env] +path = date +value = thru(d => (new Date()).toISOString().split("T")[0]) + [JSONParse] # Homogenize ID: url, string and number to an url [expand] path = value -cacheName = post-v1-apc-2018-doi +cacheName = env("date").prepend("post-v1-apc-2018-doi-") [expand/combine] path = value diff --git a/mapping-tools/v1/halAuthorId/idRef/json.ini b/mapping-tools/v1/halAuthorId/idRef/json.ini index 3fbaf82..1004a14 100644 --- a/mapping-tools/v1/halAuthorId/idRef/json.ini +++ b/mapping-tools/v1/halAuthorId/idRef/json.ini @@ -18,6 +18,10 @@ plugin = basics plugin = analytics +[env] +path = date +value = thru(d => (new Date()).toISOString().split("T")[0]) + [JSONParse] # Homogenize ID: url, string and number to an url @@ -27,7 +31,7 @@ [expand] path = value -cacheName = post-v1-halauthorid-idref-json +cacheName = env("date").prepend("post-v1-halauthorid-idref-json-") [expand/combine] path = value diff --git a/mapping-tools/v1/homogenize/documentType/json.ini b/mapping-tools/v1/homogenize/documentType/json.ini index 401c27c..5b1b014 100644 --- a/mapping-tools/v1/homogenize/documentType/json.ini +++ b/mapping-tools/v1/homogenize/documentType/json.ini @@ -18,11 +18,15 @@ plugin = basics plugin = analytics +[env] +path = date +value = thru(d => (new Date()).toISOString().split("T")[0]) + [JSONParse] [expand] path = value -cacheName = post-v1-homogenize-document-type-json +cacheName = env("date").prepend("post-v1-homogenize-document-type-json-") [expand/combine] path = value diff --git a/mapping-tools/v1/homogenize/publisher/json.ini b/mapping-tools/v1/homogenize/publisher/json.ini index 327fd1c..f55f5ec 100644 --- a/mapping-tools/v1/homogenize/publisher/json.ini +++ b/mapping-tools/v1/homogenize/publisher/json.ini @@ -9,20 +9,24 @@ post.responses.default.content.application/json.example.0.id = 0 post.responses.default.content.application/json.example.0.value = SPRINGER post.responses.default.content.application/json.schema.$ref = #/components/schemas/IdChaines -post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant l éditeur homogénéisé. -post.description = Homogénéise la forme d écriture de l éditeur d une notice. +post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant l'éditeur homogénéisé. +post.description = Homogénéise la forme d'écriture de l'éditeur d une notice. post.tags.0 = mapping -post.summary = Homogénéise l éditeur dans une notice +post.summary = Homogénéise l'éditeur dans une notice [use] plugin = basics plugin = analytics +[env] +path = date +value = thru(d => (new Date()).toISOString().split("T")[0]) + [JSONParse] [expand] path = value -cacheName = post-v1-homogenize-publisher-json +cacheName = env("date").prepend("post-v1-homogenize-publisher-json-") [expand/combine] path = value diff --git a/mapping-tools/v1/homogenize/source/json.ini b/mapping-tools/v1/homogenize/source/json.ini index fb1a247..53546e3 100644 --- a/mapping-tools/v1/homogenize/source/json.ini +++ b/mapping-tools/v1/homogenize/source/json.ini @@ -10,19 +10,23 @@ post.responses.default.content.application/json.example.0.value = \"GILETS JAUNES\" : HYPOTHESES SUR UN MOUVEMENT post.responses.default.content.application/json.schema.$ref = #/components/schemas/IdChaines post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant la source homogénéisée. -post.description = Homogénéise la source d une notice (passe tout en majuscules, ...). -post.summary = Homogénéise la forme de la source d une notice +post.description = Homogénéise la source d'une notice (passe tout en majuscules, ...). +post.summary = Homogénéise la forme de la source d'une notice post.tags.0 = mapping [use] plugin = basics plugin = analytics +[env] +path = date +value = thru(d => (new Date()).toISOString().split("T")[0]) + [JSONParse] [expand] path = value -cacheName = post-v1-homogenize-source-json +cacheName = env("date").prepend("post-v1-homogenize-source-json-") [expand/combine] path = value diff --git a/mapping-tools/v1/idRef/orcid/json.ini b/mapping-tools/v1/idRef/orcid/json.ini index 2cb61c0..2232dde 100644 --- a/mapping-tools/v1/idRef/orcid/json.ini +++ b/mapping-tools/v1/idRef/orcid/json.ini @@ -2,11 +2,11 @@ mimeType = application/json post.operationId = post-v1-idref-orcid-json -post.description = Retrouve l identifiant ORCID correspondant à l identifiant idRef envoyé. -post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant un ORCID. +post.description = Retrouve l'identifiant ORCID correspondant à l'identifiant idRef envoyé. +post.responses.default.description = Renvoie un JSON, composé d'`id`, `value`, avec `value` étant un ORCID. post.responses.default.content.application/json.schema.$ref = #/components/schemas/IdOrcids post.tags.0 = mapping -post.summary = Trouve l ORCID associé à un idRef. +post.summary = Trouve l'ORCID associé à un idRef. post.requestBody.required = true post.requestBody.content.application/json.schema.$ref = #/components/schemas/IdIdRefs @@ -14,6 +14,10 @@ plugin = basics plugin = analytics +[env] +path = date +value = thru(d => (new Date()).toISOString().split("T")[0]) + [JSONParse] # Homogenize ID: url, string and number to an url @@ -23,7 +27,7 @@ [expand] path = value -cacheName = post-v1-idref-orcid-json +cacheName = env("date").prepend("post-v1-idref-orcid-json-") [expand/combine] path = value diff --git a/mapping-tools/v1/inspire-category/meta-category/json.ini b/mapping-tools/v1/inspire-category/meta-category/json.ini index 62500c1..82b0e5c 100644 --- a/mapping-tools/v1/inspire-category/meta-category/json.ini +++ b/mapping-tools/v1/inspire-category/meta-category/json.ini @@ -10,7 +10,7 @@ post.responses.default.content.application/json.example.0.value = Particules et hadronique post.responses.default.content.application/json.schema.$ref = #/components/schemas/IdChaines post.description = Renvoie la métacatégorie IN2P3 correspondant à la catégorie Inspire_Hep envoyée. -post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant la métacatégorie IN2P3. +post.responses.default.description = Renvoie un JSON, composé de `id`, `value`, avec `value` étant la métacatégorie IN2P3. post.tags.0: mapping post.summary: Trouve une métacatégorie IN2P3 associée à une catégorie Inspire_Hep post.parameters.0.description = Indenter le JSON résultant @@ -23,6 +23,10 @@ plugin = basics plugin = analytics +[env] +path = date +value = thru(d => (new Date()).toISOString().split("T")[0]) + [JSONParse] separator = * @@ -33,7 +37,7 @@ # Homogenize ID: url, string and number to an url [expand] path = value -cacheName = post-v1-inspire-category-meta-category-json +cacheName = env("date").prepend("post-v1-inspire-category-meta-category-json-") [expand/combine] path = value diff --git a/mapping-tools/v1/inspire-labos/in2p3-labos/json.ini b/mapping-tools/v1/inspire-labos/in2p3-labos/json.ini index 6f1c8b6..e394ff8 100644 --- a/mapping-tools/v1/inspire-labos/in2p3-labos/json.ini +++ b/mapping-tools/v1/inspire-labos/in2p3-labos/json.ini @@ -10,7 +10,7 @@ post.responses.default.content.application/json.example.0.value = GANIL post.responses.default.content.application/json.schema.$ref = #/components/schemas/IdChaines post.description = Renvoie le nom du laboratoire IN2P3 correspondant au code labo Inspire_Hep envoyé. -post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant le nom du laboratoire IN2P3. +post.responses.default.description = Renvoie un JSON, composé de `id`, `value`, avec `value` étant le nom du laboratoire IN2P3. post.tags.0: mapping post.summary: Trouve un labo IN2P3 associé à un code labo Inspire_Hep post.parameters.0.description = Indenter le JSON résultant @@ -23,6 +23,10 @@ plugin = basics plugin = analytics +[env] +path = date +value = thru(d => (new Date()).toISOString().split("T")[0]) + [JSONParse] separator = * @@ -33,7 +37,7 @@ # Homogenize ID: url, string and number to an url [expand] path = value -cacheName = post-v1-inspire-labos-in2p3-labos-json +cacheName = env("date").prepend("post-v1-inspire-labos-in2p3-labos-json-") [expand/combine] path = value diff --git a/mapping-tools/v1/rnsr-year/instituts-cnrs.ini b/mapping-tools/v1/rnsr-year/instituts-cnrs.ini index 54d57b7..f85934d 100644 --- a/mapping-tools/v1/rnsr-year/instituts-cnrs.ini +++ b/mapping-tools/v1/rnsr-year/instituts-cnrs.ini @@ -3,7 +3,7 @@ post.operationId = post-v1-rnsr-year-instituts-cnrs post.description = Retrouve le ou les institut(s) du CNRS dans lequel se trouve la structure de recherche française dont l'identifiant RNSR et l'année sont fournis. -post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant un ou plusieurs institut(s) du CNRS +post.responses.default.description = Renvoie un JSON, composé de `id`, `value`, avec `value` étant un ou plusieurs institut(s) du CNRS post.responses.default.content.application/json.schema.$ref = #/components/schemas/IdInstitutes post.tags.0: mapping post.summary: Trouve le ou les institut(s) du CNRS dans lequel se trouve une structure de recherche @@ -22,11 +22,15 @@ plugin = basics plugin = analytics +[env] +path = date +value = thru(d => (new Date()).toISOString().split("T")[0]) + [JSONParse] [expand] path = value -cacheName = post-v1-rnsr-year-instituts-cnrs +cacheName = env("date").prepend("post-v1-rnsr-year-instituts-cnrs-") [expand/combine] path = value diff --git a/mapping-tools/v1/rnsr/2022/json.ini b/mapping-tools/v1/rnsr/2022/json.ini index f3564ab..94afc56 100644 --- a/mapping-tools/v1/rnsr/2022/json.ini +++ b/mapping-tools/v1/rnsr/2022/json.ini @@ -2,8 +2,8 @@ mimeType = application/json post.operationId = post-v1-rnsr-2022-json -post.description = Retrouve les informations concerant un établissement à partir de son identifiant RNSR. -post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant les informations de l'établissement +post.description = Retrouve les informations concernant un établissement à partir de son identifiant RNSR. +post.responses.default.description = Renvoie un JSON, composé d'`id`, `value`, avec `value` étant les informations de l'établissement post.responses.default.content.application/json.schema.$ref = #/components/schemas/JSONStream post.tags.0 = mapping post.requestBody.content.application/json.example.0.id = 1 @@ -14,7 +14,7 @@ post.responses.default.content.application/json.example.0.id = 1 post.responses.default.content.application/json.example.0.value = { ... } post.responses.default.content.application/json.schema.$ref = #/components/schemas/JSONStream -post.responses.default.description = Les prefixes DOI en version textuel +post.responses.default.description = Les inforamtions de la structure correspondant au RNSR post.parameters.0.description = Indenter le JSON résultant post.parameters.0.in = query post.parameters.0.name = indent @@ -24,11 +24,15 @@ [use] plugin = basics +[env] +path = date +value = thru(d => (new Date()).toISOString().split("T")[0]) + [JSONParse] [expand] path = value -cacheName = post-v1-rnsr-2022-json +cacheName = env("date").prepend("post-v1-rnsr-2022-json-") [expand/combine] path = value diff --git a/mapping-tools/v1/rnsr/instituts-cnrs/json.ini b/mapping-tools/v1/rnsr/instituts-cnrs/json.ini index 5702c97..34c5178 100644 --- a/mapping-tools/v1/rnsr/instituts-cnrs/json.ini +++ b/mapping-tools/v1/rnsr/instituts-cnrs/json.ini @@ -2,11 +2,11 @@ mimeType = application/json post.operationId = post-v1-rnsr-instituts-cnrs-json -post.description = Retrouve un institut du CNRS dans lequel se trouve la structure de recherche française dont l identifiant RNSR est fourni. -post.responses.default.description = Renvoie un JSON, composé d `id`, `value`, avec `value` étant un Institut du CNRS +post.description = Retrouve un institut du CNRS dans lequel se trouve la structure de recherche française dont l'identifiant RNSR est fourni. +post.responses.default.description = Renvoie un JSON, composé de `id`, `value`, avec `value` étant un Institut du CNRS post.responses.default.content.application/json.schema.$ref = #/components/schemas/IdInstitutes post.tags.0: mapping -post.summary: Trouve l Institut du CNRS dans lequel se trouve une structure de recherche +post.summary: Trouve l'Institut du CNRS dans lequel se trouve une structure de recherche post.requestBody.required = true post.requestBody.content.application/json.schema.$ref = #/components/schemas/IdRNSRs1 @@ -14,11 +14,15 @@ plugin = basics plugin = analytics +[env] +path = date +value = thru(d => (new Date()).toISOString().split("T")[0]) + [JSONParse] [expand] path = value -cacheName = post-v1-rnsr-instituts-cnrs-json +cacheName = env("date").prepend("post-v1-rnsr-instituts-cnrs-json-") [expand/combine] path = value