HUE-898 [oozie] Import workflow definition

Review Request #2484 — Created Nov. 30, 2012 and submitted

abec
old-hue-rw
HUE-898
hue
enricoberti, romain
commit ba21edc9138c676deaed319206c1ea75057a2144
Author: abec <abe@cloudera.com>
Date:   Tue Nov 20 11:30:27 2012 -0800

    HUE-898 [oozie] Import workflow definition
    
    - Use xslt to transform XML to django serialized object
    - Resolve links manually

:100644 100644 ec5d750... 660d797... M	apps/oozie/src/oozie/conf.py
:100644 100644 99f132a... 466ecbd... M	apps/oozie/src/oozie/forms.py
:000000 100644 0000000... d392d86... A	apps/oozie/src/oozie/import_workflow.py
:100644 100644 789117c... 7f7329d... M	apps/oozie/src/oozie/templates/editor/edit_workflow.mako
:000000 100644 0000000... eb4ca23... A	apps/oozie/src/oozie/templates/editor/import_workflow.mako
:100644 100644 88a762d... 1a6d933... M	apps/oozie/src/oozie/templates/editor/list_workflows.mako
:000000 100644 0000000... 4277793... A	apps/oozie/src/oozie/test_data/0.4/test-basic.xml
:000000 100644 0000000... a8ece35... A	apps/oozie/src/oozie/test_data/0.4/test-decision.xml
:000000 100644 0000000... 868982b... A	apps/oozie/src/oozie/test_data/0.4/test-distcp.0.1.xml
:000000 100644 0000000... ecc21fe... A	apps/oozie/src/oozie/test_data/0.4/test-forks.xml
:000000 100644 0000000... 4b2d12e... A	apps/oozie/src/oozie/test_data/0.4/test-java.xml
:000000 100644 0000000... 98250df... A	apps/oozie/src/oozie/test_data/0.4/test-mapreduce.xml
:000000 100644 0000000... 0a194ed... A	apps/oozie/src/oozie/test_data/0.4/test-pig.xml
:000000 100644 0000000... e8e94e8... A	apps/oozie/src/oozie/test_data/0.4/test-sqoop.0.2.xml
:100644 100644 67a1267... 4405e30... M	apps/oozie/src/oozie/tests.py
:100644 100644 e59b8c9... bc96645... M	apps/oozie/src/oozie/urls.py
:100644 100644 828854a... 0ae69a5... M	apps/oozie/src/oozie/views/editor.py
:000000 100644 0000000... e75620c... A	apps/oozie/src/oozie/xslt/0.4/action.xslt
:000000 100644 0000000... edcaea5... A	apps/oozie/src/oozie/xslt/0.4/control.xslt
:000000 100644 0000000... ab483d9... A	apps/oozie/src/oozie/xslt/0.4/extensions/distcp.0.1.xslt
:000000 100644 0000000... ad665fd... A	apps/oozie/src/oozie/xslt/0.4/extensions/hive.0.1.xslt
:000000 100644 0000000... 61069f1... A	apps/oozie/src/oozie/xslt/0.4/extensions/hive.0.2.xslt
:000000 100644 0000000... 06340d9... A	apps/oozie/src/oozie/xslt/0.4/extensions/shell.0.1.xslt
:000000 100644 0000000... 1903b7a... A	apps/oozie/src/oozie/xslt/0.4/extensions/sqoop.0.1.xslt
:000000 100644 0000000... 6914f8d... A	apps/oozie/src/oozie/xslt/0.4/extensions/sqoop.0.2.xslt
:000000 100644 0000000... 324231a... A	apps/oozie/src/oozie/xslt/0.4/extensions/ssh.0.1.xslt
:000000 100644 0000000... 99fe7f5... A	apps/oozie/src/oozie/xslt/0.4/nodes/decision.xslt
:000000 100644 0000000... ae48dfd... A	apps/oozie/src/oozie/xslt/0.4/nodes/end.xslt
:000000 100644 0000000... 240708d... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/archives.xslt
:000000 100644 0000000... f53d3f9... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/args.xslt
:000000 100644 0000000... a5d5921... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/arguments.xslt
:000000 100644 0000000... 7a55a46... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/capture_output.xslt
:000000 100644 0000000... 43beb42... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/command.xslt
:000000 100644 0000000... 99fdfa1... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/files.xslt
:000000 100644 0000000... 9e1007a... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/host.xslt
:000000 100644 0000000... 021fafe... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/jar_path.xslt
:000000 100644 0000000... a0312b6... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/java_opts.xslt
:000000 100644 0000000... 664d23b... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/job_properties.xslt
:000000 100644 0000000... 331f027... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/job_xml.xslt
:000000 100644 0000000... 2072c83... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/main_class.xslt
:000000 100644 0000000... 65ae0e9... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/mapper.xslt
:000000 100644 0000000... 118142f... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/params.xslt
:000000 100644 0000000... 7ca59c2... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/prepares.xslt
:000000 100644 0000000... 6a144e2... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/reducer.xslt
:000000 100644 0000000... 3f49f9f... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/script_path.xslt
:000000 100644 0000000... 380ed0d... A	apps/oozie/src/oozie/xslt/0.4/nodes/fields/user.xslt
:000000 100644 0000000... 2aae75e... A	apps/oozie/src/oozie/xslt/0.4/nodes/fork.xslt
:000000 100644 0000000... 483d805... A	apps/oozie/src/oozie/xslt/0.4/nodes/java.xslt
:000000 100644 0000000... 1d8ad0c... A	apps/oozie/src/oozie/xslt/0.4/nodes/join.xslt
:000000 100644 0000000... c1a7d05... A	apps/oozie/src/oozie/xslt/0.4/nodes/kill.xslt
:000000 100644 0000000... b557593... A	apps/oozie/src/oozie/xslt/0.4/nodes/mapreduce.xslt
:000000 100644 0000000... 57c4a60... A	apps/oozie/src/oozie/xslt/0.4/nodes/pig.xslt
:000000 100644 0000000... 7e6a9cd... A	apps/oozie/src/oozie/xslt/0.4/nodes/start.xslt
:000000 100644 0000000... 8e755a5... A	apps/oozie/src/oozie/xslt/0.4/nodes/streaming.xslt
:000000 100644 0000000... 3bfbc45... A	apps/oozie/src/oozie/xslt/0.4/workflow.xslt
Manual + Tests
  • 1
  • 0
  • 6
  • 0
  • 7
Description From Last Updated
Can we get the import from a path instead? romain romain
romain
  1. Pretty good!
    
    Bunch of trailing spaces
  2. apps/oozie/src/oozie/conf.py (Diff revision 1)
     
     
    stored ... for workflow import.
  3. apps/oozie/src/oozie/forms.py (Diff revision 1)
     
     
    Can we get the import from a path instead?
    1. Would it be okay to do this in a different commit/bug?
    2. Yes, in another commit.
  4. apps/oozie/src/oozie/forms.py (Diff revision 1)
     
     
    default widget is already ', widget=forms.Select()'
  5. apps/oozie/src/oozie/views/editor.py (Diff revision 1)
     
     
    --> 'Workflow imported'
  6. apps/oozie/src/oozie/views/editor.py (Diff revision 1)
     
     
  7. apps/oozie/src/oozie/views/editor.py (Diff revision 1)
     
     
    raise PopupException, we don't want a 500
  8. 
      
romain
  1. 
      
  2. apps/oozie/src/oozie/import_workflow.py (Diff revision 1)
     
     
    Would be nice to explain the overall design and structures in a few lines
  3. 
      
abec
romain
  1. Ship It!
  2. 
      
abec
Review request changed

Status: Closed (submitted)

Loading...