open-consul/.circleci
R.B. Boyer dae47101fa
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
..
scripts chore(ci): deprecate cherry-pick script and enable backport merge 2022-05-13 11:13:12 -04:00
terraform/load-test ci: allow bash_env in load-test (#10278) 2021-05-21 14:19:26 -04:00
bash_env.sh add back missing quote in bashenv for CI (#8317) 2020-07-15 17:21:40 -04:00
config.yml api: ensure peering API endpoints do not use protobufs (#13204) 2022-05-25 13:43:35 -05:00