Skip to content

Conversation

@blacha
Copy link
Member

@blacha blacha commented May 14, 2025

Motivation

I would like to know what configuration is in use on each instance of basemaps, we have a version endpoint /v1/version that gives the build information (commit hash, github actions run id) but does not say what configuration is being used.

Modifications

If the current configuration has a id and hash return those as { config: { id, hash} }

{ 
  "id": "cb_01JTQ7ZK49F8EY4N5DRJ3XFT73", 
  "hash": "HcByZ8WS2zpaTxFJp6wSKg2eUpwahLqAGEQdcDxKxqp6" 
}

Verification

Unit tests + running locally

@blacha blacha marked this pull request as ready for review May 15, 2025 02:05
@blacha blacha requested a review from a team as a code owner May 15, 2025 02:05
@blacha blacha requested review from Wentao-Kuang and ccbblin May 15, 2025 02:05
@blacha blacha added this pull request to the merge queue May 15, 2025
Merged via the queue into master with commit 43803b4 May 15, 2025
14 checks passed
@blacha blacha deleted the feat/return-config-information branch May 15, 2025 04:22
@ccbblin ccbblin mentioned this pull request May 18, 2025
github-merge-queue bot pushed a commit that referenced this pull request May 18, 2025
### [8.1.0](v8.0.0...v8.1.0)


### Bug Fixes

* correct cli-config 'import' parameters
([#3445](#3445))
([f349080](f349080)),
closes
[/github.com//pull/3427/commits/01a90a2b98bab02632a9637bfed2067c9c047c61#diff-48a5e932b724482f9a280931b7bb1188d26ef004b87c331aadfc7a7948ec7f70](https://github.com//github.com/linz/basemaps/pull/3427/commits/01a90a2b98bab02632a9637bfed2067c9c047c61/issues/diff-48a5e932b724482f9a280931b7bb1188d26ef004b87c331aadfc7a7948ec7f70)
[/github.com/linz/basemaps-config/blob/a5b8b9baaa9941314a13058e53945bc5db5f5357/.github/workflows/build.yml#L131](https://github.com//github.com/linz/basemaps-config/blob/a5b8b9baaa9941314a13058e53945bc5db5f5357/.github/workflows/build.yml/issues/L131)
* parsing of blocked api keys
([#3448](#3448))
([ab8bf72](ab8bf72))


### Features

* **lambda-tiler:** expose configuration id and hash if present
([#3446](#3446))
([43803b4](43803b4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants