-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare changes for config version 2 #147
Conversation
99862ea
to
e80b756
Compare
e80b756
to
7484ad1
Compare
Pull Request Test Coverage Report for Build 6629312535
💛 - Coveralls |
I took this PR together with the service-host PR (aserto-dev/service-host#6) for a spin. A couple of observations:
It first fails with:
I fixed up the config, fixing the top
intentionally making the mistake to not remove the:
section, which now fails with
Now removed the health keys, to then fail with:
The expectation is that we first check the version before attempting to unmarshal the config payload. The I wonder if it would make sense that the context that is used to capture the os.Signal() should be passed down to the service implementations, so that we can respond correctly and drain connections. Right now we instantly close everything down, where I would hope we can get to the behavior that when the cancellation is called on the context we:
I cannot envision if I can achieve this with the current cleanup function approach. |
74d2b7f
to
c55bdcd
Compare
dce0c7a
to
c52cefb
Compare
c52cefb
to
45fcb6f
Compare
* upd GetObject * complete config * Do not add to dependency map same address (#109) * config.yaml add authorizer -> reader dependency * GetObject revert ObjectTypeSelector validation logic * REST API RC1 * upd assets (#112) * OpenAPI support (#113) * add OpenAPI support * upd deps * upd whitespace validation * upd whitespace validation * upd whitespace validation * add model service * config json schema * update deps * savepooint 20230913 * gdrive manifest and ds-load (#139) * Initial commit * gdrive it is * Fixing image paths, and updating emails * Add console experience for topaz * Fix linting * Add console cli cmd * Replace 0.0.0.0 with localhost * Remove Println * Get the latest commit from v3 go-edge-ds branch * Use latest v3 console and fix handler paths * Add model service configuration * Only copy the files of the console build folder * Expose default directory gateway port * Topaz with conosole (`console06`) * clean pkg/app/console before build * Bump to latest self-hosted-console * fix migrate test * fix migrate test * add service cleanup * Revert "fix migrate test" This reverts commit 5b5dfd9. * V3 only (#149) * migrate all builtins to be v3 based, adds handling for v2 and v3 request payloads, v2 request return v2 results, help * is always v3 based * migrate and reorganize tests, remove gomega/ginko dependency * add service cleanup, the cleanup function returned by wire does not cleanup, leaving the database open * Remove 'system' object from citadel data (#150) * add manifest files * updated citadel data in v3 branch * upd v2 builtins & getUserFromIdentity * upd topaz test command * upd ci.yaml * ci.yaml add CONSOLE_VERSION * int automatic schema migration * Latest v3 console (resizable panes) * upd-deps (#156) * Prepare changes for config version 2 (#147) * Prepare changes for config version 2 * Update cli config template and exposed ports * Update config doc and examples * Add cleanups for topaz services * Rename topaz service to authorizer * Update testing configs * Update test engine and configs * Refactor topaz config services * Move config version validation before unmarshal * Defer runtime cleanup and bump service-host * Rename authorizer and topaz structs and bump go-edge-ds --------- Co-authored-by: Gert Drapers <gert.drapers@live.com> * upd go-edge-ds * upd Dockerfile (s) * topaz configure --stdout * add back LSP header * Assets v3 (#158) * assets v3 formatted * assets v3 formatted * go-directory-cli updates * publish ghcr.io/aserto-dev/topaz:v3-latest-test-<platform> * upd go-directory-cli v3 * upd ci to push v3-latest-test * go-directory v0.30.0 * publish-test-image ci task * add docker_manifests entry * add docker_manifests entry * revert migration changes * push container * excl configure policy msg when --stdout * upd displayName to display_name * fix GetObjects * fix GetRelation(s) * Latest console * topaz test output fix * upd CONSOLE_VERSION in ci.yaml * err cleanup (#161) * upd deps * upd deps * assets directory restructure (#160) * console 0.0.0-20231102163131.0.g76203df3 (#163) * console 0.0.0-20231102163131.0.g76203df3 * console 0.0.0-20231102163131.0.g76203df3 * v0.30.0 deps * upd ci --------- Co-authored-by: carabasdaniel <dani@aserto.com> Co-authored-by: Glenn Block <glenn.block@gmail.com> Co-authored-by: oanatmaria <oana@aserto.com> Co-authored-by: Ronen Hilewicz <ronen@aserto.com> Co-authored-by: Oana Tanasoiu <49147761+oanatmaria@users.noreply.github.com> Co-authored-by: Ronen Hilewicz <github@ronen.hilewi.cz> Co-authored-by: Omri Gazitt <ogazitt@gmail.com>
No description provided.