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

SWATCH-1233: Drop UOM from the swatch #3776

Merged
merged 1 commit into from
Sep 26, 2024
Merged

SWATCH-1233: Drop UOM from the swatch #3776

merged 1 commit into from
Sep 26, 2024

Conversation

Sgitario
Copy link
Contributor

Jira issue: SWATCH-1233

Description

UOM is no longer referenced in swatch openapi definitions Automation tests are no longer referencing UOM
UOM is no longer referenced in SWatch code
UOM is no longer stored as part of events.
Double check that no queries are using UOM
check bin/ scripts to make sure UOM is no longer referenced

Testing

Only regression testing.

@Sgitario Sgitario added QE Pull request should be approved by QE before merge Dev Pull requests that need developer review labels Sep 23, 2024
@Sgitario Sgitario force-pushed the jcarvaja/SWATCH-1233 branch 2 times, most recently from e007f75 to 45dac2c Compare September 23, 2024 13:34
@wottop wottop self-assigned this Sep 23, 2024
Copy link
Contributor

@wottop wottop left a comment

Choose a reason for hiding this comment

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

swatch-core/src/main/java/org/candlepin/subscriptions/db/model/TallyMeasurementKey.java:77: + ", uom="
swatch-tally/deploy/clowdapp.yaml:708: metric_id as uom,

@liwalker-rh liwalker-rh self-requested a review September 23, 2024 20:03
@liwalker-rh liwalker-rh self-assigned this Sep 23, 2024
@liwalker-rh
Copy link

/retest

@Sgitario
Copy link
Contributor Author

swatch-core/src/main/java/org/candlepin/subscriptions/db/model/TallyMeasurementKey.java:77: + ", uom="

Updated

swatch-tally/deploy/clowdapp.yaml:708: metric_id as uom,

This is used by the floorplan queries, so it should stay as it is as noted in the JIRA description.

PR updated.

@liwalker-rh
Copy link

/retest

Copy link

@liwalker-rh liwalker-rh left a comment

Choose a reason for hiding this comment

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

Changes look good in regression testing. I also added an IQE MR to remove variables named UOM in any test and replaced with metric_id when necessary. This will help to avoid anyone being confused about UOM still being seen in tests in the future. https://gitlab.cee.redhat.com/insights-qe/iqe-rhsm-subscriptions-plugin/-/merge_requests/874

@liwalker-rh liwalker-rh added QE/approved Pull requests that have been approved by all assigned QEs and removed QE Pull request should be approved by QE before merge labels Sep 25, 2024
@ntkathole
Copy link
Member

/retest

@wottop wottop added Dev/approved Pull requests that have been approved by all assigned developers and removed Dev Pull requests that need developer review labels Sep 25, 2024
UOM is no longer referenced in swatch openapi definitions
Automation tests are no longer referencing UOM
UOM is no longer referenced in SWatch code
UOM is no longer stored as part of events.
Double check that no queries are using UOM
check bin/ scripts to make sure UOM is no longer referenced
@liwalker-rh
Copy link

/retest

@Sgitario Sgitario merged commit b127ebd into main Sep 26, 2024
10 of 12 checks passed
@Sgitario Sgitario deleted the jcarvaja/SWATCH-1233 branch September 26, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev/approved Pull requests that have been approved by all assigned developers QE/approved Pull requests that have been approved by all assigned QEs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants