diff --git a/example/simple-data-source/app-oracle.js b/example/simple-data-source/app-oracle.js deleted file mode 100644 index 6f1beb66..00000000 --- a/example/simple-data-source/app-oracle.js +++ /dev/null @@ -1,32 +0,0 @@ -var asteroid = require('../../'); -var app = asteroid(); - -app.use(asteroid.rest()); - - -var dataSource = app.dataSource('db', - { adapter: require('asteroid-connector-oracle'), - host: '166.78.158.45', - database: 'XE', - username: 'strongloop', - password: 'str0ng100pjs', - debug: true - }); - - -var Color = dataSource.define('color', { - 'name': String -}); -dataSource.autoupdate(function (err, data) { - Color.create({name: 'red'}); - Color.create({name: 'green'}); - Color.create({name: 'blue'}); - - Color.all(function () { - console.log(arguments); - }); -}); - -app.listen(3000); - -console.log('a list of colors is available at http://localhost:300/colors'); diff --git a/package.json b/package.json index 812e60a0..b5fa5050 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,5 @@ "mocha": "latest", "sl-task-emitter": "0.0.x", "supertest": "latest" - }, - "optionalDependencies": { - "asteroid-connector-oracle": "git+ssh://git@github.com:strongloop/asteroid-connector-oracle.git" } }