diff --git a/example/app.js b/example/app.js index cf633f6..18624cc 100644 --- a/example/app.js +++ b/example/app.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var DataSource = require('loopback-datasource-juggler').DataSource; var config = require('rc')('loopback', {dev: {mysql: {}}}).dev.mysql; diff --git a/index.js b/index.js index 5983399..b66031d 100644 --- a/index.js +++ b/index.js @@ -1 +1,6 @@ +// Copyright IBM Corp. 2012. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + module.exports = require('./lib/mysql.js'); diff --git a/lib/discovery.js b/lib/discovery.js index 3a2a786..8fb593b 100644 --- a/lib/discovery.js +++ b/lib/discovery.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + module.exports = mixinDiscovery; /*! diff --git a/lib/enumFactory.js b/lib/enumFactory.js index f57f8e4..c4edd0e 100644 --- a/lib/enumFactory.js +++ b/lib/enumFactory.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var EnumFactory = function() { if (arguments.length > 0) { var Enum = function Enum(arg) { diff --git a/lib/migration.js b/lib/migration.js index f1c18a5..7f7fe13 100644 --- a/lib/migration.js +++ b/lib/migration.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2015,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var async = require('async'); module.exports = mixinMigration; diff --git a/lib/mysql.js b/lib/mysql.js index 6c94e1a..b34d178 100644 --- a/lib/mysql.js +++ b/lib/mysql.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2012,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + /*! * Module dependencies */ diff --git a/lib/transaction.js b/lib/transaction.js index f1fbe5e..c895827 100644 --- a/lib/transaction.js +++ b/lib/transaction.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2015,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var debug = require('debug')('loopback:connector:mysql:transaction'); module.exports = mixinTransaction; diff --git a/test/connection.test.js b/test/connection.test.js index 0dbf4de..cad94ff 100644 --- a/test/connection.test.js +++ b/test/connection.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + require('./init.js'); var assert = require('assert'); var DataSource = require('loopback-datasource-juggler').DataSource; diff --git a/test/datatypes.test.js b/test/datatypes.test.js index 998d876..adc1f45 100644 --- a/test/datatypes.test.js +++ b/test/datatypes.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + require('./init.js'); var assert = require('assert'); diff --git a/test/imported.test.js b/test/imported.test.js index 3ed5f88..112f877 100644 --- a/test/imported.test.js +++ b/test/imported.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + describe('mysql imported features', function () { before(function () { diff --git a/test/init.js b/test/init.js index e337a65..ac1e6e5 100644 --- a/test/init.js +++ b/test/init.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + module.exports = require('should'); var DataSource = require('loopback-datasource-juggler').DataSource; diff --git a/test/migration.test.js b/test/migration.test.js index ce41fb2..e8dbe14 100644 --- a/test/migration.test.js +++ b/test/migration.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var should = require('./init.js'); var assert = require('assert'); var Schema = require('loopback-datasource-juggler').Schema; diff --git a/test/mysql.autoupdate.test.js b/test/mysql.autoupdate.test.js index eb1f89d..8ad1394 100644 --- a/test/mysql.autoupdate.test.js +++ b/test/mysql.autoupdate.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2014,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var assert = require('assert'); require('./init'); var ds; diff --git a/test/mysql.discover.test.js b/test/mysql.discover.test.js index 123e73d..8279629 100644 --- a/test/mysql.discover.test.js +++ b/test/mysql.discover.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + process.env.NODE_ENV = 'test'; require('should'); diff --git a/test/mysql.test.js b/test/mysql.test.js index 70d8bea..10a8bc7 100644 --- a/test/mysql.test.js +++ b/test/mysql.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2013,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var should = require('./init.js'); var Post, PostWithStringId, PostWithUniqueTitle, db; diff --git a/test/persistence-hooks.test.js b/test/persistence-hooks.test.js index 47ab74b..de97f6f 100644 --- a/test/persistence-hooks.test.js +++ b/test/persistence-hooks.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2015,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var should = require('./init'); var suite = require('loopback-datasource-juggler/test/persistence-hooks.suite.js'); diff --git a/test/transaction.promise.test.js b/test/transaction.promise.test.js index 0f16927..ffecb68 100644 --- a/test/transaction.promise.test.js +++ b/test/transaction.promise.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2015,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + if (typeof Promise === 'undefined') { global.Promise = require('bluebird'); } diff --git a/test/transaction.test.js b/test/transaction.test.js index a1667a4..c0487ee 100644 --- a/test/transaction.test.js +++ b/test/transaction.test.js @@ -1,3 +1,8 @@ +// Copyright IBM Corp. 2015,2016. All Rights Reserved. +// Node module: loopback-connector-mysql +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + var Transaction = require('loopback-datasource-juggler').Transaction; require('./init.js'); require('should');