fix(sjshire_wa_gov_au): migrate to t1cloud IntraMaps session flow#7050
Merged
Merged
Conversation
The shire moved its map off the self-hosted maps.sjshire.wa.gov.au
IntraMaps server onto TechnologyOne's SaaS platform at
ser.spatial.t1cloud.com. The old apikey Integration API endpoint is gone
(it now returns the MapBuilder HTML shell, so every fetch failed with
JSONDecodeError). Switch to the stateful session handshake the sibling WA
councils on the same platform use (IntraMapsRetriever + MapsClientConfig,
as in kwinana_wa_gov_au).
The infoPanels field names are unchanged (WasteCollectionDay, RecycleDay),
but the "this week" recycle variant now arrives with the day and "this"
run together ("MondayThis Week") while "next week" keeps the space
("Tuesday Next Week"); parse the suffix with a regex so both forms
resolve. Record fresh cassettes (39 collections per test case).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #7046.
The Shire of Serpentine Jarrahdale moved its map off the self-hosted
maps.sjshire.wa.gov.auIntraMaps server onto TechnologyOne's SaaS platform (ser.spatial.t1cloud.com). The old apikey Integration API endpoint is gone: it now returns the MapBuilder HTML shell, so every fetch failed withJSONDecodeError: Expecting value: line 1 column 1 (char 0).This switches the source to the stateful session handshake the sibling WA councils on the same platform already use (
IntraMapsRetriever+MapsClientConfig, as inkwinana_wa_gov_au), pointed at the new host/project/module.The
infoPanelsfield names are unchanged (WasteCollectionDay,RecycleDay), but the "this week" recycle variant now arrives with the day and "this" run together (MondayThis Week) while "next week" keeps the space; the suffix is now stripped with a regex so both forms resolve.Fresh cassettes recorded (live, from within Australia): 39 collections per test case (26 weekly general + 13 fortnightly recycling).
test_declared_waste_types.py -k sjshire_wa_gov_au: 5 passedtest_source_components.py: 10 passed