Rename oracle connector
This commit is contained in:
parent
9be5123d9e
commit
17015eef9b
|
@ -5,7 +5,7 @@ app.use(asteroid.rest());
|
||||||
|
|
||||||
|
|
||||||
var dataSource = app.dataSource('db',
|
var dataSource = app.dataSource('db',
|
||||||
{ adapter: 'oracle',
|
{ adapter: require('asteroid-connector-oracle'),
|
||||||
host: '166.78.158.45',
|
host: '166.78.158.45',
|
||||||
database: 'XE',
|
database: 'XE',
|
||||||
username: 'strongloop',
|
username: 'strongloop',
|
||||||
|
@ -29,4 +29,4 @@ dataSource.autoupdate(function (err, data) {
|
||||||
|
|
||||||
app.listen(3000);
|
app.listen(3000);
|
||||||
|
|
||||||
console.log('a list of colors is available at http://localhost:300/colors');
|
console.log('a list of colors is available at http://localhost:300/colors');
|
||||||
|
|
|
@ -19,6 +19,6 @@
|
||||||
"supertest": "latest"
|
"supertest": "latest"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue