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
[management] Get an API by its context-path doesn't seem to work on latest version #5298
Comments
phiz71
changed the title
[GRAVITEE][APIM] Get an API by its context-path doesn't seem to work on latest version
[management] Get an API by its context-path doesn't seem to work on latest version
Apr 29, 2021
phiz71
added a commit
to gravitee-io/gravitee-repository
that referenced
this issue
Apr 29, 2021
phiz71
added a commit
to gravitee-io/gravitee-repository-test
that referenced
this issue
Apr 29, 2021
phiz71
added a commit
to gravitee-io/gravitee-repository-jdbc
that referenced
this issue
Apr 29, 2021
phiz71
added a commit
to gravitee-io/gravitee-repository-mongodb
that referenced
this issue
Apr 29, 2021
phiz71
added a commit
to gravitee-io/gravitee-management-rest-api
that referenced
this issue
Apr 29, 2021
This was referenced Apr 29, 2021
Merged
phiz71
added a commit
to gravitee-io/gravitee-repository-jdbc
that referenced
this issue
Apr 29, 2021
phiz71
added a commit
to gravitee-io/gravitee-repository-mongodb
that referenced
this issue
Apr 29, 2021
phiz71
added a commit
to gravitee-io/release
that referenced
this issue
Apr 29, 2021
phiz71
added a commit
to gravitee-io/release
that referenced
this issue
May 4, 2021
ytvnr
pushed a commit
to gravitee-io/gravitee-repository
that referenced
this issue
May 4, 2021
ytvnr
pushed a commit
to gravitee-io/gravitee-repository-test
that referenced
this issue
May 4, 2021
ytvnr
pushed a commit
to gravitee-io/gravitee-repository-jdbc
that referenced
this issue
May 4, 2021
ytvnr
pushed a commit
to gravitee-io/gravitee-repository-mongodb
that referenced
this issue
May 4, 2021
ytvnr
pushed a commit
to gravitee-io/gravitee-management-rest-api
that referenced
this issue
May 4, 2021
ytvnr
pushed a commit
to gravitee-io/release
that referenced
this issue
May 4, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
On the version 3.5.0, I used to get an API by its context-path with this GET request:
[APIMURL]/management/organizations/DEFAULT/environments/DEFAULT/apis/?context-path=
But on the latest version this parameter doesn't seem to work anymore.
To give more context, I can use an example.
I have one API return by GET request [APIMURL]/management/organizations/DEFAULT/environments/DEFAULT/apis/ as we can see below:
Expected Behavior
On the 3.5.0 version, when I add the path param context-path with a value, like this
[APIMURL]/management/organizations/DEFAULT/environments/DEFAULT/apis/?context-path=/test
, I get this :[]
Current Behavior
But on the latest version of 3.5 and above I get this :
Context
This problem doesn't seem to affect other path param like name or label as far as I can say but only context-path.
This issue affect my project because, we use this method to check if the context-path of the created API already exists under an other API before creating it. Now it always returns a result and therefor this check always returning false.
Your Environment
Thanks for your help.
Sacha DAVID
The text was updated successfully, but these errors were encountered: