You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ch...@apache.org on 2013/07/30 16:01:57 UTC
git commit: updated refs/heads/master to aa9cd72
Updated Branches:
refs/heads/master b2fdfc508 -> aa9cd7241
Fixing license headers within the tools/ngui folder
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/aa9cd724
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/aa9cd724
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/aa9cd724
Branch: refs/heads/master
Commit: aa9cd72418998f40bd1657d6c18dfe10235811ef
Parents: b2fdfc5
Author: Chip Childers <ch...@apache.org>
Authored: Tue Jul 30 10:01:20 2013 -0400
Committer: Chip Childers <ch...@apache.org>
Committed: Tue Jul 30 10:01:37 2013 -0400
----------------------------------------------------------------------
tools/ngui/static/css/app.css | 18 ++++++++++++++++++
tools/ngui/static/js/app/accounts/accounts.js | 17 +++++++++++++++++
.../ngui/static/js/app/accounts/accounts.tpl.html | 18 ++++++++++++++++++
tools/ngui/static/js/app/app.js | 17 +++++++++++++++++
tools/ngui/static/js/app/domains/domains.js | 17 +++++++++++++++++
tools/ngui/static/js/app/events/events.js | 17 +++++++++++++++++
.../js/app/globalsettings/globalsettings.js | 17 +++++++++++++++++
.../js/app/globalsettings/globalsettings.tpl.html | 18 ++++++++++++++++++
.../js/app/instances/instance-details.tpl.html | 18 ++++++++++++++++++
tools/ngui/static/js/app/instances/instances.js | 17 +++++++++++++++++
.../static/js/app/instances/instances.tpl.html | 18 ++++++++++++++++++
tools/ngui/static/js/app/networks/networks.js | 17 +++++++++++++++++
tools/ngui/static/js/app/projects/projects.js | 17 +++++++++++++++++
.../js/app/serviceofferings/serviceofferings.js | 17 +++++++++++++++++
tools/ngui/static/js/app/storage/storage.js | 17 +++++++++++++++++
tools/ngui/static/js/app/storage/storage.tpl.html | 18 ++++++++++++++++++
tools/ngui/static/js/app/templates/templates.js | 17 +++++++++++++++++
tools/ngui/static/js/common/dictionary.js | 17 +++++++++++++++++
tools/ngui/static/js/common/directives/confirm.js | 17 +++++++++++++++++
.../static/js/common/directives/edit-in-place.js | 17 +++++++++++++++++
.../js/common/directives/edit-in-place.tpl.html | 18 ++++++++++++++++++
tools/ngui/static/js/common/directives/label.js | 17 +++++++++++++++++
.../static/js/common/directives/modal-form.js | 17 +++++++++++++++++
.../js/common/directives/modal-form.tpl.html | 18 ++++++++++++++++++
tools/ngui/static/js/common/resources/accounts.js | 17 +++++++++++++++++
.../static/js/common/resources/configurations.js | 17 +++++++++++++++++
.../static/js/common/resources/diskofferings.js | 17 +++++++++++++++++
tools/ngui/static/js/common/resources/domains.js | 17 +++++++++++++++++
tools/ngui/static/js/common/resources/events.js | 17 +++++++++++++++++
tools/ngui/static/js/common/resources/networks.js | 17 +++++++++++++++++
tools/ngui/static/js/common/resources/projects.js | 17 +++++++++++++++++
.../js/common/resources/serviceofferings.js | 17 +++++++++++++++++
.../ngui/static/js/common/resources/snapshots.js | 17 +++++++++++++++++
.../ngui/static/js/common/resources/templates.js | 17 +++++++++++++++++
tools/ngui/static/js/common/resources/users.js | 17 +++++++++++++++++
.../static/js/common/resources/virtualmachines.js | 17 +++++++++++++++++
tools/ngui/static/js/common/resources/volumes.js | 17 +++++++++++++++++
tools/ngui/static/js/common/resources/zones.js | 17 +++++++++++++++++
.../ngui/static/js/common/services/breadcrumbs.js | 17 +++++++++++++++++
.../static/js/common/services/helperfunctions.js | 17 +++++++++++++++++
.../static/js/common/services/notifications.js | 17 +++++++++++++++++
tools/ngui/static/js/common/services/requester.js | 16 ++++++++++++++++
42 files changed, 721 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/css/app.css
----------------------------------------------------------------------
diff --git a/tools/ngui/static/css/app.css b/tools/ngui/static/css/app.css
index 352d909..1f34a51 100644
--- a/tools/ngui/static/css/app.css
+++ b/tools/ngui/static/css/app.css
@@ -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.
+*/
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/accounts/accounts.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/accounts/accounts.js b/tools/ngui/static/js/app/accounts/accounts.js
index 408f254..eae5070 100644
--- a/tools/ngui/static/js/app/accounts/accounts.js
+++ b/tools/ngui/static/js/app/accounts/accounts.js
@@ -1,3 +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.
+
angular.module('accounts', ['resources.accounts', 'resources.domains', 'services.breadcrumbs']).
config(['$routeProvider', function($routeProvider){
$routeProvider.
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/accounts/accounts.tpl.html
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/accounts/accounts.tpl.html b/tools/ngui/static/js/app/accounts/accounts.tpl.html
index 281aa66..ba685b9 100644
--- a/tools/ngui/static/js/app/accounts/accounts.tpl.html
+++ b/tools/ngui/static/js/app/accounts/accounts.tpl.html
@@ -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.
+-->
<div class="well well-small form-inline">
<input type="text" placeholder="Search" class="input-medium search-query" ng-model="search.name">
<modal-form form-details="addAccountForm">
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/app.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/app.js b/tools/ngui/static/js/app/app.js
index fb83c1a..7836ad1 100644
--- a/tools/ngui/static/js/app/app.js
+++ b/tools/ngui/static/js/app/app.js
@@ -1,3 +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.
+
angular.module('cloudstack', [
'ui.bootstrap',
'instances',
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/domains/domains.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/domains/domains.js b/tools/ngui/static/js/app/domains/domains.js
index 8f5977c..7afbb6c 100644
--- a/tools/ngui/static/js/app/domains/domains.js
+++ b/tools/ngui/static/js/app/domains/domains.js
@@ -1,3 +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.
+
angular.module('domains', ['resources.domains', 'services.breadcrumbs']).
config(['$routeProvider', function($routeProvider){
$routeProvider.
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/events/events.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/events/events.js b/tools/ngui/static/js/app/events/events.js
index 9e26789..8815f99 100644
--- a/tools/ngui/static/js/app/events/events.js
+++ b/tools/ngui/static/js/app/events/events.js
@@ -1,3 +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.
+
angular.module('events', ['resources.events', 'services.breadcrumbs']).
config(['$routeProvider', function($routeProvider){
$routeProvider.
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/globalsettings/globalsettings.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/globalsettings/globalsettings.js b/tools/ngui/static/js/app/globalsettings/globalsettings.js
index b1fc574..857878a 100644
--- a/tools/ngui/static/js/app/globalsettings/globalsettings.js
+++ b/tools/ngui/static/js/app/globalsettings/globalsettings.js
@@ -1,3 +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.
+
angular.module('globalsettings', ['resources.configurations', 'services.breadcrumbs', 'services.notifications']).
config(['$routeProvider', function($routeProvider){
$routeProvider.
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/globalsettings/globalsettings.tpl.html
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/globalsettings/globalsettings.tpl.html b/tools/ngui/static/js/app/globalsettings/globalsettings.tpl.html
index 9b95ea6..0cd6f75 100644
--- a/tools/ngui/static/js/app/globalsettings/globalsettings.tpl.html
+++ b/tools/ngui/static/js/app/globalsettings/globalsettings.tpl.html
@@ -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.
+-->
<div class="well well-small form-inline">
<input type="text" placeholder="Search" class="input-medium search-query" ng-model="search.name">
</div>
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/instances/instance-details.tpl.html
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/instances/instance-details.tpl.html b/tools/ngui/static/js/app/instances/instance-details.tpl.html
index 4726dee..dacd63a 100644
--- a/tools/ngui/static/js/app/instances/instance-details.tpl.html
+++ b/tools/ngui/static/js/app/instances/instance-details.tpl.html
@@ -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.
+-->
<table class="table table-bordered">
<tr ng-repeat="(attribute, value) in model">
<td>{{attribute}}</td>
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/instances/instances.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/instances/instances.js b/tools/ngui/static/js/app/instances/instances.js
index c658c64..76ff34b 100644
--- a/tools/ngui/static/js/app/instances/instances.js
+++ b/tools/ngui/static/js/app/instances/instances.js
@@ -1,3 +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.
+
angular.module("instances", ['resources.virtualmachines', 'services.breadcrumbs', 'services.notifications']).
config(['$routeProvider', function($routeProvider){
$routeProvider.
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/instances/instances.tpl.html
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/instances/instances.tpl.html b/tools/ngui/static/js/app/instances/instances.tpl.html
index 98155fa..1ed1c34 100644
--- a/tools/ngui/static/js/app/instances/instances.tpl.html
+++ b/tools/ngui/static/js/app/instances/instances.tpl.html
@@ -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.
+-->
<div class="well well-small form-inline">
<input type="text" placeholder="Search" class="input-medium search-query" ng-model="search.displayname">
<label>
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/networks/networks.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/networks/networks.js b/tools/ngui/static/js/app/networks/networks.js
index 5ad7f8a..56735e6 100644
--- a/tools/ngui/static/js/app/networks/networks.js
+++ b/tools/ngui/static/js/app/networks/networks.js
@@ -1,3 +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.
+
angular.module('networks', ['resources.networks', 'services.breadcrumbs']).
config(['$routeProvider', function($routeProvider){
$routeProvider.
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/projects/projects.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/projects/projects.js b/tools/ngui/static/js/app/projects/projects.js
index a5cd3aa..2df081b 100644
--- a/tools/ngui/static/js/app/projects/projects.js
+++ b/tools/ngui/static/js/app/projects/projects.js
@@ -1,3 +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.
+
angular.module('projects', ['resources.projects', 'services.breadcrumbs']).
config(['$routeProvider', function($routeProvider){
$routeProvider.
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/serviceofferings/serviceofferings.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/serviceofferings/serviceofferings.js b/tools/ngui/static/js/app/serviceofferings/serviceofferings.js
index 9733e49..6b6e9d2 100644
--- a/tools/ngui/static/js/app/serviceofferings/serviceofferings.js
+++ b/tools/ngui/static/js/app/serviceofferings/serviceofferings.js
@@ -1,3 +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.
+
angular.module('serviceofferings', ['resources.serviceofferings', 'services.breadcrumbs']).
config(['$routeProvider', function($routeProvider){
$routeProvider.
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/storage/storage.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/storage/storage.js b/tools/ngui/static/js/app/storage/storage.js
index 4bc3445..e562a95 100644
--- a/tools/ngui/static/js/app/storage/storage.js
+++ b/tools/ngui/static/js/app/storage/storage.js
@@ -1,3 +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.
+
angular.module("storage", ["resources.volumes", "resources.snapshots", "resources.zones", "resources.diskofferings", "services.breadcrumbs"]).
config(['$routeProvider', function($routeProvider){
$routeProvider.
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/storage/storage.tpl.html
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/storage/storage.tpl.html b/tools/ngui/static/js/app/storage/storage.tpl.html
index 7c878f9..cb19574 100644
--- a/tools/ngui/static/js/app/storage/storage.tpl.html
+++ b/tools/ngui/static/js/app/storage/storage.tpl.html
@@ -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.
+-->
<div class="well well-small form-inline">
<input type="text" placeholder="Search" class="input-medium search-query" ng-model="search.name">
<label>
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/app/templates/templates.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/app/templates/templates.js b/tools/ngui/static/js/app/templates/templates.js
index 77d8707..4cf387b 100644
--- a/tools/ngui/static/js/app/templates/templates.js
+++ b/tools/ngui/static/js/app/templates/templates.js
@@ -1,3 +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.
+
angular.module('templates', ['resources.templates', 'services.breadcrumbs']).
config(['$routeProvider', function($routeProvider){
$routeProvider.
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/dictionary.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/dictionary.js b/tools/ngui/static/js/common/dictionary.js
index ae205e4..f540bdb 100644
--- a/tools/ngui/static/js/common/dictionary.js
+++ b/tools/ngui/static/js/common/dictionary.js
@@ -1,3 +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.
+
angular.module('cloudstack').factory("Dictionary", function(){
var dictionary = {
labels: {
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/directives/confirm.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/directives/confirm.js b/tools/ngui/static/js/common/directives/confirm.js
index 08385b3..54a8af9 100644
--- a/tools/ngui/static/js/common/directives/confirm.js
+++ b/tools/ngui/static/js/common/directives/confirm.js
@@ -1,3 +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.
+
angular.module('directives.confirm', ['ui.bootstrap.dialog']);
angular.module('directives.confirm').directive('confirm',['$dialog', function($dialog){
return{
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/directives/edit-in-place.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/directives/edit-in-place.js b/tools/ngui/static/js/common/directives/edit-in-place.js
index c9e33f2..b735e11 100644
--- a/tools/ngui/static/js/common/directives/edit-in-place.js
+++ b/tools/ngui/static/js/common/directives/edit-in-place.js
@@ -1,3 +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.
+
angular.module('directives.editInPlace', []);
angular.module('directives.editInPlace').directive('editInPlace', function(){
return {
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/directives/edit-in-place.tpl.html
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/directives/edit-in-place.tpl.html b/tools/ngui/static/js/common/directives/edit-in-place.tpl.html
index 72537a0..dc0e1e6 100644
--- a/tools/ngui/static/js/common/directives/edit-in-place.tpl.html
+++ b/tools/ngui/static/js/common/directives/edit-in-place.tpl.html
@@ -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.
+-->
<span>
<span ng-hide="editing">{{model[attribute]}}<button class="btn pull-right" ng-click="edit()"><i class="icon-edit"></i>Edit</button></span>
<span ng-show="editing" class="form-inline">
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/directives/label.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/directives/label.js b/tools/ngui/static/js/common/directives/label.js
index 2f923e3..0458c8b 100644
--- a/tools/ngui/static/js/common/directives/label.js
+++ b/tools/ngui/static/js/common/directives/label.js
@@ -1,3 +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.
+
angular.module('directives.label', []);
angular.module('directives.label').directive('vmStateLabel', function(){
return {
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/directives/modal-form.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/directives/modal-form.js b/tools/ngui/static/js/common/directives/modal-form.js
index b3b44ea..273bc56 100644
--- a/tools/ngui/static/js/common/directives/modal-form.js
+++ b/tools/ngui/static/js/common/directives/modal-form.js
@@ -1,3 +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.
+
angular.module('directives.modalForm', ['ui.bootstrap.dialog']);
angular.module('directives.modalForm').directive('modalForm', ['$dialog', function($dialog){
return {
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/directives/modal-form.tpl.html
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/directives/modal-form.tpl.html b/tools/ngui/static/js/common/directives/modal-form.tpl.html
index bd4e87d..d80b61c 100644
--- a/tools/ngui/static/js/common/directives/modal-form.tpl.html
+++ b/tools/ngui/static/js/common/directives/modal-form.tpl.html
@@ -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.
+-->
<div class="modal-header">
<h3>{{title}}</h3>
</div>
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/accounts.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/accounts.js b/tools/ngui/static/js/common/resources/accounts.js
index 0e76d07..46ad5ec 100644
--- a/tools/ngui/static/js/common/resources/accounts.js
+++ b/tools/ngui/static/js/common/resources/accounts.js
@@ -1,3 +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.
+
angular.module('resources.accounts', ['services.helperfunctions', 'services.requester']);
angular.module('resources.accounts').factory('Accounts', ['Account', 'requester', 'makeArray', 'makeInstance', function(Account, requester, makeArray, makeInstance){
var Accounts = {};
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/configurations.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/configurations.js b/tools/ngui/static/js/common/resources/configurations.js
index 908524d..59ce78b 100644
--- a/tools/ngui/static/js/common/resources/configurations.js
+++ b/tools/ngui/static/js/common/resources/configurations.js
@@ -1,3 +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.
+
angular.module('resources.configurations', ['services.helperfunctions', 'services.requester', 'services.notifications']);
angular.module('resources.configurations').factory('Configurations', ['$http', 'Configuration', 'makeArray', 'requester', function($http, Configuration, makeArray, requester){
var Configurations = {};
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/diskofferings.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/diskofferings.js b/tools/ngui/static/js/common/resources/diskofferings.js
index de391f2..7a04a58 100644
--- a/tools/ngui/static/js/common/resources/diskofferings.js
+++ b/tools/ngui/static/js/common/resources/diskofferings.js
@@ -1,3 +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.
+
angular.module('resources.diskofferings', ['services.helperfunctions', 'services.requester']);
angular.module('resources.diskofferings').factory('DiskOfferings', ['DiskOffering', 'makeArray', 'requester', function(DiskOffering, makeArray, requester){
this.getAll = function(){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/domains.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/domains.js b/tools/ngui/static/js/common/resources/domains.js
index eb97f32..1efdd87 100644
--- a/tools/ngui/static/js/common/resources/domains.js
+++ b/tools/ngui/static/js/common/resources/domains.js
@@ -1,3 +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.
+
angular.module('resources.domains', ['services.helperfunctions', 'services.requester']);
angular.module('resources.domains').factory('Domains', ['$http', 'Domain', 'makeArray', 'requester', function($http, Domain, makeArray, requester){
this.fetch = function(){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/events.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/events.js b/tools/ngui/static/js/common/resources/events.js
index 209e931..51c7152 100644
--- a/tools/ngui/static/js/common/resources/events.js
+++ b/tools/ngui/static/js/common/resources/events.js
@@ -1,3 +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.
+
angular.module('resources.events', ['services.helperfunctions', 'services.requester']);
angular.module('resources.events').factory('Events', ['$http', 'Event', 'makeArray', 'requester', function($http, Event, makeArray, requester){
this.fetch = function(){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/networks.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/networks.js b/tools/ngui/static/js/common/resources/networks.js
index 9f8d555..ee47700 100644
--- a/tools/ngui/static/js/common/resources/networks.js
+++ b/tools/ngui/static/js/common/resources/networks.js
@@ -1,3 +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.
+
angular.module('resources.networks',['services.helperfunctions', 'services.requester']);
angular.module('resources.networks').factory('Networks', ['$http', 'Network', 'makeArray', 'requester', function($http, Network, makeArray, requester){
this.fetch = function(){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/projects.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/projects.js b/tools/ngui/static/js/common/resources/projects.js
index 77e11cd..38f6080 100644
--- a/tools/ngui/static/js/common/resources/projects.js
+++ b/tools/ngui/static/js/common/resources/projects.js
@@ -1,3 +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.
+
angular.module('resources.projects', ['services.helperfunctions', 'services.requester']);
angular.module('resources.projects').factory('Projects', ['Project', 'makeArray', 'requester', function(Project, makeArray, requester){
this.fetch = function(){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/serviceofferings.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/serviceofferings.js b/tools/ngui/static/js/common/resources/serviceofferings.js
index 7672a86..ad8e5ea 100644
--- a/tools/ngui/static/js/common/resources/serviceofferings.js
+++ b/tools/ngui/static/js/common/resources/serviceofferings.js
@@ -1,3 +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.
+
angular.module('resources.serviceofferings', ['services.helperfunctions', 'services.requester']);
angular.module('resources.serviceofferings').factory('ServiceOfferings', ['$http', 'ServiceOffering', 'makeArray', 'requester', function($http, ServiceOffering, makeArray, requester){
this.fetch = function(){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/snapshots.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/snapshots.js b/tools/ngui/static/js/common/resources/snapshots.js
index 93e9b10..8ee3c4e 100644
--- a/tools/ngui/static/js/common/resources/snapshots.js
+++ b/tools/ngui/static/js/common/resources/snapshots.js
@@ -1,3 +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.
+
angular.module('resources.snapshots', ['services.helperfunctions', 'services.requester']);
angular.module('resources.snapshots').factory('Snapshots', ['Snapshot', 'makeArray', 'requester', function(Snapshot, makeArray, requester){
this.getAll = function(){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/templates.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/templates.js b/tools/ngui/static/js/common/resources/templates.js
index 2e93057..1219cc2 100644
--- a/tools/ngui/static/js/common/resources/templates.js
+++ b/tools/ngui/static/js/common/resources/templates.js
@@ -1,3 +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.
+
angular.module('resources.templates', ['services.helperfunctions', 'services.requester']);
angular.module('resources.templates').factory('Templates', ['Template', 'makeArray', 'requester', function(Template, makeArray, requester){
this.getAll = function(){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/users.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/users.js b/tools/ngui/static/js/common/resources/users.js
index 6da4c09..891fe58 100644
--- a/tools/ngui/static/js/common/resources/users.js
+++ b/tools/ngui/static/js/common/resources/users.js
@@ -1,3 +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.
+
angular.module('resources.users', ['services.helperfunctions', 'services.requester']);
angular.module('resources.users').factory('Users', ['User', 'makeArray', 'requester', function(User, makeArray, requester){
this.getAll = function(){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/virtualmachines.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/virtualmachines.js b/tools/ngui/static/js/common/resources/virtualmachines.js
index 405a843..08b8de2 100644
--- a/tools/ngui/static/js/common/resources/virtualmachines.js
+++ b/tools/ngui/static/js/common/resources/virtualmachines.js
@@ -1,3 +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.
+
angular.module('resources.virtualmachines',['services.helperfunctions', 'services.requester']);
angular.module('resources.virtualmachines').factory('VirtualMachines',
['$http', 'VirtualMachine', 'makeArray', 'makeInstance', 'requester', function($http, VirtualMachine, makeArray, makeInstance, requester){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/volumes.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/volumes.js b/tools/ngui/static/js/common/resources/volumes.js
index ee07c4c..6490623 100644
--- a/tools/ngui/static/js/common/resources/volumes.js
+++ b/tools/ngui/static/js/common/resources/volumes.js
@@ -1,3 +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.
+
angular.module('resources.volumes', ['services.helperfunctions', 'services.requester']);
angular.module('resources.volumes').factory('Volumes', ['$http', 'Volume', 'makeArray', 'requester', function($http, Volume, makeArray, requester){
this.getAll = function(){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/resources/zones.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/resources/zones.js b/tools/ngui/static/js/common/resources/zones.js
index d0d3152..c85859c 100644
--- a/tools/ngui/static/js/common/resources/zones.js
+++ b/tools/ngui/static/js/common/resources/zones.js
@@ -1,3 +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.
+
angular.module('resources.zones', ['services.helperfunctions', 'services.requester']);
angular.module('resources.zones').factory('Zones', ['Zone', 'makeArray', 'requester', function(Zone, makeArray, requester){
this.getAll = function(){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/services/breadcrumbs.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/services/breadcrumbs.js b/tools/ngui/static/js/common/services/breadcrumbs.js
index b70b868..b0eacb2 100644
--- a/tools/ngui/static/js/common/services/breadcrumbs.js
+++ b/tools/ngui/static/js/common/services/breadcrumbs.js
@@ -1,3 +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.
+
angular.module('services.breadcrumbs', []);
angular.module('services.breadcrumbs').factory('Breadcrumbs', ['$rootScope', '$location', function($rootScope, $location){
var breadcrumbs = [{id:'home', url:'/#/'}];
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/services/helperfunctions.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/services/helperfunctions.js b/tools/ngui/static/js/common/services/helperfunctions.js
index 3241749..0d4bdbf 100644
--- a/tools/ngui/static/js/common/services/helperfunctions.js
+++ b/tools/ngui/static/js/common/services/helperfunctions.js
@@ -1,3 +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.
+
angular.module('services.helperfunctions', []);
angular.module('services.helperfunctions').factory('makeArray', function(){
var makeArray = function(Type){
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/services/notifications.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/services/notifications.js b/tools/ngui/static/js/common/services/notifications.js
index 98fd9a2..d146d0d 100644
--- a/tools/ngui/static/js/common/services/notifications.js
+++ b/tools/ngui/static/js/common/services/notifications.js
@@ -1,3 +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.
+
angular.module('services.notifications', []);
angular.module('services.notifications').factory('Notifications', function(){
var notifications = [];
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9cd724/tools/ngui/static/js/common/services/requester.js
----------------------------------------------------------------------
diff --git a/tools/ngui/static/js/common/services/requester.js b/tools/ngui/static/js/common/services/requester.js
index 4878c79..d565161 100644
--- a/tools/ngui/static/js/common/services/requester.js
+++ b/tools/ngui/static/js/common/services/requester.js
@@ -1,3 +1,19 @@
+// 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.
angular.module('services.requester', [])
angular.module('services.requester').factory('requester', ['$http', '$timeout', '$q', function($http, $timeout, $q){
var baseURL = '/api/'; //make a provider