Skip to content

[VMware] Fix service offerings listing on appliances deployment options#5752

Merged
yadvr merged 2 commits intoapache:4.16from
shapeblue:fixdeployasisofferingslisting
Dec 30, 2021
Merged

[VMware] Fix service offerings listing on appliances deployment options#5752
yadvr merged 2 commits intoapache:4.16from
shapeblue:fixdeployasisofferingslisting

Conversation

@nvazquez
Copy link
Copy Markdown
Contributor

@nvazquez nvazquez commented Dec 6, 2021

Description

The service offerings matching the deployment options requirements were not listed, except unconstrained offerings. This PR fixes the listing of service offerings on VMware deployment options:

Screen Shot 2021-12-06 at 12 00 07

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

@nvazquez nvazquez marked this pull request as ready for review December 6, 2021 15:54
@sureshanaparti
Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✖️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1847

@shwstppr
Copy link
Copy Markdown
Contributor

shwstppr commented Dec 7, 2021

@nvazquez can you please elaborate what behaviour this PR fixes

@sureshanaparti
Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✖️ debian ✖️ suse15. SL-JID 1850

@nvazquez
Copy link
Copy Markdown
Contributor Author

nvazquez commented Dec 7, 2021

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1852

@nvazquez
Copy link
Copy Markdown
Contributor Author

nvazquez commented Dec 8, 2021

@blueorangutan test centos7 vmware-67u3

Copy link
Copy Markdown
Contributor

@sureshanaparti sureshanaparti left a comment

Choose a reason for hiding this comment

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

code LGTM

@sureshanaparti
Copy link
Copy Markdown
Contributor

@blueorangutan test centos7 vmware-67u3

@blueorangutan
Copy link
Copy Markdown

@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan
Copy link
Copy Markdown

Trillian test result (tid-2637)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34127 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5752-t2637-vmware-67u3.zip
Smoke tests completed. 91 look OK, 0 have errors
Only failed tests results shown below:

Test Result Time (s) Test File

Comment on lines +164 to 165
((item.iscustomized === false && maxMemory < this.minimumMemory) ||
(item.iscustomized === true && maxMemory < this.minimumMemory))) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

so,

Suggested change
((item.iscustomized === false && maxMemory < this.minimumMemory) ||
(item.iscustomized === true && maxMemory < this.minimumMemory))) {
(maxMemory < this.minimumMemory) // && (item.iscustomized === false || item.iscustomised == true)

?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

so,

?

+1, maxMemory < this.minimumMemory should be fine. @nvazquez can you check and update.

@yadvr yadvr merged commit c0ddda3 into apache:4.16 Dec 30, 2021
@nvazquez nvazquez deleted the fixdeployasisofferingslisting branch February 12, 2022 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants