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 incremental port assignment strategy #538

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

Add incremental port assignment strategy #538

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, i.e., start at the min port and find ports by incrementing the port by one and selecting the open ones for the application and admin ports).

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
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