[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Openshift Java rest client



See https://github.com/openshift/openshift-restclient-java/blob/master/src/main/java/com/openshift/restclient/IResourceFactory.java#L52 as a way to create a resource from an input stream and then use the IClient to create the resources on the cluster

Jeff

On Fri, Oct 5, 2018 at 10:09 AM Aleksandar Kostadinov <akostadi redhat com> wrote:
Besides answer you already got, you can always run commands with `oc
--v=8` to see what exactly HTTP requests are made by the client when
performing particular commands.

Noel OConnor wrote on 10/4/18 11:40 PM:
> Hi,
> I'm trying to programatically create a name space and create a number
> of resources i.e. servcies,dc,routes in that namespace.
> I've gotten the namespaces created but I'm struggling with the
> creation of resources in the created namespace.
> The resource are provided as a single list of api objects in JSON format.
> Is it possible to provide this list as one to be created on the
> cluster or does it have to be broken into individual components and
> each created separately ?
>
> cheers
> Noel
>
> _______________________________________________
> dev mailing list
> dev lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>

_______________________________________________
dev mailing list
dev lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev


--

JEFF MAURY

Red Hat 

jmaury redhat com   

@redhatjobs   redhatjobs   @redhatjobs  

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]