Repository: ambari
Updated Branches:
  refs/heads/trunk 1a03354c9 -> 9a60b86f4


AMBARI-20005. Credentials from one workflow are getting associated across other 
workflow.(Padma Priya N via gauravn7)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9a60b86f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9a60b86f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9a60b86f

Branch: refs/heads/trunk
Commit: 9a60b86f499fa55aa110d34a3c022b4707fbe4e6
Parents: 1a03354
Author: Gaurav Nagar <[email protected]>
Authored: Wed Feb 15 17:00:40 2017 +0530
Committer: Gaurav Nagar <[email protected]>
Committed: Wed Feb 15 17:01:39 2017 +0530

----------------------------------------------------------------------
 .../views/wfmanager/src/main/resources/ui/app/domain/workflow.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9a60b86f/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow.js
----------------------------------------------------------------------
diff --git 
a/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow.js 
b/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow.js
index 1f02426..26e72d5 100644
--- a/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow.js
+++ b/contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow.js
@@ -51,7 +51,9 @@ var Workflow= Ember.Object.extend(FindNodeMixin,{
     this.set("killNodes",Ember.A([]));
     this.set("globalSetting",null);
     this.set("name","");
-    this.set("draftFormat","jsog");
+    this.set("draftVersion", "v1");
+    this.set("parameters", null);
+    this.set("credentials", Ember.A([]));
     this.appendDefaultKillNode();
     src.addTransitionTo(dest);
   },

Reply via email to