@@ -154,6 +154,26 @@ public void testRetrieveJobEventsSince() throws Exception
154154 List <SIF3JobEvent > jobEvents = service .retrieveJobEventsSince (changesSince , "RolloverStudents" , "3ae742dc-0c74-444f-b761-560a9fec5178" ,"auSchoolTestingZone" , null , new PagingInfo (5 , 2 ), AdapterType .ENVIRONMENT_PROVIDER );
155155 System .out .println ("Job Events: " +jobEvents );
156156 }
157+
158+ public void testRetrieveJobEvents () throws Exception
159+ {
160+ AdapterType adapterType = AdapterType .ENVIRONMENT_PROVIDER ;
161+ String serviceType = "RolloverStudents" ;
162+ List <SIF3JobEvent > jobEvents = service .retrieveJobEvents (serviceType , adapterType , true );
163+ System .out .println ("Events for Service " +serviceType + " and AdapterType " + adapterType + ":" );
164+ for (SIF3JobEvent event : jobEvents )
165+ {
166+ System .out .println ("internalID=" + event .getInternalID () +
167+ ", eventType=" + event .getEventType () +
168+ ", zoneID=" + event .getZoneID () +
169+ ", contextID=" + event .getContextID () +
170+ ", fingerprint=" + event .getFingerprint () +
171+ ", jobID=" + event .getJobID () +
172+ ", eventDate=" + event .getEventDate () +
173+ ", consumerRequested=" + event .isConsumerRequested ());
174+ }
175+ }
176+
157177
158178 public void testRemoveExpiredJobs () throws Exception
159179 {
@@ -217,7 +237,8 @@ public static void main(String[] args)
217237// tester.testRemoveJobsWithoutChangeSince();
218238// tester.testRemoveCreatedJobsWithoutChangeSince();
219239// tester.testRemoveExpiredAndStaleJobs();
220- tester .testRetrieveJobEventsSince ();
240+ // tester.testRetrieveJobEventsSince();
241+ tester .testRetrieveJobEvents ();
221242
222243 tester .shutdown ();
223244 }
0 commit comments