Layer7 API Management

 View Only
  • 1.  GMU for exporting specific folder

    Posted Aug 12, 2019 02:01 PM
    Hi,

    I am trying to extract a specific folder with space in it's name, but it is showing that folder doesn't exist. 
    Please advise.

    C:\Software\GMU\GatewayMigrationUtility-1.4.00-85>GatewayMigrationUtility.bat migrateOut --argFile commonarguments.properties --folderName /OTK --encryptionPassphrase @file:encrypt.txt --dest C:\Software\GMU\GatewayMigrationUtility-1.4.00-85\Stag-Policies\otk.xml --trustCertificate --trustHostname
    Warning: TLS hostname verification has been disabled
    Warning: TLS server certificate check has been disabled
    Running.............................................................................................................................................
    Done

    C:\Software\GMU\GatewayMigrationUtility-1.4.00-85>
    C:\Software\GMU\GatewayMigrationUtility-1.4.00-85>GatewayMigrationUtility.bat migrateOut --argFile commonarguments.properties --folderName /Mobile SSO --encryptionPassphrase @file:encrypt.txt --dest C:\Software\GMU\GatewayMigrationUtility-1.4.00-85\Stag-Policies\mobilesso.xml --trustCertificate --trustHostname
    Warning: TLS hostname verification has been disabled
    Warning: TLS server certificate check has been disabled
    Running.........................................
    Execution failed. Reason: Folder not found: /Mobile

    Thanks,
    Ankush


  • 2.  RE: GMU for exporting specific folder
    Best Answer

    Posted Aug 12, 2019 02:59 PM
    Hi.

    Put the folder name between quotes 

    GatewayMigrationUtility.bat migrateOut --argFile commonarguments.properties --folderName "/Mobile SSO" --encryptionPassphrase @file:encrypt.txt --dest C:\Software\GMU\GatewayMigrationUtility-1.4.00-85\Stag-Policies\mobilesso.xml --trustCertificate --trustHostname

    ------------------------------
    Sr. Consultant Services
    HCL Enterprise Studio
    ------------------------------



  • 3.  RE: GMU for exporting specific folder

    Posted Aug 13, 2019 07:15 AM
    Thanks Leandro !!

    Double quotes did helped.

    Regards,
    Ankush


  • 4.  RE: GMU for exporting specific folder

    Posted Aug 12, 2019 03:00 PM
    Hello Raj,

    Try to put the folder name within quotes to avoid issues with the path. "/Mobile SSO"

    Regards, 
    Albert.

    ------------------------------
    Security Engineer
    ELCA
    ------------------------------



  • 5.  RE: GMU for exporting specific folder

    Posted Aug 13, 2019 07:14 AM
    Thanks Albert !!

    Double quotes helped.

    Regards,
    Ankush


  • 6.  RE: GMU for exporting specific folder

    Posted Aug 13, 2019 07:25 AM

    Hi Ankush,
    Just as an addition to the already answered issue: There is a graphical solution to use the GMU and migrate resources/services between gateways. It's called APIIDA API Gateway Manager.
    Best,
    Waldemar



    ------------------------------
    Product Manager
    APIIDA AG
    ------------------------------