Layer7 API Management

 View Only
  • 1.  Restman install MAS-Storage-4.1.00-b439.sskar

    Broadcom Employee
    Posted Mar 13, 2018 10:49 AM

    Hello experts.  I am attempting to instal the MAS-4.1 solution kits using Restman.  I am able to get everything installed properly, except MAS-Storage-4.1.00-b439.sskar.  I am seeing an error (shown below) that the signed.dat is missing.  Has anyone been able to install MAS-Storage-4.1 using Restman with the sskar file?  My sample curl is below with output.

     

    [root@localhost tmp]#

    /usr/bin/curl -u admin:CAdemo123 -X POST -k -H 'Content-Type: multipart/form-data' --form selectedCassandraConnectionID=9f961398481a8ea1b38c54995a05be81 --form jdbcConnectionEntityId=9f961398481a8ea1b38c54995a04cdd1 --form cloudStoreUrl=https://localhost:8443/internal/MAAS --form MasMessagingSecuritySelection=TLSOAuthToken --form file=/var/tmp/MAS-Storage-4.1.00-b439.sskar -D - https://localhost:9443/restman/1.0/solutionKitManagers

     

    HTTP/1.1 100 Continue

     

    HTTP/1.1 400 Bad Request

    Server: Apache-Coyote/1.1

    Content-Type: text/plain

    Content-Length: 50

    Date: Mon, 12 Mar 2018 14:14:47 GMT

    Connection: close

     

    Invalid signed Zip: 'signed.dat' entry is missing



  • 2.  Re: Restman install MAS-Storage-4.1.00-b439.sskar
    Best Answer

    Broadcom Employee
    Posted Nov 09, 2018 10:41 AM

    Successful Restman command to install the MAS_Storage_4.1 solution kit, but only through selecting the Cassandra Persistence (2a.) child, not the 2b. Persistence MySQL

     

    The cURL command is below. The bolded selectedCassandraIConnectionID in the command is unique.

    ---

    /usr/bin/curl -u user:password -X POST -k -H 'Content-Type: multipart/form-data' --form solutionKitSelect=63fd45c2-7139-47b1-9f5f-c06b51fbf4b1 --form selectedCassandraConnectionID=d9a7e760dc5d6445a77b78fabd7841bc --form solutionKitSelect=87837f90-6961-4c21-b335-8c0f047418e9 --form entityIdReplace=1aaab2aa36da55a278781ea1f623bf98::d9a7e760dc5d6445a77b78fabd7841bc --form solutionKitSelect=862932e8-a8a4-4349-b86f-e5581cd3d09e --form solutionKitSelect=6ae15241-ce4a-42ed-8717-e43915797a1d --form cloudStoreUrl=https://localhost:8443/internal/MAAS --form MasMessagingSecuritySelection=TLSOAuthToken --form 'file=@/var/tmp/MAS-Storage-4.1.00-b439.sskar' -D - https://localhost:9443/restman/1.0/solutionKitManagers

    HTTP/1.1 100 Continue

     

    HTTP/1.1 200 OK

    Content-Type: text/plain

    Content-Length: 32

    Date: Fri, 09 Nov 2018 14:37:27 GMT

    Server: CA-API-Gateway/9.0

     

    Request completed successfully