You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2014/03/31 21:05:09 UTC
[1/4] git commit: Removed unnecessary policies
Repository: incubator-stratos
Updated Branches:
refs/heads/master d227e6c31 -> a0e97c144
Removed unnecessary policies
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/39fd95b2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/39fd95b2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/39fd95b2
Branch: refs/heads/master
Commit: 39fd95b22a9c9d28631b98cdc82d468a1cde2e77
Parents: 866d933
Author: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Authored: Tue Apr 1 00:27:14 2014 +0530
Committer: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Committed: Tue Apr 1 00:27:14 2014 +0530
----------------------------------------------------------------------
.../main/autoscale-policies/economyPolicy.xml | 28 --------------------
.../deployment-policies/economy-deployment.xml | 25 -----------------
.../main/autoscale-policies/economyPolicy.xml | 28 --------------------
.../deployment-policies/economy-deployment.xml | 25 -----------------
4 files changed, 106 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/39fd95b2/products/autoscaler/modules/distribution/src/main/autoscale-policies/economyPolicy.xml
----------------------------------------------------------------------
diff --git a/products/autoscaler/modules/distribution/src/main/autoscale-policies/economyPolicy.xml b/products/autoscaler/modules/distribution/src/main/autoscale-policies/economyPolicy.xml
deleted file mode 100644
index 739ec42..0000000
--- a/products/autoscaler/modules/distribution/src/main/autoscale-policies/economyPolicy.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<autoscalePolicy id="economyPolicy">
- <loadThresholds>
- <requestsInFlight>
- <average value="400" />
- <gradient value="1" />
- <secondDerivative value="0.2" />
- <scaleDownMarginOfGradient value="1.0" />
- <scaleDownMarginOfSecondDerivative value="0.2" />
- </requestsInFlight>
- <!-- Normalized memory consumption of a cluster as a percentage -->
- <memoryConsumption>
- <average value="80" />
- <gradient value="1" />
- <secondDerivative value="0.2" />
- <scaleDownMarginOfGradient value="1.0" />
- <scaleDownMarginOfSecondDerivative value="0.2" />
- </memoryConsumption>
- <!-- Normalized load average of a cluster as a percentage -->
- <loadAverage>
- <average value="80" />
- <gradient value="1" />
- <secondDerivative value="0.2" />
- <scaleDownMarginOfGradient value="1.0" />
- <scaleDownMarginOfSecondDerivative value="0.2" />
- </loadAverage>
- </loadThresholds>
-</autoscalePolicy>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/39fd95b2/products/autoscaler/modules/distribution/src/main/deployment-policies/economy-deployment.xml
----------------------------------------------------------------------
diff --git a/products/autoscaler/modules/distribution/src/main/deployment-policies/economy-deployment.xml b/products/autoscaler/modules/distribution/src/main/deployment-policies/economy-deployment.xml
deleted file mode 100644
index 4948b4b..0000000
--- a/products/autoscaler/modules/distribution/src/main/deployment-policies/economy-deployment.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<deploymentPolicy id ="economy-deployment">
- <partitionGroup id="group1" >
- <partitionAlgo>one-after-another</partitionAlgo>
- <partition id="P1" >
- <max>3</max>
- <min>1</min>
- </partition>
- <partition id="P2" >
- <max>5</max>
- <min>1</min>
- </partition>
- </partitionGroup>
- <partitionGroup id="group2" >
- <partitionAlgo>round-robin</partitionAlgo>
- <partition id="P3" >
- <max>3</max>
- <min>1</min>
- </partition>
- <partition id="P4" >
- <max>5</max>
- <min>1</min>
- </partition>
- </partitionGroup>
-</deploymentPolicy>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/39fd95b2/products/stratos/modules/distribution/src/main/autoscale-policies/economyPolicy.xml
----------------------------------------------------------------------
diff --git a/products/stratos/modules/distribution/src/main/autoscale-policies/economyPolicy.xml b/products/stratos/modules/distribution/src/main/autoscale-policies/economyPolicy.xml
deleted file mode 100644
index 739ec42..0000000
--- a/products/stratos/modules/distribution/src/main/autoscale-policies/economyPolicy.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<autoscalePolicy id="economyPolicy">
- <loadThresholds>
- <requestsInFlight>
- <average value="400" />
- <gradient value="1" />
- <secondDerivative value="0.2" />
- <scaleDownMarginOfGradient value="1.0" />
- <scaleDownMarginOfSecondDerivative value="0.2" />
- </requestsInFlight>
- <!-- Normalized memory consumption of a cluster as a percentage -->
- <memoryConsumption>
- <average value="80" />
- <gradient value="1" />
- <secondDerivative value="0.2" />
- <scaleDownMarginOfGradient value="1.0" />
- <scaleDownMarginOfSecondDerivative value="0.2" />
- </memoryConsumption>
- <!-- Normalized load average of a cluster as a percentage -->
- <loadAverage>
- <average value="80" />
- <gradient value="1" />
- <secondDerivative value="0.2" />
- <scaleDownMarginOfGradient value="1.0" />
- <scaleDownMarginOfSecondDerivative value="0.2" />
- </loadAverage>
- </loadThresholds>
-</autoscalePolicy>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/39fd95b2/products/stratos/modules/distribution/src/main/deployment-policies/economy-deployment.xml
----------------------------------------------------------------------
diff --git a/products/stratos/modules/distribution/src/main/deployment-policies/economy-deployment.xml b/products/stratos/modules/distribution/src/main/deployment-policies/economy-deployment.xml
deleted file mode 100644
index 4948b4b..0000000
--- a/products/stratos/modules/distribution/src/main/deployment-policies/economy-deployment.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<deploymentPolicy id ="economy-deployment">
- <partitionGroup id="group1" >
- <partitionAlgo>one-after-another</partitionAlgo>
- <partition id="P1" >
- <max>3</max>
- <min>1</min>
- </partition>
- <partition id="P2" >
- <max>5</max>
- <min>1</min>
- </partition>
- </partitionGroup>
- <partitionGroup id="group2" >
- <partitionAlgo>round-robin</partitionAlgo>
- <partition id="P3" >
- <max>3</max>
- <min>1</min>
- </partition>
- <partition id="P4" >
- <max>5</max>
- <min>1</min>
- </partition>
- </partitionGroup>
-</deploymentPolicy>
[3/4] git commit: Added Apache License Header to
org.apache.stratos.manager.console component JS, HTML, XML files
Posted by is...@apache.org.
Added Apache License Header to org.apache.stratos.manager.console component JS, HTML, XML files
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/b31f4973
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/b31f4973
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/b31f4973
Branch: refs/heads/master
Commit: b31f4973e12a2ef67ecb3b81178989394be73f53
Parents: a0931f9
Author: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Authored: Tue Apr 1 00:34:24 2014 +0530
Committer: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Committed: Tue Apr 1 00:34:24 2014 +0530
----------------------------------------------------------------------
.../console/app.js | 21 ++++++
.../console/config/console.js | 21 ++++++
.../console/js/dialog.js | 21 ++++++
.../console/js/main.js | 23 ++++++-
.../console/modules/file.js | 23 ++++++-
.../console/modules/mime.js | 23 ++++++-
.../console/modules/pinch.min.js | 23 ++++++-
.../modules/security/security.manager.js | 21 ++++++
.../modules/security/security.provider.js | 21 ++++++
.../themes/theme1/renderers/account_recovery.js | 67 +++++++++++++-------
.../themes/theme1/renderers/cartridge_info.js | 23 ++++++-
.../themes/theme1/renderers/cartridges.js | 23 ++++++-
.../theme1/renderers/configure_stratos.js | 23 ++++++-
.../renderers/configure_stratos_wizard.js | 23 ++++++-
.../themes/theme1/renderers/dashboard.js | 23 ++++++-
.../themes/theme1/renderers/default_page.js | 23 ++++++-
.../console/themes/theme1/renderers/index.js | 23 ++++++-
.../console/themes/theme1/renderers/login.js | 23 ++++++-
.../theme1/renderers/subscribe_cartridge.js | 23 ++++++-
.../theme1/renderers/tenant_management.js | 23 ++++++-
.../themes/theme1/renderers/tenant_new.js | 23 ++++++-
.../console/themes/theme1/theme.js | 23 ++++++-
.../console/themes/theme1/ui/404.html | 21 ++++++
.../console/themes/theme1/ui/crossdomain.xml | 21 ++++++
.../themes/theme1/ui/js/configure_stratos.js | 21 ++++++
.../console/themes/theme1/ui/js/dashboard.js | 21 ++++++
.../console/themes/theme1/ui/js/login.js | 23 ++++++-
.../console/themes/theme1/ui/js/mycartridges.js | 23 ++++++-
.../console/themes/theme1/ui/js/popup.js | 23 ++++++-
.../themes/theme1/ui/js/tenant_management.js | 23 ++++++-
.../console/themes/theme1/ui/js/utils.js | 23 ++++++-
.../console/themes/theme1/ui/js/wizard.js | 21 ++++++
.../modules/console/module.xml | 22 +++++++
.../modules/console/scripts/server.js | 21 ++++++
34 files changed, 759 insertions(+), 44 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/app.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/app.js b/components/org.apache.stratos.manager.console/console/app.js
index 6ed2fec..5e8443a 100644
--- a/components/org.apache.stratos.manager.console/console/app.js
+++ b/components/org.apache.stratos.manager.console/console/app.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var caramel = require('caramel');
caramel.configs({
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/config/console.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/config/console.js b/components/org.apache.stratos.manager.console/console/config/console.js
index cc86d9a..abfc2eb 100644
--- a/components/org.apache.stratos.manager.console/console/config/console.js
+++ b/components/org.apache.stratos.manager.console/console/config/console.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var config = function () {
var log = new Log(),
pinch = require('/modules/pinch.min.js').pinch,
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/js/dialog.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/js/dialog.js b/components/org.apache.stratos.manager.console/console/js/dialog.js
index efa834f..4378b18 100644
--- a/components/org.apache.stratos.manager.console/console/js/dialog.js
+++ b/components/org.apache.stratos.manager.console/console/js/dialog.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
if (typeof CARBON == "undefined" || CARBON) {
/**
* The CARBON global namespace object. If CARBON is already defined, the
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/js/main.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/js/main.js b/components/org.apache.stratos.manager.console/console/js/main.js
index d652929..b72383c 100644
--- a/components/org.apache.stratos.manager.console/console/js/main.js
+++ b/components/org.apache.stratos.manager.console/console/js/main.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
function validateEmpty(fldname) {
var fld = document.getElementsByName(fldname)[0];
var error = "";
@@ -16,4 +37,4 @@ function validateEmpty(fldname) {
function cancelProcess(parameters){
location.href = "index.jag?" + (parameters ? parameters : "");
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/modules/file.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/modules/file.js b/components/org.apache.stratos.manager.console/console/modules/file.js
index 9913f7c..239301a 100644
--- a/components/org.apache.stratos.manager.console/console/modules/file.js
+++ b/components/org.apache.stratos.manager.console/console/modules/file.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var send = function(path) {
var mime,
file = new File(path);
@@ -10,4 +31,4 @@ var send = function(path) {
file.open('r');
print(file.getStream());
file.close();
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/modules/mime.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/modules/mime.js b/components/org.apache.stratos.manager.console/console/modules/mime.js
index 98bc518..721a06b 100644
--- a/components/org.apache.stratos.manager.console/console/modules/mime.js
+++ b/components/org.apache.stratos.manager.console/console/modules/mime.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var getType = function (path) {
var index = path.lastIndexOf('.');
var ext = index < path.length ? path.substring(index + 1) : '';
@@ -19,4 +40,4 @@ var getType = function (path) {
default :
return 'text/plain';
}
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/modules/pinch.min.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/modules/pinch.min.js b/components/org.apache.stratos.manager.console/console/modules/pinch.min.js
index a9f4618..9abe928 100644
--- a/components/org.apache.stratos.manager.console/console/modules/pinch.min.js
+++ b/components/org.apache.stratos.manager.console/console/modules/pinch.min.js
@@ -1,4 +1,25 @@
+/*
+ *
+ * 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.
+ *
+*/
+
(function(){var k=function(a,c){return a.length!==c.length?!1:a.every(function(a,b){return c[b]===a})},j=function(a,c,d){var b,e;if("[object Array]"===Object.prototype.toString.call(a)){b=0;for(e=a.length;b<e;b++)c.apply(d,[b,a[b],a])}else for(b in a)a.hasOwnProperty(b)&&c.apply(d,[b,a[b],a])},h=function(a){for(var c=[],d=!1,b=0,e=a.length,f="",g=function(){f&&(c.push(f),f="")};b<e;b++)a[b].match(/\[|\]/)?(g(),d="]"===a[b]?!1:!0):'"'!==a[b]&&"'"!==a[b]&&("."===a[b]&&!d?g():f+=a[b]),b===e-1&&g();return c},
g=function(a,c,d){var b=-1!==["string","object"].indexOf(typeof a),e="string"===typeof c||c&&c.test&&c.exec,f=-1!==["string","object","function"].indexOf(typeof d);b&&e&&f&&("string"===typeof a?(this.instance=JSON.parse(a),this.json=!0):this.instance=a,this.pattern="string"===typeof c?c.replace(/'/g,'"'):c,this.replacement=d,this.createIndex(this.instance))};g.prototype.createIndex=function(a,c){var d=this;this.index=this.index||[];c=c||"";j(a,function(a,e){var f,a=a+"";f=a.match(/^[a-zA-Z]+$/)?c?
c+"."+a:a:a.match(/\d+/)?c+"["+a+"]":c+'["'+a+'"]';d.index.push(f);"object"===typeof e&&d.createIndex(e,f)})};g.prototype.replace=function(){var a=this;j(this.index,function(c,d){if(a.pattern&&a.pattern.test&&a.pattern.exec&&d.match(a.pattern))return a.replaceValue(d);if("string"===typeof a.pattern){var b=h(d),e=h(a.pattern);if(k(b,e))return a.replaceValue(d)}});return this.json?JSON.stringify(this.instance):this.instance};g.prototype.replaceValue=function(a){var c=this,d=h(a);d.reduce(function(b,
-e,f){if(f===d.length-1)f="function"===typeof c.replacement?c.replacement(a,e,b[e]):c.replacement,b[e]=f;else return b[e]},this.instance)};var i=function(a,c,d,b){a=(new g(a,c,d)).replace();return"function"===typeof b?b(null,a):a};"undefined"!==typeof module&&module.exports?module.exports=i:"undefined"!==typeof define?define(function(){return i}):this.pinch=i})();
\ No newline at end of file
+e,f){if(f===d.length-1)f="function"===typeof c.replacement?c.replacement(a,e,b[e]):c.replacement,b[e]=f;else return b[e]},this.instance)};var i=function(a,c,d,b){a=(new g(a,c,d)).replace();return"function"===typeof b?b(null,a):a};"undefined"!==typeof module&&module.exports?module.exports=i:"undefined"!==typeof define?define(function(){return i}):this.pinch=i})();
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/modules/security/security.manager.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/modules/security/security.manager.js b/components/org.apache.stratos.manager.console/console/modules/security/security.manager.js
index 59c975b..309fe3e 100644
--- a/components/org.apache.stratos.manager.console/console/modules/security/security.manager.js
+++ b/components/org.apache.stratos.manager.console/console/modules/security/security.manager.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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.
+ *
+*/
+
+/*
Description: The class is used to manage the security aspects of the app
Created Date: 5/10/2013
Filename: security.manager.js
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/modules/security/security.provider.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/modules/security/security.provider.js b/components/org.apache.stratos.manager.console/console/modules/security/security.provider.js
index 6877312..e8db7c2 100644
--- a/components/org.apache.stratos.manager.console/console/modules/security/security.provider.js
+++ b/components/org.apache.stratos.manager.console/console/modules/security/security.provider.js
@@ -1,4 +1,25 @@
/*
+ *
+ * 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.
+ *
+*/
+
+/*
Description:The class is used to secure pages by checking if a user is logged before
accessing a page
Created Date: 5/10/2013
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/account_recovery.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/account_recovery.js b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/account_recovery.js
index 0407cfd..5e2ba52 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/account_recovery.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/account_recovery.js
@@ -1,23 +1,44 @@
-var render = function (theme, data, meta, require) {
- theme('index', {
- body: [
- {
- partial: 'account_recovery',
- context: data.profile
- }
- ],
- header: [
- {
- partial: 'header',
- context:{
- title:'Account Recovery',
- accountRecovery:true,
- breadcrumb:[
- {link:'/', name:'Home',isLink:true},
- {link:'', name:'Account Recovery',isLink:false}
- ]
- }
- }
- ]
- });
-};
\ No newline at end of file
+/*
+ *
+ * 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.
+ *
+*/
+
+var render = function (theme, data, meta, require) {
+ theme('index', {
+ body: [
+ {
+ partial: 'account_recovery',
+ context: data.profile
+ }
+ ],
+ header: [
+ {
+ partial: 'header',
+ context:{
+ title:'Account Recovery',
+ accountRecovery:true,
+ breadcrumb:[
+ {link:'/', name:'Home',isLink:true},
+ {link:'', name:'Account Recovery',isLink:false}
+ ]
+ }
+ }
+ ]
+ });
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/cartridge_info.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/cartridge_info.js b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/cartridge_info.js
index 4a6a476..127e5e1 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/cartridge_info.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/cartridge_info.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var render = function (theme, data, meta, require) {
if(data.error.length == 0 ){
theme('index', {
@@ -76,4 +97,4 @@ var render = function (theme, data, meta, require) {
]
});
}
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/cartridges.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/cartridges.js b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/cartridges.js
index 4249acf..5d49108 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/cartridges.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/cartridges.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var render = function (theme, data, meta, require) {
// Re-create the data structure of the cartridges.
if(data.error.length == 0 ){
@@ -136,4 +157,4 @@ var render = function (theme, data, meta, require) {
]
});
}
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/configure_stratos.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/configure_stratos.js b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/configure_stratos.js
index a15264e..1386801 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/configure_stratos.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/configure_stratos.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var render = function (theme, data, meta, require) {
session.put("configuring","true");
@@ -132,4 +153,4 @@ var render = function (theme, data, meta, require) {
]
});
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/configure_stratos_wizard.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/configure_stratos_wizard.js b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/configure_stratos_wizard.js
index 07a0654..ef0f522 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/configure_stratos_wizard.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/configure_stratos_wizard.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var render = function (theme, data, meta, require) {
session.put("configuring","false");
var deploy_status = session.get("deploy-status");
@@ -128,4 +149,4 @@ var render = function (theme, data, meta, require) {
]
});
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/dashboard.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/dashboard.js b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/dashboard.js
index 2a578ef..4d6ca5e 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/dashboard.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/dashboard.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var render = function (theme, data, meta, require) {
if(data.error.length == 0 ){
var log = new Log();
@@ -74,4 +95,4 @@ var render = function (theme, data, meta, require) {
]
});
}
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/default_page.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/default_page.js b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/default_page.js
index 3aaf2c7..f2745f3 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/default_page.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/default_page.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var render = function (theme, data, meta, require) {
// Re-create the data structure of the cartridges.
@@ -35,4 +56,4 @@ var render = function (theme, data, meta, require) {
}
]
});
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/index.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/index.js b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/index.js
index db602b4..efa2225 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/index.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/index.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var render = function (theme, data, meta, require) {
// Re-create the data structure of the cartridges.
var log = new Log();
@@ -155,4 +176,4 @@ var render = function (theme, data, meta, require) {
]
});
}
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/login.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/login.js b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/login.js
index 77c1c6e..2bc2772 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/login.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/login.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var render = function (theme, data, meta, require) {
var hasError = true;
if(data.error == ""){
@@ -34,4 +55,4 @@ var render = function (theme, data, meta, require) {
}
]
});
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/subscribe_cartridge.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/subscribe_cartridge.js b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/subscribe_cartridge.js
index 5f7fc07..f0c32fb 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/subscribe_cartridge.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/subscribe_cartridge.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var render = function (theme, data, meta, require) {
if(data.error.length == 0 ){
var cartridge = data.cartridge.cartridge;
@@ -80,4 +101,4 @@ var render = function (theme, data, meta, require) {
]
});
}
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/tenant_management.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/tenant_management.js b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/tenant_management.js
index efde5d0..8f5cdda 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/tenant_management.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/tenant_management.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var render = function (theme, data, meta, require) {
session.remove("get-status");
session.remove("deploy-status");
@@ -77,4 +98,4 @@ var render = function (theme, data, meta, require) {
]
});
}
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/tenant_new.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/tenant_new.js b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/tenant_new.js
index 252790e..9e76e7c 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/tenant_new.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/tenant_new.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var render = function (theme, data, meta, require) {
var create_btn_class = 'btn-default';
@@ -40,4 +61,4 @@ var render = function (theme, data, meta, require) {
]
});
-};
\ No newline at end of file
+};
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/theme.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/theme.js b/components/org.apache.stratos.manager.console/console/themes/theme1/theme.js
index b54963c..bd1d015 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/theme.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/theme.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
//var engine = require('caramel').engine('handlebars');
var engine = require('caramel').engine('handlebars', (function () {
@@ -67,4 +88,4 @@ var engine = require('caramel').engine('handlebars', (function () {
}
}
-}()));
\ No newline at end of file
+}()));
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/ui/404.html
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/404.html b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/404.html
index fdace4a..b7cb323 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/404.html
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/404.html
@@ -1,3 +1,24 @@
+<!--
+
+ 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.
+
+-->
+
<!DOCTYPE html>
<html lang="en">
<head>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/ui/crossdomain.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/crossdomain.xml b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/crossdomain.xml
index 29a035d..926692b 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/crossdomain.xml
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/crossdomain.xml
@@ -1,4 +1,25 @@
<?xml version="1.0"?>
+<!--
+
+ 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.
+
+-->
+
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<!-- Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/configure_stratos.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/configure_stratos.js b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/configure_stratos.js
index 70bb4c7..cb09575 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/configure_stratos.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/configure_stratos.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
$(function () {
$('#jsonForm').validate();
$('pre').each(function () {
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/dashboard.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/dashboard.js b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/dashboard.js
index 59e851a..9d200bd 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/dashboard.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/dashboard.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var paper, paper_chart;
var ELB_WIDTH = 200;
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/login.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/login.js b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/login.js
index 93d80bb..d4ecbf8 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/login.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/login.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
$(function(){
var $username = $('#username');
var $password = $('#password');
@@ -65,4 +86,4 @@ $(function(){
}
});
$username.focus();
-});
\ No newline at end of file
+});
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/mycartridges.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/mycartridges.js b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/mycartridges.js
index 1d0d040..bea88e9 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/mycartridges.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/mycartridges.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
$(function () {
$('.un-subscribe-btn').click(function () {
$('#alias').val($(this).attr('data-alias'));
@@ -20,4 +41,4 @@ $(function () {
}
})
})
-});
\ No newline at end of file
+});
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/popup.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/popup.js b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/popup.js
index 9c1afac..9316a13 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/popup.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/popup.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var popbox = popbox || {};
(function () {
@@ -78,4 +99,4 @@ popbox.message = function(params){
]
});
};
-}());
\ No newline at end of file
+}());
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
index 50d07fa..aceb2c0 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
$(function(){
$('#checkAll').click(function(){
if($(this).is(":checked")){
@@ -69,4 +90,4 @@ function checkAvailability() {
}
}
})
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/utils.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/utils.js b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/utils.js
index 528fdd1..66c9a86 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/utils.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/utils.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
function syntaxHighlight(json) {
if (typeof json != 'string') {
json = JSON.stringify(json, undefined, 2);
@@ -18,4 +39,4 @@ function syntaxHighlight(json) {
}
return '<span class="' + cls + '">' + match + '</span>';
});
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/wizard.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/wizard.js b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/wizard.js
index 209865f..278737c 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/wizard.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/wizard.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
$(function () {
var isValidForm = function(){
if(parseInt($('#items').val()) == 0 || $('#wizard_on').val() == "false"){
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/modules/console/module.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/modules/console/module.xml b/components/org.apache.stratos.manager.console/modules/console/module.xml
index b94fe3c..237cb8d 100644
--- a/components/org.apache.stratos.manager.console/modules/console/module.xml
+++ b/components/org.apache.stratos.manager.console/modules/console/module.xml
@@ -1,3 +1,25 @@
+<?xml version='1.0'?>
+<!--
+
+ 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.
+
+-->
+
<module name="console" xmlns="http://wso2.org/projects/jaggery/module.xml">
<script>
<name>[console]/server.js</name>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b31f4973/components/org.apache.stratos.manager.console/modules/console/scripts/server.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/modules/console/scripts/server.js b/components/org.apache.stratos.manager.console/modules/console/scripts/server.js
index 6d68019..e05eed5 100644
--- a/components/org.apache.stratos.manager.console/modules/console/scripts/server.js
+++ b/components/org.apache.stratos.manager.console/modules/console/scripts/server.js
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+*/
+
var server = {};
(function (server) {
[4/4] git commit: Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/incubator-stratos
Posted by is...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-stratos
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/a0e97c14
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/a0e97c14
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/a0e97c14
Branch: refs/heads/master
Commit: a0e97c1447b57262e6f1f3c1cdedcca3eae14190
Parents: b31f497 d227e6c
Author: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Authored: Tue Apr 1 00:34:30 2014 +0530
Committer: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Committed: Tue Apr 1 00:34:30 2014 +0530
----------------------------------------------------------------------
.../org.apache.stratos.cloud.controller/pom.xml | 2 +-
.../concurrent/PartitionValidatorCallable.java | 88 ++++++++++++++++++++
.../cloud/controller/iaases/AWSEC2Iaas.java | 18 +++-
.../impl/CloudControllerServiceImpl.java | 76 +++++++----------
.../controller/registry/RegistryManager.java | 8 +-
.../runtime/FasterLookUpDataHolder.java | 17 +++-
.../util/CloudControllerConstants.java | 2 +-
.../console/subscribe_cartridge.jag | 4 +
.../theme1/partials/subscribe_cartridge.hbs | 7 +-
.../theme1/renderers/subscribe_cartridge.js | 1 +
.../console/util/utility.jag | 4 +
dependencies/pom.xml | 1 +
products/stratos/conf/jndi.properties | 9 +-
products/stratos/modules/distribution/pom.xml | 17 ++++
.../modules/distribution/src/assembly/bin.xml | 8 ++
15 files changed, 196 insertions(+), 66 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a0e97c14/components/org.apache.stratos.manager.console/console/themes/theme1/renderers/subscribe_cartridge.js
----------------------------------------------------------------------
[2/4] git commit: Added Apache License Header to
org.apache.stratos.manager component source files
Posted by is...@apache.org.
Added Apache License Header to org.apache.stratos.manager component source files
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/a0931f9c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/a0931f9c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/a0931f9c
Branch: refs/heads/master
Commit: a0931f9c9da10c7bf589fdf92e23fb41eb905ca4
Parents: 39fd95b
Author: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Authored: Tue Apr 1 00:31:59 2014 +0530
Committer: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Committed: Tue Apr 1 00:31:59 2014 +0530
----------------------------------------------------------------------
.../org/apache/stratos/manager/dao/Cluster.java | 22 ++++++++++++++++-
.../manager/utils/RepoPasswordMgtUtil.java | 25 +++++++++++++++-----
2 files changed, 40 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a0931f9c/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/dao/Cluster.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/dao/Cluster.java b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/dao/Cluster.java
index cd54868..bacb4d8 100644
--- a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/dao/Cluster.java
+++ b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/dao/Cluster.java
@@ -1,3 +1,23 @@
+/*
+ *
+ * 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.
+ *
+ */
package org.apache.stratos.manager.dao;
import java.io.Serializable;
@@ -74,4 +94,4 @@ public class Cluster implements Serializable {
public String toString () {
return clusterDomain;
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a0931f9c/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/utils/RepoPasswordMgtUtil.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/utils/RepoPasswordMgtUtil.java b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/utils/RepoPasswordMgtUtil.java
index 3e266f9..cac4f82 100644
--- a/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/utils/RepoPasswordMgtUtil.java
+++ b/components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/utils/RepoPasswordMgtUtil.java
@@ -1,5 +1,22 @@
-/**
- *
+/*
+ *
+ * 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.
+ *
*/
package org.apache.stratos.manager.utils;
@@ -11,10 +28,6 @@ import org.apache.commons.codec.binary.Base64;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-/**
- * @author wso2
- *
- */
public class RepoPasswordMgtUtil {
private static final Log log = LogFactory.getLog(RepoPasswordMgtUtil.class);