R.B. Boyer
a85b8a4705
api: ensure peering API endpoints do not use protobufs ( #13204 )
...
I noticed that the JSON api endpoints for peerings json encodes protobufs directly, rather than converting them into their `api` package equivalents before marshal/unmarshaling them.
I updated this and used `mog` to do the annoying part in the middle.
Other changes:
- the status enum was converted into the friendlier string form of the enum for readability with tools like `curl`
- some of the `api` library functions were slightly modified to match other similar endpoints in UX (cc: @ndhanushkodi )
- peeringRead returns `nil` if not found
- partitions are NOT inferred from the agent's partition (matching 1.11-style logic)
2022-05-25 13:43:35 -05:00
..
2022-02-03 13:42:28 -05:00
2022-04-21 17:34:40 -05:00
2022-05-20 15:47:40 +01:00
2022-05-12 16:34:17 -04:00
2022-04-07 11:29:27 -07:00
2022-05-19 16:03:46 -04:00
2022-04-05 15:11:49 -07:00
2022-05-25 12:37:44 -05:00
2022-05-25 12:37:44 -05:00
2022-01-20 10:46:23 -06:00
2022-05-19 14:00:07 -05:00
2022-05-24 10:22:53 -07:00
2022-04-05 15:11:49 -07:00
2022-04-21 16:21:35 -04:00
2022-05-20 15:47:40 +01:00
2022-02-03 13:42:28 -05:00
2021-12-07 12:48:50 +00:00
2022-05-25 12:37:44 -05:00
2022-05-20 15:27:01 -05:00
2022-05-25 12:37:44 -05:00
2022-05-20 15:47:40 +01:00
2021-12-07 12:12:47 +00:00
2022-04-15 09:55:52 -07:00
2022-05-24 18:44:54 -07:00
2022-04-29 13:42:49 -04:00
2022-04-29 13:42:49 -04:00
2021-12-03 20:36:28 +00:00
2022-05-19 16:03:46 -04:00
2022-04-29 13:42:49 -04:00
2022-05-09 10:07:19 -07:00
2022-04-05 15:11:49 -07:00
2022-05-19 16:03:46 -04:00
2022-05-19 16:03:46 -04:00
2022-04-05 15:11:49 -07:00
2022-04-18 11:41:10 -04:00
2022-05-20 15:47:40 +01:00
2022-02-24 16:54:47 -06:00
2022-04-29 13:42:49 -04:00
2022-04-05 15:11:49 -07:00
2022-04-29 13:42:49 -04:00
2022-04-29 13:42:49 -04:00
2022-04-29 13:42:49 -04:00
2022-04-18 11:41:10 -04:00
2022-04-29 13:42:49 -04:00
2022-04-29 13:42:49 -04:00
2022-04-29 13:42:49 -04:00
2022-04-05 15:11:49 -07:00
2022-04-29 13:42:49 -04:00
2022-04-29 13:42:49 -04:00
2022-04-05 15:11:49 -07:00
2021-12-07 12:48:50 +00:00
2022-04-05 15:11:49 -07:00
2022-04-29 13:42:49 -04:00
2022-04-29 13:42:49 -04:00
2022-04-29 13:42:49 -04:00
2022-05-20 15:27:01 -05:00
2022-04-29 13:42:49 -04:00
2021-12-07 12:48:50 +00:00
2022-04-29 13:42:49 -04:00
2022-05-02 11:49:05 -07:00
2022-04-29 13:42:49 -04:00
2022-05-09 16:39:48 -07:00
2022-05-24 13:21:15 -04:00
2022-05-24 13:21:15 -04:00
2021-12-07 12:48:50 +00:00
2022-02-24 17:24:57 +00:00
2022-04-29 13:42:49 -04:00
2022-04-12 10:50:25 -07:00
2022-04-29 13:42:49 -04:00
2022-05-02 11:49:05 -07:00
2022-05-25 13:43:35 -05:00
2022-05-25 13:43:35 -05:00
2022-04-29 13:42:49 -04:00
2022-04-29 13:42:49 -04:00
2021-12-07 12:48:50 +00:00
2022-01-20 10:46:23 -06:00
2021-08-20 12:57:45 -04:00
2022-04-29 13:42:49 -04:00
2022-05-19 16:03:46 -04:00
2022-01-20 10:46:23 -06:00
2022-05-19 16:03:46 -04:00
2022-04-29 13:42:49 -04:00
2022-04-29 13:42:49 -04:00
2022-02-16 16:51:54 -05:00
2022-05-13 14:05:22 -04:00
2022-02-14 09:45:45 -08:00