Skip to content

CLOUDSTACK-9236: Load Balancing Health Check button displayed when non-NetScaler offering is used#1338

Merged
asfgit merged 1 commit into
apache:4.7from
nitin-maharana:CloudStack-Nitin21_4.7
Jan 19, 2016
Merged

CLOUDSTACK-9236: Load Balancing Health Check button displayed when non-NetScaler offering is used#1338
asfgit merged 1 commit into
apache:4.7from
nitin-maharana:CloudStack-Nitin21_4.7

Conversation

@nitin-maharana
Copy link
Copy Markdown
Contributor

Load balancing health check option / button should only be displayed when a NetScaler based networking offering is being used.

If you try to use the health check option when NetScaler is not being used as the load balancing technology the UI throws an error stating that the health check option is not supported.

This button / option should be removed from the UI if NetScaler is not included in the network offering as customers will be confused.

Fix:

This button will be shown only when the load balancer is NetScaler.
Otherwise it is hidden.

@rafaelweingartner
Copy link
Copy Markdown
Member

@nitin-maharana, if you create the function I suggested you to create in PR #1337, you could re-use it here. The code block 3637-3650 is the same as the one in the other PR and you are working in the same file.

@nitin-maharana
Copy link
Copy Markdown
Contributor Author

@rafaelweingartner : Superb I will make the modification on both PRs. Thanks.

…n-NetScaler offering is used

This button will be shown only when the load balancer is NetScaler.
Otherwise it is hidden.
@remibergsma
Copy link
Copy Markdown
Contributor

@nitin-maharana I like it when you put screenshots, as this speeds up my testing because I can see what you mean. I will test it soon, can you help me by putting a screenshot so that I look for the right thing? Thanks!

Update: Never mind, figured it out ;-)

@remibergsma
Copy link
Copy Markdown
Contributor

LGTM based on these tests:

Situation before when not using Netscaler:

screen shot 2016-01-18 at 15 37 25

screen shot 2016-01-18 at 15 34 47

screen shot 2016-01-18 at 15 34 58

Basically, the button is displayed but throws an ugly message.

After the fix in this PR the button is hidden:

screen shot 2016-01-18 at 15 38 46

Didn't test if it shows when using Netscaler, as I don't have it in my test environment.

@DaanHoogland
Copy link
Copy Markdown
Contributor

I have some remarks about style (made one) but the logic looks fine. LGTM

@asfgit asfgit merged commit 3787f4d into apache:4.7 Jan 19, 2016
asfgit pushed a commit that referenced this pull request Jan 19, 2016
CLOUDSTACK-9236: Load Balancing Health Check button displayed when non-NetScaler offering is usedLoad balancing health check option / button should only be displayed when a NetScaler based networking offering is being used.

If you try to use the health check option when NetScaler is not being used as the load balancing technology the UI throws an error stating that the health check option is not supported.

This button / option should be removed from the UI if NetScaler is not included in the network offering as customers will be confused.

Fix:
===
This button will be shown only when the load balancer is NetScaler.
Otherwise it is hidden.

* pr/1338:
  CLOUDSTACK-9236: Load Balancing Health Check button displayed when non-NetScaler offering is used

Signed-off-by: Remi Bergsma <github@remi.nl>
@nitin-maharana
Copy link
Copy Markdown
Contributor Author

Thanks @remibergsma. Sorry I saw your comments bit late. You have already figured it out. Thanks @DaanHoogland

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.

5 participants