Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Create new Purge Task to delete Hook History#269

Open
pcastelog wants to merge 1 commit intovaltech:developfrom
pcastelog:239-remove-hook-history
Open

Create new Purge Task to delete Hook History#269
pcastelog wants to merge 1 commit intovaltech:developfrom
pcastelog:239-remove-hook-history

Conversation

@pcastelog
Copy link
Copy Markdown

I decided to move the logic to a new task since the hook is not compatible with AEMaaCS, and not to grant permissions on a path that is not relevant in the cloud.

There is a downside that maybe, can be addressed in a different issue. At the moment, the intermediate nodes for the history are created without a date to identify them (HookExecutionHistory:65), then the maintenance task needs a couple of runs to delete all nodes (if we don't want to iterate the nodes several times in the task).

At the same time, I saw you did a couple of bumps in dependencies, but the following was not resolved properly in 6.5.23

<dependency> <groupId>org.antlr</groupId> <artifactId>stringtemplate</artifactId> <version>4.0.2</version> </dependency>

Doing a revert to the previous 3.2.1 works fine. Anyway, I didn't modify it, it's up to you to take a look :)

This new task can be setup if the hook is used
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant