PluginDevelopment
Build plugin
- Create python virtual environment and install required libraries (dvp, pytest, pytest-html & pytest-cov)
cd <full path of project directory till `obi-plugin`>
source bin/activate
For example:
cd /u01/github/delphix/Plugins/obi-plugin
source bin/activate
pip install dvp=3.1.0
- Build the source code. It generates the build with name
artifacts.json
:
dvp build
Upload plugin
Upload the artifacts.json
( generated in step 3 ) on Delphix Engine:
dvp upload -e <Delphix_Engine_Name> -u <username> --password <password>
Debug plugin logs
Download the plugin logs using below command:
dvp download-logs -c plugin_config.yml -e <Delphix_Engine_Name> -u admin --password <password>