You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2013/09/05 06:26:05 UTC

[5/5] git commit: Adding licences which are added automatically by Rat plugin

Adding licences which are added automatically by Rat plugin


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/a9d27019
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/a9d27019
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/a9d27019

Branch: refs/heads/master
Commit: a9d27019438ed903fd9385d3d450c63aa10b14ad
Parents: 9c1c60d
Author: Lahiru Sandaruwan <la...@wso2.com>
Authored: Thu Sep 5 10:01:00 2013 +0530
Committer: Lahiru Sandaruwan <la...@wso2.com>
Committed: Thu Sep 5 10:01:00 2013 +0530

----------------------------------------------------------------------
 .../src/conf/cartridge-config.properties        |  21 +
 .../src/conf/tenant-resource-policy.xml         |  21 +
 .../adc/mgt/dao/RepositoryCredentials.java      |  21 +
 .../stratos/adc/mgt/dto/CartridgeDetail.java    |  21 +
 .../adc/mgt/dto/CartridgeInformation.java       |  21 +
 .../adc/mgt/service/RepositoryInfoBean.java     |  21 +
 .../mgt/utils/ApplicationManagementUtil.java    |  21 +
 .../adc/mgt/utils/RepositoryCreator.java        |  21 +
 .../src/scripts/append_zone_file.sh             |  20 +
 .../stratos/adc/mgt/test/PolicyHolderTest.java  |  21 +
 .../src/test/resources/log4j.properties         |  23 +-
 .../src/test/resources/policies-1.xml           |  24 +-
 .../mgt/SubDomainAwareGroupManagementAgent.java |  23 +-
 .../topology/mgt/util/TopologyConstants.java    |  21 +
 .../adc/topology/mgt/util/TopologyMgtUtil.java  |  21 +
 .../src/main/resources/META-INF/services.xml    |  22 +
 .../cartridge/mgt/ui/CartridgeConstans.java     |  21 +
 .../stratos/cartridge/mgt/ui/Payload.java       |  21 +
 .../mgt/ui/RepoNotificationClient.java          |  21 +
 .../mgt/ui/RepoNotificationServlet.java         |  23 +-
 .../stratos/cartridge/mgt/ui/Repository.java    |  21 +
 .../src/main/resources/Resources.properties     |  23 +-
 .../src/main/resources/log4j.properties         |  23 +-
 .../controller/consumers/TopologyBuilder.java   |  21 +
 .../internal/CloudControllerDSComponent.java    |  23 +-
 .../controller/registry/RegistryManager.java    |  21 +
 .../src/main/resources/META-INF/services.xml    |  22 +
 .../src/test/resources/cartridges-1.xml         |  24 +-
 .../src/test/resources/cartridges-2.xml         |  23 +-
 .../src/test/resources/cartridges-3.xml         |  24 +-
 .../src/test/resources/cartridges-4.xml         |  24 +-
 .../src/test/resources/cartridges-5.xml         |  24 +-
 .../src/test/resources/cartridges-6.xml         |  24 +-
 .../src/test/resources/cartridges-7.xml         |  24 +-
 .../src/test/resources/cartridges-8.xml         |  44 +-
 .../src/test/resources/cartridges-9.xml         |  24 +-
 .../email/sender/api/EmailDataHolder.java       |  21 +
 .../src/main/resources/META-INF/services.xml    |  22 +
 .../src/test/resources/testng.xml               |  21 +
 .../logging/view/ui/i18n/Resources.properties   | 111 ++--
 .../sso/redirector/ui/i18n/Resources.properties |  85 +--
 .../web/stratos-auth/css/stratos-loginpage.css  | 209 +++----
 .../tenant/mgt/core/util/TenantCoreUtil.java    |  21 +
 .../ui/clients/PackageInfoServiceClient.java    |  21 +
 .../resources/web/tenant-mgt/css/tenant.css     |  23 +-
 .../mgt/internal/util/TenantMgtRampartUtil.java |  21 +
 .../services/GAppTenantRegistrationService.java |  21 +
 .../InMemoryPasswordcallbackHandler.java        |  21 +
 .../theme/mgt/ui/i18n/JSResources.properties    |  23 +-
 .../theme/mgt/ui/i18n/Resources.properties      |  21 +
 .../web/tenant-theme/css/loginpage.css          | 241 ++++----
 .../resources/web/tenant-theme/css/tenant.css   | 169 +++---
 .../web/tenant-theme/css/tenent-theme.css       |  85 +--
 .../web/tenant-theme/css/theme-mgt.css          |  21 +
 .../web/tenant-theme/js/theme_resource_util.js  |  21 +
 .../repository/conf/cipher-text.properties      |  37 +-
 .../repository/conf/secret-conf.properties      |  95 ++--
 .../throttling/ui/i18n/JSResources.properties   |  21 +
 .../throttling/ui/i18n/Resources.properties     |  23 +-
 .../usage/ui/i18n/JSResources.properties        |  23 +-
 .../stratos/usage/ui/i18n/Resources.properties  |  23 +-
 .../web/tenant-usage/css/tenant-usage.css       |  23 +-
 .../tenant-usage/js/all-tenant-usage-report.js  |  21 +
 .../web/tenant-usage/js/tenant-usage.js         |  21 +
 .../web/tenant-usage/js/usage-report.js         |  23 +-
 .../domain/ui/i18n/JSResources.properties       |  23 +-
 .../domain/ui/i18n/Resources.properties         |  21 +
 .../web/validate-domain/css/validate_domain.css |  23 +-
 .../web/validate-domain/js/validate_domain.js   |  23 +-
 .../src/main/resources/build.properties         |  23 +-
 .../resources/conf/cartridge-config.properties  |  21 +
 .../src/main/resources/conf/policies.xml        |  24 +-
 .../src/main/resources/build.properties         |  21 +
 .../src/main/resources/conf/agent.properties    |  21 +
 .../src/main/resources/build.properties         |  23 +-
 .../resources/build.properties                  |  21 +
 .../resources/conf/cloud-services-desc.xml      |  22 +
 .../resources/conf/eula.xml                     |  22 +
 .../src/main/resources/build.properties         |  21 +
 .../main/resources/conf/cloud-services-desc.xml |  22 +
 .../src/main/resources/conf/eula.xml            |  22 +
 .../resources/build.properties                  |  21 +
 .../resources/conf/cloud-services-desc.xml      |  22 +
 .../src/main/resources/build.properties         |  21 +
 .../main/resources/conf/cloud-services-desc.xml |  22 +
 .../modules/distribution/lib/home/index.html    |  21 +
 .../modules/distribution/lib/home/style.css     |  23 +-
 .../distribution/src/main/conf/event-broker.xml |  22 +
 .../src/main/resources/web/styles/css/main.css  |  21 +
 .../src/main/resources/web/styles/css/main.css  |  21 +
 .../dashboard/ui/i18n/JSResources.properties    |  23 +-
 .../dashboard/ui/i18n/Resources.properties      |  21 +
 .../web/tenant-dashboard/css/dashboard.css      |  21 +
 .../web/tenant-dashboard/js/configurations.js   |  21 +
 .../web/tenant-dashboard/js/dashboard.js        |  21 +
 .../modules/distribution/lib/home/faq.html      |  21 +
 .../modules/distribution/lib/home/index.html    | 259 +++++----
 .../distribution/lib/home/js/orbit-1.2.3.css    |  23 +-
 .../modules/distribution/lib/home/style.css     | 341 ++++++------
 .../distribution/src/bin/add_entry_zone_file.sh |  20 +
 .../src/bin/git-folder-structure.sh             |  20 +
 .../distribution/src/bin/manage-git-repo.sh     |  20 +
 .../src/bin/remove_entry_zone_file.sh           |  20 +
 .../distribution/src/bin/set-mysql-password.sh  |  20 +
 .../distribution/src/bin/update-instance.sh     |  20 +
 .../WebContent/WEB-INF/web.xml                  |  21 +
 .../WebContent/dashboards/as.html               |  21 +
 .../WebContent/dashboards/bam.html              |  21 +
 .../WebContent/dashboards/bps.html              |  21 +
 .../WebContent/dashboards/brs.html              |  21 +
 .../WebContent/dashboards/cep.html              |  21 +
 .../WebContent/dashboards/csg.html              |  21 +
 .../dashboards/css/features-dashboard.css       |  23 +-
 .../WebContent/dashboards/dss.html              |  21 +
 .../WebContent/dashboards/esb.html              |  21 +
 .../WebContent/dashboards/greg.html             |  21 +
 .../WebContent/dashboards/gs.html               |  21 +
 .../WebContent/dashboards/is.html               |  21 +
 .../WebContent/dashboards/manager.html          |  21 +
 .../WebContent/dashboards/mb.html               |  21 +
 .../WebContent/dashboards/ms.html               |  21 +
 .../css/features-dashboard-new.css              | 331 +++++------
 .../WebContent/tenant-dashboard/css/ie7.css     |  37 +-
 .../WebContent/tenant-dashboard/index.html      |  21 +
 .../features-dashboard/features-dashboard.xml   |  21 +
 .../integration/src/test/resources/testng.xml   |  22 +
 .../web/tenant-login/css/loginpage.css          | 557 ++++++++++---------
 .../resources/web/tenant-login/css/tenant.css   | 145 ++---
 .../main/resources/web/tenant-login/js/login.js |  21 +
 .../src/main/resources/web/styles/css/main.css  |  21 +
 .../resources/allthemes/Dark/admin/main.css     |  21 +
 .../resources/allthemes/Default/admin/main.css  | 479 ++++++++--------
 .../resources/allthemes/Light/admin/main.css    |  21 +
 .../init_scripts/default/get-launch-params.rb   |  20 +
 .../init_scripts/mysql/get-launch-params.rb     |  20 +
 .../mysql/openstack/get-launch-params.rb        |  20 +
 .../init_scripts/mysql/openstack/healthcheck.sh |  20 +
 .../init_scripts/php/get-launch-params.rb       |  20 +
 .../php/openstack/get-launch-params.rb          |  20 +
 .../init_scripts/php/openstack/healthcheck.sh   |  20 +
 tools/cartridge_create/init_scripts/php/x.sh    |  20 +
 tools/cartridge_create/init_scripts/php/y.sh    |  20 +
 .../tomcat/openstack/get-launch-params.rb       |  20 +
 .../tomcat/openstack/healthcheck.sh             |  20 +
 .../ec2-demo-setup/tempconfigs/agent.properties |  21 +
 .../tempconfigs/cartridge-config.properties     |  21 +
 .../tempconfigs/features-dashboard.xml          |  21 +
 .../tempconfigs/gitblit.properties              |  21 +
 tools/ec2-demo-setup/tempconfigs/mysql.xml      |  22 +
 tools/ec2-demo-setup/tempconfigs/php.xml        |  22 +
 .../tempconfigs/stratosreponotifier.groovy      |  21 +
 tools/ec2-demo-setup/tempconfigs/tomcat.xml     |  22 +
 tools/stratos-installer/cartridges/mysql.xml    |  22 +
 tools/stratos-installer/cartridges/php.xml      |  22 +
 tools/stratos-installer/cartridges/tomcat.xml   |  22 +
 .../agent/repository/conf/agent.properties      |  21 +
 .../conf/datasources/master-datasources.xml     |  22 +
 .../cc/repository/deployment/server/mysql.xml   |  22 +
 .../cc/repository/deployment/server/php.xml     |  22 +
 .../cc/repository/deployment/server/tomcat.xml  |  22 +
 .../conf/datasources/master-datasources.xml     |  22 +
 .../conf/datasources/master-datasources.xml     |  22 +
 .../repository/conf/cartridge-config.properties |  21 +
 .../conf/datasources/master-datasources.xml     |  22 +
 .../resources/add_entry_zone_file.sh            |  20 +
 .../resources/gitolite-suexec-wrapper.sh        |  20 +
 tools/stratos-installer/resources/notify.php    |  21 +
 .../resources/remove_entry_zone_file.sh         |  20 +
 .../scripts/add_entry_zone_file.sh              |  20 +
 .../scripts/copy-private-key.sh                 |  20 +
 tools/stratos-installer/scripts/create-app.sh   |  20 +
 .../scripts/git-folder-structure.sh             |  20 +
 tools/stratos-installer/scripts/keygen.sh       |  20 +
 .../scripts/manage-git-repo.sh                  |  20 +
 .../scripts/remove_entry_zone_file.sh           |  20 +
 .../scripts/set-mysql-password.sh               |  20 +
 .../scripts/update-instance.sh                  |  20 +
 177 files changed, 5207 insertions(+), 1466 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.mgt/src/conf/cartridge-config.properties
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/conf/cartridge-config.properties b/components/org.apache.stratos.adc.mgt/src/conf/cartridge-config.properties
index 83b9641..e360277 100644
--- a/components/org.apache.stratos.adc.mgt/src/conf/cartridge-config.properties
+++ b/components/org.apache.stratos.adc.mgt/src/conf/cartridge-config.properties
@@ -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.
+#
+#
+
 # Configuration properties
 
 sc.ip=stratos_ip

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.mgt/src/conf/tenant-resource-policy.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/conf/tenant-resource-policy.xml b/components/org.apache.stratos.adc.mgt/src/conf/tenant-resource-policy.xml
index 12bbf74..19b4e78 100644
--- a/components/org.apache.stratos.adc.mgt/src/conf/tenant-resource-policy.xml
+++ b/components/org.apache.stratos.adc.mgt/src/conf/tenant-resource-policy.xml
@@ -1 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dao/RepositoryCredentials.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dao/RepositoryCredentials.java b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dao/RepositoryCredentials.java
index 90670e7..7fba8d0 100644
--- a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dao/RepositoryCredentials.java
+++ b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dao/RepositoryCredentials.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.adc.mgt.dao;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 public class RepositoryCredentials {
 

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dto/CartridgeDetail.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dto/CartridgeDetail.java b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dto/CartridgeDetail.java
index 48a0086..de108a2 100644
--- a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dto/CartridgeDetail.java
+++ b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dto/CartridgeDetail.java
@@ -1 +1,22 @@
 package org.apache.stratos.adc.mgt.dto;
+/*
+ *
+ * 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.
+ *
+*/
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dto/CartridgeInformation.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dto/CartridgeInformation.java b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dto/CartridgeInformation.java
index 48a0086..de108a2 100644
--- a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dto/CartridgeInformation.java
+++ b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/dto/CartridgeInformation.java
@@ -1 +1,22 @@
 package org.apache.stratos.adc.mgt.dto;
+/*
+ *
+ * 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.
+ *
+*/
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/service/RepositoryInfoBean.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/service/RepositoryInfoBean.java b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/service/RepositoryInfoBean.java
index 7a6380c..27203f5 100644
--- a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/service/RepositoryInfoBean.java
+++ b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/service/RepositoryInfoBean.java
@@ -2,6 +2,27 @@
  * 
  */
 package org.apache.stratos.adc.mgt.service;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 import org.apache.stratos.cloud.controller.util.xsd.CartridgeInfo;
 

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/ApplicationManagementUtil.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/ApplicationManagementUtil.java b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/ApplicationManagementUtil.java
index a83a5c9..932a061 100644
--- a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/ApplicationManagementUtil.java
+++ b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/ApplicationManagementUtil.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.adc.mgt.utils;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 import java.io.BufferedWriter;
 import java.io.File;

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/RepositoryCreator.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/RepositoryCreator.java b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/RepositoryCreator.java
index 30f8149..d9a0568 100644
--- a/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/RepositoryCreator.java
+++ b/components/org.apache.stratos.adc.mgt/src/main/java/org/apache/stratos/adc/mgt/utils/RepositoryCreator.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.adc.mgt.utils;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 import com.gitblit.Constants;
 import com.gitblit.models.RepositoryModel;

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.mgt/src/scripts/append_zone_file.sh
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/scripts/append_zone_file.sh b/components/org.apache.stratos.adc.mgt/src/scripts/append_zone_file.sh
old mode 100755
new mode 100644
index 45491df..007cc58
--- a/components/org.apache.stratos.adc.mgt/src/scripts/append_zone_file.sh
+++ b/components/org.apache.stratos.adc.mgt/src/scripts/append_zone_file.sh
@@ -1,4 +1,24 @@
 #!/bin/bash
+#
+#
+# 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.
+#
+#
 echo "subdomain $1 and ip $2 added to $3"
 appending_file=$3
 subdomain=$1

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.mgt/src/test/java/org/apache/stratos/adc/mgt/test/PolicyHolderTest.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/test/java/org/apache/stratos/adc/mgt/test/PolicyHolderTest.java b/components/org.apache.stratos.adc.mgt/src/test/java/org/apache/stratos/adc/mgt/test/PolicyHolderTest.java
index ba350aa..9dac84a 100644
--- a/components/org.apache.stratos.adc.mgt/src/test/java/org/apache/stratos/adc/mgt/test/PolicyHolderTest.java
+++ b/components/org.apache.stratos.adc.mgt/src/test/java/org/apache/stratos/adc/mgt/test/PolicyHolderTest.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.adc.mgt.test;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 import java.io.File;
 import java.lang.reflect.Constructor;

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.mgt/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/test/resources/log4j.properties b/components/org.apache.stratos.adc.mgt/src/test/resources/log4j.properties
index d30536d..00204eb 100644
--- a/components/org.apache.stratos.adc.mgt/src/test/resources/log4j.properties
+++ b/components/org.apache.stratos.adc.mgt/src/test/resources/log4j.properties
@@ -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.
+#
+#
+
 log4j.appender.console=org.apache.log4j.ConsoleAppender
 log4j.appender.console.Target=System.out
 log4j.appender.console.layout=org.apache.log4j.PatternLayout
@@ -5,4 +26,4 @@ log4j.appender.console.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p
 
 #Loggers
 log4j.rootLogger=info, console
-log4j.logger.org.apache.stratos.adc.mgt=trace
\ No newline at end of file
+log4j.logger.org.apache.stratos.adc.mgt=trace

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.mgt/src/test/resources/policies-1.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.mgt/src/test/resources/policies-1.xml b/components/org.apache.stratos.adc.mgt/src/test/resources/policies-1.xml
index 7dd37d5..efc24b7 100644
--- a/components/org.apache.stratos.adc.mgt/src/test/resources/policies-1.xml
+++ b/components/org.apache.stratos.adc.mgt/src/test/resources/policies-1.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.
+
+-->
+
 <policies>
 	<policy name="single" isDefault="true">
 		<description>Single - Instances: Min 1, Max 1</description>
@@ -19,4 +41,4 @@
 		<scale_down_factor>0.25</scale_down_factor>
 		<rounds_to_average>2</rounds_to_average>
 	</policy>
-</policies>
\ No newline at end of file
+</policies>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/group/mgt/SubDomainAwareGroupManagementAgent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/group/mgt/SubDomainAwareGroupManagementAgent.java b/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/group/mgt/SubDomainAwareGroupManagementAgent.java
index d674c4c..4240c4f 100644
--- a/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/group/mgt/SubDomainAwareGroupManagementAgent.java
+++ b/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/group/mgt/SubDomainAwareGroupManagementAgent.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.adc.topology.mgt.group.mgt;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 import org.apache.axis2.clustering.Member;
 import org.apache.axis2.clustering.management.DefaultGroupManagementAgent;
@@ -29,4 +50,4 @@ public class SubDomainAwareGroupManagementAgent extends DefaultGroupManagementAg
             super.applicationMemberRemoved(member);
         }
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/util/TopologyConstants.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/util/TopologyConstants.java b/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/util/TopologyConstants.java
index 984610d..60b5536 100644
--- a/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/util/TopologyConstants.java
+++ b/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/util/TopologyConstants.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.adc.topology.mgt.util;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 public class TopologyConstants {
     

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/util/TopologyMgtUtil.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/util/TopologyMgtUtil.java b/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/util/TopologyMgtUtil.java
index 01ff6db..67fe706 100644
--- a/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/util/TopologyMgtUtil.java
+++ b/components/org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/util/TopologyMgtUtil.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.adc.topology.mgt.util;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 public class TopologyMgtUtil {
 

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.adc.topology.mgt/src/main/resources/META-INF/services.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.adc.topology.mgt/src/main/resources/META-INF/services.xml b/components/org.apache.stratos.adc.topology.mgt/src/main/resources/META-INF/services.xml
index ef91287..050ca74 100644
--- a/components/org.apache.stratos.adc.topology.mgt/src/main/resources/META-INF/services.xml
+++ b/components/org.apache.stratos.adc.topology.mgt/src/main/resources/META-INF/services.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.
+
+-->
+
 <serviceGroup>
     <service name="TopologyMgtService" scope="application">
         <parameter name="ServiceClass">org.apache.stratos.adc.topology.mgt.service.impl.TopologyManagementServiceImpl</parameter>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/CartridgeConstans.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/CartridgeConstans.java b/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/CartridgeConstans.java
index e69de29..67c4ee4 100644
--- a/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/CartridgeConstans.java
+++ b/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/CartridgeConstans.java
@@ -0,0 +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.
+ *
+*/
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/Payload.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/Payload.java b/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/Payload.java
index 8bd5948..a59df8d 100644
--- a/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/Payload.java
+++ b/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/Payload.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.cartridge.mgt.ui;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 public class Payload {
 	private Repository repository;

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/RepoNotificationClient.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/RepoNotificationClient.java b/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/RepoNotificationClient.java
index 36292ba..40a29fe 100644
--- a/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/RepoNotificationClient.java
+++ b/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/RepoNotificationClient.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.cartridge.mgt.ui;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.Constants;

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/RepoNotificationServlet.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/RepoNotificationServlet.java b/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/RepoNotificationServlet.java
index ff51094..d637fda 100644
--- a/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/RepoNotificationServlet.java
+++ b/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/RepoNotificationServlet.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.cartridge.mgt.ui;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 import javax.servlet.http.HttpServlet;
 import javax.servlet.http.HttpServletRequest;
@@ -54,4 +75,4 @@ public class RepoNotificationServlet extends HttpServlet {
 		this.doPost(req, res);
 	}
 
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/Repository.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/Repository.java b/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/Repository.java
index 3275e83..7030ed4 100644
--- a/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/Repository.java
+++ b/components/org.apache.stratos.cartridge.mgt.ui/src/main/java/org/apache/stratos/cartridge/mgt/ui/Repository.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.cartridge.mgt.ui;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 public class Repository {
 	private String url;

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cli/src/main/resources/Resources.properties
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cli/src/main/resources/Resources.properties b/components/org.apache.stratos.cli/src/main/resources/Resources.properties
index fcec66f..3735968 100644
--- a/components/org.apache.stratos.cli/src/main/resources/Resources.properties
+++ b/components/org.apache.stratos.cli/src/main/resources/Resources.properties
@@ -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.
+#
+#
+
 
 
 cannot.list.available.cartridges=An error occurred when getting available cartridges.
@@ -22,4 +43,4 @@ repository.required=An external repository required
 repository.credentials.required=Username and Password are required for the repository: {0}
 repository.transport.error=Error connecting to the repository: {0}
 repository.invalid.error=Invalid repository: {0}
-remote.error=Error connecting to back-end service.
\ No newline at end of file
+remote.error=Error connecting to back-end service.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cli/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cli/src/main/resources/log4j.properties b/components/org.apache.stratos.cli/src/main/resources/log4j.properties
old mode 100755
new mode 100644
index 958eb9c..c5d2084
--- a/components/org.apache.stratos.cli/src/main/resources/log4j.properties
+++ b/components/org.apache.stratos.cli/src/main/resources/log4j.properties
@@ -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.
+#
+#
+
 log4j.appender.console=org.apache.log4j.ConsoleAppender
 log4j.appender.console.Target=System.out
 log4j.appender.console.layout=org.apache.log4j.PatternLayout
@@ -12,4 +33,4 @@ log4j.appender.file.layout.conversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p %c
 
 #Loggers
 log4j.rootLogger=info, file
-log4j.logger.org.wso2.carbon.adc.mgt.cli=info
\ No newline at end of file
+log4j.logger.org.wso2.carbon.adc.mgt.cli=info

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/consumers/TopologyBuilder.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/consumers/TopologyBuilder.java b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/consumers/TopologyBuilder.java
index c6d191d..c9e2965 100644
--- a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/consumers/TopologyBuilder.java
+++ b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/consumers/TopologyBuilder.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.cloud.controller.consumers;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 import java.io.File;
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/internal/CloudControllerDSComponent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/internal/CloudControllerDSComponent.java b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/internal/CloudControllerDSComponent.java
index b5ebd01..cc4c316 100644
--- a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/internal/CloudControllerDSComponent.java
+++ b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/internal/CloudControllerDSComponent.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.cloud.controller.internal;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 import org.apache.stratos.cloud.controller.exception.CloudControllerException;
 import org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl;
@@ -87,4 +108,4 @@ public class CloudControllerDSComponent {
         }
         DeclarativeServiceReferenceHolder.getInstance().setRegistry(null);
 	}
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/registry/RegistryManager.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/registry/RegistryManager.java b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/registry/RegistryManager.java
index 13bb688..8aaa37f 100644
--- a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/registry/RegistryManager.java
+++ b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/registry/RegistryManager.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.cloud.controller.registry;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 import org.apache.stratos.cloud.controller.exception.CloudControllerException;
 import org.apache.stratos.cloud.controller.persist.Serializer;

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/main/resources/META-INF/services.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/main/resources/META-INF/services.xml b/components/org.apache.stratos.cloud.controller/src/main/resources/META-INF/services.xml
index f931ba7..3c39159 100644
--- a/components/org.apache.stratos.cloud.controller/src/main/resources/META-INF/services.xml
+++ b/components/org.apache.stratos.cloud.controller/src/main/resources/META-INF/services.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.
+
+-->
+
 <serviceGroup>
     <service name="CloudControllerService" scope="application">
         <parameter name="ServiceClass">org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl</parameter>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-1.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-1.xml b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-1.xml
index 2eccd3d..60930fe 100644
--- a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-1.xml
+++ b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-1.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.
+
+-->
+
 <!-- Use below section to specify properties that are needed in order to start Cartridges.  -->
 	<cartridges>
 	
@@ -30,4 +52,4 @@
 			
 		</cartridge>
 	
-	</cartridges>
\ No newline at end of file
+	</cartridges>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-2.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-2.xml b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-2.xml
index b0fe963..0872097 100644
--- a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-2.xml
+++ b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-2.xml
@@ -1,4 +1,25 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+ 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.
+
+-->
+
 	<!-- You can have 1..n cartridge elements. -->
 		<cartridge type="php">
 			<!-- cartridge element can have 0..n properties, and they'll be overwritten by the properties
@@ -31,4 +52,4 @@
 				<appType name="webapps" appSpecificMapping="false"/>
 			</appTypes>
 		</cartridge>
-	
\ No newline at end of file
+	

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-3.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-3.xml b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-3.xml
index eb6d565..b3da31f 100644
--- a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-3.xml
+++ b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-3.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.
+
+-->
+
 <!-- Use below section to specify properties that are needed in order to start Cartridges.  -->
 	<cartridges>
 	
@@ -13,4 +35,4 @@
 			</deployment>
 		</cartridge>
 	
-	</cartridges>
\ No newline at end of file
+	</cartridges>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-4.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-4.xml b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-4.xml
index 2f82ce8..285d99d 100644
--- a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-4.xml
+++ b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-4.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.
+
+-->
+
 <!-- Use below section to specify properties that are needed in order to start Cartridges.  -->
 	<cartridges>
 	
@@ -29,4 +51,4 @@
 			</deployment>
 		</cartridge>
 	
-	</cartridges>
\ No newline at end of file
+	</cartridges>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-5.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-5.xml b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-5.xml
index 705d020..cb7efe6 100644
--- a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-5.xml
+++ b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-5.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.
+
+-->
+
 <!-- Use below section to specify properties that are needed in order to start Cartridges.  -->
 	<cartridges>
 	
@@ -26,4 +48,4 @@
 			</deployment>
 		</cartridge>
 	
-	</cartridges>
\ No newline at end of file
+	</cartridges>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-6.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-6.xml b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-6.xml
index 28ac6fb..15ca74a 100644
--- a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-6.xml
+++ b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-6.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.
+
+-->
+
 <!-- Use below section to specify properties that are needed in order to start Cartridges.  -->
 	<cartridges>
 	
@@ -16,4 +38,4 @@
 			</deployment>
 		</cartridge>
 	
-	</cartridges>
\ No newline at end of file
+	</cartridges>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-7.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-7.xml b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-7.xml
index 0baa407..97d4a1d 100644
--- a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-7.xml
+++ b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-7.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.
+
+-->
+
 <!-- Use below section to specify properties that are needed in order to start Cartridges.  -->
 	<cartridges>
 	
@@ -37,4 +59,4 @@
 			</deployment>
 		</cartridge>
 	
-	</cartridges>
\ No newline at end of file
+	</cartridges>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-8.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-8.xml b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-8.xml
index 8d43239..22d2c11 100644
--- a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-8.xml
+++ b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-8.xml
@@ -1,4 +1,25 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+ 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.
+
+-->
+
 	<!-- You can have 1..n cartridge elements. -->
 		<cartridge type="php" version="5">
 			<!-- Display name of this cartridge -->
@@ -35,6 +56,27 @@
 		</cartridge>
 	
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+
+ 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.
+
+-->
+
 	<!-- You can have 1..n cartridge elements. -->
 		<cartridge type="php" version="5">
 			<!-- Display name of this cartridge -->
@@ -69,4 +111,4 @@
 				<appType name="webapps" appSpecificMapping="false"/>
 			</appTypes>
 		</cartridge>
-	
\ No newline at end of file
+	

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-9.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-9.xml b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-9.xml
index 969091a..e3d5e0d 100644
--- a/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-9.xml
+++ b/components/org.apache.stratos.cloud.controller/src/test/resources/cartridges-9.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.
+
+-->
+
 <!-- Use below section to specify properties that are needed in order to start Cartridges.  -->
 	<cartridges>
 	
@@ -63,4 +85,4 @@
 			
 		</cartridge>
 	
-	</cartridges>
\ No newline at end of file
+	</cartridges>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.email.sender/src/main/java/org/apache/stratos/email/sender/api/EmailDataHolder.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.email.sender/src/main/java/org/apache/stratos/email/sender/api/EmailDataHolder.java b/components/org.apache.stratos.email.sender/src/main/java/org/apache/stratos/email/sender/api/EmailDataHolder.java
index 25d29b6..73d9199 100644
--- a/components/org.apache.stratos.email.sender/src/main/java/org/apache/stratos/email/sender/api/EmailDataHolder.java
+++ b/components/org.apache.stratos.email.sender/src/main/java/org/apache/stratos/email/sender/api/EmailDataHolder.java
@@ -1,4 +1,25 @@
 package org.apache.stratos.email.sender.api;
+/*
+ *
+ * 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.
+ *
+*/
+
 
 import java.util.Map;
 

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.lb.common/src/main/resources/META-INF/services.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.lb.common/src/main/resources/META-INF/services.xml b/components/org.apache.stratos.lb.common/src/main/resources/META-INF/services.xml
index 71f297a..f458e62 100644
--- a/components/org.apache.stratos.lb.common/src/main/resources/META-INF/services.xml
+++ b/components/org.apache.stratos.lb.common/src/main/resources/META-INF/services.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.
+
+-->
+
 <serviceGroup>
     <service name="LoadBalancerConfigurationService" scope="application">
         <parameter name="ServiceClass">org.apache.stratos.lb.common.service.impl.LoadBalancerConfigurationServiceImpl</parameter>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.lb.common/src/test/resources/testng.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.lb.common/src/test/resources/testng.xml b/components/org.apache.stratos.lb.common/src/test/resources/testng.xml
index 44b9822..204f936 100644
--- a/components/org.apache.stratos.lb.common/src/test/resources/testng.xml
+++ b/components/org.apache.stratos.lb.common/src/test/resources/testng.xml
@@ -1,4 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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 suite SYSTEM "http://testng.org/testng-1.0.dtd">
 <suite name="Default suite">
   <test verbose="2" name="Default test">

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.logging.view.ui/src/main/resources/org/apache/stratos/logging/view/ui/i18n/Resources.properties
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.logging.view.ui/src/main/resources/org/apache/stratos/logging/view/ui/i18n/Resources.properties b/components/org.apache.stratos.logging.view.ui/src/main/resources/org/apache/stratos/logging/view/ui/i18n/Resources.properties
index 76aa452..7d3bf24 100644
--- a/components/org.apache.stratos.logging.view.ui/src/main/resources/org/apache/stratos/logging/view/ui/i18n/Resources.properties
+++ b/components/org.apache.stratos.logging.view.ui/src/main/resources/org/apache/stratos/logging/view/ui/i18n/Resources.properties
@@ -1,45 +1,66 @@
-archived.logs=Show archived logs
-adv.search=Show advanced search
-max.exceed.message=Maximum Number of Log Retrieval for the Day Exceeded... Your latest logs will be omitted.
-logsmenutext=System Logs
-applogsmenutext=Application Logs
-viewlogsmenutext=View Logs text
-system.logs=System Logs
-app.logs=Application Logs
-system.logs.view = System Log View
-view=View
-download=Download
-search.logs=Search Logs
-file.size = File Size
-clear.all=Clear All Logs
-clear.all.log.message=Do you want to clear all the logs
-no.logs=--- No log entries found. ---
-invalid.tenant= --- Invalid tenant domain ---
-file.name = File Name
-date = Date
-action = Action
-log.tail = Log Tail
-service.name = Subscribed Cartridge Aliases
-log.head = Log Head
-log.message = Log Message
-log.type = Type
-local.log.location.information = Logs are taken from the local file system.
-remote.log.location.information = Logs are taken from the remote log hosted server.
-log.head.help = Enter the number of log lines to be displayed from the top-down.
-tenant.domain = Tenant Domain
-return.rows = Return Rows
-show.at.or.before = Show at or Between
-advanced.properties = Advanced Properties
-priority = Priority
-keyword = Keyword
-logger = Logger
-application.name=Application Name
-filter.system.logs=Filter System Logs
-date.format=mm/dd/yyyy hh:mm 
-date.example=(eg 2012-05-18 06:21:39) 
-view.stack.trace=More
-view.logs.within.the.past.thirty.mins=Logs taken within past thirty minutes.
-view.logs.between=Logs taken between.
-log.level=Level
-current.time=Current Time Zone:
-
+#
+#
+# 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.
+#
+#
+
+archived.logs=Show archived logs
+adv.search=Show advanced search
+max.exceed.message=Maximum Number of Log Retrieval for the Day Exceeded... Your latest logs will be omitted.
+logsmenutext=System Logs
+applogsmenutext=Application Logs
+viewlogsmenutext=View Logs text
+system.logs=System Logs
+app.logs=Application Logs
+system.logs.view = System Log View
+view=View
+download=Download
+search.logs=Search Logs
+file.size = File Size
+clear.all=Clear All Logs
+clear.all.log.message=Do you want to clear all the logs
+no.logs=--- No log entries found. ---
+invalid.tenant= --- Invalid tenant domain ---
+file.name = File Name
+date = Date
+action = Action
+log.tail = Log Tail
+service.name = Subscribed Cartridge Aliases
+log.head = Log Head
+log.message = Log Message
+log.type = Type
+local.log.location.information = Logs are taken from the local file system.
+remote.log.location.information = Logs are taken from the remote log hosted server.
+log.head.help = Enter the number of log lines to be displayed from the top-down.
+tenant.domain = Tenant Domain
+return.rows = Return Rows
+show.at.or.before = Show at or Between
+advanced.properties = Advanced Properties
+priority = Priority
+keyword = Keyword
+logger = Logger
+application.name=Application Name
+filter.system.logs=Filter System Logs
+date.format=mm/dd/yyyy hh:mm 
+date.example=(eg 2012-05-18 06:21:39) 
+view.stack.trace=More
+view.logs.within.the.past.thirty.mins=Logs taken within past thirty minutes.
+view.logs.between=Logs taken between.
+log.level=Level
+current.time=Current Time Zone:
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a9d27019/components/org.apache.stratos.sso.redirector.ui/src/main/resources/org/apache/stratos/sso/redirector/ui/i18n/Resources.properties
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.sso.redirector.ui/src/main/resources/org/apache/stratos/sso/redirector/ui/i18n/Resources.properties b/components/org.apache.stratos.sso.redirector.ui/src/main/resources/org/apache/stratos/sso/redirector/ui/i18n/Resources.properties
index d941d56..3c9dee1 100644
--- a/components/org.apache.stratos.sso.redirector.ui/src/main/resources/org/apache/stratos/sso/redirector/ui/i18n/Resources.properties
+++ b/components/org.apache.stratos.sso.redirector.ui/src/main/resources/org/apache/stratos/sso/redirector/ui/i18n/Resources.properties
@@ -1,32 +1,53 @@
-saml.sso.menu=SAML SSO
-saml.sso=SAML 2.0 based Single Sign-On
-enter.password.to.signin=Please enter your credentials to sign in to WSO2 Identity Server SAML SSO
-username=Username
-password=Password
-login=Sign In
-sso.configuration=SAML SSO Configuration
-sp.issuer=Issuer
-sp.assertionConsumerURL=Assertion Consumer URL
-sp.certAlias=Certificate Alias
-saml.sso.service.providers.not.found=No SAML SSO Service Providers are found.
-saml.sso.add.service.provider=Add new Service Provider
-saml.sso.add=Add
-sp.enter.valid.endpoint.address=Please enter a valid URL for AssertionConsumerURL
-sp.enter.valid.issuer=Please enter a valid issuer
-sp.enter.valid.claimID=ClaimID field cannot be left empty
-sp.added.successfully=Service Provider Added Successfully
-error.adding.sp=Could not add Service Provider. You might be entering a duplicate Service Provider
-remove.message1=You are about to remove the trusted service provider
-remove.message2=. Do you want to proceed?
-error.removing.sp=Problem in removing the service provider
-select.subject.type=Select the value to be appeared as the subject
-select.subject.type.username=Use current username as the subject
-select.subject.type.claimid=Use a custom claim as the subject
-subject.type.claimid=Claim ID
-subject.type.namidformat=NameID Format
-logout.url=Custom Logout URL
-validate.signature=Enable Signature Validation in Authentication Requests and Logout Requests
-saml.sso.generated.key=Generated Key for Signing SAML2 based single sign-on
-saml.sso.download.pub.key=Download the public key of the generated key pair
-saml.sso.add.sp.to.genkey=Add atleast one service provider to generate a key pair
-login.fail.message=Login failed! Please recheck the username and password and try again.
+#
+#
+# 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.
+#
+#
+
+saml.sso.menu=SAML SSO
+saml.sso=SAML 2.0 based Single Sign-On
+enter.password.to.signin=Please enter your credentials to sign in to WSO2 Identity Server SAML SSO
+username=Username
+password=Password
+login=Sign In
+sso.configuration=SAML SSO Configuration
+sp.issuer=Issuer
+sp.assertionConsumerURL=Assertion Consumer URL
+sp.certAlias=Certificate Alias
+saml.sso.service.providers.not.found=No SAML SSO Service Providers are found.
+saml.sso.add.service.provider=Add new Service Provider
+saml.sso.add=Add
+sp.enter.valid.endpoint.address=Please enter a valid URL for AssertionConsumerURL
+sp.enter.valid.issuer=Please enter a valid issuer
+sp.enter.valid.claimID=ClaimID field cannot be left empty
+sp.added.successfully=Service Provider Added Successfully
+error.adding.sp=Could not add Service Provider. You might be entering a duplicate Service Provider
+remove.message1=You are about to remove the trusted service provider
+remove.message2=. Do you want to proceed?
+error.removing.sp=Problem in removing the service provider
+select.subject.type=Select the value to be appeared as the subject
+select.subject.type.username=Use current username as the subject
+select.subject.type.claimid=Use a custom claim as the subject
+subject.type.claimid=Claim ID
+subject.type.namidformat=NameID Format
+logout.url=Custom Logout URL
+validate.signature=Enable Signature Validation in Authentication Requests and Logout Requests
+saml.sso.generated.key=Generated Key for Signing SAML2 based single sign-on
+saml.sso.download.pub.key=Download the public key of the generated key pair
+saml.sso.add.sp.to.genkey=Add atleast one service provider to generate a key pair
+login.fail.message=Login failed! Please recheck the username and password and try again.