Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2259

Create a callback action

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: trunk
    • Component/s: action
    • Labels:
      None

      Description

      Need an action to send notification to external server by oozie. We should be able to do multiple types of callback, Currently I know jms and http call. It should suppose to have capability to call diffrent types of methods along with n number of arguments.
      The sample workflow with callback action

      <workflow-app name="[WF-DEF-NAME]" xmlns="uri:oozie:workflow:0.3">
      ...
      <action name="[NODE-NAME]">
      <callback>
      	<host>[HOST]</host>
      	<method>[METHOD]</command>
      	<arg>
      		<key>[KEY]</key><value>[VALUE]</value>
      	<arg>
                  ...
      </action>
      ...
      </callback>
      ...
      </workflow-app>
      

      HOST : by the host system can figure out if it is http or jms callback action. System will send the notification to that host.
      METHOD : it can be POST/GET/QUEUE/TOPIC

        Attachments

        1. OOZIE-2259_v6.patch
          42 kB
          Jaydeep Vishwakarma
        2. OOZIE-2259_v7.patch
          42 kB
          Jaydeep Vishwakarma
        3. OOZIE-2259-v1.patch
          40 kB
          Jaydeep Vishwakarma
        4. OOZIE-2259-v3.patch
          42 kB
          Jaydeep Vishwakarma
        5. OOZIE-2259-v4.patch
          42 kB
          Jaydeep Vishwakarma
        6. OOZIE-2259-v5.patch
          42 kB
          Jaydeep Vishwakarma
        7. OOZIE-2259-v8.patch
          43 kB
          Jaydeep Vishwakarma
        8. OOZIE-2259-v9.patch
          49 kB
          Jaydeep Vishwakarma

          Issue Links

            Activity

              People

              • Assignee:
                jaydeepvishwakarma Jaydeep Vishwakarma
                Reporter:
                jaydeepvishwakarma Jaydeep Vishwakarma
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: