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

test(orchestrator): add unit tests for v2 endpoints #1300

Merged
merged 14 commits into from
Mar 8, 2024
Merged

test(orchestrator): add unit tests for v2 endpoints #1300

merged 14 commits into from
Mar 8, 2024

Conversation

gciavarrini
Copy link
Contributor

Add unit tests for v2 endpoints defined in openapi.yaml spec.

@janus-idp/backstage-plugin-orchestrator-backend:test: ----------------------------|---------|----------|---------|---------|-----------------------------------------
@janus-idp/backstage-plugin-orchestrator-backend:test: File                        | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                       
@janus-idp/backstage-plugin-orchestrator-backend:test: ----------------------------|---------|----------|---------|---------|-----------------------------------------
@janus-idp/backstage-plugin-orchestrator-backend:test:  src/service/api            |   88.48 |    67.79 |   91.89 |   88.12 |                                         
@janus-idp/backstage-plugin-orchestrator-backend:test:   test-utils.ts             |   97.56 |    95.65 |     100 |   97.29 | 159                                     
@janus-idp/backstage-plugin-orchestrator-backend:test:   v1.ts                     |   83.33 |    47.61 |   83.33 |   83.33 | 29,48,94,99,111,124,151,154,164,170,197 
@janus-idp/backstage-plugin-orchestrator-backend:test:   v2.ts                     |   87.93 |    53.33 |   93.33 |   87.71 | 58,103,122,128,134,148,206              
@janus-idp/backstage-plugin-orchestrator-backend:test:  src/service/api/mapping    |   82.45 |       60 |     100 |   82.14 |                                         
@janus-idp/backstage-plugin-orchestrator-backend:test:   V2Mappings.ts             |   82.45 |       60 |     100 |   82.14 | 74,94,98,110-120,137               

@gciavarrini gciavarrini requested a review from a team as a code owner March 1, 2024 10:01
@openshift-ci openshift-ci bot requested review from batzionb and caponetto March 1, 2024 10:01
@gciavarrini gciavarrini changed the title feature(orchestrator): add unit tests for v2 endpoints test(orchestrator): add unit tests for v2 endpoints Mar 1, 2024
Copy link

sonarqubecloud bot commented Mar 8, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
1.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

openshift-ci bot commented Mar 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: caponetto

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Mar 8, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 9a13138 into janus-idp:main Mar 8, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants