AtlasOfLivingAustralia / regions

Regions front end web application
https://regions.ala.org.au
1 stars 16 forks source link

Update guids of state-emblems.json to fix its integration tests #78

Closed vjrj closed 4 years ago

vjrj commented 4 years ago

I've updated some guid to fix the integration tests of state-emblems although some other regions integration tests are still falling.

I tested all the urls with:

$ for id in `cat ./grails-app/conf/default/state-emblems.json | grep guid | cut -d ":" -f 2- | cut -d "\"" -f 2` ; do curl -sL https://bie.ala.org.au/species/$id -w "%{http_code} %{url_effective}\\n" -o /dev/null; done
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:56514a28-86db-4296-be0f-5f96f46e07c4
200 https://bie.ala.org.au/species/https://id.biodiversity.org.au/node/apni/2892148
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:7d8ac40a-bf86-43a1-b1cf-0d98fdd6c29b
200 https://bie.ala.org.au/species/https://id.biodiversity.org.au/taxon/apni/51293559
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:ac61fd14-4950-4566-b384-304bd99ca75f
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:d9b5a99b-768a-4266-9f68-243f24d52ba4
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:255f7bee-4487-4996-8e48-e7efb1631c2b
200 https://bie.ala.org.au/species/https://id.biodiversity.org.au/node/apni/2893745
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:e6aff6af-ff36-4ad5-95f2-2dfdcca8caff
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:4e1415c7-9e9c-4c63-9256-d637eec3644a
200 https://bie.ala.org.au/species/https://id.biodiversity.org.au/node/apni/2905089
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:e9d6fbbd-1505-4073-990a-dc66c930dad6
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:191ab506-892f-4fda-b21e-2029354cce7d
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:4e01d6fd-18c9-4169-92ab-7e6d6d9f023f
200 https://bie.ala.org.au/species/https://id.biodiversity.org.au/node/apni/2914960
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:24a9ba35-3c1e-4f23-bd3c-47b2ae942355
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:b2c89995-9152-488c-abaa-45a02ec3d6fb
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:b8512d03-8201-4e13-b91d-904b4048c330
200 https://bie.ala.org.au/species/https://id.biodiversity.org.au/node/apni/5272169
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:5c2a733c-9f1a-4ec5-8dd6-951118f3fbfc
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:71758253-417d-49f8-beb0-4ff3959c3fa3
200 https://bie.ala.org.au/species/https://id.biodiversity.org.au/node/apni/2894437
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:6119c642-08ad-403e-b8c9-215814f63ee3
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:64a63130-12c0-4147-aafa-43f372888f0a
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:05cef650-bb87-477b-ac7b-ca208e86f742
200 https://bie.ala.org.au/species/https://id.biodiversity.org.au/node/apni/2900921
200 https://bie.ala.org.au/species/urn:lsid:biodiversity.org.au:afd.taxon:6c72d199-f0f1-44d3-8197-224a2f7cff5f
vjrj commented 4 years ago

Related https://github.com/AtlasOfLivingAustralia/regions/commit/ad5ae8632bc204ae4dfd1c14d4f45e6b923f6aad

vjrj commented 4 years ago

I'll add some extra tests to verify the URLs instead of using curl ...