Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4311

Improve translate5 webhooks

    XMLWordPrintable

Details

    Description

      We need to have flexible way to define custom callbacks based on workflow action events.

      The idea how to solve this:

      • add new column in the workflow action table called webhookname
      • the webhook name will be unique for each wanted custom callback. For example:

            for trigger: handleAllFinishOfARole and step translation and state finish we can define as webhookname: handleAllFinishOfARole_default_translation_finish
            where the default is the workfolw, translation is the step and finish is the status * then in the UI you should type the webhook name as key and the url as a value (here the bug for non editable key should be fixed.)

      • then in the triggerCallbackAction the configured values will be evaluated

      Until we have implemented the UI management of the workflow action, for defining new web-hook we will always do it with sql alter file in the workflow action.

      Attachments

        Activity

          People

            aleksandar Aleksandar Mitrev
            aleksandar Aleksandar Mitrev
            Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: