Draft
Conversation
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 11, 2026
| } | ||
|
|
||
| func MakeRouter(ctx context.Context, pool *pgxpool.Pool, log logrus.FieldLogger, middlewares ...func(http.Handler) http.Handler) *chi.Mux { | ||
| func MakeRouter(ctx context.Context, cfg Config) *chi.Mux { |
Contributor
Author
There was a problem hiding this comment.
Det er kanskje unødvendig å kjøre 2 http servere som begge eksponerer paths på ingressen. Vurdere om vi kan samle både http serveren i denne pakka og den som allerede eksisterer i http.go (den som /graphql) i en senere PR
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 11, 2026
thokra-nav
commented
Mar 12, 2026
thokra-nav
commented
Mar 12, 2026
thokra-nav
commented
Mar 12, 2026
Comment on lines
+14
to
+28
| var ignoredTopLevelFields = map[string]bool{ | ||
| "status": true, | ||
| } | ||
|
|
||
| // ignoredMetadataFields are metadata fields managed by the API server. | ||
| var ignoredMetadataFields = map[string]bool{ | ||
| "resourceVersion": true, | ||
| "uid": true, | ||
| "generation": true, | ||
| "creationTimestamp": true, | ||
| "managedFields": true, | ||
| "selfLink": true, | ||
| "deletionTimestamp": true, | ||
| "deletionGracePeriodSeconds": true, | ||
| } |
Contributor
Author
There was a problem hiding this comment.
Vi bør kanskje ta en ekstra titt på dette. Vi kan kanskje også generelt ignorere endringer til .metadata?
Men av de ressursene som eksisterer i dag så er det noen som ikke har defaulting webhook, så kan være vi må justere litt på hvordan vi gjør diff
thokra-nav
commented
Mar 12, 2026
7ec52db to
4d5d88b
Compare
Co-authored-by: Vegar Sechmann Molvig <vegar.sechmann.molvig@nav.no>
- Move resource activity log types to activitylog package - Add fallback transformer for unknown resource kinds - Unify changed field representation and string conversion - Update GraphQL schema and resolvers for new types - Require pre-shared key for team API in integration tests - Update apply endpoint to use path parameters for team and environment
Fix environment name field
Co-authored-by: Vegar Sechmann Molvig <vegar.sechmann.molvig@nav.no>
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.
No description provided.