WorkOrder translation
Work order translation consists of transforming a work order into a cartridge work order, which can then be used by the cartridge framework.
-
A work order (WO) is defined by an element type and a command name.
-
A cartridge work order (CWO) is defined by a cartridge instance type and a command name.
This translation can be performed once the routing is resolved and the work order cartridge instance name is known.
In the following table, the four work orders have to be renamed depending on HLR instance type. For HLR_Alcatel type, no translation is needed as cartridge work order names match work order names.
HLR Cartridge instance types | |||||
WorkOrder name | HLR_R8 | HLR_Ericsson | HLR_Alcatel | HLR_x345 | HLR_x345b |
createSubscriber | createSub | creSub | createSubscriber | cSub | cSub |
deleteSubscriber | deleteSub | delSub | deleteSubscriber | dSub | dSub |
activateProfile | setProfile | setSub | activateProfile | - | setupProfile |
addSubService | addSS | addSubService | addSubService | cSS | cSS |
The above table is defined using TRANS sections in the data mapping configuration file (extension dm), with the following format:
TRANS:<element type>.<wo commandname>/<factory name>:<cartridge instance type>.<cwo commandname>
For example:
TRANS:HLR.createSubscriber/PoolFactory:HLR_R8.createSub [ // mapping definition ] TRANS:HLR.createSubscriber/PoolFactory:HLR_Ericsson.creSub [ // mapping definition ] TRANS:HLR.createSubscriber/PoolFactory:HLR_x345.cSub [ // mapping definition ] TRANS:HLR.createSubscriber/PoolFactory:HLR_x345b.cSub [ // mapping definition ] ...