com.goonit.imapi.jaxrs.servlet.isim
Class workflowSearch

java.lang.Object
  extended by com.goonit.imapi.jaxrs.servlet.isim.workflowSearch

public class workflowSearch
extends java.lang.Object

 workflowSearch/ 
 
 UNDER DEVELOPMENT - currently returns all WorkflowProcesses for the last 24 hours
 
 In the future will accept a POST of Search Parameters (Submitted for, Submitted by, Service, Date, etc)

 http://<hostname>:<port>/<context root>/goonapi/workflowSearch
 


Constructor Summary
workflowSearch()
           
 
Method Summary
 java.lang.String GET(javax.servlet.http.HttpServletRequest requestObj, javax.servlet.http.HttpServletResponse responseObj, java.lang.String filter)
          workflowSearch/ is a JAX-RS resource which returns all Workflow Process for last 24 hours.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

workflowSearch

public workflowSearch()
Method Detail

GET

public java.lang.String GET(@Context
                            javax.servlet.http.HttpServletRequest requestObj,
                            @Context
                            javax.servlet.http.HttpServletResponse responseObj,
                            java.lang.String filter)
                     throws java.lang.Exception
workflowSearch/ is a JAX-RS resource which returns all Workflow Process for last 24 hours.
 All processes are returned
 http://<hostname>:<port>/<context root>/goonapi/workflowSearch
 

Returns:
{"items":[ {"processType":"RC", "requester":{"dn":{"rawDn":"ou=goonit,dc=com2"},"type":"P"}, "requesterName":"goonit", "timeSubmitted":"Jun 7, 2013 6:33:52 AM", "timeScheduled":"Jun 7, 2013 6:33:52 AM", "requesteeDN":{}, "subject":"Linux ISIM Dev", "subjectProfile":"PosixLinuxProfile", "subjectService":"Linux ISIM Dev", "tenant":{"rawDn":"ou=goonit,dc=com2"}, "notify":0, "parentProcessId":0, "severityCode":-1, "id":2098802251117165089, "priority":1, "name":"reconciliation", "description":"reconciliationDesc", "lastModified":"Jun 7, 2013 6:33:57 AM", "state":"C", "timeStarted":"Jun 7, 2013 6:33:52 AM", "timeCompleted":"Jun 7, 2013 6:33:57 AM", "result":"SS","detail":""}, {"processType":"RC", "requester":{"dn":{"rawDn":"ou=goonit,dc=com2"}, "type":"P"}, "requesterName":"goonit", "timeSubmitted":"Jun 7, 2013 6:33:46 AM", "timeScheduled":"Jun 7, 2013 6:33:46 AM", "requesteeDN":{}, "subject":"Goon LDAP ITIM", "subjectProfile":"LdapProfile", "subjectService":"Goon LDAP ITIM", "tenant":{"rawDn":"ou=goonit,dc=com2"}, "notify":0, "parentProcessId":0, "severityCode":-1,"id":2098772999625955741, "priority":1, "name":"reconciliation", "description":"reconciliationDesc", "lastModified":"Jun 7, 2013 6:33:53 AM", "state":"C", "timeStarted":"Jun 7, 2013 6:33:46 AM", "timeCompleted":"Jun 7, 2013 6:33:53 AM", "result":"SS","detail":""}, .... ]}
Throws:
java.lang.Exception