From bdb15aaa4a4ecc01b135a64920f52cb335f76d9b Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Wed, 22 Feb 2023 17:22:00 +0100 Subject: [PATCH] feat(apigeo): enable all zones on departements api --- .../components/shared/queryClient.ts | 50 +++++++++++++------ app/services/api_geo_service.rb | 2 +- spec/fixtures/cassettes/api_geo_all.yml | 16 +++--- .../cassettes/api_geo_departements.yml | 12 ++--- spec/services/api_geo_service_spec.rb | 4 +- 5 files changed, 51 insertions(+), 33 deletions(-) diff --git a/app/javascript/components/shared/queryClient.ts b/app/javascript/components/shared/queryClient.ts index 2ab492c4a..d24056928 100644 --- a/app/javascript/components/shared/queryClient.ts +++ b/app/javascript/components/shared/queryClient.ts @@ -27,24 +27,42 @@ type QueryKey = readonly [ function buildURL(scope: string, term: string, extra?: string) { term = encodeURIComponent(term.replace(/\(|\)/g, '')); - if (scope === 'adresse') { - return `${api_adresse_url}/search?q=${term}&limit=${API_ADRESSE_QUERY_LIMIT}`; - } else if (scope === 'annuaire-education') { - return `${api_education_url}/search?dataset=fr-en-annuaire-education&q=${term}&rows=${API_EDUCATION_QUERY_LIMIT}`; - } else if (scope === 'communes') { - const limit = `limit=${API_GEO_COMMUNES_QUERY_LIMIT}`; - const url = extra - ? `${api_geo_url}/communes?codeDepartement=${extra}&${limit}&` - : `${api_geo_url}/communes?${limit}&`; - if (isNumeric(term)) { - return `${url}codePostal=${term}`; + const params = new URLSearchParams(); + let path = `${api_geo_url}/${scope}`; + + if (scope == 'adresse') { + path = `${api_adresse_url}/search`; + params.set('q', term); + params.set('limit', `${API_ADRESSE_QUERY_LIMIT}`); + } else if (scope == 'annuaire-education') { + path = `${api_education_url}/search`; + params.set('q', term); + params.set('rows', `${API_EDUCATION_QUERY_LIMIT}`); + params.set('dataset', 'fr-en-annuaire-education'); + } else if (scope == 'communes') { + if (extra) { + params.set('codeDepartement', extra); } - return `${url}nom=${term}&boost=population`; - } else if (isNumeric(term)) { - const code = term.padStart(2, '0'); - return `${api_geo_url}/${scope}?code=${code}&limit=${API_GEO_QUERY_LIMIT}`; + if (isNumeric(term)) { + params.set('codePostal', term); + } else { + params.set('nom', term); + params.set('boost', 'population'); + } + params.set('limit', `${API_GEO_COMMUNES_QUERY_LIMIT}`); + } else { + if (isNumeric(term)) { + params.set('code', term.padStart(2, '0')); + } else { + params.set('nom', term); + } + if (scope == 'departements') { + params.set('zone', 'metro,drom,com'); + } + params.set('limit', `${API_GEO_QUERY_LIMIT}`); } - return `${api_geo_url}/${scope}?nom=${term}&limit=${API_GEO_QUERY_LIMIT}`; + + return `${path}?${params}`; } const defaultQueryFn: QueryFunction = async ({ diff --git a/app/services/api_geo_service.rb b/app/services/api_geo_service.rb index 429e40e81..0a3b1ff04 100644 --- a/app/services/api_geo_service.rb +++ b/app/services/api_geo_service.rb @@ -35,7 +35,7 @@ class APIGeoService end def departements - [{ code: '99', name: 'Etranger' }] + get_from_api_geo(:departements).sort_by { _1[:code] } + [{ code: '99', name: 'Etranger' }] + get_from_api_geo('departements?zone=metro,drom,com').sort_by { _1[:code] } end def departement_name(code) diff --git a/spec/fixtures/cassettes/api_geo_all.yml b/spec/fixtures/cassettes/api_geo_all.yml index 6ddbae52e..cd3eca4b0 100644 --- a/spec/fixtures/cassettes/api_geo_all.yml +++ b/spec/fixtures/cassettes/api_geo_all.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://geo.api.gouv.fr/departements + uri: https://geo.api.gouv.fr/departements?zone=metro,drom,com body: encoding: US-ASCII string: '' @@ -19,25 +19,25 @@ http_interactions: Server: - nginx/1.10.3 (Ubuntu) Date: - - Tue, 20 Dec 2022 22:45:29 GMT + - Wed, 22 Feb 2023 14:57:34 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - - '5083' + - '5598' Vary: - Accept-Encoding - Origin X-Powered-By: - Express Etag: - - W/"13db-vyFtsKQWjHylHAtBtjYjxCAjMHE" + - W/"15de-6bFFP56x7MMvD1C1JvzSgcLzQWw" Strict-Transport-Security: -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XMgYXVzdHJhbGVzIGV0IGFudGFyY3RpcXVlcyBmcmFuw6dhaXNlcyIsImNvZGUiOiI5ODQiLCJjb2RlUmVnaW9uIjoiOTg0In0seyJub20iOiJXYWxsaXMgZXQgRnV0dW5hIiwiY29kZSI6Ijk4NiIsImNvZGVSZWdpb24iOiI5ODYifSx7Im5vbSI6IlBvbHluw6lzaWUgZnJhbsOnYWlzZSIsImNvZGUiOiI5ODciLCJjb2RlUmVnaW9uIjoiOTg3In0seyJub20iOiJOb3V2ZWxsZS1DYWzDqWRvbmllIiwiY29kZSI6Ijk4OCIsImNvZGVSZWdpb24iOiI5ODgifSx7Im5vbSI6IsOObGUgZGUgQ2xpcHBlcnRvbiIsImNvZGUiOiI5ODkiLCJjb2RlUmVnaW9uIjoiOTg5In1d + recorded_at: Wed, 22 Feb 2023 14:57:34 GMT - request: method: get uri: https://geo.api.gouv.fr/regions @@ -57,7 +57,7 @@ http_interactions: Server: - nginx/1.10.3 (Ubuntu) Date: - - Tue, 20 Dec 2022 22:45:29 GMT + - Wed, 22 Feb 2023 14:57:34 GMT Content-Type: - application/json; charset=utf-8 Content-Length: @@ -75,5 +75,5 @@ http_interactions: encoding: ASCII-8BIT string: !binary |- W3sibm9tIjoiw45sZS1kZS1GcmFuY2UiLCJjb2RlIjoiMTEifSx7Im5vbSI6IkNlbnRyZS1WYWwgZGUgTG9pcmUiLCJjb2RlIjoiMjQifSx7Im5vbSI6IkJvdXJnb2duZS1GcmFuY2hlLUNvbXTDqSIsImNvZGUiOiIyNyJ9LHsibm9tIjoiTm9ybWFuZGllIiwiY29kZSI6IjI4In0seyJub20iOiJIYXV0cy1kZS1GcmFuY2UiLCJjb2RlIjoiMzIifSx7Im5vbSI6IkdyYW5kIEVzdCIsImNvZGUiOiI0NCJ9LHsibm9tIjoiUGF5cyBkZSBsYSBMb2lyZSIsImNvZGUiOiI1MiJ9LHsibm9tIjoiQnJldGFnbmUiLCJjb2RlIjoiNTMifSx7Im5vbSI6Ik5vdXZlbGxlLUFxdWl0YWluZSIsImNvZGUiOiI3NSJ9LHsibm9tIjoiT2NjaXRhbmllIiwiY29kZSI6Ijc2In0seyJub20iOiJBdXZlcmduZS1SaMO0bmUtQWxwZXMiLCJjb2RlIjoiODQifSx7Im5vbSI6IlByb3ZlbmNlLUFscGVzLUPDtHRlIGQnQXp1ciIsImNvZGUiOiI5MyJ9LHsibm9tIjoiQ29yc2UiLCJjb2RlIjoiOTQifSx7Im5vbSI6Ikd1YWRlbG91cGUiLCJjb2RlIjoiMDEifSx7Im5vbSI6Ik1hcnRpbmlxdWUiLCJjb2RlIjoiMDIifSx7Im5vbSI6Ikd1eWFuZSIsImNvZGUiOiIwMyJ9LHsibm9tIjoiTGEgUsOpdW5pb24iLCJjb2RlIjoiMDQifSx7Im5vbSI6Ik1heW90dGUiLCJjb2RlIjoiMDYifV0= - recorded_at: Tue, 20 Dec 2022 22:45:29 GMT + recorded_at: Wed, 22 Feb 2023 14:57:34 GMT recorded_with: VCR 6.1.0 diff --git a/spec/fixtures/cassettes/api_geo_departements.yml b/spec/fixtures/cassettes/api_geo_departements.yml index 9f5f79d6e..79c3de62b 100644 --- a/spec/fixtures/cassettes/api_geo_departements.yml +++ b/spec/fixtures/cassettes/api_geo_departements.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://geo.api.gouv.fr/departements + uri: https://geo.api.gouv.fr/departements?zone=metro,drom,com body: encoding: US-ASCII string: '' @@ -19,23 +19,23 @@ http_interactions: Server: - nginx/1.10.3 (Ubuntu) Date: - - Tue, 20 Dec 2022 11:55:45 GMT + - Wed, 22 Feb 2023 14:46:29 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - - '5083' + - '5598' Vary: - Accept-Encoding - Origin X-Powered-By: - Express Etag: - - W/"13db-vyFtsKQWjHylHAtBtjYjxCAjMHE" + - W/"15de-6bFFP56x7MMvD1C1JvzSgcLzQWw" Strict-Transport-Security: - max-age=15552000 body: encoding: ASCII-8BIT string: !binary |- - W3sibm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BmcmFuw6dhaXNlcyIsImNvZGUiOiI5ODQiLCJjb2RlUmVnaW9uIjoiOTg0In0seyJub20iOiJXYWxsaXMgZXQgRnV0dW5hIiwiY29kZSI6Ijk4NiIsImNvZGVSZWdpb24iOiI5ODYifSx7Im5vbSI6IlBvbHluw6lzaWUgZnJhbsOnYWlzZSIsImNvZGUiOiI5ODciLCJjb2RlUmVnaW9uIjoiOTg3In0seyJub20iOiJOb3V2ZWxsZS1DYWzDqWRvbmllIiwiY29kZSI6Ijk4OCIsImNvZGVSZWdpb24iOiI5ODgifSx7Im5vbSI6IsOObGUgZGUgQ2xpcHBlcnRvbiIsImNvZGUiOiI5ODkiLCJjb2RlUmVnaW9uIjoiOTg5In1d + recorded_at: Wed, 22 Feb 2023 14:46:29 GMT recorded_with: VCR 6.1.0 diff --git a/spec/services/api_geo_service_spec.rb b/spec/services/api_geo_service_spec.rb index 6585b6392..3be8cf3c9 100644 --- a/spec/services/api_geo_service_spec.rb +++ b/spec/services/api_geo_service_spec.rb @@ -36,10 +36,10 @@ describe APIGeoService do describe 'departements', vcr: { cassette_name: 'api_geo_departements' } do it 'return sorted results' do - expect(APIGeoService.departements.size).to eq(102) + expect(APIGeoService.departements.size).to eq(110) expect(APIGeoService.departements.first).to eq(code: '99', name: 'Etranger') expect(APIGeoService.departements.second).to eq(code: '01', name: 'Ain') - expect(APIGeoService.departements.last).to eq(code: '976', name: 'Mayotte') + expect(APIGeoService.departements.last).to eq(code: '989', name: 'Île de Clipperton') end end