You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ri...@apache.org on 2014/07/09 11:33:40 UTC

[36/59] [abbrv] Added apache copyright header to (non 3rd-party) js files

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/eb0f1b3a/usage/jsgui/src/test/javascript/specs/view/entity-details-spec.js
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/test/javascript/specs/view/entity-details-spec.js b/usage/jsgui/src/test/javascript/specs/view/entity-details-spec.js
index ff6b217..c68fcac 100644
--- a/usage/jsgui/src/test/javascript/specs/view/entity-details-spec.js
+++ b/usage/jsgui/src/test/javascript/specs/view/entity-details-spec.js
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+*/
 define([
     "underscore", "jquery", "backbone", "model/entity-summary", "view/entity-details", "view/entity-summary",
     "view/entity-sensors", "model/application"

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/eb0f1b3a/usage/jsgui/src/test/javascript/specs/view/entity-effector-view-spec.js
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/test/javascript/specs/view/entity-effector-view-spec.js b/usage/jsgui/src/test/javascript/specs/view/entity-effector-view-spec.js
index 1ad5c4d..eae2101 100644
--- a/usage/jsgui/src/test/javascript/specs/view/entity-effector-view-spec.js
+++ b/usage/jsgui/src/test/javascript/specs/view/entity-effector-view-spec.js
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+*/
 define([
     "underscore", "jquery", "backbone", "view/entity-effectors", "model/entity-summary"
 ], function (_, $, Backbone, EntityEffectorsView, EntitySummary) {

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/eb0f1b3a/usage/jsgui/src/test/javascript/specs/view/entity-sensors-spec.js
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/test/javascript/specs/view/entity-sensors-spec.js b/usage/jsgui/src/test/javascript/specs/view/entity-sensors-spec.js
index 30941fb..d2bea28 100644
--- a/usage/jsgui/src/test/javascript/specs/view/entity-sensors-spec.js
+++ b/usage/jsgui/src/test/javascript/specs/view/entity-sensors-spec.js
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+*/
 define([
     "underscore", "view/entity-sensors",
     "text!tpl/apps/sensor-name.html"

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/eb0f1b3a/usage/launcher/src/test/resources/mongo-product-delete.js
----------------------------------------------------------------------
diff --git a/usage/launcher/src/test/resources/mongo-product-delete.js b/usage/launcher/src/test/resources/mongo-product-delete.js
index 81d93f7..00bf9d8 100644
--- a/usage/launcher/src/test/resources/mongo-product-delete.js
+++ b/usage/launcher/src/test/resources/mongo-product-delete.js
@@ -1,2 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+*/
 db = db.getMongo().getDB("foo");
 db.products.remove({name:"bar"});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/eb0f1b3a/usage/launcher/src/test/resources/mongo-product-insert.js
----------------------------------------------------------------------
diff --git a/usage/launcher/src/test/resources/mongo-product-insert.js b/usage/launcher/src/test/resources/mongo-product-insert.js
index 2ecdc0b..7104378 100644
--- a/usage/launcher/src/test/resources/mongo-product-insert.js
+++ b/usage/launcher/src/test/resources/mongo-product-insert.js
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+*/
 db = db.getMongo().getDB("foo");
 db.products.insert({name:"bar", type:"baz"});
 if (typeof loopCount == "undefined") loopCount = 5;

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/eb0f1b3a/usage/launcher/src/test/resources/mongo-product-update.js
----------------------------------------------------------------------
diff --git a/usage/launcher/src/test/resources/mongo-product-update.js b/usage/launcher/src/test/resources/mongo-product-update.js
index cedd95a..071ec2d 100644
--- a/usage/launcher/src/test/resources/mongo-product-update.js
+++ b/usage/launcher/src/test/resources/mongo-product-update.js
@@ -1,2 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+*/
 db = db.getMongo().getDB("foo");
 db.products.update({name:"My Product"}, {$set: {price:"$100"}}, {multi: true, upsert: false});
\ No newline at end of file