Hitachi Ops Center​

 View Only
Expand all | Collapse all

For Data Flow creation in Protector, can someone point out me curl command/rest api?

This thread has been viewed 13 times
  • 1.  For Data Flow creation in Protector, can someone point out me curl command/rest api?

    Posted 11-04-2022 03:29
    Hi,
    im from the Automation Team, trying to Automate the data flow creation testcase using selenium. But Drag and Drop  of block host node or block device node from source to destination sing selenium is not working .

    So i wanted to try alternative approach to perform data flow creation either curl command/rest api.

    Can anyone point out me the curl command/rest api for Data flow creation in Protector



    ------------------------------
    Mounica Vuddagiri
    Software Test Engineer
    Hitachi Vantara
    ------------------------------


  • 2.  RE: For Data Flow creation in Protector, can someone point out me curl command/rest api?

    Posted 11-08-2022 23:27

    Please find the below link.
    Hitachi Ops Center Protector Rest API User Guide (mtstatic.com)

    ------------------------------
    Sanghmitra Samanta
    Junior System Administrator
    Hitachi Vantara
    ------------------------------



  • 3.  RE: For Data Flow creation in Protector, can someone point out me curl command/rest api?

    Posted 11-09-2022 02:40
    My colleague Sanghmitra has already attached the Protector REST API guide, however to add further value to her comment and to be more specific below is the curl command for creating the data flow in protector through REST API using curl command.

    curl --insecure --cookie demosession
    "https://demomaster/API/7.1/master/DataFlowHandler/objects/DataFlows" --
    data @createdataflow.json --header "Content-Type: application/json"

    ------------------------------
    Prasenjit Chatterjee
    Non-Hitachi Vantara
    ------------------------------