Scripts leveraging the delphixpy module to be used in Enterprise Automation (i.e. Jenkins, Travis, SNOW Orchestration, etc)
Python
Switch branches/tags
Nothing to show
Clone or download
Corey Brune
Latest commit b76b35d Jul 30, 2018
Permalink
Failed to load latest commit information.
lib added fuction to grab source by vdb name Aug 22, 2017
tests moved tests into folder Feb 22, 2018
.gitignore ignore Jun 24, 2018
LICENSE
README.md updated readme Feb 22, 2018
add_windows_env.py quick and dirty add windows env script Sep 30, 2016
delphix_admin_setup.py
delphix_snapshot_group_will_plugin.py +x Aug 20, 2017
delphix_will_plugin.py +x Aug 20, 2017
dx_authorization.py Force usage of API version 1.8.0 Jul 10, 2017
dx_database.py Force usage of API version 1.8.0 Jul 10, 2017
dx_delete_vdb.py made all scripts executable Jun 16, 2016
dx_environment.py Corrected API version, MSSQL/Oracle Cluster list Jul 30, 2018
dx_groups.py
dx_jetstream_container.py corrected usage Jun 22, 2017
dx_jobs.py Force usage of API version 1.8.0 Jul 10, 2017
dx_operations.py Additional options for SQL Server sources and VDBs Jun 9, 2018
dx_operations_vdb.py
dx_operations_vdb_orig.py Force usage of API version 1.8.0 Jul 10, 2017
dx_provision_dsource.py Additional options for SQL Server sources and VDBs Jun 9, 2018
dx_provision_vdb.py openresetlogs should be done. by default Sep 1, 2017
dx_refresh_db.py updated and replaced Oct 20, 2017
dx_refresh_vdb.py
dx_replication.py Initial imports for dsource, replication, update_env, find_missing Apr 3, 2017
dx_rewind_vdb.py Force usage of API version 1.8.0 Jul 10, 2017
dx_skel.py Force usage of API version 1.8.0 Jul 10, 2017
dx_snapshot_db.py Force usage of API version 1.8.0 Jul 10, 2017
dx_update_env.py Initial imports for dsource, replication, update_env, find_missing Apr 3, 2017
dx_users.py corrected example Aug 20, 2017
dxtools.conf Force usage of API version 1.8.0 Jul 10, 2017
engine_network_assignment
engine_network_assignment.py removed useless var Dec 27, 2016
engine_setup.py
find_missing_archivelogs.py Force usage of API version 1.8.0 Jul 10, 2017
get_engine_pub_key.py takes directory Jun 18, 2017
js_bookmark.py updated examples Jun 24, 2018
js_branch.py Added creating brach from bookmark Jan 5, 2018
js_container.py Added creating brach from bookmark Jan 5, 2018
js_template.py +x Aug 20, 2017
list_all_databases.py added these examples back in Dec 7, 2016
requirements.txt updated missing requirement Jun 24, 2018
simple_snapshot.py
snapshot_group.py accidentally deleted Oct 26, 2016
trigger_replication.py specified version for Andy Oct 11, 2016

README.md

#Thanks First, a lot of thanks to Corey Brune (@mcbrune) for all of his contributions that make this spaghetti look decent.

delphixpy-examples

These are some example python scripts I put together to serve as examples for those getting started with Delphix the delphixpy python module.

##Wait... What's Delphix? In the most simplest answer, Delphix is an awesome software that allows you to provision full multi-terabyte databases and applications in minutes. It is far more than that, but that's why Google and this blog exist.

##What is delphixpy? delphixpy is a python module created by Delphix to enable users to directly invoke the Delphix API via python.

##Where can I get delphixpy? delphixpy is available on PyPy, so you can install it by invoking pip
pip install delphixpy

##How do I use these examples? Clone this repository to your system where python is installed. Then install the pip packages in the requirements.txt file:
pip install --upgrade -r requirements.txt Once that is complete, you are ready to use the scripts with your Delphix environment. Each of the scripts have POSIX compliant help. The options are also explained along with examples. I am going to explain more on these scripts in my blog and on the Delphix community page

##Something neat worth noting Each of the scripts leverage docopt, which is a great module for parsing POSIX compliant help documentation as arguments. It's really awesome.