Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add create/delete context operations to the AxonServerContainer #2764

Open
smcvb opened this issue Jun 21, 2023 · 0 comments
Open

Add create/delete context operations to the AxonServerContainer #2764

smcvb opened this issue Jun 21, 2023 · 0 comments
Assignees
Labels
Priority 3: Could Low priority. Issues that are nice to have but have a straightforward workaround. Status: In Progress Use to signal this issue is actively worked on. Type: Feature Use to signal an issue is completely new to the project.

Comments

@smcvb
Copy link
Member

smcvb commented Jun 21, 2023

Feature Description

It would be beneficial if the AxonServerContainer contained a create and delete context operation.
Having these would simplify multi-node Axon Server test cases where a custom context is desired.
The following pointers come to mind for this feature:

  1. Validate whether we're dealing with a multi-node Axon Server setup, as otherwise contexts cannot be created.
  2. Operation to select the replication group should be present.

Current Behaviour

There is no provided create/delete operation on the AxonServerContainer.
As such, users are inclined to deal with the AxonServerConnectionManager in their test case themselves to achieve context construction.

Wanted Behaviour

The AxonServerContainer provides an operation to create and delete contexts.

Possible Workarounds

Users can utilize the AxonServerConnectionManager in their test case to access the ControlChannel for context creation/deletion.

@smcvb smcvb added Type: Feature Use to signal an issue is completely new to the project. Priority 3: Could Low priority. Issues that are nice to have but have a straightforward workaround. labels Jun 21, 2023
@smcvb smcvb changed the title Add create/delete context operations to the `AxonServerContainer Add create/delete context operations to the AxonServerContainer Jun 21, 2023
smcvb added a commit that referenced this issue Jun 21, 2023
Add scaffolding for create/delete context operations

#2764
@smcvb smcvb self-assigned this Jun 21, 2023
@smcvb smcvb added the Status: In Progress Use to signal this issue is actively worked on. label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority 3: Could Low priority. Issues that are nice to have but have a straightforward workaround. Status: In Progress Use to signal this issue is actively worked on. Type: Feature Use to signal an issue is completely new to the project.
Projects
None yet
Development

No branches or pull requests

1 participant