Skip to content

Add plumbing between spanner & http for missing one implementation#904

Merged
jcscottiii merged 1 commit intomainfrom
jcscottiii/add-plumbing-missing-one-impl
Nov 14, 2024
Merged

Add plumbing between spanner & http for missing one implementation#904
jcscottiii merged 1 commit intomainfrom
jcscottiii/add-plumbing-missing-one-impl

Conversation

@jcscottiii
Copy link
Collaborator

@jcscottiii jcscottiii commented Nov 13, 2024

Fixes #880

This change adds the spanner adapter conversion layer for the missing one implementation endpoint. This converts the data from spanner to the expected missing one implementation page that is documented in the openapi yaml for the endpoint.

This change has the http layer call this layer for the endpoint.

Heavily inspired by:

Other changes:

  • Fix log statement in backend/pkg/httpserver/list_aggregated_feature_support.go

Fixes #880

This change adds the spanner adapter conversion layer. This converts the
data from spanner to the expected missing one implementation page that is
documented in the openapi yaml for the endpoint.

This change has the http layer call this layer for the endpoint.

Heavily inspired by:
- [backend/pkg/httpserver/list_aggregated_feature_support.go](https://github.com/GoogleChrome/webstatus.dev/blob/main/backend/pkg/httpserver/list_aggregated_feature_support.go)
- The [ListBrowserFeatureCountMetric method in lib/gcpspanner/spanneradapters/backend.go](https://github.com/GoogleChrome/webstatus.dev/blob/40b461b550bbb32b432a6dd219e9ccf94b249d23/lib/gcpspanner/spanneradapters/backend.go#L99-L133)

Other changes:
- Fix log statement in backend/pkg/httpserver/list_aggregated_feature_support.go
@jcscottiii jcscottiii added this pull request to the merge queue Nov 14, 2024
Merged via the queue into main with commit 99aa4e0 Nov 14, 2024
@jcscottiii jcscottiii deleted the jcscottiii/add-plumbing-missing-one-impl branch November 14, 2024 02:31
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.

Add plumbing from missing one implementation API to spanner database calls

2 participants