Details

    • Type: New Feature
    • Status: Closed
    • Priority: Critical
    • Resolution: Incomplete
    • Affects Version/s: 4.7.0
    • Fix Version/s: None
    • Component/s: core.api
    • Labels:
    • Environment:

      Any

      Description

      Outside of HUE, Oozie has a RESTful API that you can quickly deploy new workflows and coordinators to; however, there is no equivalent API inside the HUE environment. This causes unnecessary manual steps to import workflows through the Import UI each time a change is made to a workflow. It would be highly beneficial to expose a similar RESTful API for HUE that can be invoked to update the underlying HUE database when a new Oozie workflow has been deployed or updated from an automated process (i.e. Chef or Puppet).

      Would like to propose something similar to the following:

      POST oozie/workflows
      Request
      {
        "name":"{name}",
        "description":"{description}",
        "is_shared":"{is_shared}",
        "hdfs_deployment_directory":"{hdfs_deployment_directory}",
        "job_xml_file":"{hdfs_job_xml_file}",
        "workflow":"{xml workflow definition}"
      }
      
      Response
      {
        "id":"{id}"
      }
      
      PUT oozie/workflows/{id}
      Request
      {
        "name":"{name}",
        "description":"{description}",
        "is_shared":"{is_shared}",
        "hdfs_deployment_directory":"{hdfs_deployment_directory}",
        "job_xml_file":"{hdfs_job_xml_file}",
        "workflow":"{xml workflow definition}"
      }
      
      Response
      {
      }
      

        Attachments

          Activity

            People

            • Assignee:
              romain Romain Rigaux
              Reporter:
              greenlantern Mike Zimmerman
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: