JOC - JobScheduler Operations Center
  1. JOC - JobScheduler Operations Center
  2. JOC-460

Adding event should not add an expires date if not specified

    Details

      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":{
      }}
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Sourabh Agrawal
            Reporter:
            Uwe Risse
            Approver:
            Uwe Risse
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: