API/Python/Open-Source Solutions

Expand all | Collapse all

Does Delphix support REWIND APi ? If 'NO' how to over come this ? Need urgent inputs please

Jump to Best Answer
  • 1.  Does Delphix support REWIND APi ? If 'NO' how to over come this ? Need urgent inputs please

    Posted 04-05-2016 05:44:00 AM
    Does Delphix support REWIND APi ? I
    If 'NO'  how to over come this ? Need urgent inputs please...


  • 2.  RE: Does Delphix support REWIND APi ? If 'NO' how to over come this ? Need urgent inputs please
    Best Answer

    Posted 04-05-2016 07:16:00 AM
    Hi K J M,

    in general, what you can do via web GUI console is what you can do via REST API. And what you can't do via GUI console, maybe you could do via REST API ;-)

    So, thanks to the above rule, the rewind operation is of course in the REST API.

    The rewind operation is called "rollback". You can see the web api docs through your Delphix Engine: http(s)://[ip_address]/api

    There you'll find the docs for the rollback operation under database, object operations

    Anyway, I'd post you an example on my test environment:
    === POST /resources/json/delphix/database/ORACLE_DB_CONTAINER-5/rollback ==={
        "type": "OracleRollbackParameters",
        "timeflowPointParameters": {
            "type": "TimeflowPointSemantic",
            "container": "ORACLE_DB_CONTAINER-5",
            "location": "LATEST_SNAPSHOT"
        }
    }

    As you can see, the timeflowPointParameters in the body message is the same you have to use with refresh operation. So you can look for refresh operation in the online cookbook too (it follows the same logic).

    Regards.
    Gianpiero


  • 3.  RE: Does Delphix support REWIND APi ? If 'NO' how to over come this ? Need urgent inputs please

    Posted 04-05-2016 07:38:00 AM
    Thanks Gianpiero !!!! will try and update you .


  • 4.  RE: Does Delphix support REWIND APi ? If 'NO' how to over come this ? Need urgent inputs please
    Best Answer

    Posted 04-05-2016 11:36:00 AM
    Thanks Gianpiero !! its working  :)


  • 5.  RE: Does Delphix support REWIND APi ? If 'NO' how to over come this ? Need urgent inputs please

    Posted 04-06-2016 06:30:00 AM

    Hi Gianpiero,

    one quick question : How to kill the API SESSION through Java code  once the task is completed.

    Please share your suggestion/inputs...


    Thanks,

    KJM Rao





  • 6.  RE: Does Delphix support REWIND APi ? If 'NO' how to over come this ? Need urgent inputs please

    Posted 04-06-2016 06:44:00 AM


  • 7.  RE: Does Delphix support REWIND APi ? If 'NO' how to over come this ? Need urgent inputs please

    Posted 04-06-2016 07:37:00 AM
    Thanks Gianpiero for the prompt response !!!