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

fix: allow multiple gateway and api ports #1092

Merged
merged 7 commits into from
Sep 6, 2019

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented Sep 6, 2019

Fixes #1091

On the case there is an array of API or Gateway addresses and one or more of them collide with already busy ports, we show this message:

image

Users that have multiple addresses for API/Gateway already changed the configuration on their own and know how to solve this kind of issues.

License: MIT
Signed-off-by: Henrique Dias [email protected]

License: MIT
Signed-off-by: Henrique Dias <[email protected]>
@hacdias hacdias requested review from alanshaw and lidel September 6, 2019 12:58
@hacdias hacdias mentioned this pull request Sep 6, 2019
16 tasks
Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a test?

src/daemon/daemon.js Outdated Show resolved Hide resolved
src/daemon/daemon.js Show resolved Hide resolved
src/daemon/daemon.js Show resolved Hide resolved
assets/locales/en.json Outdated Show resolved Hide resolved
assets/locales/en.json Outdated Show resolved Hide resolved
hacdias and others added 5 commits September 6, 2019 15:25
@hacdias
Copy link
Member Author

hacdias commented Sep 6, 2019

Needs a test?

Just added one to make sure it boots up with multiple addresses. It does not test the case when there are collisions. Will do that in the feature.

There are a lot of tests planned!

License: MIT
Signed-off-by: Henrique Dias <[email protected]>
@hacdias
Copy link
Member Author

hacdias commented Sep 6, 2019

As per @alanshaw's suggestion, the dialog was changed:

image

Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some copy changes + suggestion to quit when user clicks on the "I will fix the configuration" button

New version looks ok :D

@hacdias hacdias merged commit b042ffe into master Sep 6, 2019
@hacdias hacdias deleted the fix/allow-multiple-gateway-api-addrs branch September 6, 2019 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when have multiple API or Gateway addresses
3 participants