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(rhsmServices): ent-3352 api response props, mock and tests #786

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

cdcabrera
Copy link
Member

@cdcabrera cdcabrera commented Sep 2, 2021

What's included

  • fix(rhsmServices): ent-3352 api response props, mock and tests
    • inventorySubscriptions, test updates
    • productViewRHEL, OpenShiftContainer, Satellite, initial query, test
    • rhsmServices, types, redux, response constants update

Notes

  • flips the base current subscriptions over to the agreed upon JSON response properties and sort params: next_event_date, next_event_type, and service_level
  • @joeldmyers

How to test

Coverage and basic unit test check

  1. update the NPM packages with $ yarn
  2. $ yarn test
  3. confirm tests come back clean

Local run check

  1. update the NPM packages with $ yarn
  2. $ yarn start
  3. confirm that the current subscriptions tabs for: RHEL, OpenShift Container, and OpenShift Dedicated loads and
    • also confirm that sorting for RHEL and OpenShift Container works for "Service Level" and "Next renewal" by returning api responses with the correct "sort" parameter

Example

...

Updates issue/story

ent-3352

@cdcabrera cdcabrera added story New feature, or process work 202112 project phase labels Sep 2, 2021
@cdcabrera cdcabrera force-pushed the ent-3352-newapiprops branch 2 times, most recently from 3a65c40 to e2fe86a Compare September 8, 2021 14:23
@cdcabrera
Copy link
Member Author

@cdcabrera cdcabrera marked this pull request as ready for review September 14, 2021 15:21
* inventorySubscriptions, test updates
* productViewRHEL, OpenShiftContainer, Satellite, initial query, test
* rhsmServices, types, redux, response constants update
@cdcabrera cdcabrera merged commit fcca73c into RedHatInsights:ci Sep 14, 2021
cdcabrera added a commit that referenced this pull request Sep 15, 2021
* inventorySubscriptions, test updates
* productViewRHEL, OpenShiftContainer, Satellite, initial query, test
* rhsmServices, types, redux, response constants update
cdcabrera added a commit that referenced this pull request Sep 22, 2021
* inventorySubscriptions, test updates
* productViewRHEL, OpenShiftContainer, Satellite, initial query, test
* rhsmServices, types, redux, response constants update
cdcabrera added a commit that referenced this pull request Nov 30, 2021
* inventorySubscriptions, test updates
* productViewRHEL, OpenShiftContainer, Satellite, initial query, test
* rhsmServices, types, redux, response constants update
cdcabrera added a commit that referenced this pull request Dec 6, 2021
* inventorySubscriptions, test updates
* productViewRHEL, OpenShiftContainer, Satellite, initial query, test
* rhsmServices, types, redux, response constants update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
202112 project phase story New feature, or process work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant