• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sapcc / limes / 10417665977
80%

Build:
DEFAULT BRANCH: master
Ran 16 Aug 2024 09:20AM UTC
Jobs 1
Files 57
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Aug 2024 09:18AM UTC coverage: 79.363% (-0.02%) from 79.383%
10417665977

push

github

web-flow
Add endpoints for commitment conversion (#525)

* Add GET endpoint for commitment conversion

* Allow multiple convertibles to be configured

* Change JSON return name to 'conversions'

* Change GET API to support up and down conversions
Change GET API to POST API to receive and check commitments

* Fix comment for linter

* Remove whitespace

* Revert POST endpoint to GET endpoint
Return empty list when no convertibles found
Introduce parse function for commitment-conversions
Fix documentation

* Change documentation headline to match the GET endpoint

* Use core.Cluster like behavior acquisition
check for Unit on target and source resource

* Move resources to quota_noop for unit tests

* Update internal/api/commitment.go

Co-authored-by: Stefan Majewsky <stefan.majewsky@sap.com>

* Update internal/api/commitment_test.go

Co-authored-by: Stefan Majewsky <stefan.majewsky@sap.com>

* use new API declarations type
use cluster infoForResource method to retrieve the resources

* update documentation

* GetCommitmentConversions: do not use IdentityInV1API at all for now

This was still using renaming in the wrong direction in some places.
Since I will fix this with a larger refactoring soon, leaving this in
would only cause unnecessary confusion.

* GetCommitmentConversions: complete the documentation

* fix test instability

---------

Co-authored-by: Stefan Majewsky <stefan.majewsky@sap.com>

56 of 72 new or added lines in 3 files covered. (77.78%)

4711 of 5936 relevant lines covered (79.36%)

60.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10417665977.1 16 Aug 2024 09:20AM UTC 0
79.36
GitHub Action Run
Source Files on build 10417665977
Detailed source file information is not available for this build.
  • Back to Repo
  • 53bce5b5 on github
  • Prev Build on master (#10414433204)
  • Next Build on master (#10418202142)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc