Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.12.4
-
None
Description
Current Situation
When adding an event in resources/events without specifing expires, expiration_period or expiration_cycle the JOC calculates the actual time as the expires date and put this into the post body.
{"eventId":"111","eventClass":"myClass","exitCode":0,"expires":"2018-07-04T08:41:55.525Z","jobschedulerId":"scheduler_id","auditLog":{ }}
Desired Behavior
When adding an event in resources/events without specifing expires, expiration_period or expiration_cycle JOC should nod add expires to the the post body. The webservice then will use the default that is expiration_date=24:00. The event will expire after 24h
{"eventId":"111","eventClass":"myClass","exitCode":0,"jobschedulerId":"scheduler_id","auditLog":{ }}