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

UI backend #141

Merged
merged 4 commits into from
Mar 16, 2023
Merged

UI backend #141

merged 4 commits into from
Mar 16, 2023

Conversation

fishkerez
Copy link
Contributor

Description

In order to simplify logic that consist of many API calls in the UI, we’ll create a new “micro-service“ that will have its own OAS. The UI backend instance will be instantiated temporarily from backend (similar to the orchestrator) and will be registered on a separate API endpoint in the echo middleware.
The OAS will contain a single path for each widget, which the UI backend will handle by making all the relevant API calls to the backend API (and NOT access the db handler). The UI backend will response for each API path with all the needed information to render the dashboard widget.

This commit is the infrastructure for the UI backend, on top of it we will build all the needed UI apis.

Type of Change

[ ] Bug Fix
[ *] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)

@fishkerez fishkerez self-assigned this Mar 15, 2023
@fishkerez fishkerez requested a review from a team as a code owner March 15, 2023 11:32
@fishkerez fishkerez force-pushed the ui-backend branch 2 times, most recently from 8d9397d to 0c2a6b3 Compare March 15, 2023 11:33
api/ui_backend/openapi.yaml Outdated Show resolved Hide resolved
api/ui_backend/openapi.yaml Outdated Show resolved Hide resolved
backend/pkg/ui/rest/controllers.go Outdated Show resolved Hide resolved
backend/pkg/rest/server.go Show resolved Hide resolved
akpsgit
akpsgit previously approved these changes Mar 16, 2023
FrimIdan
FrimIdan previously approved these changes Mar 16, 2023
@fishkerez fishkerez merged commit a2a6f41 into main Mar 16, 2023
@chrisgacsal chrisgacsal deleted the ui-backend branch October 2, 2023 19:15
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.

None yet

3 participants