From 17015eef9b30507f11eda531f7e1ed236f7095e8 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Thu, 20 Jun 2013 17:53:25 -0700 Subject: [PATCH] Rename oracle connector --- example/simple-data-source/app-oracle.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/simple-data-source/app-oracle.js b/example/simple-data-source/app-oracle.js index d9cb4040..6f1beb66 100644 --- a/example/simple-data-source/app-oracle.js +++ b/example/simple-data-source/app-oracle.js @@ -5,7 +5,7 @@ app.use(asteroid.rest()); var dataSource = app.dataSource('db', - { adapter: 'oracle', + { adapter: require('asteroid-connector-oracle'), host: '166.78.158.45', database: 'XE', username: 'strongloop', @@ -29,4 +29,4 @@ dataSource.autoupdate(function (err, data) { app.listen(3000); -console.log('a list of colors is available at http://localhost:300/colors'); \ No newline at end of file +console.log('a list of colors is available at http://localhost:300/colors'); diff --git a/package.json b/package.json index 23b3999f..812e60a0 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,6 @@ "supertest": "latest" }, "optionalDependencies": { - "jugglingdb-oracle": "git+ssh://git@github.com:strongloop/jugglingdb-oracle.git" + "asteroid-connector-oracle": "git+ssh://git@github.com:strongloop/asteroid-connector-oracle.git" } }