We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here's my route returned by oc command
$ oc get route NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD customer-route customer-route-sample-deployment.192.168.99.100.nip.io /customer customer-service None
Here's the fragment of code, which waits for route and should inject into URL instance:
@RouteURL(value = "customer-route") @AwaitRoute(timeoutUnit = TimeUnit.MINUTES, timeout = 2, path = "/customer") private URL url;
URL object is empty: LOGGER.info("Url: ", url.getHost()); return "Url: "
I use Minishift version 3.9.0
It should return http://customer-route-sample-deployment.192.168.99.100.nip.io/customer
The same result is with this fragment: @ArquillianResource OpenShiftAssistant assistant; LOGGER.info("Url: ", assistant.getRoute().get().getPath());
Only OpenShiftClient return list of route URLs properly @ArquillianResource OpenShiftClient client; client.routes().list().getItems()....
URL is empty
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@RouteURL does not inject URL of Openshift route
Here's my route returned by oc command
$ oc get route
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
customer-route customer-route-sample-deployment.192.168.99.100.nip.io /customer customer-service None
Here's the fragment of code, which waits for route and should inject into URL instance:
@RouteURL(value = "customer-route")
@AwaitRoute(timeoutUnit = TimeUnit.MINUTES, timeout = 2, path = "/customer")
private URL url;
URL object is empty:
LOGGER.info("Url: ", url.getHost()); return "Url: "
I use Minishift version 3.9.0
Expected Behaviour
It should return http://customer-route-sample-deployment.192.168.99.100.nip.io/customer
The same result is with this fragment:
@ArquillianResource
OpenShiftAssistant assistant;
LOGGER.info("Url: ", assistant.getRoute().get().getPath());
Only OpenShiftClient return list of route URLs properly
@ArquillianResource
OpenShiftClient client;
client.routes().list().getItems()....
Current Behaviour
URL is empty
The text was updated successfully, but these errors were encountered: