Sample ex06 - Queue Priority
This example demonstrates Queue Priority in Fulfillment Provisioning, showing the execution priority of different Service Orders. An additional stream module "prov::Completed" is inserted between SOP and POP modules. A new component is added in Fulfillment Provisioning.kds to demonstrate the changePriority and flushAll operation of orderQueue. The priority of a SO can be changed using the following provadmin script:
provadmin changepriority kpsasample nodename=<nodename> soId=<SO orderId> newpriority=<new priority>
The following provadmin script can be used to flush SO's from the Queue and push them downstream:
provadmin flushall kpsasample nodename=<nodename> portnum=<port number to send the SO>
The soc/act files for the new component can found in src directory. In queuetest.ksh, no changepriority is done. In runtest.ksh, one changepriority is done.
The files from ex00 are first copied to the $NODE/conf directory and then the ex06 files are copied and may overwrite some files from the following directory:
kpsasample/ex06/generic/conf