Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-2492

Automatically try to convert the input job request when it does not have the expected type

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 14.7-rc-1, 14.4.4
    • 14.4.3
    • Job
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Right now, Jobs are supposed to implement "castRequest" to create the right type of request in case they are not directly called with it (it's common for REST request for example).

      Problem is that Job author very often forget about it. It could actually be automated for pretty much all cases, provided the special Request type expose a constructor that takes a Request as parameter.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: