@tririga/tri-om v1.1.3
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 -gSynopsis
$ tri-om -t <url> -u <user> -p <password> <command>Options
-t, --target urlThe URL of the TRIRIGA server. It must include the context path. Required.-u, --user usernameThe user name. Required.-p, --password passwordThe user password. Required.--basicuserThe user name for basic authentication.--basicpasswordThe user password for basic authentication.-c, --commandThe OM command to be executed. Required. It can be one of the following values:- create,
- addObject,
- addObjectsTWithLabelToPackage,
- addAllAppDependents,
- export,
- status,
- download
-q, --quietDo not print any non-error message to the console.-v, --verboseCauses the tool to produce verbose debug and error messages.--versionPrint tri-om version.--helpPrint this help information.
Usage
To read about a specific command, type:
$ tri-om command -hCreate 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 \App01Add 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:00ZExport OM package identified by the id 100002.
$ tri-om -t http://tririga.dev:8001/dev -u user -p password export 100002Get the status of OM package identified by the id 100002.
$ tri-om -t http://tririga.dev:8001/dev -u user -p password status 100002Download 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.zipAdd all workflows with the
In Progress 0.0object 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