-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
None
-
False
-
-
False
-
-
- Create a new property in the billable usage and billable usage aggregate models "updated_at" of type timestamp.
- Propagate the updated_at column created in
SWATCH-3234in the billable usage and billable usage aggregate messages that are sent to the topics "platform.rhsm-subscriptions.billable-usage" and "platform.rhsm-subscriptions.billable-usage-hourly-aggregate". - Add a new configuration property in the services swatch-producer-aws/swatch-producer-azure/swatch-producer-red-hat-marketplace to set the time when a billable usage entity is considered old. By default it's 1 day.
- Then, swatch-producer-aws/swatch-producer-azure/swatch-producer-red-hat-marketplace should ignore messages older than the configured property. (updated_at - now() > configured_property)
- Write component tests for each swatch producer service to verify the new logic.
- depends on
-
SWATCH-3234 Add "updated_at" column in the table "billable_usage_remittance"
-
- Closed
-