APIPythonOpen-Source Solutions

Expand all | Collapse all

Is there any API to add(tag) a masking job to a dSource?

  • 1.  Is there any API to add(tag) a masking job to a dSource?

    Posted 02-20-2018 11:07:00 AM
    We have the option to add a masking job (list of masking job is there) to dSource in UI here: dSource configuration>Masking 
    Is any API available to do the same?
    #Masking


  • 2.  RE: Is there any API to add(tag) a masking job to a dSource?
    Best Answer

    Posted 02-20-2018 11:50:00 AM
    Hi Anshul,

    You have to explore the "operations" parameter look at the "/resources/json/delphix/source/$VDBREF", you will have to update the provisioning code to set a masking hooks.

     "operations": {            "type": "VirtualSourceOperations",
                "configureClone": [
                    {
                        "type": "RunMaskingJobOnSourceOperation",
                        "name": "MASK DEV DB",
                        "applicationId": "EMPLOYEE APPLICATION",
                        "maskingJobId": "29"
                    }
                ],
                "preRefresh": [],
                "postRefresh": [],
                "preRollback": [],
                "postRollback": [],
                "preSnapshot": [],
                "postSnapshot": [],
                "preStart": [],
                "postStart": [],
                "preStop": [],
                "postStop": []
            }

    Here we set on configureclone event a masking job called "MASK DEV DB".


    Regards,

    Mouhssine


  • 3.  RE: Is there any API to add(tag) a masking job to a dSource?

    Posted 02-27-2018 06:51:00 AM
    Thank you.