@tririga/tri-om
v1.1.3
Published
A tool for creating and exporting TRIRIGA Object Migration packages.
Downloads
27
Readme
tri-om
A tool for creating and exporting TRIRIGA Object Migration packages. The following operations are available:
- create an empty package
- add a object to a package
- add all application dependents
- export a package
- get package status
- download a exported package
Installation
$ npm install @tririga/tri-om -g
Synopsis
$ tri-om -t <url> -u <user> -p <password> <command>
Options
-t, --target url
The URL of the TRIRIGA server. It must include the context path. Required.-u, --user username
The user name. Required.-p, --password password
The user password. Required.--basicuser
The user name for basic authentication.--basicpassword
The user password for basic authentication.-c, --command
The OM command to be executed. Required. It can be one of the following values:- create,
- addObject,
- addObjectsTWithLabelToPackage,
- addAllAppDependents,
- export,
- status,
- download
-q, --quiet
Do not print any non-error message to the console.-v, --verbose
Causes the tool to produce verbose debug and error messages.--version
Print tri-om version.--help
Print this help information.
Usage
To read about a specific command, type:
$ tri-om command -h
Create an empty object migration package.
$ tri-om -t http://tririga.dev:8001/dev -u user -p password create new_package -d "Package description"
Add an application named App01 to an OM package identified by the id 100002.
$ tri-om -t http://tririga.dev:8001/dev -u user -p password addObject 100002 -o Application -n \App01
Add all application dependent objects changed after 'Jan 01 2019 00:00:0' to an OM package identified by the id 100002.
$ tri-om -t http://tririga.dev:8001/dev -u user -p password addAllAppDependents 100002 -o Application -d 2019-01-01T00:00:00Z
Export OM package identified by the id 100002.
$ tri-om -t http://tririga.dev:8001/dev -u user -p password export 100002
Get the status of OM package identified by the id 100002.
$ tri-om -t http://tririga.dev:8001/dev -u user -p password status 100002
Download OM package identified by the name UXAPP_OM.
$ tri-om -t http://tririga.dev:8001/dev -u user -p password download UXAPP_OM -o /oms/UXAPP_OM.zip
Add all workflows with the
In Progress 0.0
object label to an OM package identified by the id 100002.$ tri-om -t http://tririga.dev:8001/dev -u user -p password addObjectsWithLabel 100002 -o WF -l In Progress 0.0