From b01c0286738c6e63bef18c66f2fe9eb03ae8bb43 Mon Sep 17 00:00:00 2001 From: Cao Xuan Hoang Date: Fri, 2 Dec 2016 17:06:04 +0700 Subject: [PATCH] Add Apache 2.0 license to source file As per OpenStack licensing guide lines [1]: [H102 H103] Newly contributed Source Code should be licensed under the Apache 2.0 license. [1] http://docs.openstack.org/developer/hacking/#openstack-licensing Change-Id: If9ae2195d23ee8ed4bfe3da136e647f4e291a415 --- horizon/static/framework/conf/conf.js | 14 ++++++++++++++ horizon/static/framework/framework.module.js | 14 ++++++++++++++ .../framework/util/bind-scope/bind-scope.spec.js | 14 ++++++++++++++ .../util/extensible/extensible.service.spec.js | 14 ++++++++++++++ .../framework/util/filters/filters.spec.js | 14 ++++++++++++++ horizon/static/framework/util/http/http.spec.js | 14 ++++++++++++++ horizon/static/framework/util/util.module.js | 14 ++++++++++++++ .../framework/util/validators/validators.spec.js | 14 ++++++++++++++ .../framework/util/workflow/workflow.spec.js | 14 ++++++++++++++ .../static/framework/widgets/form/decorator.js | 14 ++++++++++++++ .../modal-wait-spinner.directive.js | 14 ++++++++++++++ .../modal-wait-spinner.service.js | 14 ++++++++++++++ .../static/horizon/js/horizon.communication.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.d3barchart.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.d3linechart.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.d3piechart.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.datepickers.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.firewalls.js | 14 ++++++++++++++ .../horizon/js/horizon.flatnetworktopology.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.forms.js | 14 ++++++++++++++ .../static/horizon/js/horizon.formset_table.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.heattop.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.instances.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.membership.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.messages.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.metering.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.modals.js | 14 ++++++++++++++ .../static/horizon/js/horizon.networktopology.js | 14 ++++++++++++++ .../horizon/js/horizon.networktopologycommon.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.quota.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.tables.js | 14 ++++++++++++++ .../horizon/js/horizon.tables_inline_edit.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.tabs.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.templates.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.users.js | 14 ++++++++++++++ horizon/static/horizon/js/horizon.volumes.js | 13 +++++++++++++ .../lib/jquery/jquery.bootstrap.wizard.js | 14 ++++++++++++++ .../tests/jasmine/instances.legacy-spec.js | 14 ++++++++++++++ .../tests/jasmine/messages.legacy-spec.js | 14 ++++++++++++++ .../horizon/tests/jasmine/modals.legacy-spec.js | 14 ++++++++++++++ .../horizon/tests/jasmine/quota.legacy-spec.js | 14 ++++++++++++++ .../horizon/tests/jasmine/tables.legacy-spec.js | 14 ++++++++++++++ .../tests/jasmine/templates.legacy-spec.js | 14 ++++++++++++++ .../test/test_dashboards/cats/kittens/views.py | 12 ++++++++++++ .../test/test_dashboards/cats/tigers/views.py | 12 ++++++++++++ .../launch-instance-model.service.js | 14 ++++++++++++++ openstack_dashboard/test/error_pages_urls.py | 12 ++++++++++++ .../static/plugin_panel/plugin_module.js | 16 +++++++++++++++- test-shim.js | 14 ++++++++++++++ 50 files changed, 694 insertions(+), 1 deletion(-) diff --git a/horizon/static/framework/conf/conf.js b/horizon/static/framework/conf/conf.js index ec3551d73d..fbdb9f4fea 100644 --- a/horizon/static/framework/conf/conf.js +++ b/horizon/static/framework/conf/conf.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. + */ + (function () { 'use strict'; diff --git a/horizon/static/framework/framework.module.js b/horizon/static/framework/framework.module.js index 16e901a4e7..d731902d6f 100644 --- a/horizon/static/framework/framework.module.js +++ b/horizon/static/framework/framework.module.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. + */ + (function () { 'use strict'; diff --git a/horizon/static/framework/util/bind-scope/bind-scope.spec.js b/horizon/static/framework/util/bind-scope/bind-scope.spec.js index a01cc622bd..dbf7b7a773 100644 --- a/horizon/static/framework/util/bind-scope/bind-scope.spec.js +++ b/horizon/static/framework/util/bind-scope/bind-scope.spec.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. + */ + (function () { 'use strict'; diff --git a/horizon/static/framework/util/extensible/extensible.service.spec.js b/horizon/static/framework/util/extensible/extensible.service.spec.js index 0d6f266d4b..d60138d851 100644 --- a/horizon/static/framework/util/extensible/extensible.service.spec.js +++ b/horizon/static/framework/util/extensible/extensible.service.spec.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. + */ + (function () { 'use strict'; diff --git a/horizon/static/framework/util/filters/filters.spec.js b/horizon/static/framework/util/filters/filters.spec.js index 2ed211fcd8..8117008ac2 100644 --- a/horizon/static/framework/util/filters/filters.spec.js +++ b/horizon/static/framework/util/filters/filters.spec.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. + */ + (function () { 'use strict'; diff --git a/horizon/static/framework/util/http/http.spec.js b/horizon/static/framework/util/http/http.spec.js index 5773e07e84..a70d8290e0 100644 --- a/horizon/static/framework/util/http/http.spec.js +++ b/horizon/static/framework/util/http/http.spec.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. + */ + (function () { 'use strict'; diff --git a/horizon/static/framework/util/util.module.js b/horizon/static/framework/util/util.module.js index 4de682f073..bfe9d807f2 100644 --- a/horizon/static/framework/util/util.module.js +++ b/horizon/static/framework/util/util.module.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. + */ + (function () { 'use strict'; diff --git a/horizon/static/framework/util/validators/validators.spec.js b/horizon/static/framework/util/validators/validators.spec.js index b08fcded24..79972d95c8 100644 --- a/horizon/static/framework/util/validators/validators.spec.js +++ b/horizon/static/framework/util/validators/validators.spec.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. + */ + (function () { 'use strict'; diff --git a/horizon/static/framework/util/workflow/workflow.spec.js b/horizon/static/framework/util/workflow/workflow.spec.js index 51ff588af7..02d53fb029 100644 --- a/horizon/static/framework/util/workflow/workflow.spec.js +++ b/horizon/static/framework/util/workflow/workflow.spec.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. + */ + (function () { 'use strict'; diff --git a/horizon/static/framework/widgets/form/decorator.js b/horizon/static/framework/widgets/form/decorator.js index d77d06635a..cb6b9b6fb0 100644 --- a/horizon/static/framework/widgets/form/decorator.js +++ b/horizon/static/framework/widgets/form/decorator.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. + */ + (function() { 'use strict'; diff --git a/horizon/static/framework/widgets/modal-wait-spinner/modal-wait-spinner.directive.js b/horizon/static/framework/widgets/modal-wait-spinner/modal-wait-spinner.directive.js index 62d85f13c7..b3eeb9ca7e 100644 --- a/horizon/static/framework/widgets/modal-wait-spinner/modal-wait-spinner.directive.js +++ b/horizon/static/framework/widgets/modal-wait-spinner/modal-wait-spinner.directive.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. + */ + (function () { 'use strict'; diff --git a/horizon/static/framework/widgets/modal-wait-spinner/modal-wait-spinner.service.js b/horizon/static/framework/widgets/modal-wait-spinner/modal-wait-spinner.service.js index 41aa0d9d4e..00c0b10195 100644 --- a/horizon/static/framework/widgets/modal-wait-spinner/modal-wait-spinner.service.js +++ b/horizon/static/framework/widgets/modal-wait-spinner/modal-wait-spinner.service.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. + */ + (function () { 'use strict'; diff --git a/horizon/static/horizon/js/horizon.communication.js b/horizon/static/horizon/js/horizon.communication.js index a6f7e638aa..1ce8f9738d 100644 --- a/horizon/static/horizon/js/horizon.communication.js +++ b/horizon/static/horizon/js/horizon.communication.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. + */ + /* Queued ajax handling for Horizon. * * Note: The number of concurrent AJAX connections hanlded in the queue diff --git a/horizon/static/horizon/js/horizon.d3barchart.js b/horizon/static/horizon/js/horizon.d3barchart.js index 57732a1ab6..17a15f1628 100644 --- a/horizon/static/horizon/js/horizon.d3barchart.js +++ b/horizon/static/horizon/js/horizon.d3barchart.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. + */ + /* Used for animating and displaying bar information using D3js rect. diff --git a/horizon/static/horizon/js/horizon.d3linechart.js b/horizon/static/horizon/js/horizon.d3linechart.js index 804da8e24e..4a4b515012 100644 --- a/horizon/static/horizon/js/horizon.d3linechart.js +++ b/horizon/static/horizon/js/horizon.d3linechart.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. + */ + /* global Rickshaw */ /* Draw line chart in d3. diff --git a/horizon/static/horizon/js/horizon.d3piechart.js b/horizon/static/horizon/js/horizon.d3piechart.js index a7b539b54d..8bf422b1f7 100644 --- a/horizon/static/horizon/js/horizon.d3piechart.js +++ b/horizon/static/horizon/js/horizon.d3piechart.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. + */ + /* Draw pie charts in d3. diff --git a/horizon/static/horizon/js/horizon.datepickers.js b/horizon/static/horizon/js/horizon.datepickers.js index a7563fcf6f..688b0b4e70 100644 --- a/horizon/static/horizon/js/horizon.datepickers.js +++ b/horizon/static/horizon/js/horizon.datepickers.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. + */ + horizon.datepickers = { add: function(selector) { $(selector).each(function () { diff --git a/horizon/static/horizon/js/horizon.firewalls.js b/horizon/static/horizon/js/horizon.firewalls.js index 99e6b05fad..c44cd9c11f 100644 --- a/horizon/static/horizon/js/horizon.firewalls.js +++ b/horizon/static/horizon/js/horizon.firewalls.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. + */ + horizon.firewalls = { user_decided_length: false, rules_selected: [], diff --git a/horizon/static/horizon/js/horizon.flatnetworktopology.js b/horizon/static/horizon/js/horizon.flatnetworktopology.js index 5eb503e3c6..7e56562c80 100644 --- a/horizon/static/horizon/js/horizon.flatnetworktopology.js +++ b/horizon/static/horizon/js/horizon.flatnetworktopology.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. + */ + /* global Hogan */ /* Namespace for core functionality related to Network Topology. */ diff --git a/horizon/static/horizon/js/horizon.forms.js b/horizon/static/horizon/js/horizon.forms.js index 5664e7be69..da489a7045 100644 --- a/horizon/static/horizon/js/horizon.forms.js +++ b/horizon/static/horizon/js/horizon.forms.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. + */ + /* Namespace for core functionality related to Forms. */ horizon.forms = { handle_snapshot_source: function() { diff --git a/horizon/static/horizon/js/horizon.formset_table.js b/horizon/static/horizon/js/horizon.formset_table.js index 66685d37bf..9089920172 100644 --- a/horizon/static/horizon/js/horizon.formset_table.js +++ b/horizon/static/horizon/js/horizon.formset_table.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. + */ + horizon.formset_table = (function () { 'use strict'; diff --git a/horizon/static/horizon/js/horizon.heattop.js b/horizon/static/horizon/js/horizon.heattop.js index 2d60d27e06..81493767d1 100644 --- a/horizon/static/horizon/js/horizon.heattop.js +++ b/horizon/static/horizon/js/horizon.heattop.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. + */ + /** * * HeatTop JS Framework diff --git a/horizon/static/horizon/js/horizon.instances.js b/horizon/static/horizon/js/horizon.instances.js index 028680ee6f..da6578d987 100644 --- a/horizon/static/horizon/js/horizon.instances.js +++ b/horizon/static/horizon/js/horizon.instances.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. + */ + /* global JSEncrypt */ horizon.instances = { user_decided_length: false, diff --git a/horizon/static/horizon/js/horizon.js b/horizon/static/horizon/js/horizon.js index 66b8891a3c..456fcf55a3 100644 --- a/horizon/static/horizon/js/horizon.js +++ b/horizon/static/horizon/js/horizon.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. + */ + /* This is the base Horizon JavaScript object. There is only ever one of these * loaded (referenced as horizon with a lower-case h) which happens immediately * after the definition below. diff --git a/horizon/static/horizon/js/horizon.membership.js b/horizon/static/horizon/js/horizon.membership.js index 0d17b4cc0a..6d08f6eca4 100644 --- a/horizon/static/horizon/js/horizon.membership.js +++ b/horizon/static/horizon/js/horizon.membership.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. + */ + /* Namespace for core functionality related to Membership Workflow Step. */ horizon.membership = { diff --git a/horizon/static/horizon/js/horizon.messages.js b/horizon/static/horizon/js/horizon.messages.js index 2ddb8f5ff0..6d35418144 100644 --- a/horizon/static/horizon/js/horizon.messages.js +++ b/horizon/static/horizon/js/horizon.messages.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. + */ + horizon.alert = function (type, message, extra_tags) { var safe = false; // Check if the message is tagged as safe. diff --git a/horizon/static/horizon/js/horizon.metering.js b/horizon/static/horizon/js/horizon.metering.js index b976f30ab5..c339021906 100644 --- a/horizon/static/horizon/js/horizon.metering.js +++ b/horizon/static/horizon/js/horizon.metering.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. + */ + horizon.metering = { init_create_usage_report_form: function() { horizon.datepickers.add('input[data-date-picker]'); diff --git a/horizon/static/horizon/js/horizon.modals.js b/horizon/static/horizon/js/horizon.modals.js index 1574e1afeb..e3a96920f7 100644 --- a/horizon/static/horizon/js/horizon.modals.js +++ b/horizon/static/horizon/js/horizon.modals.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. + */ + /* Namespace for core functionality related to modal dialogs. * * Modals in Horizon are treated as a "stack", e.g new ones are added to the diff --git a/horizon/static/horizon/js/horizon.networktopology.js b/horizon/static/horizon/js/horizon.networktopology.js index fdd9b39445..995f4f60ca 100644 --- a/horizon/static/horizon/js/horizon.networktopology.js +++ b/horizon/static/horizon/js/horizon.networktopology.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. + */ + /* global Hogan */ /* Namespace for core functionality related to Network Topology. */ diff --git a/horizon/static/horizon/js/horizon.networktopologycommon.js b/horizon/static/horizon/js/horizon.networktopologycommon.js index 29e2a9fb07..e501262b11 100644 --- a/horizon/static/horizon/js/horizon.networktopologycommon.js +++ b/horizon/static/horizon/js/horizon.networktopologycommon.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. + */ + // Aggregate for common network topology functionality horizon.networktopologycommon = { init:function() { diff --git a/horizon/static/horizon/js/horizon.quota.js b/horizon/static/horizon/js/horizon.quota.js index a2402a4ef1..5ce2210476 100644 --- a/horizon/static/horizon/js/horizon.quota.js +++ b/horizon/static/horizon/js/horizon.quota.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. + */ + /* Used for animating and displaying quota information on forms using D3js progress bars. Also used for displaying flavor details on modal- diff --git a/horizon/static/horizon/js/horizon.tables.js b/horizon/static/horizon/js/horizon.tables.js index f3df978f5a..3623c68058 100644 --- a/horizon/static/horizon/js/horizon.tables.js +++ b/horizon/static/horizon/js/horizon.tables.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. + */ + /* Namespace for core functionality related to DataTables. */ horizon.datatables = { update: function () { diff --git a/horizon/static/horizon/js/horizon.tables_inline_edit.js b/horizon/static/horizon/js/horizon.tables_inline_edit.js index ca53b72180..bef80dd667 100644 --- a/horizon/static/horizon/js/horizon.tables_inline_edit.js +++ b/horizon/static/horizon/js/horizon.tables_inline_edit.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. + */ + //TODO(lcastell):Inline edit is deprecated and will be removed in Horizon 12.0 horizon.inline_edit = { get_cell_id: function (td_element) { diff --git a/horizon/static/horizon/js/horizon.tabs.js b/horizon/static/horizon/js/horizon.tabs.js index bdbd199db0..9ed4558c1a 100644 --- a/horizon/static/horizon/js/horizon.tabs.js +++ b/horizon/static/horizon/js/horizon.tabs.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. + */ + horizon.tabs = { _init_load_functions: [] }; diff --git a/horizon/static/horizon/js/horizon.templates.js b/horizon/static/horizon/js/horizon.templates.js index 5796cc4dec..3098783b6f 100644 --- a/horizon/static/horizon/js/horizon.templates.js +++ b/horizon/static/horizon/js/horizon.templates.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. + */ + /* global Hogan */ /* Namespace for core functionality related to client-side templating. */ horizon.templates = { diff --git a/horizon/static/horizon/js/horizon.users.js b/horizon/static/horizon/js/horizon.users.js index 92ae4bd81f..4059d6256c 100644 --- a/horizon/static/horizon/js/horizon.users.js +++ b/horizon/static/horizon/js/horizon.users.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. + */ + horizon.user = { init: function() { diff --git a/horizon/static/horizon/js/horizon.volumes.js b/horizon/static/horizon/js/horizon.volumes.js index d6d8b1f4c2..f32fc5d474 100644 --- a/horizon/static/horizon/js/horizon.volumes.js +++ b/horizon/static/horizon/js/horizon.volumes.js @@ -1,3 +1,16 @@ +/** + * 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. + */ horizon.Volumes = { selected_volume_type: null, diff --git a/horizon/static/horizon/lib/jquery/jquery.bootstrap.wizard.js b/horizon/static/horizon/lib/jquery/jquery.bootstrap.wizard.js index 202143406d..23d6288d7a 100644 --- a/horizon/static/horizon/lib/jquery/jquery.bootstrap.wizard.js +++ b/horizon/static/horizon/lib/jquery/jquery.bootstrap.wizard.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. + */ + /*! * jQuery twitter bootstrap wizard plugin * Examples and documentation at: http://github.com/VinceG/twitter-bootstrap-wizard diff --git a/horizon/static/horizon/tests/jasmine/instances.legacy-spec.js b/horizon/static/horizon/tests/jasmine/instances.legacy-spec.js index c2b94c6afa..160db246fa 100644 --- a/horizon/static/horizon/tests/jasmine/instances.legacy-spec.js +++ b/horizon/static/horizon/tests/jasmine/instances.legacy-spec.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. + */ + describe('Instances (horizon.instances.js)', function() { var password; var enc_password = "dusPDCoY0u7PqDgVE6M+XicV+8V1qQkuPipM+KoCJ5cS" + diff --git a/horizon/static/horizon/tests/jasmine/messages.legacy-spec.js b/horizon/static/horizon/tests/jasmine/messages.legacy-spec.js index 8011ffbc12..ed3f91c21b 100644 --- a/horizon/static/horizon/tests/jasmine/messages.legacy-spec.js +++ b/horizon/static/horizon/tests/jasmine/messages.legacy-spec.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. + */ + describe("Messages (horizon.messages.js)", function () { var message; diff --git a/horizon/static/horizon/tests/jasmine/modals.legacy-spec.js b/horizon/static/horizon/tests/jasmine/modals.legacy-spec.js index e40812ace7..c164ae22f1 100644 --- a/horizon/static/horizon/tests/jasmine/modals.legacy-spec.js +++ b/horizon/static/horizon/tests/jasmine/modals.legacy-spec.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. + */ + describe("Modals (horizon.modals.js)", function () { var modal, title, body, confirm; diff --git a/horizon/static/horizon/tests/jasmine/quota.legacy-spec.js b/horizon/static/horizon/tests/jasmine/quota.legacy-spec.js index 9ec7bc7bec..f4b30c76d1 100644 --- a/horizon/static/horizon/tests/jasmine/quota.legacy-spec.js +++ b/horizon/static/horizon/tests/jasmine/quota.legacy-spec.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. + */ + describe("Quotas (horizon.quota.js)", function() { describe("humanizeNumbers", function() { diff --git a/horizon/static/horizon/tests/jasmine/tables.legacy-spec.js b/horizon/static/horizon/tests/jasmine/tables.legacy-spec.js index aca6bb6b8f..e5a3811b79 100644 --- a/horizon/static/horizon/tests/jasmine/tables.legacy-spec.js +++ b/horizon/static/horizon/tests/jasmine/tables.legacy-spec.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. + */ + describe("Tables (horizon.tables.js)", function () { describe("can hide or reveal column,", function () { diff --git a/horizon/static/horizon/tests/jasmine/templates.legacy-spec.js b/horizon/static/horizon/tests/jasmine/templates.legacy-spec.js index de1423a962..31a7bcd8d6 100644 --- a/horizon/static/horizon/tests/jasmine/templates.legacy-spec.js +++ b/horizon/static/horizon/tests/jasmine/templates.legacy-spec.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. + */ + describe("Client-Side Templating (horizon.templates.js)", function () { it("Compiled templates list should not be empty.", function () { var size = 0; diff --git a/horizon/test/test_dashboards/cats/kittens/views.py b/horizon/test/test_dashboards/cats/kittens/views.py index 9b17cae54b..364d35cf36 100644 --- a/horizon/test/test_dashboards/cats/kittens/views.py +++ b/horizon/test/test_dashboards/cats/kittens/views.py @@ -1,3 +1,15 @@ +# 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. + from horizon import views diff --git a/horizon/test/test_dashboards/cats/tigers/views.py b/horizon/test/test_dashboards/cats/tigers/views.py index 483f789ba6..af3eb53427 100644 --- a/horizon/test/test_dashboards/cats/tigers/views.py +++ b/horizon/test/test_dashboards/cats/tigers/views.py @@ -1,3 +1,15 @@ +# 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. + from horizon import views diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.js b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.js index 0dc96d0190..d300b7fb10 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.js +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.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. + */ + (function () { 'use strict'; diff --git a/openstack_dashboard/test/error_pages_urls.py b/openstack_dashboard/test/error_pages_urls.py index 28f5ba85dc..2222010699 100644 --- a/openstack_dashboard/test/error_pages_urls.py +++ b/openstack_dashboard/test/error_pages_urls.py @@ -1,3 +1,15 @@ +# 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. + from django.conf.urls import url from django.views import defaults diff --git a/openstack_dashboard/test/test_panels/plugin_panel/static/plugin_panel/plugin_module.js b/openstack_dashboard/test/test_panels/plugin_panel/static/plugin_panel/plugin_module.js index 9c51074791..5047908154 100644 --- a/openstack_dashboard/test/test_panels/plugin_panel/static/plugin_panel/plugin_module.js +++ b/openstack_dashboard/test/test_panels/plugin_panel/static/plugin_panel/plugin_module.js @@ -1 +1,15 @@ -angular.module('testAngularModule', []); \ No newline at end of file +/** + * 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. + */ + +angular.module('testAngularModule', []); diff --git a/test-shim.js b/test-shim.js index 5b364ba31a..176b1c38fa 100644 --- a/test-shim.js +++ b/test-shim.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. + */ + /* * Shim for Javascript unit tests; supplying expected global features. * This should be removed from the codebase once i18n services are provided.