Skip to content

feat: add a shigola map provider in a new retiler v3 schema (MAPCO-11992) - #181

Closed
NivGreenstein wants to merge 161 commits into
masterfrom
feat/retiler-shigola-provider
Closed

NivGreenstein wants to merge 161 commits into
masterfrom
feat/retiler-shigola-provider

Conversation

@NivGreenstein

@NivGreenstein NivGreenstein commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Adds a shigola map provider in a new retiler v3 schema, for MAPCO-11992. Released schemas aren't modified (the changed-schemas check enforces this), so v3 is v2 plus the changes below, and v2 is untouched. In this mode retiler sends each metatile's bbox to Shigola's Cache Admin API instead of fetching a map.

Changes from v2, all additive (a v2 config is a valid v3 config)

  • app.map.provider gains shigola.
  • A new app.map.shigola block:
    • operation: purge (default) or seed.
    • targets: [{ map, layers? }]. Layers are refused for a seed, since Shigola seeds whole maps only.
    • tileMatrixSets: optional.
    • token: optional.
    • timeoutMs: defaults to 70000, above Shigola's own 60 s request timeout.
  • app.map.shigola is required with the shigola provider, and app.map.wms is now only required with the others.

Verified: npm run validate passes. Valid Shigola configs (purge with layers, seed without them) and the existing WMS default are accepted; a seed with layers, missing targets and an unknown target key are rejected.

Needed by MapColonies/retiler#42. That PR can't pass CI until this is released and retiler is bumped to it.

🤖 Generated with Claude Code

CptSchnitz and others added 30 commits March 21, 2024 08:23
* feat: validation

* changes

* changes

* changes

* feat: done implementing

* build: added build script to prepack

* refactor: changed substring to be based on folder name length instead of magic number

* docs: fixed typos in comments
Release-As: 0.0.1
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* ci: added tests to check if schema was changed since last release

* ci: Update workflow names in pull_request.yml

* ci: checkout also fetches tags

* ci: Update pull_request.yml to fetch depth 0

* fix: Fix regex in checkFilesChanged.ts to correctly handle modified schema files
* ci: added job to upload package on pull requests

* ci: update Azure Storage blob upload command in pull_request.yml
* feat: created new version of partial s3

* fix: id
* feat: added telemetry schemas

* fix: added object type to schemas

* fix: remove default from root objects

* fix: another change to default option

* fix: more defaults

* docs: added examples

* refactor: changed shared to base

* fix: bad ref
* fix: exported schema type is now pre calculated

* refactor: removed comments

* refactor: added whitespace
feat: added validation to allow non breaking changes
dependabot Bot and others added 21 commits May 24, 2026 13:51
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ronenk1 <ronenk1@rnd-hub.com>
Co-authored-by: Powfu <79285390+Powfu2@users.noreply.github.com>
Co-authored-by: Niv Greenstein <88280771+NivGreenstein@users.noreply.github.com>
Co-authored-by: Eyal Rozen <eyalr1100@gmail.com>
Co-authored-by: Eyal Rozen <eyalr1100@gmail.com>
app.map.provider gains shigola, in which retiler sends each metatile's bbox
to shigola's Cache Admin API instead of fetching a map. Its app.map.shigola
block takes the operation (purge by default, or seed), the targets as
{map, layers?} (layers refused for a seed, as shigola seeds whole maps only),
optional tile matrix sets and token, and the request timeout (70000 ms by
default, above shigola's own 60 s request timeout).

app.map.shigola is required with the shigola provider, and app.map.wms only
with the others.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Released schemas are not modified, so v2 is restored as released and the
shigola provider ships as retiler v3.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@NivGreenstein NivGreenstein changed the title feat: add a shigola map provider to the retiler v2 schema (MAPCO-11992) feat: add a shigola map provider in a new retiler v3 schema (MAPCO-11992) Oct 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi it is me, your friendly bot helper! 👋
I've packed this commit for you 😊
You can install it like this:

{
  "dependencies": {
      "@map-colonies/schemas": "https://ghatmpstorage.blob.core.windows.net/npm-packages/schemas-361e92beea828b206d20812712578e4c0b936b97.tgz"
  }
}

The link will expire in a week ⌛

NivGreenstein added a commit to MapColonies/retiler that referenced this pull request Oct 15, 2026
Temporary: points @map-colonies/schemas at the package built from
MapColonies/schemas#181, so CI can run against the v3 schema before it is
released. Replace it with the released version before merging.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@eyalr1100 eyalr1100 closed this Oct 20, 2026
@eyalr1100
eyalr1100 force-pushed the feat/retiler-shigola-provider branch from ec18cb6 to 7e8adc7 Compare October 20, 2026 11:22
@shimoncohen

Copy link
Copy Markdown
Contributor

Moved to #184 (this PR was auto-closed by an accidental force-push and can't be reopened).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.