Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[app] Add topology graph #363

Merged
merged 4 commits into from
Jun 21, 2022
Merged

[app] Add topology graph #363

merged 4 commits into from
Jun 21, 2022

Conversation

ricoberger
Copy link
Member

This commit re-adds the topology graph for kobs. The topology graph is
generated by the provided dependencies in an Application and rendered
via cytoscape.

Note: We decided to remove the topology "type" feature, so that the
style of the nodes is always the same and can not be customized anymore.

This commit re-adds the topology graph for kobs. The topology graph is
generated by the provided dependencies in an Application and rendered
via cytoscape.

Note: We decided to remove the topology "type" feature, so that the
style of the nodes is always the same and can not be customized anymore.
When a user selects a node (application) in the topology graph, we try
to get the corresponding application and display it in the detais drawer
of the topology page.
@codecov-commenter
Copy link

codecov-commenter commented Jun 21, 2022

Codecov Report

Merging #363 (faa18d3) into main (dcc6ebb) will decrease coverage by 0.74%.
The diff coverage is 19.10%.

@@            Coverage Diff             @@
##             main     #363      +/-   ##
==========================================
- Coverage   47.09%   46.34%   -0.75%     
==========================================
  Files         130      131       +1     
  Lines        9938    10202     +264     
==========================================
+ Hits         4680     4728      +48     
- Misses       5160     5373     +213     
- Partials       98      101       +3     
Impacted Files Coverage Δ
pkg/hub/api/applications/topology.go 0.00% <0.00%> (ø)
pkg/hub/store/store.go 100.00% <ø> (ø)
pkg/hub/watcher/watcher.go 12.13% <0.00%> (-0.31%) ⬇️
pkg/kube/clusters/cluster/defaults.go 100.00% <ø> (ø)
pkg/hub/store/bolt/bolt.go 75.79% <79.03%> (+0.33%) ⬆️
pkg/hub/api/applications/applications.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dcc6ebb...faa18d3. Read the comment docs.

It is now possible to display the topology graph of an application
within a panel on a dashboard.
@ricoberger ricoberger merged commit 91697cf into main Jun 21, 2022
@ricoberger ricoberger deleted the app-add-topology branch June 21, 2022 14:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants