Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: m-lab/locate

Tags

v0.18.0

Toggle v0.18.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(auth): Add JWT authentication for heartbeat endpoints (#228)

* Add JWT-protected heartbeat endpoint with organization validation

* Fix JWT audience to match token-exchange service

* Fix JWT claims extraction for ESP v1 (GAE Flex)

* Use portable JWT parsing with go-jose library

* Update heartbeat client to use JWT authentication

* feat(auth): add JWT token refresh for heartbeat connections

Implements automatic JWT token renewal before expiry to handle GAE's
1-hour connection limits. Includes comprehensive test coverage.

* update comment

* feat(auth): update handler to read ESPv1's custom header

* add debug logging

* fix(auth): parse claims as a JSON string

* use base64.StdEncoding

* restore expiry parsing from JWT

* Make tests table-driven

v0.17.8

Toggle v0.17.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Avoids a nil pointer dereference error in Geo() (#227)

* Avoids a nil pointer dereference error in Geo()

There was a case in staging where Locate was returning this for a host:

  "neubot-mlab4-syd04.mlab-staging.measurement-lab.org": {
    "Health": null,
    "Registration": null,
    "Prometheus": {
      "Health": false
    }
  },

... this was causing a panic in Locate. This commit avoids this, and adds a new
unit test to be sure it working as intended.

* Fixes a few typos in a comment in Geo()

v0.17.7

Toggle v0.17.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Avoids a nil pointer dereference error in Geo() (#227)

* Avoids a nil pointer dereference error in Geo()

There was a case in staging where Locate was returning this for a host:

  "neubot-mlab4-syd04.mlab-staging.measurement-lab.org": {
    "Health": null,
    "Registration": null,
    "Prometheus": {
      "Health": false
    }
  },

... this was causing a panic in Locate. This commit avoids this, and adds a new
unit test to be sure it working as intended.

* Fixes a few typos in a comment in Geo()

v0.17.6

Toggle v0.17.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add -early-exit-clients command-line flag (#223)

* Add -early-exit-client command-line argument.

* Make flag configurable via cloudbuild vars

* Use consts for early exit parameter and value

v0.17.5

Toggle v0.17.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update cloudbuild config to allow setting IP-based config from env (#221

)

* Update cloudbuild config to allow setting IP-based config from env

* Get artifact project from an env variable

* use _ prefix

v0.17.4

Toggle v0.17.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update rate limiter to have different configurable limits for IP-only…

… and IP+UA (#219)

v0.17.3

Toggle v0.17.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Make rate limiter parameters configurable via CB (#217)

* Add two more variable replacements in cloudbuild.yaml

* Add vars to app.yaml

v0.17.2

Toggle v0.17.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #216 from m-lab/sandbox-roberto-metrics

Add metric to track rate-limited clients by client_name

v0.17.1

Toggle v0.17.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Enable rate limiting (#214)

* Actually block when IP+UA is rate limited.

* Add tests for the rate limiter code paths

v0.17.0

Toggle v0.17.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Do not automatically promote after deployment in mlab-ns (#213)