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
{{ message }}
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
Generating the archetype 3.0.0, you may want to change the port and/or context path of the application.
This leads to failing SecurityRestServiceImplTest.
I tried to fix this, but I was not entirely able to do this with the ServiceConfigBuilder. It seems, that it does not support to set a context path at all.
The text was updated successfully, but these errors were encountered:
What did you change and what was the error?
Actually the test does not hardcode any port or context path.
For the port I am even sure that I have implemented some code that is taking it from the running server and as spring is using a random port for the JUnit it should not be as you are saying.
For the context path I am not sure and you might be right. Maybe the assumption here is that you have to have an empty context path. I can not remember right now, but if it is not empty then I am quite sure it is not hardcoded in another place.
For productive use you will either use envoy/istio or service discovery or you put the endpoint directly into your config. In any case you will provide an environment config: https://github.com/oasp/oasp4j/wiki/guide-service-client#configuration
Generating the archetype 3.0.0, you may want to change the port and/or context path of the application.
The text was updated successfully, but these errors were encountered: