From 7c5839517c99a0a11e1f1d8499115008f7bdada3 Mon Sep 17 00:00:00 2001 From: Marc Gavanier Date: Mon, 30 Sep 2024 10:47:45 +0200 Subject: [PATCH] ci: add coop-numerique transformation --- .github/workflows/nightly-publish.yml | 1 + .github/workflows/release.yml | 1 + .github/workflows/validate.yml | 1 + assets/input/coop-numerique/coop-numerique.config.json | 5 +---- assets/input/coop-numerique/coop-numerique.fingerprint.json | 1 + package.json | 2 ++ 6 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 assets/input/coop-numerique/coop-numerique.fingerprint.json diff --git a/.github/workflows/nightly-publish.yml b/.github/workflows/nightly-publish.yml index f1e26f48..376cd76a 100644 --- a/.github/workflows/nightly-publish.yml +++ b/.github/workflows/nightly-publish.yml @@ -18,6 +18,7 @@ jobs: bus-france-services-charente, charente-maritime, conseiller-numerique, + coop-numerique, corse, dora, epernay, diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 92623dc2..7eddd5b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,7 @@ jobs: bus-france-services-charente, charente-maritime, conseiller-numerique, + coop-numerique, corse, dora, epernay, diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index f8938a0f..dd1e0c23 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -60,6 +60,7 @@ jobs: bus-france-services-charente, charente-maritime, conseiller-numerique, + coop-numerique, corse, dora, epernay, diff --git a/assets/input/coop-numerique/coop-numerique.config.json b/assets/input/coop-numerique/coop-numerique.config.json index 319729db..bcb72a1b 100644 --- a/assets/input/coop-numerique/coop-numerique.config.json +++ b/assets/input/coop-numerique/coop-numerique.config.json @@ -41,9 +41,6 @@ "date_maj": { "colonne": "date_maj" }, - "source": { - "colonne": "source" - }, "prise_rdv": { "colonne": "prise_rdv" }, @@ -54,7 +51,7 @@ "colonne": "presentation_detail" }, "fiche_acces_libre": { - "colonne": "presentation_detail" + "colonne": "fiche_acces_libre" }, "structure_parente": { "colonne": "structure_parente" diff --git a/assets/input/coop-numerique/coop-numerique.fingerprint.json b/assets/input/coop-numerique/coop-numerique.fingerprint.json new file mode 100644 index 00000000..c95a08fe --- /dev/null +++ b/assets/input/coop-numerique/coop-numerique.fingerprint.json @@ -0,0 +1 @@ +[{"sourceId":"fb1fa128-9b9a-49e2-8f19-3c9751c80f68","hash":"ebb619e2db65fa91c235e014db93e6e6dbaec9b02f94f8210db4267cc0e5195e"},{"sourceId":"eab09421-f6d5-4c85-927b-0926fcbbcfd7","hash":"487e48b76e8ab29e67bae4dd333889379cdd6d28cbf0732e5b3657f032898006"},{"sourceId":"71240b62-1d0a-475a-be1f-1def3d8f2dc0","hash":"cc83e1aaa6b9413a9dc08910860885d7ce2dffcd6ea68f0dbad6da9e75670f93"},{"sourceId":"adb718e5-757e-411c-a60e-50dd9a01020e","hash":"7540bf6bae353267df28e84d5898bc2828cbb98deee42ced96baa868c0f25f4c"},{"sourceId":"2834d6e8-7ffd-4ae0-b8de-a056abaa1be5","hash":"12af39dc4a84c294ed88f26ecfa52723ca8136537ec6c8529a56687b4840fc88"},{"sourceId":"a54c324c-b579-45c8-9d2a-962c99aeb1b7","hash":"0d85206bf97ca4c122aa9482864a791dd53905821b379bf155f0ec465954413c"},{"sourceId":"6ec82e9d-233f-424f-aaa6-ac1eee1dc01e","hash":"ff45f5fed9f980c716ce7da953835d9a73793584ab2787bcc85e7528270c60e0"},{"sourceId":"fecf6c90-1e7b-4cd7-b183-05447385c69a","hash":"fd76b7ce6aa89422dd5bfea4bd587f31d1ad2eb71282e94a8dab27ac2150d3cc"},{"sourceId":"4af52949-3c67-4653-b97d-c53b338b89c4","hash":"3c1084abd555c77ef9146e1fba8ec994b4c63ebf0913edcdd82bc12c31d77917"},{"sourceId":"2d4976e4-b98e-447b-a8ea-f0c02f46f3aa","hash":"88c976d630100a314d68e509f87afcbc32e7d7f7f605b953e0bbb7605dea90b4"},{"sourceId":"fc460fcb-c434-4dc4-9f47-608f02d0b684","hash":"050744e264788ae9564cff7e11e3cd48cd22d681c1d26151d38cf479e83ad3ca"},{"sourceId":"f74caf9f-e25b-49ca-9549-645133b382b6","hash":"5d4b0157b53177a583c157d19939b0826f6e8bb41ac062948410120e27f4cf8c"},{"sourceId":"302af3f4-8a9f-4d37-bbd9-93301d4dce57","hash":"d8d9e5af66ace1114986b6b50f81b22850c242c0fd158433c3c175e858bf6693"},{"sourceId":"9e507a04-7df3-464c-8cf2-cd892822a12d","hash":"04aba3da7223b013b2d68efcb352b8b7b3e2d0810b09b0186a0342fd32b3ba05"},{"sourceId":"cc9c4765-8feb-4aed-a10c-7ab8f167fa38","hash":"c9a9e142cf3a23d9c6fea5f72a1045e9cb2326038d150211404debab5a593158"},{"sourceId":"83aad927-412f-4740-9644-7681a0d1f893","hash":"aaddc4392f24e2a6d879d59fd775e4cdb84b7609a164d73fdabaf51b30632f19"},{"sourceId":"6ae7c7b0-5c74-4207-8803-2a8537505477","hash":"29513ec148df0696af6d2bf82de67d98a8f9defd6550da045f7593b5bd3c036f"},{"sourceId":"ed4cd0dd-289f-4f4d-a1f7-b1a6fc8f7c4c","hash":"fc7700412cffca4d402d6b7021f391c04a8f2632aa551efe58d1295a888d4a30"},{"sourceId":"2e8985c5-b492-49bf-aa76-d28a4a811206","hash":"a985d45c91ed0ffb1c656dc0c692721c845d2e6876bcf2c9bbd266033b310595"},{"sourceId":"931031a2-dc2a-4d3d-9f08-4a781483a7fc","hash":"d6141cb7e82f7713166af7cd9779da2f095c05d99b1255c1efa8cac999028630"},{"sourceId":"3e29db67-37bd-4a10-b4d2-0ba439364f21","hash":"50cc54382e8342f9552ffe05d99d433ac8fb68fdb970d24d26ef1f807bec531c"},{"sourceId":"4cb9f2ee-7ac4-44cc-9a75-9961677dd010","hash":"93ffd3fc4b5b894cd4b51bd00665a18916382b3c9a467b90eb680fef10be99ff"},{"sourceId":"28e1cc07-0e6c-48b7-b522-175c66ec34c0","hash":"c553dadddf2e3e90388929557c59fdc53cebbf0ff6a60bf15ab0375c5b079a4f"},{"sourceId":"f18a7f9a-09c7-406f-bbd7-01ca219f7aa8","hash":"a5a6601f30cf2a3605efcff289cd3dd04983418558bb7c242db91a34faa63cd2"},{"sourceId":"2b8e5e75-2398-4829-9386-085754b11b3e","hash":"def4e70464cc7d25accdf34eeb76464d6fee2341ee2dea3549b71531b76bb9fa"},{"sourceId":"c9e459cc-7d9d-4e64-9340-09c979a1ca35","hash":"b2a7cd86e407796b349d0256355bc75f7b4ab58c39a852b88fe59c9de166c4d5"},{"sourceId":"258e56ba-51ca-4755-bd54-a50e29a5fc9f","hash":"89432ff19aa782d2586ec5a12d5a25c1882e9a13ffadf7b6b97956782a49d995"},{"sourceId":"022ac7fa-da3a-47cb-b046-957073840041","hash":"84876a30f543d2e1343fcef9deb4467e14c11db30ae29879e5415bc4aa7e5a3c"},{"sourceId":"98bcc353-87ea-4d6b-8510-3e9203c9e97d","hash":"86383490c8a8df96fed13cb941b2bd1605211a26786ad20f4165e7388abe69b8"},{"sourceId":"a3e4fd37-74d2-444d-9093-a63a70fa7947","hash":"c67d0884b65fa08ad0d5b67d0ab68c829b560b56b68475469a739f5ac384e3a3"},{"sourceId":"8385f242-68b2-4103-8095-5c840fe910d6","hash":"3ce5871e95b0b5811b291c39910aae3e2f42aeb4ea087c64ad973fa9795b983c"},{"sourceId":"aa1dbc62-0bb6-4b79-b871-3a0a67f9ce52","hash":"50cca050ac80177285e1fb7bcb2b52c7fdbd0cde6bc9baff0e1406e4f8dbb681"},{"sourceId":"c654db71-f3c3-4348-b02f-3abfde62707a","hash":"baf6b77168ba6589e1c14d1ca20a38e5eec7c25231f4c1b669d777b37cd013f7"},{"sourceId":"93d778fa-85f0-497f-b7fd-111bc3127dc2","hash":"3806ce6ee50d7d7416f1448e824c572fe46f33602aae60b7c55043577911cc75"},{"sourceId":"0812cbc6-49ab-48a8-b331-bc58a8351f25","hash":"99c5dc58abc36cd23c3c2eaf5302b812d2549c710636cbb747885d68b53702b9"}] \ No newline at end of file diff --git a/package.json b/package.json index b32bafdf..3913e46c 100644 --- a/package.json +++ b/package.json @@ -99,6 +99,7 @@ "publier.bus-france-services-charente": "tsx src/index.ts publier -z \"fr:departement:16\" -m \"./assets/output/bus-france-services-charente/publier.json\"", "publier.charente-maritime": "tsx src/index.ts publier -z \"fr:departement:17\" -m \"./assets/output/charente-maritime/publier.json\"", "publier.conseiller-numerique": "tsx src/index.ts publier -z \"country:fr\" -m \"./assets/output/conseiller-numerique/publier.json\"", + "publier.coop-numerique": "tsx src/index.ts publier -z \"country:fr\" -m \"./assets/output/coop-numerique/publier.json\"", "publier.corse": "tsx src/index.ts publier -z \"fr:region:94\" -m \"./assets/output/corse/publier.json\"", "publier.dora": "tsx src/index.ts publier -z \"country:fr\" -m \"./assets/output/dora/publier.json\"", "publier.epernay": "tsx src/index.ts publier -z \"fr:departement:51\" -m \"./assets/output/epernay/publier.json\"", @@ -133,6 +134,7 @@ "dedupliquer.bus-france-services-charente": "tsx src/index.ts dedupliquer -s \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?deduplicated[exists]=false&source[eq]=Bus France Services en Charente\" -b \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?mergedIds[exists]=false&source[eq]=Bus France Services en Charente\" -n \"Bus France Services en Charente\" -t \"Nouvelle-Aquitaine\" -o \"./assets/output/bus-france-services-charente\" -i true", "dedupliquer.charente-maritime": "tsx src/index.ts dedupliquer -s \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?deduplicated[exists]=false&source[eq]=Département de la Charente-Maritime\" -b \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?mergedIds[exists]=false&source[eq]=Département de la Charente-Maritime\" -n \"Département de la Charente-Maritime\" -t \"Nouvelle-Aquitaine\" -o \"./assets/output/charente-maritime\" -i true", "dedupliquer.conseiller-numerique": "tsx src/index.ts dedupliquer -s \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?deduplicated[exists]=false&source[eq]=Conseiller Numerique\" -b \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?mergedIds[exists]=false&source[eq]=Conseiller Numerique\" -n \"Conseiller Numerique\" -t \"National\" -o \"./assets/output/conseiller-numerique\" -i true", + "dedupliquer.coop-numerique": "tsx src/index.ts dedupliquer -s \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?deduplicated[exists]=false&source[eq]=Coop numérique\" -b \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?mergedIds[exists]=false&source[eq]=Coop numérique\" -n \"Coop numérique\" -t \"National\" -o \"./assets/output/coop-numerique\" -i true", "dedupliquer.corse": "tsx src/index.ts dedupliquer -s \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?deduplicated[exists]=false&source[eq]=Corse\" -b \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?mergedIds[exists]=false&source[eq]=Corse\" -n \"Corse\" -t \"Corse\" -o \"./assets/output/corse\" -i true", "dedupliquer.dora": "tsx src/index.ts dedupliquer -s \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?deduplicated[exists]=false&source[eq]=dora\" -b \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?mergedIds[exists]=false&source[eq]=dora\" -n \"dora\" -t \"National\" -o \"./assets/output/dora\" -i true", "dedupliquer.epernay": "tsx src/index.ts dedupliquer -s \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?deduplicated[exists]=false&source[eq]=Epernay\" -b \"https://cartographie.societenumerique.gouv.fr/api/v0/lieux-inclusion-numerique/with-duplicates?mergedIds[exists]=false&source[eq]=Epernay\" -n \"Epernay\" -t \"Marne\" -o \"./assets/output/epernay\" -i true",