Repository: incubator-ignite Updated Branches: refs/heads/ignite-843 a78eee502 -> 0370ff05a
# ignite-850 WIP. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/f350d120 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/f350d120 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/f350d120 Branch: refs/heads/ignite-843 Commit: f350d120f09f422cd1ad57ec92862ce82ab50ed3 Parents: b3abf11 Author: Andrey <anovi...@gridgain.com> Authored: Wed Jun 24 09:30:22 2015 +0700 Committer: Andrey <anovi...@gridgain.com> Committed: Wed Jun 24 09:30:22 2015 +0700 ---------------------------------------------------------------------- modules/webconfig/nodejs/package.json | 5 ++++- modules/webconfig/nodejs/routes/persistence.js | 23 +++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f350d120/modules/webconfig/nodejs/package.json ---------------------------------------------------------------------- diff --git a/modules/webconfig/nodejs/package.json b/modules/webconfig/nodejs/package.json index 59ff406..dd968cb 100644 --- a/modules/webconfig/nodejs/package.json +++ b/modules/webconfig/nodejs/package.json @@ -15,7 +15,6 @@ "cookie-parser": "~1.3.4", "debug": "~2.1.1", "express": "~4.12.2", - "express-messages": "0.0.2", "express-session": "^1.11.1", "jade": "~1.9.2", "less-middleware": "1.0.x", @@ -25,6 +24,10 @@ "passport": "^0.2.1", "passport-local": "^1.0.0", "passport-local-mongoose": "^1.0.0", + "pg": "^4.4.0", "serve-favicon": "~2.2.0" + }, + "devDependencies": { + "supertest": "^1.0.1" } } http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f350d120/modules/webconfig/nodejs/routes/persistence.js ---------------------------------------------------------------------- diff --git a/modules/webconfig/nodejs/routes/persistence.js b/modules/webconfig/nodejs/routes/persistence.js new file mode 100644 index 0000000..3234a4b --- /dev/null +++ b/modules/webconfig/nodejs/routes/persistence.js @@ -0,0 +1,23 @@ +/* + * 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. + */ + +var router = require('express').Router(); + +// +router.post('/pg', function(req, res) { + +}); \ No newline at end of file