Skip to content

Command Engine: Move indexing and other actions into "onSuccess" method #4425

@ferrys

Description

@ferrys

As a developer, when calling a command such as CreateDatasetCommand, I want to be able to do things like index the dataset after the dataset as been successfully created and the EJB transaction has completed, so that I will never have a scenario where my dataset was indexed but it does not exist in the database.

@scolapasta and I started a little bit of work related to this issue but determined it needed a bigger discussion surrounding its implementation. The current work on branch 4425-on-success is not what we think the correct solution will be, but just initial work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions