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

SAP-cloud-infrastructure / hermez / 16177016604
56%

Build:
DEFAULT BRANCH: master
Ran 09 Jul 2025 06:16PM UTC
Jobs 1
Files 13
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

09 Jul 2025 06:15PM UTC coverage: 55.677% (+2.2%) from 53.461%
16177016604

push

github

web-flow
pkg/api: refactor to use httpapi composition pattern (#317)

* pkg/api: refactor to use httpapi composition pattern

- replace manual mux.Router with httpapi.Compose()
- add V1API, VersionAPI, Metrics Api with AddTo() methods
- Standardize as much as possible with go-bits respondwith patterns
- Rename ReturnJSON to ReturnESJSON to indicate it's specific ES requirements
- move utilities to fovused files (response.go, middleware.go)

* pkg/api/server.go Remove duplicate log line

Co-authored-by: Simon Olander <simon.olander@sap.com>

* http.Error instead of wrapper

---------

Co-authored-by: Simon Olander <simon.olander@sap.com>

148 of 203 new or added lines in 6 files covered. (72.91%)

1 existing line in 1 file now uncovered.

559 of 1004 relevant lines covered (55.68%)

4.38 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
97.78
1.0% pkg/api/core.go
2
76.69
0.45% pkg/api/events.go
9
57.14
pkg/api/api.go
9
59.09
pkg/api/response.go
11
82.54
pkg/api/middleware.go
22
0.0
0.0% pkg/api/server.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% pkg/api/server.go
Jobs
ID Job ID Ran Files Coverage
1 16177016604.1 09 Jul 2025 06:16PM UTC 13
55.68
GitHub Action Run
Source Files on build 16177016604
  • Tree
  • List 13
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7dc40ad0 on github
  • Prev Build on master (#16058647479)
  • Next Build on master (#16177051393)
  • Delete
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