Layer7 API Management

  • 1.  Export of standalone objects using GMU

    Posted Apr 17, 2019 11:11 AM

    Hello Team,

     

    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>



  • 2.  Re: Export of standalone objects using GMU

    Broadcom Employee
    Posted Apr 17, 2019 01:51 PM

    There are a few options for this.

     

    You can call via restman directly

    https://<hostname>:8443/restman/1.0/siteMinderConfigurations

     

    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

    https://<hostname>:8443/restman/1.0/bundle?encryptUsingClusterPassphrase=true&encryptSecrets=true&siteMinderConfiguration=dbdb28f8cff5fdc7e4adc37d9b0484f5

     

     



  • 3.  Re: Export of standalone objects using GMU

    Posted Apr 17, 2019 05:46 PM

    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? 

     

    Cheers,

    Nikunj



  • 4.  Re: Export of standalone objects using GMU

    Posted Apr 19, 2019 07:32 AM

    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. 

     

    Cheers,

    Nikunj



  • 5.  Re: Export of standalone objects using GMU

    Broadcom Employee
    Posted Apr 23, 2019 12:16 PM

    I like bundles cause you can  import via GMU using migrateIn. 

    GMU documetning is here

    https://docops.ca.com/ca-api-gateway/9-4/en/gateway-migration

    you can also call RESTMAN directly the documentation is published onyour gateway when you deploy the RESTMAN service.

    https://<GatewayHostName>:<port>/<GatewayRESTRoutingURI>/1.0/doc/home.html