Closed timbru closed 3 years ago
There an API call now:
root@krill-ui-dev:~/krill# krillc repo state --ca Acme-Corp-Intl --api GET: https://localhost:3000/api/v1/cas/Acme-Corp-Intl/repo/state
With a JSON response:
{ "list": { "elements": [ { "uri": "rsync://krill-ui-dev.do.nlnetlabs.nl/repo/Acme-Corp-Intl/0/5796A18D9A941AB72D78C820C5F0837B1CB30694.mft", "hash": "4ddbd0b5d624965443e74b80a921ec08d336c5df17e33874f81718da8631cff8" }, { "uri": "rsync://krill-ui-dev.do.nlnetlabs.nl/repo/Acme-Corp-Intl/0/5796A18D9A941AB72D78C820C5F0837B1CB30694.crl", "hash": "ae24be3f2770d028493767b0fc8a3818371104c19937786ec83e412028fe8ec9" }, { "uri": "rsync://krill-ui-dev.do.nlnetlabs.nl/repo/Acme-Corp-Intl/0/31302e302e302e302f32342d3234203d3e203634343936.roa", "hash": "e94775e5ed6d72475151ab211cb894d2d32228bfc0911401f20cba4bceea317f" } ] } }
It would be nice to show this instead. If the repo cannot be reached an error is returned instead.
By now this is stuff is implemented differently.
There an API call now:
root@krill-ui-dev:~/krill# krillc repo state --ca Acme-Corp-Intl --api GET: https://localhost:3000/api/v1/cas/Acme-Corp-Intl/repo/state
With a JSON response:
It would be nice to show this instead. If the repo cannot be reached an error is returned instead.