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

Support DB and API modes for access control #83

Merged
merged 4 commits into from
Apr 19, 2024

Conversation

mahendrapaipuri
Copy link
Owner

@mahendrapaipuri mahendrapaipuri commented Apr 19, 2024

  • Enhance e2e tests for API server

Closes #79 and closes #47

* We dont need to define different endpoint as fields. We can use receivers to get different end points and make them local

* Styling changes

Signed-off-by: Mahendra Paipuri <[email protected]>
* Besides querying DB for access control, LB can make a API request to CEEMS API to check unit ownership

* An endpoint in API server has been added. Both DB and API methods use same logic to check ownership

* Add e2e tests for both modes

* Add tsdb in CEEMS API e2e test

Signed-off-by: Mahendra Paipuri <[email protected]>
@mahendrapaipuri mahendrapaipuri added this to the v0.1.0 milestone Apr 19, 2024
@mahendrapaipuri mahendrapaipuri added enhancement New feature or request maintenance General maintenance test labels Apr 19, 2024
Signed-off-by: Mahendra Paipuri <[email protected]>
@mahendrapaipuri mahendrapaipuri merged commit 7adbe86 into main Apr 19, 2024
6 checks passed
@mahendrapaipuri mahendrapaipuri deleted the lb_api_enhancemnts branch April 19, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maintenance General maintenance test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an endpoint to verify unit ownership in API server Integrate TSDB in CEEMS API server e2e tests
1 participant