From 4ed3322ea039859046f6b5152ada96dbefc49670 Mon Sep 17 00:00:00 2001 From: e551763 Date: Thu, 1 Aug 2024 10:55:30 +0200 Subject: [PATCH] feat!: rename to interceptor-manager --- CHANGELOG.md | 10 +++++----- README.md | 6 +++--- hook-samples/module-save-time-logger/pom.xml | 6 +++--- .../ModuleSaveTimeHook.java | 8 ++++---- .../src/main/resources/META-INF/MANIFEST.MF | 2 +- hook-samples/only-assignee-can-delete/pom.xml | 6 +++--- .../OnlyAssigneeCanDeleteHook.java | 8 ++++---- .../src/main/resources/META-INF/MANIFEST.MF | 2 +- hook-samples/plan-save/pom.xml | 6 +++--- .../hook_samples/plan_save/PlanSaveHook.java | 8 ++++---- .../src/main/resources/META-INF/MANIFEST.MF | 2 +- hook-samples/single-assignee/pom.xml | 6 +++--- .../single_assignee/SingleAssigneeHook.java | 8 ++++---- .../src/main/resources/META-INF/MANIFEST.MF | 2 +- hook-samples/testrun/pom.xml | 6 +++--- .../hook_samples/testrun/TestRunHook.java | 8 ++++---- .../src/main/resources/META-INF/MANIFEST.MF | 2 +- hook-samples/title-length-check/pom.xml | 6 +++--- .../title_length_check/TitleLengthHook.java | 8 ++++---- .../src/main/resources/META-INF/MANIFEST.MF | 2 +- pom.xml | 14 +++++++------- 21 files changed, 63 insertions(+), 63 deletions(-) rename hook-samples/module-save-time-logger/src/main/java/ch/sbb/polarion/extension/{interceptor => interceptor_manager}/hook_samples/module_save_time_logger/ModuleSaveTimeHook.java (84%) rename hook-samples/only-assignee-can-delete/src/main/java/ch/sbb/polarion/extension/{interceptor => interceptor_manager}/hook_samples/only_assignee_can_delete/OnlyAssigneeCanDeleteHook.java (91%) rename hook-samples/plan-save/src/main/java/ch/sbb/polarion/extension/{interceptor => interceptor_manager}/hook_samples/plan_save/PlanSaveHook.java (90%) rename hook-samples/single-assignee/src/main/java/ch/sbb/polarion/extension/{interceptor => interceptor_manager}/hook_samples/single_assignee/SingleAssigneeHook.java (90%) rename hook-samples/testrun/src/main/java/ch/sbb/polarion/extension/{interceptor => interceptor_manager}/hook_samples/testrun/TestRunHook.java (93%) rename hook-samples/title-length-check/src/main/java/ch/sbb/polarion/extension/{interceptor => interceptor_manager}/hook_samples/title_length_check/TitleLengthHook.java (89%) diff --git a/CHANGELOG.md b/CHANGELOG.md index a556d61..93ae76d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,12 @@ ### Features -* hooks migration from interceptor repo to the separate one ([#3](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor.hook-samples/issues/3)) ([2a2841a](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor.hook-samples/commit/2a2841afd2fa6f23fcd6ece66f0db1bed88eebab)) -* migration to interceptor v2.1.0 ([#12](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor.hook-samples/issues/12)) ([bf70a76](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor.hook-samples/commit/bf70a7607efb36ffa2eda8486f2c6d51de2d8ef7)) +* hooks migration from interceptor repo to the separate one ([#3](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor-manager.hook-samples/issues/3)) ([2a2841a](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor-manager.hook-samples/commit/2a2841afd2fa6f23fcd6ece66f0db1bed88eebab)) +* migration to interceptor v2.1.0 ([#12](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor-manager.hook-samples/issues/12)) ([bf70a76](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor-manager.hook-samples/commit/bf70a7607efb36ffa2eda8486f2c6d51de2d8ef7)) ### Bug Fixes -* **deps:** update dependency ch.sbb.polarion.extensions:ch.sbb.polarion.extension.interceptor to v2.2.0 ([c152a5b](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor.hook-samples/commit/c152a5b6d73b5bf407ba2c7245e0c1695c1b7453)) -* display hook version in Admin pane ([#16](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor.hook-samples/issues/16)) ([e6efcde](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor.hook-samples/commit/e6efcdeed2a1cb093dc1ef74df6e96b6b5c17679)) -* fix cast exception ([#7](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor.hook-samples/issues/7)) ([06db530](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor.hook-samples/commit/06db53031359981986f96a324a8fc122fea4c7e9)) +* **deps:** update dependency ch.sbb.polarion.extensions:ch.sbb.polarion.extension.interceptor to v2.2.0 ([c152a5b](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor-manager.hook-samples/commit/c152a5b6d73b5bf407ba2c7245e0c1695c1b7453)) +* display hook version in Admin pane ([#16](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor-manager.hook-samples/issues/16)) ([e6efcde](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor-manager.hook-samples/commit/e6efcdeed2a1cb093dc1ef74df6e96b6b5c17679)) +* fix cast exception ([#7](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor-manager.hook-samples/issues/7)) ([06db530](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor-manager.hook-samples/commit/06db53031359981986f96a324a8fc122fea4c7e9)) diff --git a/README.md b/README.md index f8bc82d..ca3fad6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Hook samples for Polarion Interceptor extension +# Hook samples for Polarion Interceptor Manager extension -This project contains samples of hooks for Polarion [Interceptor extension](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor). +This project contains samples of hooks for Polarion [Interceptor Manager extension](https://github.com/SchweizerischeBundesbahnen/ch.sbb.polarion.extension.interceptor-manager). The following hooks are available: - [Module Save Time Logger](hook-samples/module-save-time-logger/README.md) @@ -19,7 +19,7 @@ mvn clean package ## Installation to Polarion -To install these hooks to Polarion `ch.sbb.polarion.extension.interceptor.hook-samples.-.jar` files should be copied to `/polarion/extensions/ch.sbb.polarion.extension.interceptor/eclipse/plugins/hooks`. +To install these hooks to Polarion `ch.sbb.polarion.extension.interceptor-manager.hook-samples.-.jar` files should be copied to `/polarion/extensions/ch.sbb.polarion.extension.interceptor-manager/eclipse/plugins/hooks`. It can be done manually or automated using maven build: ```bash diff --git a/hook-samples/module-save-time-logger/pom.xml b/hook-samples/module-save-time-logger/pom.xml index 25045b9..b4314bb 100644 --- a/hook-samples/module-save-time-logger/pom.xml +++ b/hook-samples/module-save-time-logger/pom.xml @@ -4,16 +4,16 @@ ch.sbb.polarion.extensions - ch.sbb.polarion.extension.interceptor.hook-samples + ch.sbb.polarion.extension.interceptor-manager.hook-samples 2.1.1-SNAPSHOT ../../pom.xml - ch.sbb.polarion.extension.interceptor.hook-samples.module-save-time-logger + ch.sbb.polarion.extension.interceptor-manager.hook-samples.module-save-time-logger jar - ch.sbb.polarion.extension.interceptor.hooks_samples.module_save_time_logger + ch.sbb.polarion.extension.interceptor_manager.hooks_samples.module_save_time_logger module-save-time-logger diff --git a/hook-samples/module-save-time-logger/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/module_save_time_logger/ModuleSaveTimeHook.java b/hook-samples/module-save-time-logger/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/module_save_time_logger/ModuleSaveTimeHook.java similarity index 84% rename from hook-samples/module-save-time-logger/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/module_save_time_logger/ModuleSaveTimeHook.java rename to hook-samples/module-save-time-logger/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/module_save_time_logger/ModuleSaveTimeHook.java index ff0d41a..a027089 100644 --- a/hook-samples/module-save-time-logger/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/module_save_time_logger/ModuleSaveTimeHook.java +++ b/hook-samples/module-save-time-logger/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/module_save_time_logger/ModuleSaveTimeHook.java @@ -1,8 +1,8 @@ -package ch.sbb.polarion.extension.interceptor.hook_samples.module_save_time_logger; +package ch.sbb.polarion.extension.interceptor_manager.hook_samples.module_save_time_logger; -import ch.sbb.polarion.extension.interceptor.model.ActionHook; -import ch.sbb.polarion.extension.interceptor.model.HookExecutor; -import ch.sbb.polarion.extension.interceptor.util.PropertiesUtils; +import ch.sbb.polarion.extension.interceptor_manager.model.ActionHook; +import ch.sbb.polarion.extension.interceptor_manager.model.HookExecutor; +import ch.sbb.polarion.extension.interceptor_manager.util.PropertiesUtils; import com.polarion.core.util.logging.Logger; import com.polarion.platform.persistence.model.IPObject; import org.jetbrains.annotations.NotNull; diff --git a/hook-samples/module-save-time-logger/src/main/resources/META-INF/MANIFEST.MF b/hook-samples/module-save-time-logger/src/main/resources/META-INF/MANIFEST.MF index ba5f366..67152a3 100644 --- a/hook-samples/module-save-time-logger/src/main/resources/META-INF/MANIFEST.MF +++ b/hook-samples/module-save-time-logger/src/main/resources/META-INF/MANIFEST.MF @@ -1,2 +1,2 @@ Name: Title length hook for Polarion ALM Interceptor plugin -Main-Class: ch.sbb.polarion.extension.interceptor.hook_samples.module_save_time_logger.ModuleSaveTimeHook +Main-Class: ch.sbb.polarion.extension.interceptor_manager.hook_samples.module_save_time_logger.ModuleSaveTimeHook diff --git a/hook-samples/only-assignee-can-delete/pom.xml b/hook-samples/only-assignee-can-delete/pom.xml index e350c56..c1b95fd 100644 --- a/hook-samples/only-assignee-can-delete/pom.xml +++ b/hook-samples/only-assignee-can-delete/pom.xml @@ -4,16 +4,16 @@ ch.sbb.polarion.extensions - ch.sbb.polarion.extension.interceptor.hook-samples + ch.sbb.polarion.extension.interceptor-manager.hook-samples 2.1.1-SNAPSHOT ../../pom.xml - ch.sbb.polarion.extension.interceptor.hook-samples.only-assignee-can-delete + ch.sbb.polarion.extension.interceptor-manager.hook-samples.only-assignee-can-delete jar - ch.sbb.polarion.extension.interceptor.hook_samples.only_assignee_can_delete + ch.sbb.polarion.extension.interceptor_manager.hook_samples.only_assignee_can_delete only-assignee-can-delete diff --git a/hook-samples/only-assignee-can-delete/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/only_assignee_can_delete/OnlyAssigneeCanDeleteHook.java b/hook-samples/only-assignee-can-delete/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/only_assignee_can_delete/OnlyAssigneeCanDeleteHook.java similarity index 91% rename from hook-samples/only-assignee-can-delete/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/only_assignee_can_delete/OnlyAssigneeCanDeleteHook.java rename to hook-samples/only-assignee-can-delete/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/only_assignee_can_delete/OnlyAssigneeCanDeleteHook.java index 9bdaba6..1c7f251 100644 --- a/hook-samples/only-assignee-can-delete/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/only_assignee_can_delete/OnlyAssigneeCanDeleteHook.java +++ b/hook-samples/only-assignee-can-delete/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/only_assignee_can_delete/OnlyAssigneeCanDeleteHook.java @@ -1,8 +1,8 @@ -package ch.sbb.polarion.extension.interceptor.hook_samples.only_assignee_can_delete; +package ch.sbb.polarion.extension.interceptor_manager.hook_samples.only_assignee_can_delete; -import ch.sbb.polarion.extension.interceptor.model.ActionHook; -import ch.sbb.polarion.extension.interceptor.model.HookExecutor; -import ch.sbb.polarion.extension.interceptor.util.PropertiesUtils; +import ch.sbb.polarion.extension.interceptor_manager.model.ActionHook; +import ch.sbb.polarion.extension.interceptor_manager.model.HookExecutor; +import ch.sbb.polarion.extension.interceptor_manager.util.PropertiesUtils; import com.polarion.alm.projects.model.IUser; import com.polarion.alm.tracker.ITrackerService; import com.polarion.alm.tracker.model.IWorkItem; diff --git a/hook-samples/only-assignee-can-delete/src/main/resources/META-INF/MANIFEST.MF b/hook-samples/only-assignee-can-delete/src/main/resources/META-INF/MANIFEST.MF index d3e5af9..6ff895f 100644 --- a/hook-samples/only-assignee-can-delete/src/main/resources/META-INF/MANIFEST.MF +++ b/hook-samples/only-assignee-can-delete/src/main/resources/META-INF/MANIFEST.MF @@ -1,2 +1,2 @@ Name: WorkItem deletion hook for Polarion ALM Interceptor plugin -Main-Class: ch.sbb.polarion.extension.interceptor.hook_samples.only_assignee_can_delete.OnlyAssigneeCanDeleteHook +Main-Class: ch.sbb.polarion.extension.interceptor_manager.hook_samples.only_assignee_can_delete.OnlyAssigneeCanDeleteHook diff --git a/hook-samples/plan-save/pom.xml b/hook-samples/plan-save/pom.xml index 7f4f7f5..0db9b54 100644 --- a/hook-samples/plan-save/pom.xml +++ b/hook-samples/plan-save/pom.xml @@ -4,16 +4,16 @@ ch.sbb.polarion.extensions - ch.sbb.polarion.extension.interceptor.hook-samples + ch.sbb.polarion.extension.interceptor-manager.hook-samples 2.1.1-SNAPSHOT ../../pom.xml - ch.sbb.polarion.extension.interceptor.hook-samples.plan-save + ch.sbb.polarion.extension.interceptor-manager.hook-samples.plan-save jar - ch.sbb.polarion.extension.interceptor.hook_samples.plan_save + ch.sbb.polarion.extension.interceptor_manager.hook_samples.plan_save plan-save diff --git a/hook-samples/plan-save/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/plan_save/PlanSaveHook.java b/hook-samples/plan-save/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/plan_save/PlanSaveHook.java similarity index 90% rename from hook-samples/plan-save/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/plan_save/PlanSaveHook.java rename to hook-samples/plan-save/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/plan_save/PlanSaveHook.java index 60831d1..de679d8 100644 --- a/hook-samples/plan-save/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/plan_save/PlanSaveHook.java +++ b/hook-samples/plan-save/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/plan_save/PlanSaveHook.java @@ -1,8 +1,8 @@ -package ch.sbb.polarion.extension.interceptor.hook_samples.plan_save; +package ch.sbb.polarion.extension.interceptor_manager.hook_samples.plan_save; -import ch.sbb.polarion.extension.interceptor.model.ActionHook; -import ch.sbb.polarion.extension.interceptor.model.HookExecutor; -import ch.sbb.polarion.extension.interceptor.util.PropertiesUtils; +import ch.sbb.polarion.extension.interceptor_manager.model.ActionHook; +import ch.sbb.polarion.extension.interceptor_manager.model.HookExecutor; +import ch.sbb.polarion.extension.interceptor_manager.util.PropertiesUtils; import com.polarion.alm.tracker.model.IPlan; import com.polarion.alm.tracker.model.IWorkItem; import com.polarion.core.util.logging.Logger; diff --git a/hook-samples/plan-save/src/main/resources/META-INF/MANIFEST.MF b/hook-samples/plan-save/src/main/resources/META-INF/MANIFEST.MF index 3bc90b3..84932be 100644 --- a/hook-samples/plan-save/src/main/resources/META-INF/MANIFEST.MF +++ b/hook-samples/plan-save/src/main/resources/META-INF/MANIFEST.MF @@ -1,2 +1,2 @@ Name: Plan save hook for Polarion ALM Interceptor plugin -Main-Class: ch.sbb.polarion.extension.interceptor.hook_samples.plan_save.PlanSaveHook +Main-Class: ch.sbb.polarion.extension.interceptor_manager.hook_samples.plan_save.PlanSaveHook diff --git a/hook-samples/single-assignee/pom.xml b/hook-samples/single-assignee/pom.xml index 8709c1a..2376a53 100644 --- a/hook-samples/single-assignee/pom.xml +++ b/hook-samples/single-assignee/pom.xml @@ -4,16 +4,16 @@ ch.sbb.polarion.extensions - ch.sbb.polarion.extension.interceptor.hook-samples + ch.sbb.polarion.extension.interceptor-manager.hook-samples 2.1.1-SNAPSHOT ../../pom.xml - ch.sbb.polarion.extension.interceptor.hook-samples.single-assignee + ch.sbb.polarion.extension.interceptor-manager.hook-samples.single-assignee jar - ch.sbb.polarion.extension.interceptor.hook_samples.single_assignee + ch.sbb.polarion.extension.interceptor_manager.hook_samples.single_assignee single-assignee diff --git a/hook-samples/single-assignee/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/single_assignee/SingleAssigneeHook.java b/hook-samples/single-assignee/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/single_assignee/SingleAssigneeHook.java similarity index 90% rename from hook-samples/single-assignee/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/single_assignee/SingleAssigneeHook.java rename to hook-samples/single-assignee/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/single_assignee/SingleAssigneeHook.java index a44752d..1b5de77 100644 --- a/hook-samples/single-assignee/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/single_assignee/SingleAssigneeHook.java +++ b/hook-samples/single-assignee/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/single_assignee/SingleAssigneeHook.java @@ -1,8 +1,8 @@ -package ch.sbb.polarion.extension.interceptor.hook_samples.single_assignee; +package ch.sbb.polarion.extension.interceptor_manager.hook_samples.single_assignee; -import ch.sbb.polarion.extension.interceptor.model.ActionHook; -import ch.sbb.polarion.extension.interceptor.model.HookExecutor; -import ch.sbb.polarion.extension.interceptor.util.PropertiesUtils; +import ch.sbb.polarion.extension.interceptor_manager.model.ActionHook; +import ch.sbb.polarion.extension.interceptor_manager.model.HookExecutor; +import ch.sbb.polarion.extension.interceptor_manager.util.PropertiesUtils; import com.polarion.alm.tracker.model.IWorkItem; import com.polarion.core.util.logging.Logger; import com.polarion.platform.persistence.model.IPObject; diff --git a/hook-samples/single-assignee/src/main/resources/META-INF/MANIFEST.MF b/hook-samples/single-assignee/src/main/resources/META-INF/MANIFEST.MF index 84e5fcd..3b43e77 100644 --- a/hook-samples/single-assignee/src/main/resources/META-INF/MANIFEST.MF +++ b/hook-samples/single-assignee/src/main/resources/META-INF/MANIFEST.MF @@ -1,2 +1,2 @@ Name: Single assignee hook for Polarion ALM Interceptor plugin -Main-Class: ch.sbb.polarion.extension.interceptor.hook_samples.single_assignee.SingleAssigneeHook +Main-Class: ch.sbb.polarion.extension.interceptor_manager.hook_samples.single_assignee.SingleAssigneeHook diff --git a/hook-samples/testrun/pom.xml b/hook-samples/testrun/pom.xml index 594ffaa..5648c37 100644 --- a/hook-samples/testrun/pom.xml +++ b/hook-samples/testrun/pom.xml @@ -4,16 +4,16 @@ ch.sbb.polarion.extensions - ch.sbb.polarion.extension.interceptor.hook-samples + ch.sbb.polarion.extension.interceptor-manager.hook-samples 2.1.1-SNAPSHOT ../../pom.xml - ch.sbb.polarion.extension.interceptor.hook-samples.testrun + ch.sbb.polarion.extension.interceptor-manager.hook-samples.testrun jar - ch.sbb.polarion.extension.interceptor.hook_samples.testrun + ch.sbb.polarion.extension.interceptor_manager.hook_samples.testrun testrun diff --git a/hook-samples/testrun/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/testrun/TestRunHook.java b/hook-samples/testrun/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/testrun/TestRunHook.java similarity index 93% rename from hook-samples/testrun/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/testrun/TestRunHook.java rename to hook-samples/testrun/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/testrun/TestRunHook.java index f0bbf1d..08e59ef 100644 --- a/hook-samples/testrun/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/testrun/TestRunHook.java +++ b/hook-samples/testrun/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/testrun/TestRunHook.java @@ -1,8 +1,8 @@ -package ch.sbb.polarion.extension.interceptor.hook_samples.testrun; +package ch.sbb.polarion.extension.interceptor_manager.hook_samples.testrun; -import ch.sbb.polarion.extension.interceptor.model.ActionHook; -import ch.sbb.polarion.extension.interceptor.model.HookExecutor; -import ch.sbb.polarion.extension.interceptor.util.PropertiesUtils; +import ch.sbb.polarion.extension.interceptor_manager.model.ActionHook; +import ch.sbb.polarion.extension.interceptor_manager.model.HookExecutor; +import ch.sbb.polarion.extension.interceptor_manager.util.PropertiesUtils; import com.polarion.alm.tracker.ITrackerService; import com.polarion.alm.tracker.model.ITestRecord; import com.polarion.alm.tracker.model.ITestRun; diff --git a/hook-samples/testrun/src/main/resources/META-INF/MANIFEST.MF b/hook-samples/testrun/src/main/resources/META-INF/MANIFEST.MF index 62b6821..ada2609 100644 --- a/hook-samples/testrun/src/main/resources/META-INF/MANIFEST.MF +++ b/hook-samples/testrun/src/main/resources/META-INF/MANIFEST.MF @@ -1,2 +1,2 @@ Name: TestRun validation hook for Polarion ALM Interceptor plugin -Main-Class: ch.sbb.polarion.extension.interceptor.hook_samples.testrun.TestRunHook +Main-Class: ch.sbb.polarion.extension.interceptor_manager.hook_samples.testrun.TestRunHook diff --git a/hook-samples/title-length-check/pom.xml b/hook-samples/title-length-check/pom.xml index 3b7ad24..bd7b29c 100644 --- a/hook-samples/title-length-check/pom.xml +++ b/hook-samples/title-length-check/pom.xml @@ -4,16 +4,16 @@ ch.sbb.polarion.extensions - ch.sbb.polarion.extension.interceptor.hook-samples + ch.sbb.polarion.extension.interceptor-manager.hook-samples 2.1.1-SNAPSHOT ../../pom.xml - ch.sbb.polarion.extension.interceptor.hook-samples.title-length-check + ch.sbb.polarion.extension.interceptor-manager.hook-samples.title-length-check jar - ch.sbb.polarion.extension.interceptor.hook_samples.title_length_check + ch.sbb.polarion.extension.interceptor_manager.hook_samples.title_length_check title-length-check diff --git a/hook-samples/title-length-check/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/title_length_check/TitleLengthHook.java b/hook-samples/title-length-check/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/title_length_check/TitleLengthHook.java similarity index 89% rename from hook-samples/title-length-check/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/title_length_check/TitleLengthHook.java rename to hook-samples/title-length-check/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/title_length_check/TitleLengthHook.java index 7fff7c9..5c62a6e 100644 --- a/hook-samples/title-length-check/src/main/java/ch/sbb/polarion/extension/interceptor/hook_samples/title_length_check/TitleLengthHook.java +++ b/hook-samples/title-length-check/src/main/java/ch/sbb/polarion/extension/interceptor_manager/hook_samples/title_length_check/TitleLengthHook.java @@ -1,8 +1,8 @@ -package ch.sbb.polarion.extension.interceptor.hook_samples.title_length_check; +package ch.sbb.polarion.extension.interceptor_manager.hook_samples.title_length_check; -import ch.sbb.polarion.extension.interceptor.model.ActionHook; -import ch.sbb.polarion.extension.interceptor.model.HookExecutor; -import ch.sbb.polarion.extension.interceptor.util.PropertiesUtils; +import ch.sbb.polarion.extension.interceptor_manager.model.ActionHook; +import ch.sbb.polarion.extension.interceptor_manager.model.HookExecutor; +import ch.sbb.polarion.extension.interceptor_manager.util.PropertiesUtils; import com.polarion.alm.tracker.model.IModule; import com.polarion.alm.tracker.model.IWorkItem; import com.polarion.core.util.logging.Logger; diff --git a/hook-samples/title-length-check/src/main/resources/META-INF/MANIFEST.MF b/hook-samples/title-length-check/src/main/resources/META-INF/MANIFEST.MF index f98aa82..2709341 100644 --- a/hook-samples/title-length-check/src/main/resources/META-INF/MANIFEST.MF +++ b/hook-samples/title-length-check/src/main/resources/META-INF/MANIFEST.MF @@ -1,2 +1,2 @@ Name: Title length hook for Polarion ALM Interceptor plugin -Main-Class: ch.sbb.polarion.extension.interceptor.hook_samples.title_length_check.TitleLengthHook +Main-Class: ch.sbb.polarion.extension.interceptor_manager.hook_samples.title_length_check.TitleLengthHook diff --git a/pom.xml b/pom.xml index 24a5637..3a48c5f 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 ch.sbb.polarion.extensions - ch.sbb.polarion.extension.interceptor.hook-samples + ch.sbb.polarion.extension.interceptor-manager.hook-samples 2.1.1-SNAPSHOT pom @@ -17,9 +17,9 @@ - 2.2.0 + 3.0.0 - ch.sbb.polarion.extension.interceptor + ch.sbb.polarion.extension.interceptor-manager hooks 17 @@ -59,7 +59,7 @@ - ${env.POLARION_HOME}/polarion/extensions/${interceptor.artifactId}/eclipse/plugins/${hooks.folder.name} + ${env.POLARION_HOME}/polarion/extensions/${interceptor-manager.artifactId}/eclipse/plugins/${hooks.folder.name} *${maven-jar-plugin.Extension-Context}*.jar @@ -89,7 +89,7 @@ ${project.packaging} - ${env.POLARION_HOME}/polarion/extensions/${interceptor.artifactId}/eclipse/plugins/${hooks.folder.name} + ${env.POLARION_HOME}/polarion/extensions/${interceptor-manager.artifactId}/eclipse/plugins/${hooks.folder.name} @@ -102,8 +102,8 @@ ch.sbb.polarion.extensions - ch.sbb.polarion.extension.interceptor - ${ch.sbb.polarion.extension.interceptor.version} + ${interceptor-manager.artifactId} + ${ch.sbb.polarion.extension.interceptor-manager.version} provided