Title:
Bug 86939:(Watson Migration Closure)getGatewayInstanceStatus only returns boolean for a given gateway instance but as far as i can see from cfadmin there are (at least) 4 states for a gateway:- started- starting- stopped- stoppingi gues
| View in TrackerStatus/Resolution/Reason: Closed/Deferred/
Reporter/Name(from Bugbase): Paul Hastings / Paul Hastings (PaulH)
Created: 06/13/2011
Components: Event Gateway
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 4
Problem:
getGatewayInstanceStatus only returns boolean for a given gateway instance but as far as i can see from cfadmin there are (at least) 4 states for a gateway:- started- starting- stopped- stoppingi guess for most gateways it's "who cares" but for ones that take some time to get rolling (like the SMS one) returning true for starting/false for stopping isn't quite kosher.
Method:
start the default SMS gateway w/out starting the local SMS test server. check the gateway's status via getGatewayInstanceStatus , it will return "true" even though the gateway 's in a "Starting" state. i can confirm this also happens w/production SMS servers.getGatewayInstanceStatus really needs to return more than a boolean for a gateway's status, it should at last return one of the 4 gateway states.
Result:
getGatewayInstanceStatus only returns boolean for a given gateway instance but as far as i can see from cfadmin there are (at least) 4 states for a gateway.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3043858
External Customer Info:
External Company:
External Customer Name: Paul Hastings
External Customer Email: 00EE238442D680B29920157F
External Test Config: 06/13/2011
Attachments:
Comments: