My Oracle Support Banner

First Usage Sets Wrong Validity For The Allocated Resources (Doc ID 2808564.1)

Last updated on SEPTEMBER 21, 2021

Applies to:

Oracle Communications BRM - Elastic Charging Engine - Version 11.3.0.7.0 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
-----------------------
When the first usage event is rated after account creation, the validity for the allocated resources is wrong

EXPECTED BEHAVIOR
-----------------------
The valid_from and valid_to should be set to midnight

STEPS
-----------------------
1. Create a subscriber
2. Purchase a bundle with first usage
3. Pass usage request
3. The resources are allocated but the validFrom/validTo are incorrect wherein dates are not rounded to midnight and there is a gap of 1 hr to midnight.
4. See below snippet from balance snap shot:

5. See that "validity = [2021-07-04T20:00:00Z,2021-08-04T20:00:00Z]". That means, for example, the valid_from "2021-07-04T20:00:00Z" translates to "2021-07-4T23:00:00" Romania (in this case) local time. This is 1 hr behind midnight.
6. Expected is "validity = [2021-07-04T21:00:00Z,2021-08-04T21:00:00Z]". That means, for example, the valid_from "2021-07-04T21:00:00Z" translates to "2021-07-05T00:00:00" Romania local time.



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.