You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Alternate versioning strategy
Signed-off-by: kagarmoe <[email protected]>
* automate-gateway: don't strip /apis prefix for versioned endpoints
With this commit in place, we can access IAM stuff as intended, with the
proto changes in this PR:
[39][default:/src:130]# curl -kv -H "api-token: $TOK" https://127.0.0.1/apis/iam/v2/teams
* Trying 127.0.0.1:443...
> GET /apis/iam/v2/teams HTTP/2
> Host: 127.0.0.1
> user-agent: curl/7.68.0
> accept: */*
> api-token: 3C1z0rcVzsyO2zwQSwJmIkf48Kc=
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
<
* Connection #0 to host 127.0.0.1 left intact
{"teams":[{"id":"admins","name":"admins","projects":[]},{"id":"viewers","name":"Viewers","projects":[]},{"id":"editors","name":"Editors","projects":[]}]}
[40][default:/src:0]#
Signed-off-by: Stephan Renatus <[email protected]>
* automate-gateway/introspect: adapt tests to changed iam paths
Signed-off-by: Stephan Renatus <[email protected]>
* iam/v2/policies: change paths "/iam/v2" -> "/apis/iam/v2"
Signed-off-by: Stephan Renatus <[email protected]>
* iam/v2/policies: change paths "/iam/v2" -> "/apis/iam/v2" [regen]
Signed-off-by: Stephan Renatus <[email protected]>
* automate-ui: update iam paths for introspection
Made using
git grep --name-only '/iam/v2/' components/automate-ui |\
xargs gsed -i '/\/apis\/iam\/v2/!s#/iam/v2/#/apis/iam/v2/#g'
Signed-off-by: Stephan Renatus <[email protected]>
* automate-ui: fix lint issue
Signed-off-by: Stephan Renatus <[email protected]>
* automate-gateway/apis/iam: fix path for POST
Signed-off-by: Stephan Renatus <[email protected]>
* automate-gateway/apis/iam: fix path for POST [regen]
Signed-off-by: Stephan Renatus <[email protected]>
* a2-api-integration: fix introspect payload
Signed-off-by: Stephan Renatus <[email protected]>
* dropme: sync remaining iamv2 path changes
Signed-off-by: Stephan Renatus <[email protected]>
* *.proto: prepend `/api/v0` to all http options
Signed-off-by: Stephan Renatus <[email protected]>
* *.proto: prepend `/api/v0` to all http options [regen]
Signed-off-by: Stephan Renatus <[email protected]>
* *.proto: prepend `/api/v0` to all http options [sync swagger]
Signed-off-by: Stephan Renatus <[email protected]>
* automate-gateway/introspect: adapt tests to changed /api/v0/ paths
Signed-off-by: Stephan Renatus <[email protected]>
* automate-gateway/integration: fix test endpoint urls
Signed-off-by: Stephan Renatus <[email protected]>
* a2-api-integration: fix introspect payload for /api/v0
Signed-off-by: Stephan Renatus <[email protected]>
* automate-load-balancer: send /api/* to a-g, unstripped, replace v1 -> v0
Signed-off-by: Stephan Renatus <[email protected]>
* automate-gateway/server: adapt muxes
Signed-off-by: Stephan Renatus <[email protected]>
* [unit] automate-grpc
Signed-off-by: Stephan Renatus <[email protected]>
* automate-ui: adapt app-authorized arguments to changed paths
Signed-off-by: Stephan Renatus <[email protected]>
* automate-gateway/habitat: fix health-check hook
Signed-off-by: Stephan Renatus <[email protected]>
* automate-ui/layout-sidebar: adapt paths
Signed-off-by: Stephan Renatus <[email protected]>
* ingest-service: fix nodejs integration test paths
Signed-off-by: Stephan Renatus <[email protected]>
* automate-load-balancer: fix /data-collector/v0 redirect
Signed-off-by: Stephan Renatus <[email protected]>
* automate-load-balancer: fix /compliance/profiles/... redirect (maybe?)
Signed-off-by: Stephan Renatus <[email protected]>
* automate-ui/layout-model: fix example comment
Signed-off-by: Stephan Renatus <[email protected]>
* cert auth tests: fix path
Signed-off-by: Stephan Renatus <[email protected]>
* fix paths on landing components
Signed-off-by: susanev <[email protected]>
* fix lint
Signed-off-by: susanev <[email protected]>
* automate-cs-nginx: /events/data-collector -> /api/v0/events/data-collector
Signed-off-by: Stephan Renatus <[email protected]>
* automate-cs-oc-erchef: /events/data-collector -> /api/v0/events/data-collector
Signed-off-by: Stephan Renatus <[email protected]>
* automate-gateway: fix {reports,nodes} export paths
Either one of these must be right:
- These hadn't been caught by tests and almost slipped through.
- This fix is wrong for some reason.
Signed-off-by: Stephan Renatus <[email protected]>
* automate-gateway/compliance/profiles: +2 all indices in the URL splits
This is wrong.
Signed-off-by: Stephan Renatus <[email protected]>
* automate-cs-nginx: include /api/v0 in /compliance/profiles rewrite
Usually, automate-load-balancer would prepend that to support the legacy
route /compliance/profiles/*. However, automate-cs-nginx makes its calls
directly to automate-gateway, so we'll have to fix the URLs here.
Also applies a tiny fix to the logs for profile requests.
Signed-off-by: Stephan Renatus <[email protected]>
* automate-gateway: prefix remaining routes so stuff still works
These have not caused any test failures.
However, since we've stopped forwarding requests to automate-gateway
without a prefix, these need /api/v0 now to work *through the gateway*.
If anything had been calling these directly, it'll break.
Signed-off-by: Stephan Renatus <[email protected]>
* automate-gateway: add a big fat warning re: custom handlers
Signed-off-by: Stephan Renatus <[email protected]>
* automate-chef-io/data: reset to master
Let's let expeditor do its job here.
Signed-off-by: Stephan Renatus <[email protected]>
* .studio/license-control-service: fix telemetry_status
Signed-off-by: Stephan Renatus <[email protected]>
* userperm: update README.md
Signed-off-by: Stephan Renatus <[email protected]>
* automate-ui/settings/notifications: fix guard url
Signed-off-by: Stephan Renatus <[email protected]>
* fix profile detail links
Signed-off-by: susanev <[email protected]>
* more compliance overview link fixes
Signed-off-by: susanev <[email protected]>
* update compliance export paths documentation
these are special mux handler APIs so we don't have
nice auto-gen documentation
Signed-off-by: Brenna Hewer-Darroch <[email protected]>
* fix cfgmgmt.proto post-rebase
new endpoint tried to sneak in without a path update :o
Signed-off-by: Brenna Hewer-Darroch <[email protected]>
Co-authored-by: kagarmoe <[email protected]>
Co-authored-by: susanev <[email protected]>
Co-authored-by: Brenna Hewer-Darroch <[email protected]>
0 commit comments