You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/06/08 12:42:23 UTC
[1/2] incubator-ignite git commit: #nodejs: fix jsdoc
Repository: incubator-ignite
Updated Branches:
refs/heads/ignite-nodejs 7e94dedda -> a3aa145c3
#nodejs: fix jsdoc
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/a067a605
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/a067a605
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/a067a605
Branch: refs/heads/ignite-nodejs
Commit: a067a60578cd9ba87389d875d6bae4a6b47d301c
Parents: 7e94ded
Author: ivasilinets <iv...@gridgain.com>
Authored: Mon Jun 8 13:18:10 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Mon Jun 8 13:18:10 2015 +0300
----------------------------------------------------------------------
modules/nodejs/src/test/js/test_runner.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a067a605/modules/nodejs/src/test/js/test_runner.js
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/js/test_runner.js b/modules/nodejs/src/test/js/test_runner.js
index ab4490a..471df11 100644
--- a/modules/nodejs/src/test/js/test_runner.js
+++ b/modules/nodejs/src/test/js/test_runner.js
@@ -16,7 +16,7 @@
*/
/**
- * Create instance of TestUtils
+ * Create instance of TestRunner
*
* @constructor
*/
@@ -24,7 +24,7 @@ function TestRunner() {
}
/**
- * Test routine.
+ * Test routine
*/
TestRunner.runTest = function() {
var fileName = process.argv[2].toString().trim();
[2/2] incubator-ignite git commit: #nodejs: add packaging for node js
Posted by sb...@apache.org.
#nodejs: add packaging for node js
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/a3aa145c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/a3aa145c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/a3aa145c
Branch: refs/heads/ignite-nodejs
Commit: a3aa145c3d30bd1113c5b85ab042c50ea2dec4e0
Parents: a067a60
Author: ivasilinets <iv...@gridgain.com>
Authored: Mon Jun 8 13:42:15 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Mon Jun 8 13:42:15 2015 +0300
----------------------------------------------------------------------
modules/nodejs/src/main/js/apache_ignite.js | 22 ++++++++++++++++++++++
modules/nodejs/src/main/js/package.json | 11 +++++++++++
modules/nodejs/src/test/js/test_ignition.js | 3 ++-
modules/nodejs/src/test/js/test_put_get.js | 6 ++++--
4 files changed, 39 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a3aa145c/modules/nodejs/src/main/js/apache_ignite.js
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/main/js/apache_ignite.js b/modules/nodejs/src/main/js/apache_ignite.js
new file mode 100644
index 0000000..03bc3a8
--- /dev/null
+++ b/modules/nodejs/src/main/js/apache_ignite.js
@@ -0,0 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+module.exports = {
+ Cache : require('./cache.js').Cache,
+ Ignition : require('./ignition.js').Ignition,
+ Server : require('./server.js').Server
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a3aa145c/modules/nodejs/src/main/js/package.json
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/main/js/package.json b/modules/nodejs/src/main/js/package.json
new file mode 100644
index 0000000..b88cc22
--- /dev/null
+++ b/modules/nodejs/src/main/js/package.json
@@ -0,0 +1,11 @@
+{
+ "name" : "apache-ignite",
+ "version" : "1.0.0",
+ "author" : "Semyon Boikov <sb...@gridgain.com>",
+ "contributors": [{
+ "name": "Irina Vasilinets",
+ "email": "ivasilients@gridgain.com"
+ }],
+ "main" : "apache_ignite.js",
+ "license" : "Apache License, Version 2.0."
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a3aa145c/modules/nodejs/src/test/js/test_ignition.js
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/js/test_ignition.js b/modules/nodejs/src/test/js/test_ignition.js
index 9d90dd7..c17663d 100644
--- a/modules/nodejs/src/test/js/test_ignition.js
+++ b/modules/nodejs/src/test/js/test_ignition.js
@@ -16,7 +16,8 @@
*/
var TestUtils = require("./test_utils").TestUtils;
-var Ignition = require(TestUtils.scriptPath() + "ignition").Ignition;
+var Apache = require(TestUtils.scriptPath());
+var Ignition = Apache.Ignition;
testIgnitionFail = function () {
Ignition.start(['127.0.0.3:9091', '127.0.0.1:9092'], onConnect);
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a3aa145c/modules/nodejs/src/test/js/test_put_get.js
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/js/test_put_get.js b/modules/nodejs/src/test/js/test_put_get.js
index 7e9f018..c21a0b7 100644
--- a/modules/nodejs/src/test/js/test_put_get.js
+++ b/modules/nodejs/src/test/js/test_put_get.js
@@ -16,8 +16,10 @@
*/
var TestUtils = require("./test_utils").TestUtils;
-var Cache = require(TestUtils.scriptPath() + "cache").Cache;
-var Server = require(TestUtils.scriptPath() + "server").Server;
+
+var Apache = require(TestUtils.scriptPath());
+var Cache = Apache.Cache;
+var Server = Apache.Server;
testPutGet = function() {
var server = new Server('127.0.0.1', 9095);