... roland
>
> @Path("/say")
> @ApplicationScoped
> public class HelloClientEndpoint {
>
> private final static String USER = "user";
> private final static String PWD = "password";
>
> @Inject
> @Protocol("http") @ServiceName("swarm-rest")
> private String helloService;
>
> to resolve the issue as I get a null object for helloService when Swarm
> is deployed on OpenShift ?
>
> - deps defined are
> :
https://github.com/cmoulliard/swarm-openshift/blob/security-new/swarm-client/pom.xml#L17-L38
> - The service is well published
>
> oc get services
> NAME CLUSTER-IP EXTERNAL-IP
> PORT(S) AGE
> docker-registry 172.30.165.13 <nodes>
> 5000/TCP 2h
> kubernetes 172.30.0.1 <none>
> 443/TCP,53/UDP,53/TCP 2h
> swarm-rest 172.30.175.186 172.46.234.198,172.46.234.198
> 80/TCP 2h
>
> Many thanks in advance for your help
>
> Charles
>