Added Apache License to all remaining files.
diff --git a/examples/api-proxy/app.js b/examples/api-proxy/app.js index e0b85ec..3b97f33 100644 --- a/examples/api-proxy/app.js +++ b/examples/api-proxy/app.js
@@ -1,3 +1,17 @@ +/* + Licensed 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 express = require('express'), app = express(), Usergrid = require('usergrid')
diff --git a/tests/lib/asset.test.js b/tests/lib/asset.test.js index 389a616..31672ae 100644 --- a/tests/lib/asset.test.js +++ b/tests/lib/asset.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var config = require('../../helpers').config,
diff --git a/tests/lib/client.auth.test.js b/tests/lib/client.auth.test.js index 67567de..55e9f89 100644 --- a/tests/lib/client.auth.test.js +++ b/tests/lib/client.auth.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var should = require('should'),
diff --git a/tests/lib/client.connections.test.js b/tests/lib/client.connections.test.js index 22ed45f..779f707 100644 --- a/tests/lib/client.connections.test.js +++ b/tests/lib/client.connections.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var should = require('should'),
diff --git a/tests/lib/client.init.test.js b/tests/lib/client.init.test.js index 01702bd..9ea124e 100644 --- a/tests/lib/client.init.test.js +++ b/tests/lib/client.init.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var should = require('should'),
diff --git a/tests/lib/client.rest.test.js b/tests/lib/client.rest.test.js index 017073e..ea4aef3 100644 --- a/tests/lib/client.rest.test.js +++ b/tests/lib/client.rest.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var config = require('../../helpers').config,
diff --git a/tests/lib/entity.test.js b/tests/lib/entity.test.js index 8152f23..dedc3e6 100644 --- a/tests/lib/entity.test.js +++ b/tests/lib/entity.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var should = require('should'),
diff --git a/tests/lib/query.test.js b/tests/lib/query.test.js index e92c34d..bbbf1ce 100644 --- a/tests/lib/query.test.js +++ b/tests/lib/query.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var UsergridQuery = require('../../lib/query')
diff --git a/tests/lib/response.test.js b/tests/lib/response.test.js index 685d132..c2d5994 100644 --- a/tests/lib/response.test.js +++ b/tests/lib/response.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var should = require('should'),
diff --git a/tests/lib/responseError.test.js b/tests/lib/responseError.test.js index f746279..15a46bd 100644 --- a/tests/lib/responseError.test.js +++ b/tests/lib/responseError.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var should = require('should'),
diff --git a/tests/lib/user.test.js b/tests/lib/user.test.js index ef89a20..9897579 100644 --- a/tests/lib/user.test.js +++ b/tests/lib/user.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var should = require('should'),
diff --git a/tests/lib/usergrid.init.test.js b/tests/lib/usergrid.init.test.js index b8a9fd9..fd97022 100644 --- a/tests/lib/usergrid.init.test.js +++ b/tests/lib/usergrid.init.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var config = require('../../helpers').config,
diff --git a/tests/lib/usergrid.singleton.test.js b/tests/lib/usergrid.singleton.test.js index 9f73bab..28c1c99 100644 --- a/tests/lib/usergrid.singleton.test.js +++ b/tests/lib/usergrid.singleton.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var Usergrid = require('../../usergrid')
diff --git a/tests/lib/usergrid.teardown.test.js b/tests/lib/usergrid.teardown.test.js index d50ecd4..ee5234c 100644 --- a/tests/lib/usergrid.teardown.test.js +++ b/tests/lib/usergrid.teardown.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' var Usergrid = require('../../usergrid'),
diff --git a/tests/main.test.js b/tests/main.test.js index 22bbedd..3859d54 100644 --- a/tests/main.test.js +++ b/tests/main.test.js
@@ -1,3 +1,17 @@ +/* + Licensed 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. + */ + 'use strict' // module config