ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhew...@apache.org
Subject ambari git commit: AMBARI-18245 Upgrade node to version 4.x (zhewang)
Date Fri, 07 Oct 2016 20:32:12 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-feature-AMBARI-18245 [created] 2d6722d19


AMBARI-18245 Upgrade node to version 4.x (zhewang)


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

Branch: refs/heads/branch-feature-AMBARI-18245
Commit: 2d6722d19a928aa2aa4fcf22045912e76a425dc9
Parents: 13d3b8b
Author: Zhe (Joe) Wang <zhewang@apache.org>
Authored: Fri Oct 7 13:30:59 2016 -0700
Committer: Zhe (Joe) Wang <zhewang@apache.org>
Committed: Fri Oct 7 13:30:59 2016 -0700

----------------------------------------------------------------------
 .gitignore                                      |  1 +
 ambari-admin/pom.xml                            |  2 +-
 ambari-web/app/styles/common.less               | 10 +++---
 ambari-web/package.json                         |  6 ++--
 ambari-web/pom.xml                              | 36 ++++++++++++++++----
 contrib/views/capacity-scheduler/pom.xml        |  4 +--
 .../src/main/resources/ui/package.json          |  2 +-
 contrib/views/files/pom.xml                     |  4 +--
 contrib/views/hawq/pom.xml                      |  2 +-
 contrib/views/hive-next/pom.xml                 |  4 +--
 .../src/main/resources/ui/hive-web/package.json |  2 +-
 contrib/views/hive/pom.xml                      |  4 +--
 .../src/main/resources/ui/hive-web/package.json |  2 +-
 contrib/views/hueambarimigration/pom.xml        |  4 +--
 contrib/views/jobs/pom.xml                      |  4 +--
 contrib/views/pig/pom.xml                       |  4 +--
 .../src/main/resources/ui/pig-web/package.json  |  2 +-
 contrib/views/wfmanager/pom.xml                 |  4 +--
 18 files changed, 61 insertions(+), 36 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index d9f23de..43edfd9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@ target
 /ambari-web/npm-debug.log
 /ambari-web/public/
 /ambari-web/node_modules/
+/ambari-web/node/
 *.pyc
 *.py~
 *.iml

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/ambari-admin/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-admin/pom.xml b/ambari-admin/pom.xml
index e42e5a5..97d5fd4 100644
--- a/ambari-admin/pom.xml
+++ b/ambari-admin/pom.xml
@@ -63,7 +63,7 @@
         <artifactId>frontend-maven-plugin</artifactId>
         <version>0.0.16</version>
         <configuration>
-          <nodeVersion>v0.10.44</nodeVersion>
+          <nodeVersion>v4.5.0</nodeVersion>
           <npmVersion>2.15.0</npmVersion>
           <workingDirectory>src/main/resources/ui/admin-web/</workingDirectory>
         </configuration>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/ambari-web/app/styles/common.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/common.less b/ambari-web/app/styles/common.less
index bc11d4d..7941fc7 100644
--- a/ambari-web/app/styles/common.less
+++ b/ambari-web/app/styles/common.less
@@ -47,19 +47,19 @@
 @spinner-small-width: 30px;
 @spinner-small-height: 30px;
 
