Review Board 1.7.22


OOZIE-617 Add back Ssh action as extension. (tucu)

Review Request #3079 - Created Dec. 9, 2011 and submitted

Alejandro Abdelnur
trunk
OOZIE-617
Reviewers
oozie
oozie
Adding back SSH action as an extension.

Added example app and documentation.

to test it run 'mvn test -Dtest=TestSshActionExecutor', but default is disable as it requires the SSH keys being set.
run testcases, deployed Oozie build and run ssh example app
Content-Type: text/html; charset=utf-8
trunk/pom.xml
Revision 1212211 New Change
Diff currently unavailable.
Error: The file '/repos/asf/oozie/trunk/pom.xml' (r1212211) could not be found in the repository: '/repos/asf/!svn/bc/1212211/oozie/trunk/pom.xml' path not found
Details
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/diffviewer/views.py", line 117, in view_diff
    request=request)
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/diffviewer/diffutils.py", line 344, in populate_diff_chunks
    chunks = generator.get_chunks()
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/diffviewer/chunk_generator.py", line 137, in get_chunks
    large_data=True)
  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.7.28-py2.7.egg/djblets/util/misc.py", line 157, in cache_memoize
    data = lookup_callable()
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/diffviewer/chunk_generator.py", line 136, in <lambda>
    lambda: list(self._get_chunks_uncached()),
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/diffviewer/chunk_generator.py", line 141, in _get_chunks_uncached
    old = get_original_file(self.filediff, self.request)
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/diffviewer/diffutils.py", line 126, in get_original_file
    request=request)
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/scmtools/models.py", line 192, in get_file
    large_data=True)[0]
  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.7.28-py2.7.egg/djblets/util/misc.py", line 157, in cache_memoize
    data = lookup_callable()
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/scmtools/models.py", line 191, in <lambda>
    request)],
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/scmtools/models.py", line 287, in _get_file_uncached
    data = self.get_scmtool().get_file(path, revision)
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/scmtools/svn.py", line 191, in get_file
    return self._do_on_path(get_file_data, path, revision)
  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.22-py2.7.egg/reviewboard/scmtools/svn.py", line 165, in _do_on_path
    raise FileNotFoundError(path, revision, detail=str(e))
FileNotFoundError: The file '/repos/asf/oozie/trunk/pom.xml' (r1212211) could not be found in the repository: '/repos/asf/!svn/bc/1212211/oozie/trunk/pom.xml' path not found
trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java
Revision 1212211 New Change
 
trunk/client/src/main/resources/ssh-action-0.1.xsd
New File
 
trunk/core/src/main/conf/oozie-site.xml
Revision 1212211 New Change
 
trunk/core/src/test/java/org/apache/oozie/action/ssh/TestSshActionExecutor.java
Revision 1212211 New Change
 
trunk/core/src/test/java/org/apache/oozie/action/ssh/TestSshActionExecutorAsExtension.java
New File
 
trunk/core/src/test/java/org/apache/oozie/test/XTestCase.java
Revision 1212211 New Change
 
trunk/docs/src/site/twiki/DG_SshActionExtension.twiki
New File
 
trunk/examples/src/main/apps/ssh/job.properties
New File
 
trunk/examples/src/main/apps/ssh/workflow.xml
New File
 
  1. trunk/pom.xml: Loading...
  2. trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java: Loading...
  3. trunk/client/src/main/resources/ssh-action-0.1.xsd: Loading...
  4. trunk/core/src/main/conf/oozie-site.xml: Loading...
  5. trunk/core/src/test/java/org/apache/oozie/action/ssh/TestSshActionExecutor.java: Loading...
  6. trunk/core/src/test/java/org/apache/oozie/action/ssh/TestSshActionExecutorAsExtension.java: Loading...
  7. trunk/core/src/test/java/org/apache/oozie/test/XTestCase.java: Loading...
  8. trunk/docs/src/site/twiki/DG_SshActionExtension.twiki: Loading...
  9. trunk/examples/src/main/apps/ssh/job.properties: Loading...
  10. trunk/examples/src/main/apps/ssh/workflow.xml: Loading...