-
Notifications
You must be signed in to change notification settings - Fork 140
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
Supporting multiple Versions of API #602
Labels
Comments
I think that is the right way. managedServiceBuilder.addRootURI("/"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ManagedServiceBuilder sets the root uri which is the version of API Call (in our case).
Is there any way to support multiple ROOT URIs
managedServiceBuilder.setRootURI("/v1");
This pretty much sets one version.
How about
managedServiceBuilder.addRootURI("/v1");
managedServiceBuilder.addRootURI("/v2");
As of now to get around this ,
I have implemented
managedServiceBuilder.addRootURI("/");
And then in each service, I encode the Version
@RequestMapping("/v1/serviceA") @NoCacheHeaders
The text was updated successfully, but these errors were encountered: