@tririga/tri-om

1.1.3 • Public • Published

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

  1. To read about a specific command, type:

    $ tri-om command -h

  2. Create an empty object migration package.

    $ tri-om -t http://tririga.dev:8001/dev -u user -p password create new_package -d "Package description"

  3. 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

  4. 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

  5. Export OM package identified by the id 100002.

    $ tri-om -t http://tririga.dev:8001/dev -u user -p password export 100002

  6. 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

  7. 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

  8. 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

Readme

Keywords

Package Sidebar

Install

npm i @tririga/tri-om

Weekly Downloads

0

Version

1.1.3

License

MIT

Unpacked Size

36.8 kB

Total Files

15

Last publish

Collaborators

  • doug-wood
  • scottrhale
  • souyong
  • tom-fitts
  • skavanagh_wipro