Skip to main content

vroParse

vRO XML Package Parser

Table of Contents

Overview

vroParse is created by Jim Sadlek.

vroParse is an addendum to the vRealize Build Tools and Developer Tools, and is a Python package with two executable commands, parsevro and updatevro.

This project parses code embedded in scriptable tasks from out of Workflow XML, saves them as discrete files for editing and SCC, and imports the edits back into XML for inclusion in vRO Package updates.

Setup

pip install vroParse

The package is hosted on PyPi. If you do not have external access to the Internet, you will need to do a local install on your system.

To do that, obtain a clone of this repo to your local system. then, make sure to run the setup.py file, so you can install any dependencies you may need. To run the setup.py file, run the following command in your terminal.

python(3) setup.py install --record files

This will install all the dependencies listed in the setup.py file. Once done you can use the parsevro and updatevro commands.

To manually remove this package run rm $(cat files)

Usage

parsevro [-h] [-v]

This script parses code from vRO Workflow XML that contain embedded Scriptable Tasks.
By: Jim Sadlek - VMware, Inc.

This must be run from the vRO Package's top-level folder, which contains a 'workflows/src/main/resources/Workflow' subfolder.
This script traverses all sub folders of the above and stores embedded code in a '.parsevro' folder.
This is usually run after a 'mvn vro:pull' command when using vRealize Build Tools, or exporting to a folder with native vRO.

-h, --help     show this help message and exit
-v, --verbose  Display verbose logging output

Here is a simple example of using the vroParse package to parse vRO XML package files for Scriptable Tasks' element code, and then update XML with edited code, from within Visual Studio Code or some other code editor outside of vRO.

After performing a mvn vro:pull operation, run this from the root folder: parsevro

After performing a mvn vrealize:push operation, run this from the root folder: updatevro

Other Projects

vRealize Build Tools: vRealize Build Tools is a Vmware Fling that provides tools to development and release teams implementing solutions based on vRealize Automation (vRA) and vRealize Orchestrator (vRO).

vRealize Developer Tools: vRealize Developer Tools is a Visual Studio Code Extension available on GitHub that provides code intelligence features and enables a more developer-friendly experience when creating vRealize content.

Metadata

Release files for vroParse 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vroParse 0.3.2
File Size Uploaded
vroParse-0.3.2.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vroParse 0.3.2
File Interpreter ABI Platform
vroParse-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 14.8 kB

Release files / vroParse-0.3.2.tar.gz

Download URL vroParse-0.3.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
01bbed7b718d34c4b08cd4590c48e7cf2789c90b0d958507763622adb47cb6e8
BLAKE2b-256 checksum
How to use checksums
1cb0c5d3693c751a5eca0b33cc5d62b18518d476a485c756100911436a5fd74a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5

Release files / vroParse-0.3.2-py3-none-any.whl

Download URL vroParse-0.3.2-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85d6e9f3be961c5d214664ca185f289c12555845188fa8c385c5328bbe926bf7
BLAKE2b-256 checksum
How to use checksums
e37be891e3ba2c1fffb4f2f59c3236482e1d0dccc9b3e817b90db02f31ce6e6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page