ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gna...@apache.org
Subject ambari git commit: AMBARI-19367.Not able to save FS action node after populating job xml value. (Venkata Sairam via gauravn7)
Date Thu, 05 Jan 2017 09:16:46 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 b14e303a2 -> 761f05693


AMBARI-19367.Not able to save FS action node after populating job xml value. (Venkata Sairam
via gauravn7)


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

Branch: refs/heads/branch-2.5
Commit: 761f056937f9e64848b1348a6d78d1eab5ec6524
Parents: b14e303
Author: Gaurav Nagar <grvngr@gmail.com>
Authored: Thu Jan 5 14:46:29 2017 +0530
Committer: Gaurav Nagar <grvngr@gmail.com>
Committed: Thu Jan 5 14:46:29 2017 +0530

----------------------------------------------------------------------
 AMBARI-19367_branch-2.5.patch                   | 55 ++++++++++++++++++++
 contrib/views/wfmanager/.gitignore              | 20 +++++++
 .../resources/ui/app/components/fs-action.js    |  3 ++
 3 files changed, 78 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/761f0569/AMBARI-19367_branch-2.5.patch
----------------------------------------------------------------------
diff --git a/AMBARI-19367_branch-2.5.patch b/AMBARI-19367_branch-2.5.patch
new file mode 100644
index 0000000..f8c5cb1
--- /dev/null
+++ b/AMBARI-19367_branch-2.5.patch
@@ -0,0 +1,55 @@
+From 286890d1e4db29ebe1c43dd26034ca242de4cdef Mon Sep 17 00:00:00 2001
+From: Venkata Sairam <venkatasairam.lanka@gmail.com>
+Date: Thu, 5 Jan 2017 12:30:04 +0530
+Subject: [PATCH] AMBARI-19367.Not able to save FS action node after populating
+ job xml value(venkatasairam.lanka)
+
+---
+ contrib/views/wfmanager/.gitignore                   | 20 ++++++++++++++++++++
+ .../main/resources/ui/app/components/fs-action.js    |  3 +++
+ 2 files changed, 23 insertions(+)
+ create mode 100644 contrib/views/wfmanager/.gitignore
+
+diff --git a/contrib/views/wfmanager/.gitignore b/contrib/views/wfmanager/.gitignore
+new file mode 100644
+index 0000000..ae354e7
+--- /dev/null
++++ b/contrib/views/wfmanager/.gitignore
+@@ -0,0 +1,20 @@
++# Numerous always-ignore extensions
++*.swp
++*.bak
++*.log
++*.patch
++
++# OS or Editor folders
++.DS_Store
++
++# Installation and build tools
++src/main/resources/ui/node/
++src/main/resources/ui/node_modules/
++src/main/resources/ui/bower_components/
++_generators/
++
++# Output directory
++src/main/resources/ui/dist/
++
++# Brunch folder for temporary files.
++src/main/resources/ui/tmp/
+diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/components/fs-action.js b/contrib/views/wfmanager/src/main/resources/ui/app/components/fs-action.js
+index 6233b62..40ac43d 100644
+--- a/contrib/views/wfmanager/src/main/resources/ui/app/components/fs-action.js
++++ b/contrib/views/wfmanager/src/main/resources/ui/app/components/fs-action.js
+@@ -38,6 +38,9 @@ export default Ember.Component.extend(Validations, {
+       this.set("actionModel.configuration", {});
+       this.set("actionModel.configuration.property", Ember.A([]));
+     }
++    if(this.get('actionModel.jobXml') === undefined){
++      this.set("actionModel.jobXml", Ember.A([]));
++    }
+     var field = 'validations.attrs.actionModel.fsOps.isInvalid';
+     this.set(field, false);
+     this.sendAction('register', 'fsAction', this);
+-- 
+2.7.4 (Apple Git-66)
+

http://git-wip-us.apache.org/repos/asf/ambari/blob/761f0569/contrib/views/wfmanager/.gitignore
----------------------------------------------------------------------
diff --git a/contrib/views/wfmanager/.gitignore b/contrib/views/wfmanager/.gitignore
new file mode 100644
index 0000000..ae354e7
--- /dev/null
+++ b/contrib/views/wfmanager/.gitignore
@@ -0,0 +1,20 @@
+# Numerous always-ignore extensions
+*.swp
+*.bak
+*.log
+*.patch
+
+# OS or Editor folders
+.DS_Store
+
+# Installation and build tools
+src/main/resources/ui/node/
+src/main/resources/ui/node_modules/
+src/main/resources/ui/bower_components/
+_generators/
+
+# Output directory
+src/main/resources/ui/dist/
+
+# Brunch folder for temporary files.
+src/main/resources/ui/tmp/

http://git-wip-us.apache.org/repos/asf/ambari/blob/761f0569/contrib/views/wfmanager/src/main/resources/ui/app/components/fs-action.js
----------------------------------------------------------------------
diff --git a/contrib/views/wfmanager/src/main/resources/ui/app/components/fs-action.js b/contrib/views/wfmanager/src/main/resources/ui/app/components/fs-action.js
index 6233b62..40ac43d 100644
--- a/contrib/views/wfmanager/src/main/resources/ui/app/components/fs-action.js
+++ b/contrib/views/wfmanager/src/main/resources/ui/app/components/fs-action.js
@@ -38,6 +38,9 @@ export default Ember.Component.extend(Validations, {
       this.set("actionModel.configuration", {});
       this.set("actionModel.configuration.property", Ember.A([]));
     }
+    if(this.get('actionModel.jobXml') === undefined){
+      this.set("actionModel.jobXml", Ember.A([]));
+    }
     var field = 'validations.attrs.actionModel.fsOps.isInvalid';
     this.set(field, false);
     this.sendAction('register', 'fsAction', this);


Mime
View raw message