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

Add krakend backend integration for sonar/deptrack widgets consuming #427

Closed
callmevladik opened this issue Oct 16, 2024 · 0 comments · Fixed by #431
Closed

Add krakend backend integration for sonar/deptrack widgets consuming #427

callmevladik opened this issue Oct 16, 2024 · 0 comments · Fixed by #431
Assignees
Labels
feature New functionality

Comments

@callmevladik
Copy link
Contributor

callmevladik commented Oct 16, 2024

Portal UI should consume widgets information based on the Krakend ingress URL endpoint. The portal should pass the Authorization token from the portal. The portal should use the following endpoints:

SonarQube widget: https://api.eks-sandbox.aws.main.edp.projects.epam.com/widgets/sonarqube/measures/component?component=demo&metricKeys=bugs,code_smells
Dependency track: https://api.eks-sandbox.aws.main.edp.projects.epam.com/widgets/deptrack/project?name=demo
Acceptance Criteria
Portal UI is updated to consume widgets information via the Krakend ingress URL.
The Authorization token is correctly passed from the portal to the Krakend endpoints.
SonarQube widget information is correctly fetched using the endpoint /widgets/measures/component with the existing query string.
Dependency track information is correctly fetched using the endpoint /widgets/deptrack/project with the existing query string.
All endpoints are tested to ensure they return the correct data.
Implementation Plan

  1. Update Portal UI Configuration:

Modify the Portal UI to use the Krakend ingress URL endpoints for fetching widgets information.
Ensure the Authorization token is passed correctly from the portal.

  1. Integrate with SonarQube Widget Endpoint:

Update the Portal UI to fetch SonarQube widget information from /widgets/measures/component.
Ensure the existing query string is preserved and used correctly.

  1. Integrate with Dependency Track Endpoint:

Update the Portal UI to fetch dependency track information from /widgets/deptrack/project.
Ensure the existing query string is preserved and used correctly.

  1. Testing and Verification:

Perform comprehensive testing to verify that the Portal UI correctly consumes the widgets information from the specified endpoints.
Ensure that the Authorization token is passed and that the data returned is accurate.
Fix any issues identified during the testing phase.

@callmevladik callmevladik converted this from a draft issue Oct 16, 2024
@callmevladik callmevladik self-assigned this Oct 16, 2024
@callmevladik callmevladik added bug Something isn't working feature New functionality and removed bug Something isn't working labels Oct 16, 2024
callmevladik added a commit that referenced this issue Oct 16, 2024
SergK pushed a commit that referenced this issue Oct 16, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in KubeRocketCI Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
Archived in project
1 participant