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

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

public class serviceReconcile
extends java.lang.Object

serviceReconcile is a RESTFul service which performs Create, Read, Update and Delete operations on a Service's Reconciliation Schedule.

This resource is available at: http://<hostname>:<port>/<context root>/<servlet path>/serviceReconcile/{dnStr} For GET and PUT Methods the dnStr represents the DN of the Service For POST and DELETE (Create Reconciliation) specific Reconcilation Id should be sent.


Constructor Summary
serviceReconcile()
           
 
Method Summary
 java.lang.String DELETE(java.lang.String json, java.lang.String profileName, java.lang.String dnstr)
          Processes a DELETE request (Delete Reconciliation Unit).
 java.lang.String GET(javax.servlet.http.HttpServletRequest requestObj, javax.servlet.http.HttpServletResponse responseObj, java.lang.String strDN)
          Processes a GET request (READ) and returns a JSON Array containing the Service's Reconciliation Schedule.
 java.lang.String POST(javax.servlet.http.HttpServletRequest requestObj, javax.servlet.http.HttpServletResponse responseObj, java.lang.String strDN)
          Processes a POST request (Reconciliation Update) by specifying the Reconciliation ID being updated.
 java.lang.String PUT(java.lang.String json, java.lang.String profileName, java.lang.String dnstr)
          Processes a PUT request (Create Reconciliation Unit).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

serviceReconcile

public serviceReconcile()
Method Detail

GET

public java.lang.String GET(@Context
                            javax.servlet.http.HttpServletRequest requestObj,
                            @Context
                            javax.servlet.http.HttpServletResponse responseObj,
                            java.lang.String strDN)
                     throws java.rmi.RemoteException,
                            com.ibm.itim.apps.ApplicationException
Processes a GET request (READ) and returns a JSON Array containing the Service's Reconciliation Schedule.
 e.g. http://192.168.1.94/goonit/goonapi/serviceReconcile/erglobalid=5913724919930104998,ou=services,erglobalid=00000000000000000000,ou=goonit,dc=com2

Returns:
{"items":[{"id":5501780698893619903, "minute":0, "hour":0, "dayOfMonth":-1, "month":0, "dayOfWeek":0, "lockService":false, "name":"Reconciliation Schedule for Linux ISIM Dev", "description":"Default Reconciliation Created By Create Service Wizard", "reconQueryFilter":"", "reconQueryAttrs":["erposixuid","erposixgecos","erposixpreexecrunoption","erposixpwdlastchange","erposixsudoprivileges","erposixshell","erposixcron","erposixprivategroup","erposixmaxpwdage","erposixpwdwarnage","erposixhomedir","erposixumask","erposixminpwdage","erposixforcepwdchange","erposixprimarygroup","erposixsecondgroup","eruid","erposixdefaulthomedir","erposixexpiredate","erposixloginretries","erposixpreexec","erposixdupuid","erposixpostexecrunoption","erposixpostexec","erposixat","erposixpwdmaxage","erposixperhomedir","eraccountstatus"],"lastReconDuration":0,"maxDuration":36000000,"minuteDuration":60000}],"attributes":["erposixuid","erposixgecos","erposixpreexecrunoption","erposixpwdlastchange","erposixsudoprivileges","erposixshell","erposixcron","erposixprivategroup","erposixmaxpwdage","erposixpwdwarnage","erposixhomedir","erposixumask","erposixminpwdage","erposixforcepwdchange","erposixprimarygroup","erposixsecondgroup","eruid","erposixdefaulthomedir","erposixexpiredate","erposixloginretries","erposixpreexec","erposixdupuid","erposixpostexecrunoption","erposixpostexec","erposixat","erposixpwdmaxage","erposixperhomedir","eraccountstatus" ]}
Throws:
java.rmi.RemoteException
com.ibm.itim.apps.ApplicationException

POST

public java.lang.String POST(@Context
                             javax.servlet.http.HttpServletRequest requestObj,
                             @Context
                             javax.servlet.http.HttpServletResponse responseObj,
                             java.lang.String strDN)
                      throws java.rmi.RemoteException,
                             com.ibm.itim.apps.ApplicationException
Processes a POST request (Reconciliation Update) by specifying the Reconciliation ID being updated.
 e.g. http://192.168.1.94/goonit/goonapi/serviceReconcile/5501780698893619903
 messageBody
 {"id":5501780698893619903,
 "minute":0,
 "hour":0,
 "dayOfMonth":-1,
 "month":0,
 "dayOfWeek":0,
 "lockService":false,
 "name":"Reconciliation Schedule for Linux ISIM Dev",
 "description":"Default Reconciliation Created By Create Service Wizard",
 "reconQueryFilter":"",
 "reconQueryAttrs":["erposixuid","erposixgecos","erposixpreexecrunoption","erposixpwdlastchange","erposixsudoprivileges","erposixshell","erposixcron","erposixprivategroup","erposixmaxpwdage","erposixpwdwarnage","erposixhomedir","erposixumask","erposixminpwdage","erposixforcepwdchange","erposixprimarygroup","erposixsecondgroup","eruid","erposixdefaulthomedir","erposixexpiredate","erposixloginretries","erposixpreexec","erposixdupuid","erposixpostexecrunoption","erposixpostexec","erposixat","erposixpwdmaxage","erposixperhomedir","eraccountstatus"],"lastReconDuration":0,"maxDuration":36000000,"minuteDuration":60000}],"attributes":["erposixuid","erposixgecos","erposixpreexecrunoption","erposixpwdlastchange","erposixsudoprivileges","erposixshell","erposixcron","erposixprivategroup","erposixmaxpwdage","erposixpwdwarnage","erposixhomedir","erposixumask","erposixminpwdage","erposixforcepwdchange","erposixprimarygroup","erposixsecondgroup","eruid","erposixdefaulthomedir","erposixexpiredate","erposixloginretries","erposixpreexec","erposixdupuid","erposixpostexecrunoption","erposixpostexec","erposixat","erposixpwdmaxage","erposixperhomedir","eraccountstatus"
 }

Returns:
"Success" or HTTP Response code. There is no ISIM Request.
Throws:
java.rmi.RemoteException
com.ibm.itim.apps.ApplicationException

DELETE

public java.lang.String DELETE(java.lang.String json,
                               java.lang.String profileName,
                               java.lang.String dnstr)
Processes a DELETE request (Delete Reconciliation Unit). The {reconciliationID} parameter must be sent
 e.g. http://192.168.1.94/goonit/goonapi/serviceReconcile/5501780698893619903

Returns:
"success" or HTTP Error Code

PUT

public java.lang.String PUT(java.lang.String json,
                            java.lang.String profileName,
                            java.lang.String dnstr)
Processes a PUT request (Create Reconciliation Unit). The {serviceDN} parameter must be sent
 e.g. http://192.168.1.94/goonit/goonapi/serviceReconcile/erglobalid=5913724919930104998,ou=services,erglobalid=00000000000000000000,ou=goonit,dc=com2

Returns:
{ "minute":30, "hour":02, "dayOfMonth":-1, "month":0, "dayOfWeek":0, "lockService":false, "name":"Reconciliation Schedule for Linux ISIM Dev", "description":"Reconcile Accounts beginning with A", "reconQueryFilter":"(eruid=a*)", "reconQueryAttrs":["erposixuid","erposixgecos","erposixpreexecrunoption","erposixpwdlastchange","erposixsudoprivileges","erposixshell","erposixcron","erposixprivategroup","erposixmaxpwdage","erposixpwdwarnage","erposixhomedir","erposixumask","erposixminpwdage","erposixforcepwdchange","erposixprimarygroup","erposixsecondgroup","eruid","erposixdefaulthomedir","erposixexpiredate","erposixloginretries","erposixpreexec","erposixdupuid","erposixpostexecrunoption","erposixpostexec","erposixat","erposixpwdmaxage","erposixperhomedir","eraccountstatus"],"lastReconDuration":0,"maxDuration":36000000,"minuteDuration":60000}],"attributes":["erposixuid","erposixgecos","erposixpreexecrunoption","erposixpwdlastchange","erposixsudoprivileges","erposixshell","erposixcron","erposixprivategroup","erposixmaxpwdage","erposixpwdwarnage","erposixhomedir","erposixumask","erposixminpwdage","erposixforcepwdchange","erposixprimarygroup","erposixsecondgroup","eruid","erposixdefaulthomedir","erposixexpiredate","erposixloginretries","erposixpreexec","erposixdupuid","erposixpostexecrunoption","erposixpostexec","erposixat","erposixpwdmaxage","erposixperhomedir","eraccountstatus" }