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 adjacent port assignment strategy #539

Closed
sleberknight opened this issue Oct 14, 2024 · 0 comments · Fixed by #541
Closed

Add adjacent port assignment strategy #539

sleberknight opened this issue Oct 14, 2024 · 0 comments · Fixed by #541
Assignees
Labels
new feature A new feature such as a new class, method, package, group of classes, etc.
Milestone

Comments

@sleberknight
Copy link
Member

This is a port assignment strategy that checks ports sequentially within the port range to find two open and adjacent ports, i.e., the application port A and admin port M must always be adjacent such that M = A + 1.

Depends on #536

@sleberknight sleberknight added the new feature A new feature such as a new class, method, package, group of classes, etc. label Oct 14, 2024
@sleberknight sleberknight added this to the 3.9.0 milestone Oct 14, 2024
@sleberknight sleberknight self-assigned this Oct 14, 2024
sleberknight added a commit that referenced this issue Oct 14, 2024
* Add IncrementingFreePortFinder, which finds the first two
  open ports within the allowable port range whether adjacent
  or not. The admin port will always be higher than the
  application port.
* Add AdjacentFreePortFinder, which finds the first two open
  and adjacent ports within the allowable port range. The
  admin port will always be one higher than the application port.

Closes #538
Closes #539
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature A new feature such as a new class, method, package, group of classes, etc.
Projects
None yet
1 participant