drop support for nodejs 0.12.x (#2022)

diff --git a/core/nodejsAction/Dockerfile b/core/nodejsAction/Dockerfile
deleted file mode 100644
index 57eeec4..0000000
--- a/core/nodejsAction/Dockerfile
+++ /dev/null
@@ -1,56 +0,0 @@
-FROM nodejsactionbase
-
-# based on https://github.com/nodejs/docker-node
-ENV NODE_VERSION 0.12.17
-RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
-  && tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
-  && rm "node-v$NODE_VERSION-linux-x64.tar.gz"
-
-WORKDIR /nodejsAction
-
-# Install app dependencies
-RUN rm -rf .project .settings build.xml Dockerfile README node_modules logs
-RUN npm install .
-RUN npm install \
-apn@1.7.4 \
-async@1.5.2 \
-body-parser@1.15.2 \
-btoa@1.1.2 \
-cheerio@0.20.0 \
-cloudant@1.4.1 \
-commander@2.7.0 \
-consul@0.18.1 \
-cookie-parser@1.3.4 \
-cradle@0.6.7 \
-errorhandler@1.3.5 \
-express@4.14.0 \
-express-session@1.11.1 \
-gm@1.20.0 \
-jade@1.9.2 \
-log4js@0.6.38 \
-merge@1.2.0 \
-moment@2.8.1 \
-mustache@2.1.3 \
-nano@5.10.0 \
-node-uuid@1.4.2 \
-oauth2-server@2.4.0 \
-openwhisk@3.0.0 \
-process@0.11.0 \
-request@2.79.0 \
-rimraf@2.5.1 \
-semver@4.3.6 \
-serve-favicon@2.2.0 \
-socket.io@1.3.5 \
-socket.io-client@1.3.5 \
-superagent@1.3.0 \
-swagger-tools@0.8.7 \
-tmp@0.0.28 \
-watson-developer-cloud@1.4.1 \
-when@3.7.3 \
-ws@1.1.0 \
-xml2js@0.4.15 \
-xmlhttprequest@1.7.0 \
-yauzl@2.3.1
-
-# See app.js
-CMD node app.js
diff --git a/core/nodejsAction/build.gradle b/core/nodejsAction/build.gradle
deleted file mode 100644
index f680289..0000000
--- a/core/nodejsAction/build.gradle
+++ /dev/null
@@ -1,11 +0,0 @@
-apply plugin: 'eclipse'
-eclipse {
-    project {
-        natures 'org.eclipse.wst.jsdt.core.jsNature'
-        buildCommand 'org.eclipse.wst.jsdt.core.javascriptValidator'
-    }
-}
-
-ext.dockerImageName = 'nodejsaction'
-apply from: '../../gradle/docker.gradle'
-distDocker.dependsOn ':core:nodejsActionBase:distDocker'
diff --git a/settings.gradle b/settings.gradle
index a716455..ed84a46 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -3,7 +3,6 @@
 include 'core:controller'
 include 'core:invoker'
 include 'core:nodejsActionBase'
-include 'core:nodejsAction'
 include 'core:nodejs6Action'
 include 'core:actionProxy'
 include 'core:pythonAction'
diff --git a/tests/build.gradle b/tests/build.gradle
index 8d6baf7..f9e95d9 100644
--- a/tests/build.gradle
+++ b/tests/build.gradle
@@ -24,7 +24,6 @@
 
 // Add all images needed for local testing here
 test.dependsOn([
-    ':core:nodejsAction:distDocker',
     ':core:nodejs6Action:distDocker',
     ':core:actionProxy:distDocker',
     ':core:pythonAction:distDocker',
diff --git a/tests/src/test/scala/actionContainers/NodeJs6ActionContainerTests.scala b/tests/src/test/scala/actionContainers/NodeJs6ActionContainerTests.scala
deleted file mode 100644
index 212d18d..0000000
--- a/tests/src/test/scala/actionContainers/NodeJs6ActionContainerTests.scala
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright 2015-2016 IBM Corporation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package actionContainers
-
-import org.junit.runner.RunWith
-import org.scalatest.junit.JUnitRunner
-
-import spray.json.JsBoolean
-import spray.json.JsObject
-
-@RunWith(classOf[JUnitRunner])
-class NodeJs6ActionContainerTests extends NodeJsActionContainerTests {
-
-    override lazy val nodejsContainerImageName = "nodejs6action"
-
-    behavior of nodejsContainerImageName
-
-    it should "support default function parameters" in {
-        val (out, err) = withNodeJsContainer { c =>
-            val code = """
-                         | function main(args) {
-                         |     let foo = 3;
-                         |     return {isValid: (function (a, b = 2) {return a === 3 && b === 2;}(foo))};
-                         | }
-                       """.stripMargin
-
-            val (initCode, _) = c.init(initPayload(code))
-            initCode should be(200)
-
-            val (runCode, runRes) = c.run(runPayload(JsObject()))
-            runCode should be(200)
-            runRes should be(Some(JsObject("isValid" -> JsBoolean(true))))
-
-        }
-
-        checkStreams(out, err, {
-            case (o, e) =>
-                o shouldBe empty
-                e shouldBe empty
-        })
-    }
-
-}