Make deployed SAP Cloud Platform Integration (CPI) integration flows stay at log level TRACE as long as this tool is running
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.
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.
- Either clone this repository or use the excellent degit for obtaining a slim copy
- In the project folder, run
npm install
- Afterwards you can execute the tool by running the
bin/run
executable - 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
> 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
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.