I want to export only single object from the API gateway. For instance, only one cluster wide property or single sign on property. Is that possible using GMU? or any other method?
PFB one of the example where I would like to export "CA_SINGLE_SIGN_ON_PROPERTY" under SITEMINDER_CONFIGURATION type. Is this possible?
<l7:Item> <l7:Name>CA_SINGLE_SIGN_ON_PROPERTY</l7:Name> <l7:Id>random_id</l7:Id> <l7:Type>SITEMINDER_CONFIGURATION</l7:Type> <l7:TimeStamp>2019-04-17T12:55:37.790+01:00</l7:TimeStamp> <l7:Resource> <l7:SiteMinderConfiguration id="random_id" version="0"> ..... </l7:SiteMinderConfiguration> </l7:Resource> </l7:Item>
I have seen somewhere that PUT method is used for import however not sure how to use that.
We have exported one object in xml format and after making necessary changes in the XML file, I need to import it in production environment. So, how can we import it ? Can we use migrateIn? Any other ways?
And if we have any documentation available for GMU migration then please help with the link.
There are a few options for this.
You can call via restman directly
you can call restman via GMU
./GatewayMigrationUtility.sh restman --argFile argfile.args --method GET --path '1.0/siteMinderConfigurations' --response response.xml
you can also create a bundle file via restman directly or by calling restman via GMU
I like bundles cause you can import via GMU using migrateIn.
GMU documetning is here
you can also call RESTMAN directly the documentation is published onyour gateway when you deploy the RESTMAN service.
Thanks a lot Barry. It's exported successfully now.
Now, if want to import it then how can we use restman to import the object?
Also, can you please share the doc link which I can refer and read more about it please?