Skip to content

Make SAP Cloud Platfrom Integration (CPI) iFlows keep log level TRACE

License

Notifications You must be signed in to change notification settings

huberv/cpi-keep-tracing

Repository files navigation

cpi-keep-tracing

Make deployed SAP Cloud Platform Integration (CPI) integration flows stay at log level TRACE as long as this tool is running

Installation

Pre-built binaries

If you do not want to install Node.js or rather not copy repositories, pre-built binaries are available on the github repo's releases page. Just put the binary to a folder where you'd like to invoke it from or to a folder in your system's path variable.

The binaries have been created with the awesome pkg tool.

Install from npm

If you've got Node.js installed, just run

npm -g install cpi-keep-tracing

Afterwards you can use the tool from any console / command-line terminal.

Run from source code repository

  1. Either clone this repository or use the excellent degit for obtaining a slim copy
  2. In the project folder, run npm install
  3. Afterwards you can execute the tool by running the bin/run executable
  4. If you'd like to execute the tool from any folder, run npm link from within the copy to set up symbolic links from the globally installed npm package folder. Note that this may need administrator privileges when running the command or the console terminal

Usage

> cpi-keep-tracing --help
Make iFlows running with log level TRACE

USAGE
  $ cpi-keep-tracing

OPTIONS
  -d, --delay=delay        [default: 300] The delay between TRACE updates in seconds
  -f, --filter=filter      Regular expression to filter affected iflows: Only matching iflows will be keept at TRACE
  -p, --password=password  You (S-, C-, ...) user's password for basic authentication (not stored anywhere)
  -u, --username=username  The (S-, C-, ...) username for basic authentication
  --url=url                The tenant url in the format https://<some id>-tmn.hci.<some region>.hana.ondemand.com

Tinkering with the tool

The tool leverages the excellent CLI framework oclif and is a single-command oclif project.

Feel free to explore the contents of src/index.ts.

About

Make SAP Cloud Platfrom Integration (CPI) iFlows keep log level TRACE

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published