HUE-1417 [oozie] Check for valid action name

Review Request #3593 - Created Sept. 16, 2013 and submitted

Abraham Elmahrek
old-hue-rw
HUE-1417
hue
enricoberti, romain
commit 8fdb1a2d342fdbb5af374b634430a4f7a88c71f5
Author: Abraham Elmahrek <abraham@elmahrek.com>
Date:   Mon Sep 16 17:31:39 2013 -0700

    HUE-1417 [oozie] Check for valid action name

:100644 100644 2fc0289... 1ab9272... M	apps/oozie/src/oozie/models.py
:100644 100644 1e4506c... d577571... M	apps/oozie/src/oozie/tests.py
Added test validating workflow name restriction.
  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
  1. Does it live-check on the edit action popup? (actions name are important too).
    
    Maybe we could allow spaces and replace them by '-' at generation time (+ maybe an id and retrict to 37 chars). Could be done in another jira.
    1. Yes, we check the edit action popup.
      
      Interesting idea. Yes, let's do in another jira.
    2. Ok, cool if it does it, just changing the regexp made it work?
    3. Changing the regex works because we validate in the backend before exiting the edit node popup. Same with editing a workflow.
  2. apps/oozie/src/oozie/tests.py (Diff revision 1)
     
     
  3. 
      
  1. Ship It!
  2. 
      
Review request changed

Status: Closed (submitted)

Loading...