Re: wiring microservices together

2016-01-27 Thread Mateus Caruccio
One amazing aspect of templates on openshift is that you can process it without depending on the web gui: $ oc process -f template.yml -v PARM1=value1,PARM2=43 -o json > processed-template.json Then create all objects at once: $ oc create -f processed-template.json Or, you you prefer, in a

wiring microservices together

2016-01-26 Thread Candide Kemmler
I understand how it is possible, using OpenShift to create a few pods as microservices and to wire them together to create a composite application. Each pod/microservice gets its own build and deployment lifecycle, which is great. With my current knowledge the way I would gradually build this

Re: wiring microservices together

2016-01-26 Thread Mateus Caruccio
Hi Candice. What you need is already there. All services may be referenced by it's name. There is an internal DNS service for that. Suppose you've created 2 microservices: ms1 and ms2. In order to ms1 connect to ms2, just use the hostname as the same name for the service, i.e. "ms2". Regarding