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

openSUSE / agama / 8612951813
25%
master: 72%

Build:
Build:
LAST BUILD BRANCH: storage-volume-keywords
DEFAULT BRANCH: master
Ran 09 Apr 2024 08:58AM UTC
Jobs 2
Files 403
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 Apr 2024 08:50AM UTC coverage: 70.467% (-0.4%) from 70.823%
8612951813

push

github

web-flow
Adapt the Network UI to the HTTP/JSON API (#1116)

## Problem

Recently, we have been adding an HTTP/JSON layer on top of the network
configuration. Using this new API we should be able to:

Display the active connections in the
[NetworkSection](https://github.com/openSUSE/agama/blob/master/web/src/components/overview/NetworkSection.jsx)
and the
[ConnectionsTable](https://github.com/openSUSE/agama/blob/master/web/src/components/network/ConnectionsTable.jsx).
Allow editing the configuration of those connections.

- [*Trello
Card*](https://trello.com/c/chdpfc4S/3619-8-basic-network-configuration-handling)

## Solution

The UI has been adapted using the HTTP/JSON API and additing or updating
a connections using it is now allowed. Although it was out of the scope,
adding a Wireless connection is also allowed but in that case we are not
listening to the DBUS events and not reacting properly, therefore, a
refresh would be needed in order to see the added connection.

31 of 145 new or added lines in 8 files covered. (21.38%)

9 existing lines in 3 files now uncovered.

11021 of 15640 relevant lines covered (70.47%)

12.14 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
58.28
-1.97% rust/agama-server/src/network/model.rs
7
0.0
0.0% rust/agama-server/src/network/nm/adapter.rs
8
69.54
-1.56% rust/agama-server/src/network/nm/dbus.rs
8
65.41
3.19% rust/agama-server/src/network/system.rs
11
37.1
-8.0% rust/agama-lib/src/network/types.rs
28
0.0
0.0% rust/agama-server/src/network/nm/client.rs
49
41.27
-14.16% rust/agama-server/src/network/web.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-server/src/network/nm/client.rs
3
41.27
-14.16% rust/agama-server/src/network/web.rs
5
58.28
-1.97% rust/agama-server/src/network/model.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
2 rust 8612951813.2 09 Apr 2024 08:58AM UTC 87
36.07
GitHub Action Run
1 service 8169459432.1 06 Mar 2024 09:05AM UTC 316
85.22
GitHub Action Run
Source Files on build 8612951813
  • Tree
  • List 403
  • Changed 33
  • Source Changed 11
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #8612951813
  • 7df6f83d on github
  • Prev Build on architecture_2024 (#8606305430)
  • Next Build on architecture_2024 (#8685261558)
  • 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

© 2025 Coveralls, Inc