-
Notifications
You must be signed in to change notification settings - Fork 3
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
NotFoundException: null #5
Comments
Requesting service by direct URL fixed
@vkandrotas Hi! Try this feature fix version from jitpack repository https://jitpack.io/#ru.reliabletech/zuul-springfox-swagger/feature~GH-5-SNAPSHOT
Does |
@lex-em Hi! I will try snapshot and let you know. /api/auth is not root path just path to one service controller. I don't want to expose all api from remote rest server so zuul proxy is configured for separate services. Remote rest API in swagger looks like this: do you need an additional information? regards, Virginijus |
@vkandrotas unfortunately it will not work as you expect. Yes, you can map subset of your api with zuul, but can't subset of swagger docs. This part is also wrong
Swagger plugin retrieve docs from I think here may be solution with groups, I will think about it later. |
Group support will be implemented in #6 |
adding basic support for swagger groups
@lex-em Thank you for explanation. I was thinking that plugin supports all zuul proxy features. What do you thing about the idea that plugin could fetch all api docs from remote server and then locally map only parts defined by zuul configuration ? |
@vkandrotas I think group support will be a good decision. Also I will provide a direct link to swagger doc json for route. Wait for it |
Adding support for direct swagger document link
@vkandrotas refresh snapshot and try this:
and try it without |
@vkandrotas test it today please |
still a problem but now other place:
|
I tested with current master version. |
@vkandrotas no, you should try latest |
Refresh it. |
sorry I tested with develop, I will try with feature~GH-5-SNAPSHOT now |
still not working:
config:
|
@vkandrotas refresh feature snapshot and try again, there extra logging information. I have an idea |
@vkandrotas I think this is because your documentation is aviable through group name. I will merge develop into feature to add group support for feature |
still the same:
|
please let me know when I can test again and what branch. |
@vkandrotas artifact version is not refreshed, please remove artifact from local repository and try again, I need that information |
so what branch I should take ? |
@vkandrotas |
my code is up to date and local repository is refreshed, you can see in the logs it comes alleady from latest changes you made in ZuulSwaggerResourceProvider class |
# Conflicts: # src/main/java/ru/reliabletech/zuul/swagger/props/ServiceInfo.java # src/main/java/ru/reliabletech/zuul/swagger/props/ServicesSwaggerInfo.java # src/main/java/ru/reliabletech/zuul/swagger/service/GenericSwaggerService.java # src/main/java/ru/reliabletech/zuul/swagger/swagger/ZuulSwaggerResourceProvider.java
before was: ... |
ok I see you merged develop to GH-5, I will try now |
unfortunally no changes: exactly the same error:
|
refactor merge effects, adding extra logs
@vkandrotas try next build, please keep error logs with message like |
new artifact builds rigth now |
ther was no such error message, I am posting all possible logs, relative to this issue. I you want I can attach complete log ... |
@vkandrotas try now |
now it works, but fetch all group documentation, not only auth controller, or it like expected? |
@vkandrotas yes, it is expected. only group filter implemented, document inside group is not filtered. I think it is impratical and may lead to unexpected results. the right way is moving
It already works now |
I can not so easy configure groups because it is not my code, yes it open source. But in this case I should fork repository and build my on docker image, what I don't really want to do. |
@vkandrotas create an issue for it, I will think about it later |
can you please say what I do wrong? getting ...
zuul config like this:
in documentation you wrote that RestTemplate should be configured, but there is no example. Can this cause problem?
regards,
Virginijus
The text was updated successfully, but these errors were encountered: