Just some stubs for Master machine tracking SlaveMachines
removing scheduling the Master-heartbeat task until I finish the heartbeat feature on the Slave-side
better error message for unbound URLs
EndPoint value has a default of "" now. This way if you have a Servlet with one endpoint, you don't have to give it a URL.
wrap all success responses in a "result" object, and all error responses in a "error" object.
wrap all success responses in a "result" object, and all error responses in a "error" object.
Adding a custom Assert class.
I was going to use the assertMatches method, but then I used another tactic. But it should be nice to have this class, so I'm keeping it so tests can start using this class.
Adding an interface for tasks that should be sent in the heartbeat (e.g. triggering a downstream job)
Adding a UuidUtil which should be used for generating and validating Uuids.
adding HeartbeatTasks for triggering and waiting for a job. They do nothing so far.
Basic method for queuing jobs. Nothing uses it yet, so it's just a simple map.
stubbing in a heartbeat service.
This will be used to add new Heartbeat tasks remotely, and to give a Master node an endpoint for getting those tasks.
IntelliJ thought it was a good idea to change that when I was moving files around.
My bad for not checking the diffs.
adding JsonUtils to make parsing json a one-step process.
fixing javadoc and making field final.
adding infop and warnp to the logger.
Uses String.format instead of string concat. That way string concat isn't called if the logging isn't enabled that level.
Making HeartbeatItem abstract instead of interface.
I was hoping it would make the stupid polymorphic jackson work, but it's still not working, but I think I like it as an abstract class better anyway.
Adding a json parse for only the class as a parameter. I was going to use it, but didn't, and figured I'd leave it.
implementing the heartbeat service's get and add methods.