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 <[email protected]>
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
> > [email protected]
> > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
> >
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>


-- 

JEFF MAURY

Red Hat

<https://www.redhat.com/>

[email protected]
<https://red.ht/sig>
<https://redhat.com/summit>
@redhatjobs <https://twitter.com/redhatjobs>   redhatjobs
<https://www.facebook.com/redhatjobs/>   @redhatjobs
<https://instagram.com/redhatjobs>
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to