Skip to content
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

Merge v3 into feature-http-proxy #1355

Merged
merged 65 commits into from
Sep 5, 2024
Merged

Merge v3 into feature-http-proxy #1355

merged 65 commits into from
Sep 5, 2024

Conversation

kian99
Copy link
Contributor

@kian99 kian99 commented Sep 5, 2024

Description

Merge branch v3 into feature-http-proxy.

pkulik0 and others added 30 commits July 4, 2024 04:43
…d-server

Css 9387 add rebac admin backend server
* add entitlements api to rebac endpoint

* update embed file names
* WIP

* Add handler for rebac group service

add constructor for entitlement service

* Update godoc

* Pass JIMM to rebac_admin
* Add pagination to list groups method

* Moved common package and made pagination package
* refactor jimm relations methods
* rename parseTag to parseAndResolveTag
kian99 and others added 21 commits August 15, 2024 11:26
* Avoid use of DB outside of jimm

* test fixes

Replace hardcoded controller UUID in tests with constant

* Export ControllerService

Drive-by warning fix

* minor refactoring

* avoid returning a params type from jimm layer

Rather than returning an apiParams type from the jimm layer in `ControllerInfo`, return a dbmodel. This also means it doesn't make sense to return the JIMM controller info since that is not a entity stored in the database. The construction of the JIMM controller info is kept directly in `jujuapi`.

* update godocs
* implement GetGroupEntitlements

* test fixes

* address PR comments

- More descriptive names
- Minor tweaks to function signatures

* add missing copyright lines

* refactor functions to handle application logic at jimm layer

* use concrete type in jimm layer rather than a string

* revert move of function

* added missing godocs/copyright and test fix
* implement patch group entitlements

* minor change in creating error response

* address follow-up comments from previous PR

* PR comments
* add get identities entitlements

* add patch identity entitlements
- Remove old invalid doc
- Add more info to charm folder
* add cors middleware

- fix bug with cookies differing when calling login and whoami endpoints

* set httpOnly to true on cookies

* add test that CORS is enabled correctly
* resources endpoint
* cleanup logging in model proxy

* simplify model proxy

- Simplified the model proxy to remove the need for a mutex.
- Handle an edge case in the model proxy where if the controller routine returned we don't stop the proxy.

* catch specific errors on websocket read
@kian99 kian99 merged commit ff960e3 into feature-http-proxy Sep 5, 2024
5 checks passed
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.

4 participants