-(~".@{health-status-red-icon}") {
+.@{health-status-red-icon} {
   color: @health-status-red;
 }
-(~".@{health-status-green-icon}") {
+.@{health-status-green-icon} {
   color: @health-status-green;
 }
-(~".@{health-status-yellow-icon}") {
+.@{health-status-yellow-icon} {
   color: @health-status-yellow;
 }
-(~".@{health-status-orange-icon}") {
+.@{health-status-orange-icon} {
   color: @health-status-orange;
 }
-(~".@{maintenance-icon}") {
+.@{maintenance-icon} {
   color: @maintenance-black;
 }
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/ambari-web/package.json
----------------------------------------------------------------------
diff --git a/ambari-web/package.json b/ambari-web/package.json
index 550d293..02b3e77 100644
--- a/ambari-web/package.json
+++ b/ambari-web/package.json
@@ -12,7 +12,7 @@
     "css-brunch": ">= 1.0 < 1.5",
     "uglify-js-brunch": ">= 1.0 < 1.5",
     "clean-css-brunch": ">= 1.0 < 1.5",
-    "ember-precompiler-brunch": ">= 1.0 < 1.5",
+    "ember-precompile-brunch": "^0.1.0",
     "ember-radio-button": "0.1.2",
     "less-brunch": ">= 1.0 < 1.5",
     "cssstyle": "0.2.3"
@@ -25,7 +25,7 @@
     "sinon":"=1.7.3",
     "sinon-chai":"~2.5.0",
     "express":"2.5.8",
-    "karma": "=0.11.14",
+    "karma": ">=0.11.14",
     "karma-mocha": "0.1.1",
     "karma-chai": "~0.1.0",
     "karma-sinon": "~1.0.2",
@@ -39,6 +39,6 @@
     "test": "mocha-phantomjs -R min public/test/test.html"
   },
   "engines": {
-    "node": "~0.6.10 || 0.8 || 0.9 || 0.10"
+    "node": "^4.0.0"
   }
 }

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/ambari-web/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-web/pom.xml b/ambari-web/pom.xml
index 7ea85ea..c24a9c3 100644
--- a/ambari-web/pom.xml
+++ b/ambari-web/pom.xml
@@ -121,18 +121,42 @@
               <commandlineArgs>${args.mkdir} public</commandlineArgs>
             </configuration>
           </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>com.github.eirslett</groupId>
+        <artifactId>frontend-maven-plugin</artifactId>
+        <version>0.0.16</version>
+        <configuration>
+          <nodeVersion>v4.5.0</nodeVersion>
+          <npmVersion>2.15.0</npmVersion>
+          <workingDirectory>${basedir}</workingDirectory>
+        </configuration>
+        <executions>
           <execution>
-            <id>compile-npm</id>
-            <phase>compile</phase>
+            <id>install node and npm</id>
+            <phase>generate-sources</phase>
             <goals>
-              <goal>exec</goal>
+              <goal>install-node-and-npm</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>npm install</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>npm</goal>
             </goals>
             <configuration>
-              <executable>${executable.npm}</executable>
-              <workingDirectory>${basedir}</workingDirectory>
-              <commandlineArgs>${args.npm} install</commandlineArgs>
+              <arguments>install</arguments>
             </configuration>
           </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <version>1.2.1</version>
+        <executions>
           <execution>
             <id>compile-brunch</id>
             <phase>compile</phase>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/capacity-scheduler/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/capacity-scheduler/pom.xml b/contrib/views/capacity-scheduler/pom.xml
index da0317d..2205c83 100644
--- a/contrib/views/capacity-scheduler/pom.xml
+++ b/contrib/views/capacity-scheduler/pom.xml
@@ -133,8 +133,8 @@
             <!-- optional: default phase is "generate-resources" -->
             <phase>initialize</phase>
             <configuration>
-                <nodeVersion>v0.10.26</nodeVersion>
-                <npmVersion>1.4.3</npmVersion>
+                <nodeVersion>v4.5.0</nodeVersion>
+                <npmVersion>2.15.0</npmVersion>
             </configuration>
           </execution>
           <execution>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/capacity-scheduler/src/main/resources/ui/package.json
----------------------------------------------------------------------
diff --git a/contrib/views/capacity-scheduler/src/main/resources/ui/package.json b/contrib/views/capacity-scheduler/src/main/resources/ui/package.json
index 2cdc672..0b00664 100644
--- a/contrib/views/capacity-scheduler/src/main/resources/ui/package.json
+++ b/contrib/views/capacity-scheduler/src/main/resources/ui/package.json
@@ -21,7 +21,7 @@
     "bower": "^1.2.8",
     "brunch": "^1.7.13",
     "scaffolt": "^0.4.3",
-    "ember-precompiler-brunch": "^1.5.1",
+    "ember-precompile-brunch": "^0.1.0",
     "less-brunch": "^1.7.2"
   },
   "devDependencies": {},

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/files/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/files/pom.xml b/contrib/views/files/pom.xml
index f895e17..b08d14d 100644
--- a/contrib/views/files/pom.xml
+++ b/contrib/views/files/pom.xml
@@ -155,8 +155,8 @@
         <artifactId>frontend-maven-plugin</artifactId>
         <version>0.0.16</version>
         <configuration>
-          <nodeVersion>v0.12.2</nodeVersion>
-          <npmVersion>1.4.8</npmVersion>
+          <nodeVersion>v4.5.0</nodeVersion>
+          <npmVersion>2.15.0</npmVersion>
           <workingDirectory>src/main/resources/ui/</workingDirectory>
         </configuration>
         <executions>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/hawq/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/hawq/pom.xml b/contrib/views/hawq/pom.xml
index 391d0c1..a7c9acf 100644
--- a/contrib/views/hawq/pom.xml
+++ b/contrib/views/hawq/pom.xml
@@ -85,7 +85,7 @@
         <groupId>com.github.eirslett</groupId>
         <artifactId>frontend-maven-plugin</artifactId>
         <configuration>
-          <nodeVersion>v0.10.44</nodeVersion>
+          <nodeVersion>v4.5.0</nodeVersion>
           <npmVersion>2.15.0</npmVersion>
           <workingDirectory>${ui.dir}</workingDirectory>
         </configuration>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/hive-next/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/hive-next/pom.xml b/contrib/views/hive-next/pom.xml
index a4ec01b..0efa235 100644
--- a/contrib/views/hive-next/pom.xml
+++ b/contrib/views/hive-next/pom.xml
@@ -254,8 +254,8 @@
         <artifactId>frontend-maven-plugin</artifactId>
         <version>0.0.16</version>
         <configuration>
-          <nodeVersion>v0.12.2</nodeVersion>
-          <npmVersion>1.4.8</npmVersion>
+          <nodeVersion>v4.5.0</nodeVersion>
+          <npmVersion>2.15.0</npmVersion>
           <workingDirectory>src/main/resources/ui/hive-web/</workingDirectory>
         </configuration>
         <executions>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/hive-next/src/main/resources/ui/hive-web/package.json
----------------------------------------------------------------------
diff --git a/contrib/views/hive-next/src/main/resources/ui/hive-web/package.json b/contrib/views/hive-next/src/main/resources/ui/hive-web/package.json
index 595b1f2..6fe68e2 100644
--- a/contrib/views/hive-next/src/main/resources/ui/hive-web/package.json
+++ b/contrib/views/hive-next/src/main/resources/ui/hive-web/package.json
@@ -23,7 +23,7 @@
     "body-parser": "^1.2.0",
     "bower": ">= 1.3.12",
     "broccoli-asset-rev": "^2.0.0",
-    "broccoli-sass": "0.6.3",
+    "broccoli-sass": "^0.6.3",
     "ember-cli": "0.2.2",
     "ember-cli-autoprefixer": "0.4.1",
     "ember-cli-blanket": "^0.5.0",

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/hive/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/hive/pom.xml b/contrib/views/hive/pom.xml
index da6fee5..3f58781 100644
--- a/contrib/views/hive/pom.xml
+++ b/contrib/views/hive/pom.xml
@@ -247,8 +247,8 @@
         <artifactId>frontend-maven-plugin</artifactId>
         <version>0.0.16</version>
         <configuration>
-          <nodeVersion>v0.12.2</nodeVersion>
-          <npmVersion>1.4.8</npmVersion>
+          <nodeVersion>v4.5.0</nodeVersion>
+          <npmVersion>2.15.0</npmVersion>
           <workingDirectory>src/main/resources/ui/hive-web/</workingDirectory>
         </configuration>
         <executions>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/hive/src/main/resources/ui/hive-web/package.json
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/package.json b/contrib/views/hive/src/main/resources/ui/hive-web/package.json
index 595b1f2..6fe68e2 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/package.json
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/package.json
@@ -23,7 +23,7 @@
     "body-parser": "^1.2.0",
     "bower": ">= 1.3.12",
     "broccoli-asset-rev": "^2.0.0",
-    "broccoli-sass": "0.6.3",
+    "broccoli-sass": "^0.6.3",
     "ember-cli": "0.2.2",
     "ember-cli-autoprefixer": "0.4.1",
     "ember-cli-blanket": "^0.5.0",

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/hueambarimigration/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/hueambarimigration/pom.xml b/contrib/views/hueambarimigration/pom.xml
index 43eaeed..f25e6b2 100644
--- a/contrib/views/hueambarimigration/pom.xml
+++ b/contrib/views/hueambarimigration/pom.xml
@@ -170,8 +170,8 @@
         <artifactId>frontend-maven-plugin</artifactId>
         <version>0.0.16</version>
         <configuration>
-          <nodeVersion>v0.12.2</nodeVersion>
-          <npmVersion>1.4.8</npmVersion>
+          <nodeVersion>v4.5.0</nodeVersion>
+          <npmVersion>2.15.0</npmVersion>
           <workingDirectory>${project.basedir}/src/main/resources/ui/hueambarimigration-view/</workingDirectory>
         </configuration>
         <executions>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/jobs/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/jobs/pom.xml b/contrib/views/jobs/pom.xml
index 7f2bbfc..cc589e8 100644
--- a/contrib/views/jobs/pom.xml
+++ b/contrib/views/jobs/pom.xml
@@ -65,8 +65,8 @@
                 <artifactId>frontend-maven-plugin</artifactId>
                 <version>0.0.16</version>
                 <configuration>
-                    <nodeVersion>v0.10.26</nodeVersion>
-                    <npmVersion>1.4.3</npmVersion>
+                    <nodeVersion>v4.5.0</nodeVersion>
+                    <npmVersion>2.15.0</npmVersion>
                     <workingDirectory>src/main/resources/ui</workingDirectory>
                 </configuration>
                 <executions>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/pig/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/pig/pom.xml b/contrib/views/pig/pom.xml
index fb2da07..ff2ee4a 100644
--- a/contrib/views/pig/pom.xml
+++ b/contrib/views/pig/pom.xml
@@ -180,8 +180,8 @@
         <artifactId>frontend-maven-plugin</artifactId>
         <version>0.0.16</version>
         <configuration>
-          <nodeVersion>v0.10.26</nodeVersion>
-          <npmVersion>1.4.3</npmVersion>
+          <nodeVersion>v4.5.0</nodeVersion>
+          <npmVersion>2.15.0</npmVersion>
           <workingDirectory>${ui.directory}</workingDirectory>
         </configuration>
         <executions>

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/pig/src/main/resources/ui/pig-web/package.json
----------------------------------------------------------------------
diff --git a/contrib/views/pig/src/main/resources/ui/pig-web/package.json b/contrib/views/pig/src/main/resources/ui/pig-web/package.json
index 3221483..5468a3f 100644
--- a/contrib/views/pig/src/main/resources/ui/pig-web/package.json
+++ b/contrib/views/pig/src/main/resources/ui/pig-web/package.json
@@ -14,7 +14,7 @@
     "css-brunch": ">= 1.0 < 1.8",
     "uglify-js-brunch": ">= 1.0 < 1.8",
     "bower": ">= 1.2.0",
-    "ember-precompiler-brunch": ">= 1.5.0",
+    "ember-precompile-brunch": "^0.1.0",
     "less-brunch": "~1.7.1",
     "scaffolt": "^0.4.3"
   },

http://git-wip-us.apache.org/repos/asf/ambari/blob/2d6722d1/contrib/views/wfmanager/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/wfmanager/pom.xml b/contrib/views/wfmanager/pom.xml
index a40b7f2..1e910e2 100644
--- a/contrib/views/wfmanager/pom.xml
+++ b/contrib/views/wfmanager/pom.xml
@@ -159,8 +159,8 @@
 				<artifactId>frontend-maven-plugin</artifactId>
 				<version>1.0</version>
 				<configuration>
-					<nodeVersion>v0.12.2</nodeVersion>
-					<npmVersion>1.4.8</npmVersion>
+					<nodeVersion>v4.5.0</nodeVersion>
+					<npmVersion>2.15.0</npmVersion>
 					<workingDirectory>src/main/resources/ui/</workingDirectory>
 				</configuration>
 				<executions>


Mime
View raw message