IScript Reload Semaphore Is Not Updating Ifw Process Memory

(Doc ID 1601726.1)

Last updated on JULY 27, 2017

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.5.0.0.0 to 7.5.0.0.0 [Release 7.5.0]
Information in this document applies to any platform.

Symptoms

On : 7.5.0.0.0 version, Pipeline Manager

iScript reload semaphore is not updating ifw process memory


Steps to reproduce
-----------------------
1. Create an  Iscript file abc.isc with below information.

-------
function BEGIN
{
 PeakAllowedSeconds = regString(registryNodeName() + ".PeakAllowedSeconds");
logFormat( "This script is located at registry and inside BEGIN: " + registryNodeName () );
OffPeakAllowedSeconds = regString(registryNodeName() + ".OffPeakAllowedSeconds");
i = strToLong ( OffPeakAllowedSeconds );
edrLong(DETAIL.CREDIT_LIMIT_CHECK_RESULT) = i;
}
function onDetailEdr
{
logFormat( "This script is located at registry and Outside BEGIN: " + registryNodeName () );
AllowdQuantity = strToDecimal ( PeakAllowedSeconds );
edrDecimal(DETAIL.UNRATED_QUANTITY) = AllowdQuantity;
}
--------------

2. Add Iscript function and an Edrdump in wirelessRealtime.reg before FCT_Discount in DiscountPipeline pipeline. Like below
--------------
FUPCheck
  {
    ModuleName = FCT_IScript
    Module
    {
      Active = True
      Source = FILE
      Scripts
      {
        FUPCheck
        {
          PeakAllowedSeconds = 720
          OffPeakAllowedSeconds = 840
          PeakHours = 8:30-10:30,11:30-11:45,12:30-14:30
          UnliVoResourceId = 1100011
          FileName = ./abc.isc
        }
      }
    }
  }
  EdrDump_MainRating_pre2
  {
  ModuleName = FCT_EdrDump
  Module
  {
  Active = True
  FileName = ./data/dump/MainRating_pre2.dump
  }
  }
------------------
3. Start the realtime pipeline and create a account with Standard GSM plan
4. In edrdumps we can see the 720
---------
MainRating_pre2.dump_before_reg_change:UNRATED_QUANTITY: :SET                   <720>                 :SET
------------
5. Change the value of PeakAllowedSeconds = 720 to 600 in wirelessRealtime.reg file
6. Send semaphore like this
----------
ifw.Pipelines.DiscountPipeline.Functions.Standard.FunctionPool.FUPCheck.Module.Reload {}
ifw.Pipelines.DiscountPipeline0.Functions.Standard.FunctionPool.FUPCheck.Module.Reload {}
ifw.Pipelines.DiscountPipeline1.Functions.Standard.FunctionPool.FUPCheck.Module.Reload {}
--------

But there is no value change in info_RT.reg, it remain same 720.

Here the edr which is collected after Iscript
------------
MainRating_pre2.dump:UNRATED_QUANTITY: :SET                   <720>                 :SET
MainRating_pre2.dump:UNRATED_QUANTITY: :SET                   <720>                 :SET
--------------


7. Purchased deal Standard GSM Telephony for same account and in edrdump also we still see 720 and expected is 600.


ACTUAL BEHAVIOR
----------------------
Changed value is not showing in info_RT.reg and in edr dumps, it remain same 720.

EXPECTED BEHAVIOR
-----------------------
The requirement is to update pipeline memory with PeakAllowedSeconds and OffPeakAllowedSeconds without restarting the ifw process.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms