What is the expected behavior of using the Worklight 6.2 vitality queries to validate an application? -



What is the expected behavior of using the Worklight 6.2 vitality queries to validate an application? -

i attempting utilize worklight server vitality query validate application installed on worklight server documented here http://www-01.ibm.com/support/knowledgecenter/sszh4a_6.2.0/com.ibm.worklight.monitor.doc/admin/r_vitality_query.html

in browser accessing url http://localhost:10080/wlhealth/ws/rest/vitality?app=somedummyapp

i believe proper response server contain alert element indicates application "somedummyapp" isn't installed in server. (which isn't)

instead getting next response:

<root> <alert> <date>2014-10-09t22:48:47.381-0400</date> <eventid>0</eventid> <system>wrkl</system> <subject>srv</subject> <computer>192.168.1.6</computer> <description>server running</description> </alert> <alert> <date>2014-10-09t22:48:47.381-0400</date> <eventid>0</eventid> <system>wrkl</system> <subject>appl</subject> <computer>192.168.1.6</computer> <description>application 'somedummyapp' deployed</description> </alert> <alert> <date>2014-10-09t22:48:47.381-0400</date> <eventid>0</eventid> <system>wrkl</system> <subject>build</subject> <computer>192.168.1.6</computer> <description>6.2.0.00.20140915-1601</description> </alert> </root>

as comment states above believe have encountered defect in regards "application 'somedummyapp' deployed" description vitality check outputting. have opened defect internally, below can show expected result application not deployed:

if application "somedummyapp" not deployed server , accessed next url:

http://localhost:10080/wlhealth/ws/rest/vitality?app=somedummyapp

an alert appear in response next output:

-<alert> <date>2014-10-14t14:02:43.601-0400</date> <eventid>2</eventid> <system>wrkl</system> <subject>appl</subject> <computer>{ip_address}</computer> <description>application 'somedummyapp' not deployed</description> </alert>

as can see eventid set "2" not deployed application. description set "application 'somedummyapp' not deployed".

worklight worklight-server

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -