Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
c012eab
Initial push
skdelphix Feb 11, 2019
4e7fdb9
Add initial References
ankursarin Feb 12, 2019
973395e
Add first pages to the First Plugin section
mothslaw Feb 12, 2019
c4ac2c0
Add ingestion page
mothslaw Feb 13, 2019
71e23da
Add decorators and standardize Schemas and Autogenerated Classes
ankursarin Feb 14, 2019
3412fbc
Add info on provisioning
mothslaw Feb 15, 2019
4b8d18d
Add Decorators and update documentation
ankursarin Feb 19, 2019
12f5f5b
JSON schemas
mothslaw Feb 20, 2019
15538fe
Add Intro Section
mothslaw Feb 20, 2019
29b6f0f
Move schema, references, autogenerated classes sections
ankursarin Feb 21, 2019
03f0dd8
Standardize json highlighting
ankursarin Feb 21, 2019
72f3f4b
Finished Schemas and Autogenerated Classes
ankursarin Feb 21, 2019
8dd6d41
Fixed some inconsistencies in the References
ankursarin Feb 21, 2019
a5a66c5
Add JSON schema summaries
mothslaw Feb 21, 2019
5bd1274
Add info about sensitive data
mothslaw Feb 21, 2019
d54f2d4
Add partial info on versioning
mothslaw Feb 22, 2019
703d39a
Add logging reference page
mothslaw Feb 26, 2019
62710cf
Remove site/ from the repository since it contains the build
ankursarin Feb 27, 2019
0c87c9d
All Plugin Operations done
ankursarin Mar 1, 2019
24e2a3e
Update decorators to new naming scheme
ankursarin Mar 1, 2019
de4c3d9
Add all classes
ankursarin Mar 3, 2019
6f15a38
Update imports for Plugin Operations
ankursarin Mar 3, 2019
4c3ab5e
Standardize arguments for plugin operations
ankursarin Mar 3, 2019
9061036
Add sample workflows
ankursarin Mar 6, 2019
54dc2d3
Fix legend
ankursarin Mar 6, 2019
2206b7d
Add first draft of Getting Started and CLI reference docs
Mar 14, 2019
677bd81
Update discovery
mothslaw Mar 15, 2019
cec368b
Add images for all workflows
ankursarin Mar 18, 2019
2105a98
Add Delphix Libraries
ankursarin Mar 18, 2019
c02c9e0
Make Reference pages consistent
ankursarin Mar 18, 2019
4322d75
Make Reference pages consistent (remove dlpx)
ankursarin Mar 18, 2019
d67fdba
Update Workflows based on feedback
ankursarin Mar 18, 2019
0233acc
nits
ankursarin Mar 19, 2019
73e060d
nits
ankursarin Mar 19, 2019
d9d2a7b
Stephen's comments
ankursarin Mar 19, 2019
50d34de
Update minor wording and layout in CLI docs
Mar 19, 2019
e554ab7
updated welcome page per Stephen
jas-sumal Mar 20, 2019
a7f6f6d
Few minor edits to the page.
jas-sumal Mar 20, 2019
f5f8d4f
Editing overview page.
jas-sumal Mar 20, 2019
c75baa3
Editing Initial_Setup page.
jas-sumal Mar 20, 2019
0029560
Edited Discovery page.
jas-sumal Mar 20, 2019
8274933
Add optional/required plugin operations
ankursarin Mar 20, 2019
158cfe5
Edited Data_Ingestion page
jas-sumal Mar 20, 2019
9119897
Switch Plugin Operation Columns, highlight
ankursarin Mar 20, 2019
0a63341
Fixed numbering issue
jas-sumal Mar 20, 2019
5e2fbf0
Added page for managing scripts for remote execution
Mar 21, 2019
0984b85
Edits to data Ingestion and Provisioning pages.
jas-sumal Mar 21, 2019
3ec86e1
Fixing numbering issue.
jas-sumal Mar 21, 2019
8598e89
Indicate required vs optionsal plugin operations
ankursarin Mar 21, 2019
baf9063
editing docs mMerge branch 'master' of gitlab.delphix.com:docs/virt-s…
jas-sumal Mar 21, 2019
0cea639
Edits to best practices section.
jas-sumal Mar 21, 2019
7820506
Add full example to managing scripts section and a common issue to Ge…
Mar 21, 2019
66f98dc
Fixed note.
jas-sumal Mar 21, 2019
3c27e91
edits. Merge branch 'master' of gitlab.delphix.com:docs/virt-sdk-docs
jas-sumal Mar 21, 2019
d3f2c1c
Update .hooksconfig
Mar 21, 2019
125a0b6
Fix examples and change note types
Mar 22, 2019
b5b2a06
Update copyright to 2019
Mar 22, 2019
a3bf3d4
Add Feature Flag instructions
ankursarin Mar 22, 2019
358b0ef
Update required vs optional plugin operations
ankursarin Mar 22, 2019
d095bfe
Fix some admonitions, copy edits
ankursarin Mar 22, 2019
5f87a49
Modify logging documents to change the old naming format to new format
shk08915 Mar 22, 2019
b2a8a78
Update logging with examples
ankursarin Mar 22, 2019
f4196ca
Update Sensitive Data to be consistent with run_bash
ankursarin Mar 22, 2019
7f41bc1
Fix a broken link in plugin operations
ankursarin Mar 22, 2019
d528ae0
Update code samples after getting intro plugin fully working
mothslaw Mar 22, 2019
5a90d71
Add survey links, edit pages for consistency
ankursarin Mar 24, 2019
275481d
Make "Survey" links
ankursarin Mar 25, 2019
8f9bad4
Fix command in inital setup and add to script execution
Mar 25, 2019
4a0e35c
Add reference for the plugin config file
Mar 25, 2019
de99845
initial plugin code changes
mothslaw Mar 26, 2019
c0bc4e2
Update for Python naming conventions
ankursarin Mar 26, 2019
fe1b136
Fix import in Discovery
ankursarin Mar 26, 2019
61ea92a
Change description of `log_info` writes to `info.log` and `info.log` …
shk08915 Mar 26, 2019
c1ea625
Move warnings about argument names
mothslaw Mar 27, 2019
4c878b3
Update Virtual Source Enable Workflow to include Status
ankursarin Mar 29, 2019
0a75278
Fix VirtualSourceEnable workflow
ankursarin Mar 31, 2019
3ab069d
Fix Mount class attributes
ankursarin Apr 1, 2019
92ec7af
Change the word Toolkit to Plugin to match the new standard.
shk08915 Apr 2, 2019
943be1c
Changing colors to new UX color scheme used in other docs
skdelphix Apr 3, 2019
30ea4c3
Added gitignore and modified build.sh
skdelphix Apr 3, 2019
d1025c2
Fix Virtual Source Status parameters
ankursarin Apr 3, 2019
8a6ee8e
Fix linked.status() decorator
ankursarin Apr 4, 2019
fc9fbbf
Fixing some basic typos/mistakes
Apr 4, 2019
a09d503
Update VirtualSource to add the mounts attribute
ankursarin Apr 8, 2019
e9b4fea
Remove TODOs, copy edits
ankursarin Apr 9, 2019
f02c824
Updated logging page
Apr 9, 2019
73249be
Fix broken links on Welcome page
ankursarin Apr 18, 2019
bdb62bc
Adding .md extension to links on index.md to fix directory routing in S3
skdelphix Apr 18, 2019
8b64fde
Fix Data Ingestion link
ankursarin Apr 18, 2019
2228259
Fix broken links
ankursarin Apr 28, 2019
9acdc7c
Update Logging format for plugin logs
shk08915 Apr 30, 2019
c6c995c
Update Logging format for plugin logs
shk08915 Apr 30, 2019
4987973
Update examples for logging
shk08915 Apr 30, 2019
72a7c43
PYT-434 "Basic Usage" and "Enable the Delphix Engine Feature Flag" su…
May 7, 2019
c62bea0
Add Java requirement to Getting Started page
May 7, 2019
4edacc7
Run_bash does not explain clearly how to send the arguments to the co…
shk08915 May 14, 2019
5179e7b
Initial draft of Release Notes
ankursarin May 20, 2019
27caecf
Update 0.4.0 release notes
ankursarin May 20, 2019
f07f24d
Address comments for the release notes
ankursarin May 20, 2019
8e78843
PYT-480 Add documentation for dvp download-logs
jeffngo May 20, 2019
66f1962
PYT-417 need to add snapshot_parameters to the docs for staged pre an…
nhlien93 May 20, 2019
d970580
PYT-505 Fix all doc links to use the same format and fix any broken l…
nhlien93 May 23, 2019
390a15b
Completed Release Notes and all related changes
ankursarin May 23, 2019
714d841
Remove white spaces in Release notes
nhlien93 May 23, 2019
6820f8f
Add code sharing documentation
May 23, 2019
85a19f9
Docs editing for beta
ankursarin May 24, 2019
e278243
Fix beta typos
ankursarin May 24, 2019
fe11f00
Edits for Beta
ankursarin May 24, 2019
34a7fde
Update code sharing
May 24, 2019
820d6fd
Change PyPI link to point to dvp project
May 24, 2019
d88c163
Change Release Note titles
ankursarin May 24, 2019
6ae3eda
Add upgrade instructions to the release notes
ankursarin May 24, 2019
9107de6
doc changes to include run_expect reponse
shk08915 Jun 11, 2019
e019a3b
PYT-432 Add Powershell exit code section
shk08915 Jun 19, 2019
570bf50
PYT-636 Fix Documentation for PYT-536 and PYT-537
shk08915 Jul 11, 2019
e3ef6fd
Update Getting Started for GA
Jul 17, 2019
02d620f
fix indentation issue in logging examples
shk08915 Jul 18, 2019
33403da
PYT-15 GA: Update the "your first plugin" docs to match GA code.
mothslaw Jul 19, 2019
9ad3a8c
Fix inconsistencies in Code Sharing
Jul 19, 2019
72f1db7
PYT-638 Write Documentation on limitations of swagger generated classes
nhlien93 Jul 19, 2019
ebd5e5a
PYT-658 GA: Update the docs with manuals on how to write config files…
jeffngo Jul 24, 2019
d483957
PYT-602 Document details about UserError that can be raised by plugin…
muralinimmagadda Jul 29, 2019
d185632
PYT-706 Document new plugin classes RemoteConnection, RemoteEnvironme…
muralinimmagadda Aug 5, 2019
7e26b1e
PYT-728 Release Notes for GA
ankursarin Aug 6, 2019
97419a7
PYT-730 Documentation Cleanup for GA
ankursarin Aug 8, 2019
d771a60
DOC-313 Add current version number to site title for virt-sdk-docs
delphix-jbf Aug 13, 2019
fd1cba7
PYT-742 update docs for pyt-357
Oct 9, 2019
7447a43
PYT-884 Update plugin docs to inform plugin writers of required param…
Oct 28, 2019
f7b743c
Update .hooksconfig
ankursarin Oct 30, 2019
99c15b4
Update .hooksconfig
delphix-jbf Nov 4, 2019
3355e8e
Remove bad info from readme
mothslaw Nov 8, 2019
1e6b41c
PYT-1036 Documentation should include example of required properties
mothslaw Dec 31, 2019
75a8338
PYT-981 Document what to do when migrations are not sufficient (text)
mothslaw Feb 12, 2020
364196e
PYT-981 Document what to do when migrations are not sufficient (text)…
mothslaw Feb 12, 2020
d90a24b
PYT-1248 Merge plugin upgrade docs into master VSDK docs
fdrozdowski Mar 31, 2020
0ed9f5d
PYT-1274 Comment out any TODOs in the Virtualization SDK docs
jeffngo Apr 20, 2020
c5e11d9
PYT-1275 Add upgrade workflow to virtualization SDK docs
jeffngo Apr 21, 2020
7b477ac
PYT-1257 Document requirements for successful inactive plugin upgrade
ravi-cm Apr 22, 2020
ed306cf
Fixes #91 Move docs into SDK repo (#91)
fdrozdowski Apr 29, 2020
76b0690
Remove hooksconfig
fdrozdowski Apr 29, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
site/
.DS_Store
build.sh

# virtualenv directory created by pipenv
.venv/
102 changes: 102 additions & 0 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# Contributions and Reviews

This guide will help get you set up to author, edit, and review documentation within our gitlab repo.

----

- [Contributions and Reviews](#contributions-and-reviews)
- [Roles & Tools](#roles-tools)
- [Requirements for Authoring and Editing](#requirements-for-authoring-and-editing)
- [Requirements for Reviewing](#requirements-for-reviewing)
- [Guidelines](#guidelines)
- [Authoring Guidelines](#authoring-guidelines)
- [Reviewing Guidelines](#reviewing-guidelines)
- [Publishing](#publishing)

----

## Roles & Tools

This section provides a brief overview of the main roles in the git authoring and publishing process.

**Authors and Editors**

* Create _markdown_ documentation content
* Commit new/edited documentation to _git_
* Submit a review with _reviewboard_
* Push reviews to _gitlab_

**Technical Reviewers**

* Review diffs in _reviewboard_
* Provide feedback and/or "ship it"

**Gatekeeper Reviewers**

* Review diffs in _reviewboard_
* View changes locally in _mkdocs_ using _reviewboard_ patches
* Provide feedback and/or "ship it"

### Requirements for Authoring and Editing

This documentation is written in Markdown. Markdown is an absurdly simple markup language for creating easy to read documents. [Here](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) is a fairly popular cheat sheet for Markdown basics. You can also find many Markdown GUI tools or integrations. Atom, Sublime Text, and Eclipse all have built-in Markdown editing. Tools like MacDown for Mac may also help.

In order to create and edit documentation, you will need to be set up with the engineering git stack. Full instructions working with git can be found in the [Engineering Handbook](https://docs.delphix.com/display/EH/Setting+Up+Git).

The base requirements to make changes to this git repo are:

* [Install git-utils](https://docs.delphix.com/display/EH/Setting+Up+Git#SettingUpGit-Installgit-utils) (make sure you do this **outside** of your docsdev repo)
* Configure your PATH environment variable with [these instructions](https://gitlab.delphix.com/git/git-utils)
* Configure [git and reviewboard](https://docs.delphix.com/display/EH/Setting+Up+Git#SettingUpGit-ConfigureGit)
* Set up your local dev environment with instructions found [here](https://gitlab.delphix.com/docs/docsdev)

### Requirements for Reviewing

Technically, all you need to do a review is access to reviewboard. Since Markdown is easy to read in plain text, you can review changes by simply going to reviewboard and looking at the diff for any document you're assigned to review. Once done you can provide commentary and/or vote to ship it.

To provide a more thorough review or gatekeeper review, you should [set up your local dev environment](https://gitlab.delphix.com/docs/docsdev) so you can download the diff as a patch and check out the changes visually, or simply use the rbt patch command to sync your local repo up with a review. For example, assuming you already have a local docsdev environment and are reviewing reviewboard ID 99999:

1. cd ~/\<docsdev location\>
2. git checkout -B review-99999
3. rbt patch 99999

These commands created a new branch for your testing called "review-99999", then applied review 99999's changes to your local repo so you can view the changes in mkdocs.

## Guidelines

We have two goals: Provide the best documentation we can for our customers, and ensure that the publish process is smooth and intuitive every release. To that end, we have some guidelines for how to create, edit, and review content.

### Authoring Guidelines

1. Learn Markdown or use a really good IDE. It's easy to use, but there are complex topics like tables, admonishments, links, and images that you may need some practice with. Look at the other docs in the repo for inspiration and tutelage.
2. Test everything in mkdocs locally. Best practice is to always have mkdocs running in one terminal tab. It auto-refreshes when you make changes, so you can make sure that nothing breaks, and that your content looks good.
3. Do not create new directories (nav categories) in /docs without working with Jaspal Sumal (jaspal.sumal@delphix.com)
4. Place all screenshots in the local media/ directory of the category you're editing in. For example, if you're editing a page in docs/Getting_Started, put any screenshots you're going to use in docs/Getting_Started/media
5. Use relative links to reference screenshots (./media/image.png) and other pages (../Getting_Started/pagename/)
6. Beware the .pages file. .pages is a hidden file in every folder that provides page order. Any pages not listed in .pages will be alphabetically ordered _after_ the pages that have been listed. If you have a typo in this file or specify a renamed/deleted page, it will break mkdocs.
7. Always abide by Engineering requirements for branching, tagging, etc.
8. Provide verbose and descriptive commit messages.
9. Submit all changes for review and provide any necessary description on reviewboard when you publish it.
10. Assign one technical reviewer and one QA reviewer to any change in procedure/technical content. No technical/QA reviewers are necessary for typographical or non-contextual formatting changes.
11. Pushing requires technical signoff and gatekeeper signoff from the docs team.

### Reviewing Guidelines

1. The diff can usually provide what you need for reviewing changes. However, use mkdocs to review locally whenever possible to ensure good formatting and no breaks to mkdocs.
2. For minor corrections, leave a general comment on the review and vote to ship it so the author can fix it and push.
3. For major docs projects (e.g. whole new sections of docs or large batches of changes), coordinate with Jas. It is possible we'd be better off using another approach to review (e.g. track notes via Google Sheets)
4. If you're a reviewer that is not hooked into reviewboard, and unable to get set up to use it, work with Jas on an alternative approach (e.g. track notes via Google Sheets)
5. If there are issues in production docs, the current procedure is to post the issue in the #docs channel.

## Publishing

Publishing is currently a manual process that will be automated into the release process at a future point in time. The publishing workflow follows these steps:

1. After the git repo is frozen, Jas begins review and adjustments.
2. If there are technical questions or issues, Jas will take back to engineering for review.
3. The publish process will run. This process will:
* Pull the appropriate branch to a build machine
* Run "mkdocs build clean" to compile documentation to HTML
* Push the documentation to the S3 bucket for Masking Docs

In the future, stage 3 of this process should be automated via a jenkins job and incorporated into the GA release process along with branching/tagging requirements like our app gate.
12 changes: 12 additions & 0 deletions docs/Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
mkdocs = "*"
mkdocs-material = "*"
markdown-include = "*"
mkdocs-awesome-pages-plugin = "*"

[dev-packages]
132 changes: 132 additions & 0 deletions docs/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions docs/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

git fetch
pipenv run mkdocs build --clean
aws s3 sync ./site s3://dlpx-virt-sdk-docs --delete --cache-control "public, max-age=1" --profile delphix
aws s3api put-object-acl --bucket dlpx-virt-sdk-docs --key 404.html --acl public-read --profile delphix
8 changes: 8 additions & 0 deletions docs/docs/.pages
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
arrange:
- index.md
- Getting_Started.md
- Building_Your_First_Plugin
- References
- Versioning_And_Upgrading
- Best_Practices
- Release_Notes
9 changes: 9 additions & 0 deletions docs/docs/Best_Practices/.pages
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
arrange:
- CLI_Configuration_File.md
- Code_Sharing.md
- Managing_Scripts_For_Remote_Execution.md
- User_Visible_Errors.md
- Sensitive_Data.md
- Unicode_Data.md
- Working_with_Powershell.md
- Replication
54 changes: 54 additions & 0 deletions docs/docs/Best_Practices/CLI_Configuration_File.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# CLI Configuration File

The CLI configuration file can be used to set default values for CLI command options.

## Location

The configuration file is located in the user's home directory under `.dvp/config`.

```
<USER_HOME>
└── .dvp
└── config
```

Your user's home directory will depend on the operating system, but can be referred to using `~` in Unix-based operating systems or `%UserProfile%` in Windows.

## Supported Options

!!! note "Use `default` profile"

Only the values listed in the `default` profile are used unless they are overridden by values passed in from a command line option with the same name.

The CLI configuration file supports the following options:

### engine
Specifies the Delphix Engine which can be used as part of the [dvp upload](/References/CLI.md#upload) or [dvp download-logs](/References/CLI.md#download-logs) command.

```
engine = engine.example.com
```

### user
Specifies the user to a Delphix Engine which is used as part of the [dvp upload](/References/CLI.md#upload) or [dvp download-logs](/References/CLI.md#download-logs) command.

```
user = admin
```

### password
Specifies the password for the user to a Delphix Engine which is used as part of the [dvp upload](/References/CLI.md#upload) or [dvp download-logs](/References/CLI.md#download-logs) command.

```
password = userpassword
```

### Example

The following example uses all of the supported options for the CLI configuration file:
```
[default]
engine = engine.example.com
user = admin
password = userpassword
```
Loading