Article Original Creation Date: 2010-05-28
Problem
Wanting to invoke to new system key 'EQUIPMENT_ID' and requires that the new system key be moved with the device when the device undergoes a realm change via a custom provisioning flow (application plugin).
The custom provisioning flow currently supports moving the following system keys under the described scenario.
- RGW_ACCESS_ID
- LINE_ID
These two system keys are currently defined in a DeviceActionPlugin.properties file.
Test Case
- Create a new system key 'EQUIPMENT_ID'.
- Create a new device in a 'pre-provisioned' realm.
- Connect a CPE with EQUIPMENT_ID set.
Custom provisioning flow (application plugin) moves the device to a 'provisioned' realm.
Test Result
- Device correctly moved to the appropriate 'provisioned' realm.
- The EQUIPMENT_ID system key not moved to the 'provisioned' realm.
Environment
ServiceGateway 4.0.x
Solaris 10
JBoss 4.0.4
Oracle 10g
Root Cause
The customer specific application plugin was not capable of correctly handling the described scenario.
Solution
Addressed via code changes to the custom application plugin (Global Services) as well as the addition of the following entry to the DeviceActionPlugin.properties file.
###########################################################################
#### System Key Field Name for the Equipment Id
####
EQUIPMENT_ID_SYSKEY_NAME=EQUIPMENT_ID