This project contains samples of hooks for Polarion Interceptor Manager extension.
The following hooks are available:
- Delete Non-resolved Module Comments
- Delete Work Records
- Module Save Time Logger
- Only Assignee Can Delete
- Plan Save
- Single Assignee
- TestRun
- Title Length Check
- Delete Non-resolved Module Comments using Guice
- Delete Non-resolved Module Comments using OSGi
The latest version of the hooks can be downloaded from the releases page and installed to Polarion instance without necessity to be compiled from the sources.
Required hook(s) jar(s) should be copied to <polarion_home>/polarion/extensions/ch.sbb.polarion.extension.interceptor-manager/eclipse/plugins/hooks
folder.
As jars copied please go to Interceptor Manager
-> Settings
page on admin pane and click "Reload hooks list" link in top-right corner. Now installed sample hooks are ready to be used.
These hooks can be produced using maven:
mvn clean package
To install these hooks to Polarion ch.sbb.polarion.extension.interceptor-manager.hook-samples.<hookname>-<version>.jar
files should be copied to <polarion_home>/polarion/extensions/ch.sbb.polarion.extension.interceptor-manager/eclipse/plugins/hooks
.
It can be done manually or automated using maven build:
mvn clean install -P install-to-local-polarion
For automated installation with maven env variable POLARION_HOME
should be defined and point to folder where Polarion is installed.