Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambassador Swagger definition does not include namespace #660

Closed
aarondav opened this issue Jun 26, 2019 · 1 comment · Fixed by #779
Closed

Ambassador Swagger definition does not include namespace #660

aarondav opened this issue Jun 26, 2019 · 1 comment · Fixed by #779
Assignees
Projects

Comments

@aarondav
Copy link
Contributor

The generated Swagger definition linked to from these docs intended for Ambassador integration only allows providing deployment:

"/seldon/{deployment}/api/v0.1/predictions": {

However, in practice it seems that both (Kubernetes) namespace and deployment are required. That is, the actual path should look like /seldon/{namespace}/{deployment}/api/v0.1/predictions.

Since Swagger HTML-escapes the input parameters, attempting to put a value for deployment like namespace/deployment gets escaped to namespace%2Fdeployment, so I think we need a second top-level parameter.

Please let me know if this proposal makes sense, or if I'm just missing something.

@ukclivecox
Copy link
Contributor

Yes that makes sense. Will you submit a PR?

@ukclivecox ukclivecox added this to To do in 0.4.0 via automation Jul 21, 2019
@ukclivecox ukclivecox self-assigned this Jul 25, 2019
@ukclivecox ukclivecox moved this from To do to In progress in 0.4.0 Aug 9, 2019
0.4.0 automation moved this from In progress to Done Aug 9, 2019
agrski pushed a commit that referenced this issue Dec 2, 2022
* Fix http calls mirror pipelines not working

* retest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
0.4.0
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants