Donatien Schmitz
07/26/2022, 11:50 AMSavepointTriggerHandlers skeleton. Unit tests using the TestingRestfulGateway work fine but I keep on hitting the UnsupportedOperationException from RestfulGateway for the new added method when using the REST api. I did implement the new method but hitting this exception makes me think it is not in the proper class. Can anyone give me some insights on the effectively used gateway when performing api calls? thanks!
(More details in the comments)Donatien Schmitz
07/26/2022, 11:52 AMDonatien Schmitz
07/26/2022, 11:54 AMDonatien Schmitz
07/26/2022, 11:59 AMChesnay Schepler
07/26/2022, 12:00 PMUnsupportedOperationException ?Chesnay Schepler
07/26/2022, 12:00 PMRestfulGateway implementations did you modify to implement the added method?Donatien Schmitz
07/26/2022, 12:04 PMDonatien Schmitz
07/26/2022, 12:05 PMChesnay Schepler
07/26/2022, 12:07 PMRestfulGateway.triggerRescheduling is actually implemented; did you just add it to the interface with a default implementation that throws an UnsupportedOperationException, and didn't touch any class implementing the interface?Donatien Schmitz
07/26/2022, 12:07 PMtriggerCheckpointDonatien Schmitz
07/26/2022, 12:08 PMJobMasterChesnay Schepler
07/26/2022, 12:08 PMDonatien Schmitz
07/26/2022, 12:08 PMDonatien Schmitz
07/26/2022, 12:09 PMChesnay Schepler
07/26/2022, 12:09 PMDonatien Schmitz
07/26/2022, 12:12 PMDonatien Schmitz
07/26/2022, 12:12 PMDonatien Schmitz
07/26/2022, 12:12 PMChesnay Schepler
07/26/2022, 12:12 PM@Override annotations to catch such mistakes early.Donatien Schmitz
07/26/2022, 12:12 PMDonatien Schmitz
07/26/2022, 12:14 PMDonatien Schmitz
07/26/2022, 1:31 PM