- Java 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
||
| .github | ||
| .idea/codeStyles | ||
| .mvn | ||
| check-safety-hazard | ||
| delete-dummy-workitems | ||
| inconsistent-test-case-block | ||
| live-doc-block-edit | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .yamlfix.toml | ||
| CHANGELOG.md | ||
| CLAUDE.md | ||
| CODING_STANDARDS.md | ||
| CONTRIBUTING.md | ||
| DCO | ||
| DEVELOPMENT.md | ||
| LICENSE | ||
| NOTICE | ||
| pom.xml | ||
| README.md | ||
| RELEASE.md | ||
| renovate.json | ||
| zizmor.yml | ||
Hooks for the ch.sbb.polarion.extension.interceptor-manager extension
Hooks in this repository provide possibility to modify and enhance some ALM Polarion actions.
Build
Hooks can be produced using maven:
mvn clean package
Hooks installation
Hooks jar files should be copied to <polarion_home>/polarion/extensions/interceptor-manager/eclipse/plugins/hooks
It can be done manually or automated using maven build:
mvn clean install -Plocal-install-into-polarion
For automated installation with maven env variable POLARION_HOME should be defined and point to folder where Polarion is installed.
Note: after hooks installation they can be discovered without restart of Polarion by using 'Reload hooks list' on the 'Settings' page of the Interceptor-manager.
Hooks list
This repo contains 4 hooks, each of them should be supposed to be used in conjunction with Interceptor-manager v3.0.0+.
CheckSafetyHazardHook
Enforces business rules for safety hazard workitems by automatically managing field values, ensuring proper risk documentation compliance before allowing workitems to be saved.
DeleteDummyWorkitemsHook
Prevents deletion of workitems based on specific conditions.
InconsistentTestCaseBlockHook
Checks for consistency of Test Case Result and Test Step result(s).
LiveDocBlockEditHook
Prevents document modification by enforcing specific business rules.