diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 37dae8b..4552804 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,3 @@ # These owners will be the default owners for everything in the repo. # Unless a later match takes precedence, global owners will be requested for review when someone opens a pull request. -* @SchweizerischeBundesbahnen/SBB-CLEW-WZU-POLARION \ No newline at end of file +* @SchweizerischeBundesbahnen/SBB-CLEW-WZU-POLARION @grigoriev @yurtsevich-sbb @nirikash @jumas @pbezliapovich \ No newline at end of file diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 96df30c..d0a3c79 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -55,6 +55,13 @@ jobs: ] profiles: > [ + { + "id": "s3Deploy", + "properties": + { + "altDeploymentRepository": "s3::default::s3://sbb-polarion-maven-repo/polarion.mvn" + } + }, { "id": "githubDeploy", "properties": @@ -70,6 +77,9 @@ jobs: - name: Extract artefact version id: artefact_version run: echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT + - name: Publish to S3 bucket + if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') && github.ref == 'refs/heads/main' }} + run: mvn --batch-mode deploy -Ps3Deploy - name: Publish to GitHub Packages if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') && github.ref == 'refs/heads/main' }} run: mvn --batch-mode deploy -PgithubDeploy diff --git a/src/main/resources/webapp/interceptor-admin/js/settings.js b/src/main/resources/webapp/interceptor-admin/js/settings.js index cb39cf4..9a72712 100644 --- a/src/main/resources/webapp/interceptor-admin/js/settings.js +++ b/src/main/resources/webapp/interceptor-admin/js/settings.js @@ -44,8 +44,8 @@ function getItemTypeName(itemType) { function getInterceptorTypeName(hookType) { switch (hookType) { - case 'SAVE': return 'pre-save'; - case 'DELETE': return 'pre-delete'; + case 'SAVE': return 'save'; + case 'DELETE': return 'delete'; } return hookType; }