Author: remi
Date: 2009-06-12 10:16:17 +0200 (Fri, 12 Jun 2009)
New Revision: 4800
Modified:
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/01_resourcePluginsServer.py
Log:
* added support of alerts type "check" (throwResult)
Modified:
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/01_resourcePluginsServer.py
===================================================================
---
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/01_resourcePluginsServer.py
2009-06-12 08:15:15 UTC (rev 4799)
+++
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/01_resourcePluginsServer.py
2009-06-12 08:16:17 UTC (rev 4800)
@@ -194,6 +194,9 @@
def __onPluginResult(self, pluginInterpreterContext, pluginResult):
plugin = pluginInterpreterContext.getParentPlugin()
+ if str(pluginResult).lower() == "true":
+
resourceRobotContentInteractions.getPguContextsManager().createPguContext(
+ pluginInterpreterContext)
self.logger.logDebug("Plugin RESULT [%s] (%s)" % (
plugin.getDescription().getName(), str(pluginResult)))
@@ -224,7 +227,7 @@
plugin.getDescription().getName(),
str(pluginInterpreterContext.getInstanceParameters())))
command =
plugin.getCommand(pluginInterpreterContext.getInstanceCommandName())
- if not command.isNotifier():
+ if (not command.isNotifier()) and (command.getName() == "run"):
resourceRobotContentInteractions.getPguContextsManager().createPguContext(
pluginInterpreterContext)
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn