netsec-ethz / scion-apps

Public repository for SCION applications
Apache License 2.0
20 stars 43 forks source link

webapp: fix asviz.js #184

Closed matzf closed 3 years ago

matzf commented 3 years ago

The json returned by the /getastopo endpoint has changed; it directly marshals the return value of the sciond API requests and these types have been changed (a rather long time ago). The service IDs used as keys here have also changed.

Adapt the JS code to deal with the new (simpler) data format. Remove various unused helper function.

Side note: this PR makes the visualization work again, but it still does not appear to show anything useful. Maybe the "Monitor" tab should simply be removed.


This change is Reviewable