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

l7mp / stunner / 7133985139
72%
main: 73%

Build:
Build:
LAST BUILD BRANCH: feature/json-logging-wrapper-v2
DEFAULT BRANCH: main
Ran 07 Dec 2023 09:06PM UTC
Jobs 1
Files 8
Run time 1s
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

07 Dec 2023 08:58PM UTC coverage: 70.329%. Remained the same
7133985139

push

github

rg0now
refactor: Re-implement CDS API over OpenAPI

Since the CDS service becomes critical for the push/pull of STUNner configs between different
components, gateway-operator, stunnerd, stunnerctl (TODO), and the auth-service (TODO), it has
become imperative to make the code reusable, extensible and thoroughly tested. This refactor
implements this change:
- create OpenAPI def for the STUNner dataplane API (see pkg/config/api)
- implement a general purpose CDS server
- add 3 APIs: ListV1Configs to get/watch for *all* configs in the cluster, ListV1ConfigsNamespace
to get/watch all configs in a given namespace, and GetV1ConfigNamespaceName to get/watch the config
of a specific gateway (namespace/name)
- implement a general purpose client to use all 3 APIs
- reimplement the CDS client/server over the new code
- add lots of tests

6 of 9 new or added lines in 2 files covered. (66.67%)

877 of 1247 relevant lines covered (70.33%)

44.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
78.49
0.0% config.go
2
86.08
0.0% handlers.go
Jobs
ID Job ID Ran Files Coverage
1 7133985139.1 07 Dec 2023 09:06PM UTC 8
70.33
GitHub Action Run
Source Files on build 7133985139
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 05ad2761 on github
  • Prev Build on main (#7115344236)
  • Next Build on cds-refactor (#7134051781)
  • 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