PluginDevelopment
Build plugin¶
- Create python virtual environment and install required libraries (dvp, pytest, pytest-html & pytest-cov) using script
virtualEnvSetup.sh
cd <full path of project directory till `Oracle_On_Windows`>
./test/virtualEnvSetup.sh <virtual enviornment name>
For example:
cd "C:\Users\oracle\Desktop\git_ora_win\Oracle_On_Windows"
./test/virtualEnvSetup.sh "oraWinEnv"
- Run this command to activate the virtual environment created in step 1.
C:\oraWinEnv\Scripts\activate
- 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>