Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-22489

Add status for notification history entries

XMLWordPrintable

      Since we added the Camel processor, processed notifications were sent to a third party server that finishes the processing in an asyncronous way - We can have ongoing process after we store the entry in the database. 

      These process have a mechanism to notify us when they are done and their status - but currently the notification history only has a boolean to signal the status. This value is used to tell if there was an error or if the process was successfully.

      We should replace this boolean with an enum to propperly indicate the current status in the process:

      • FAILED_CREATION - When a notification was triggered, but the processor didn't answered properly
      • PROCESSING - When a notification was accepted by the processor
      • FAILED_PROCESSING - A notification was processed and the outcome was a failure
      • SUCCESS - A notification was processed and the outcome was success

       

      A separate story/task might need to be created for the related UI work of displaying this information.

      We need to have special care to store the values of this enum as strings and not as numbers.

              jmartine@redhat.com Josejulio Martínez
              jmartine@redhat.com Josejulio Martínez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: