dbeck121 / CPI-Helper-Chrome-Extension

58 stars 20 forks source link

CPI-Helper Chrome-Extension

Plugin Dev Contribution Code of conduct License

This Browser Plugin extends the SAP Cloud Platform Integration with some useful features.

Please check the CPI-Helper Landing page More information on our LinkedIn Page

I recommend reading the readme first but if you know what you are doing, you can add it to your Chrome or Edge Browser directly: Chrome Web Store Edge Browser Firefox

Privacy and Data Protection

The plugin does not collect personal data. Nevertheless the stores like Chrome Web Store collect some anonymous data like how many users have the plugin installed. Additionally I collect some statistical data like how many users really use the plugin and which features they are using. I work on CPI-Helper in my free time so I want to make sure to only work on functionality that is realy used. I do not trust Google Analytics and other tools so I implemented my own solution to be sure to not send any personal data

I guarantee:

It is open source so feel free to check the source code.

Features

Integration Flow Designer Improvements

General CPI Improvements

Changelog

3.16.0

3.15.0

3.14.0

3.13.0

3.12.1

3.11.0

3.10.0

3.9.0

3.8.0

3.7.1

3.7.0

3.6.1

3.6.1

3.6.0

3.5.3

3.4.0

3.3.2

3.3.0

3.2.0

3.1.0

3.0.7

3.0.x

2.7.0

2.6.3

2.6.2

2.6.1

2.6.0

2.5.0

2.4.1

2.4.0

2.3.0

2.2.0

2.1.2

2.1.1

2.1.0

2.0.2

2.0.1

2.0.0

1.8.1

1.8.0

1.7.3

1.7.2

1.7.0

1.6.0

1.5.0

1.4.0

1.3.1

1.3.0

1.2.3

1.2.2

1.2.1

1.2.0

1.1.1

1.1.0

1.0.3

1.0.2

1.0.1

1.0.0

0.8.0

0.7.0

0.5.6

0.5.5

0.5.3

0.5.0

0.4.0

0.3.1

0.3.0

0.2.2

0.2.1

0.2

First public version.

Installation

You need Google Chrome to install this plugin. I tested it with version 100. I assume that older versions will work too. There are two options to install this plugin:

Install directly from Chrome Web Store or Microsoft Store (recommended)

Just add the plugin in the Chrome Web Store, Firefox or Microsoft Store. This is probably the easiest way. Updates will be installed automatically. Chrome Web Store

Install in Developer Mode from Sources

Google Chrome

If you know what you are doing, you can install the plugin directly from sources. Clone the repo and add the folder directly to Google Chrome

  • Download or clone the repo from github. Unpack if necessary.
  • In Google Chrome, Navigate to Settings – > Extensions
  • Enable Developer Mode (slider on the top-right)
  • Click: "Load Unpacked Extension" and select the folder with the plugin data

Firefox

Since version 3.2.0 the plugin is also available for Firefox and can be installed directly from the browser. This is only a developer preview so bugs might occur. https://addons.mozilla.org/de/firefox/addon/cpi-helper/

Update

Attention: If you installed the plugin from Chrome Store before 21 March 2020, please uninstall and install it again with the link on the top. Chrome updates extensions that are installed from the Chrome Web Store automatically. If you installed the plugin from sources: Please replace the folder with the new version on your disk. After that, you must delete and add the plugin to Chrome Browser. If you have cloned the repository, pull new data. Then delete and add the plugin in Chrome. Restart Chrome.

Usage

New Buttons

If you open an Integration Flow, the plugin will automatically add a "Messages", a "Trace" and an "Info" button in the Integration-Flow-Designer.

Message Button

The "Message" button opens a small draggable sidebar with the last processed messages. You can jump directly to infos and traces of the message run. If you hover over the status icon of message, you will see a pop-up with the error message directly. If you click on the time button, InlineTrace is activated (Only when trace was activated for message). If you click on a color coded integration flow item and trace is available, a pop-up opens with the trace of the message at this point. Screenshot

Screenshot

Trace Button

The "Trace" button sets the loglevel of the current Iflow to trace.

Info Button

The "Info" button lets you see detailed information of the deployment state of your Integration Flow. Screenshot

Toolbar Popup

The button of the plugin in the toolbar gives you a list of useful links of your current tenant. It includes last visited Integration Flows. Screenshot See also the SAP Community Blog

Inline Trace

On the message sidebar, press the time button next to the status icon of a processed message. If run steps exist, the elements of the Integration Flow will change colors accordingly. This will give you a quick overview of the run.

  • Blue elements are successfully processed steps
  • Red elements are elements with errors. SAP does not provide good information about errors. So when an error at a Splitter-Element occurs, this does not have to mean that the error occurred here. It can also be a catched error from elements after the Splitter.

Run steps exist for processed messages with trace and for a short time in processed messages with errors. Screenshot

Inline Trace - Show Headers, Properties, Trace, Error and Logs

If you activated the Inline Trace feature, you can get more details. Traces only exist for processed messages with loglevel trace and will be deleted after around about 1 hour by SAP. Screenshot Screenshot

FAQ

How can I activate InlineTrace?

Run a message with trace activated. You see the message in the message sidebar. Click on the button with the time for the specific message. If trace is available, items that processed the message change color. You can click on integration flow elements to see the trace message before this step.

How long is the trace available?

SAP deletes trace messages after a while. Trace messages normally do not live longer than 1 hour.

Trace Mode or other features are not working. Is there a debug mode?

In case of problems, you can contact me and send a debug log. You can activate the debug log while visiting an deployed IFlow, extend the url with ?cpihelper_debug=true&cpihelper_debug_download_duration=60000 and press enter to load again. Try to reproduce the error and after 60s, the debug log will download automatically. Send this to me via mail or linkedin.

Example url:

Please send me the debug log and answer the following questions:

We all work in IT and I guess we all know that a message like "My CPI Helper does not work, please help!" will definetely not help you. I need more information.

Contributing

See Contribution guidelines for this project if you want to take part in this project. As I am a beginner myself, beginners are welcome.

If you have any ideas, please write a message or comment at the SAP Community

Contributors

License

GNU GPLv3