My Oracle Support Banner

Quantity Is Getting Splitted While Rating In Decimal (Doc ID 3038422.1)

Last updated on AUGUST 07, 2024

Applies to:

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

Goal

On ECE 12.0.0.6.4 version

It is observed that quantity is getting split in decimal, which is impacting the resource as well in decimal. This issue is happening when one of the bucket is going to expire in an ongoing session.

For example, default validity time was set to 1800 seconds. When a request has come at 23:58:42, it will give the grant till 00:28:42. But it is observed that the time range has been split to midnight (00:00) and then from 00:00:00 to 00:28:42.

ecs.log shows the below during this:


Split quantity and Resource should not happen.

STEPS:
-------------------
This issue can be reproduced with the below steps:

1. Create an account on 19th July with give 10GB balance to resource A which is valid forever.
2. Purchase add-on which gives 5GB balance to resource B which is valid from 19th July to 19th August.
3. Pass the Initiate at 18th August 23:03.
4. Pass 1st update at 23:25. 2nd update at 23:49.
5. Check the reservation after 2nd update. It can be observed that the reservation is done in decimal. Also in ecs logs we can see the quantity range is also in decimal.
6. Pass terminate. Verify the decimal charging in BRM DB.
 

Solution

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
Goal
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.