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 15:19:24 UTC

git commit: Added Apache License Header to files in products

Repository: incubator-stratos
Updated Branches:
  refs/heads/master a5304ee66 -> f24719d5c


Added Apache License Header to files in products


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

Branch: refs/heads/master
Commit: f24719d5cdf31da09c158efd96dbf66829b599be
Parents: a5304ee
Author: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Authored: Mon Mar 31 18:48:57 2014 +0530
Committer: M. Isuru Tharanga Chrishantha Perera <is...@apache.org>
Committed: Mon Mar 31 18:48:57 2014 +0530

----------------------------------------------------------------------
 .../distribution/src/main/conf/jndi.properties  | 21 +++++++++++++++++
 .../src/test/resources/automation.properties    | 21 +++++++++++++++++
 .../src/test/resources/jndi.properties          | 23 ++++++++++++++++++-
 .../modules/scripts/ec2/clean.sh                | 20 ++++++++++++++++
 .../src/main/conf/cipher-tool.properties        | 21 +++++++++++++++++
 .../distribution/src/main/conf/jndi.properties  | 21 +++++++++++++++++
 products/stratos-manager/conf/jndi.properties   | 21 +++++++++++++++++
 .../conf/temp-artifacts/carbon/module.xml       | 24 +++++++++++++++++++-
 .../carbon/scripts/registry/artifacts.js        | 21 +++++++++++++++++
 .../carbon/scripts/registry/registry-osgi.js    | 21 +++++++++++++++++
 .../carbon/scripts/registry/registry-ws.js      | 23 ++++++++++++++++++-
 .../carbon/scripts/registry/registry.js         | 23 ++++++++++++++++++-
 .../carbon/scripts/server/config.js             | 23 ++++++++++++++++++-
 .../carbon/scripts/server/osgi.js               | 23 ++++++++++++++++++-
 .../carbon/scripts/server/server.js             | 23 ++++++++++++++++++-
 .../carbon/scripts/server/tenant.js             | 23 ++++++++++++++++++-
 .../carbon/scripts/user/registry-space.js       | 23 ++++++++++++++++++-
 .../temp-artifacts/carbon/scripts/user/space.js | 23 ++++++++++++++++++-
 .../carbon/scripts/user/user-manager.js         | 21 +++++++++++++++++
 .../temp-artifacts/carbon/scripts/user/user.js  | 21 +++++++++++++++++
 .../conf/temp-artifacts/sso/module.xml          | 24 +++++++++++++++++++-
 .../temp-artifacts/sso/scripts/sso.client.js    | 21 +++++++++++++++++
 products/stratos/conf/jndi.properties           | 21 +++++++++++++++++
 .../conf/temp-artifacts/carbon/module.xml       | 24 +++++++++++++++++++-
 .../carbon/scripts/registry/artifacts.js        | 21 +++++++++++++++++
 .../carbon/scripts/registry/registry-osgi.js    | 21 +++++++++++++++++
 .../carbon/scripts/registry/registry-ws.js      | 23 ++++++++++++++++++-
 .../carbon/scripts/registry/registry.js         | 23 ++++++++++++++++++-
 .../carbon/scripts/server/config.js             | 23 ++++++++++++++++++-
 .../carbon/scripts/server/osgi.js               | 23 ++++++++++++++++++-
 .../carbon/scripts/server/server.js             | 23 ++++++++++++++++++-
 .../carbon/scripts/server/tenant.js             | 23 ++++++++++++++++++-
 .../carbon/scripts/user/registry-space.js       | 23 ++++++++++++++++++-
 .../temp-artifacts/carbon/scripts/user/space.js | 23 ++++++++++++++++++-
 .../carbon/scripts/user/user-manager.js         | 21 +++++++++++++++++
 .../temp-artifacts/carbon/scripts/user/user.js  | 21 +++++++++++++++++
 .../stratos/conf/temp-artifacts/sso/module.xml  | 24 +++++++++++++++++++-
 .../temp-artifacts/sso/scripts/sso.client.js    | 21 +++++++++++++++++
 .../src/main/conf/cipher-tool.properties        | 21 +++++++++++++++++
 .../DefaultWSO2EventInputAdaptor.xml            | 21 +++++++++++++++++
 .../DefaultWSO2EventOutputAdaptor.xml           | 21 +++++++++++++++++
 .../distribution/src/main/conf/jndi.properties  | 21 +++++++++++++++++
 42 files changed, 906 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/autoscaler/modules/distribution/src/main/conf/jndi.properties
----------------------------------------------------------------------
diff --git a/products/autoscaler/modules/distribution/src/main/conf/jndi.properties b/products/autoscaler/modules/distribution/src/main/conf/jndi.properties
index 0cfb977..532bbba 100644
--- a/products/autoscaler/modules/distribution/src/main/conf/jndi.properties
+++ b/products/autoscaler/modules/distribution/src/main/conf/jndi.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.
+#
+#
+
 java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory
 connectionfactoryName=topicConnectionfactory
 connectionfactory.topicConnectionfactory=amqp://admin:admin@clientID/carbon?brokerlist='tcp://localhost:5677'&reconnect='true'

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/autoscaler/modules/integration/src/test/resources/automation.properties
----------------------------------------------------------------------
diff --git a/products/autoscaler/modules/integration/src/test/resources/automation.properties b/products/autoscaler/modules/integration/src/test/resources/automation.properties
index 3f651a1..682b15f 100644
--- a/products/autoscaler/modules/integration/src/test/resources/automation.properties
+++ b/products/autoscaler/modules/integration/src/test/resources/automation.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.
+#
+#
+
 # Testing server details
 #---------------------------------------------------------------------------------------------------
 stratos.test=false

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/autoscaler/modules/integration/src/test/resources/jndi.properties
----------------------------------------------------------------------
diff --git a/products/autoscaler/modules/integration/src/test/resources/jndi.properties b/products/autoscaler/modules/integration/src/test/resources/jndi.properties
index 449d93f..aba5c42 100644
--- a/products/autoscaler/modules/integration/src/test/resources/jndi.properties
+++ b/products/autoscaler/modules/integration/src/test/resources/jndi.properties
@@ -1,5 +1,26 @@
+#
+#
+# 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.
+#
+#
+
 java.naming.provider.url=tcp://localhost:61616
 java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
 connectionfactoryName=ConnectionFactory
 java.naming.security.principal=admin
-java.naming.security.credentials=admin
\ No newline at end of file
+java.naming.security.credentials=admin

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/cartridge-agent/modules/scripts/ec2/clean.sh
----------------------------------------------------------------------
diff --git a/products/cartridge-agent/modules/scripts/ec2/clean.sh b/products/cartridge-agent/modules/scripts/ec2/clean.sh
old mode 100755
new mode 100644
index b088281..e0328c0
--- a/products/cartridge-agent/modules/scripts/ec2/clean.sh
+++ b/products/cartridge-agent/modules/scripts/ec2/clean.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.
+#
+#
 
 read -p "Please confirm that you want to clean this instance [y/n] " answer
 if [[ $answer != y ]] ; then

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/cloud-controller/modules/distribution/src/main/conf/cipher-tool.properties
----------------------------------------------------------------------
diff --git a/products/cloud-controller/modules/distribution/src/main/conf/cipher-tool.properties b/products/cloud-controller/modules/distribution/src/main/conf/cipher-tool.properties
index 557a892..1c1da30 100644
--- a/products/cloud-controller/modules/distribution/src/main/conf/cipher-tool.properties
+++ b/products/cloud-controller/modules/distribution/src/main/conf/cipher-tool.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.
+#
+#
+
 # This properties file contains all the aliases to be used in carbon components. If any property need to be secured, you need to add alias name and the value. This value is described as follows.
 # The value goes as, the file name//xpath to the property value to be secured,true if xml elements start with capital letter. Please check existing property values below.
 

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/cloud-controller/modules/distribution/src/main/conf/jndi.properties
----------------------------------------------------------------------
diff --git a/products/cloud-controller/modules/distribution/src/main/conf/jndi.properties b/products/cloud-controller/modules/distribution/src/main/conf/jndi.properties
index 046c8f5..e4b3f0e 100644
--- a/products/cloud-controller/modules/distribution/src/main/conf/jndi.properties
+++ b/products/cloud-controller/modules/distribution/src/main/conf/jndi.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.
+#
+#
+
 connectionfactoryName=topicConnectionfactory
 connectionfactory.topicConnectionfactory=amqp://admin:admin@carbon/carbon?brokerlist='tcp://localhost:5677'
 java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/jndi.properties
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/jndi.properties b/products/stratos-manager/conf/jndi.properties
index 046c8f5..e4b3f0e 100644
--- a/products/stratos-manager/conf/jndi.properties
+++ b/products/stratos-manager/conf/jndi.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.
+#
+#
+
 connectionfactoryName=topicConnectionfactory
 connectionfactory.topicConnectionfactory=amqp://admin:admin@carbon/carbon?brokerlist='tcp://localhost:5677'
 java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/module.xml
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/module.xml b/products/stratos-manager/conf/temp-artifacts/carbon/module.xml
index 9eafb94..2cb5634 100644
--- a/products/stratos-manager/conf/temp-artifacts/carbon/module.xml
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/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="carbon" xmlns="http://wso2.org/projects/jaggery/module.xml">
     <!-- scripts -->
     <script>
@@ -44,4 +66,4 @@
         <name>user-manager</name>
         <path>scripts/user/user-manager.js</path>
     </script>
-</module>
\ No newline at end of file
+</module>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/artifacts.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/artifacts.js b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/artifacts.js
old mode 100755
new mode 100644
index 573d0fa..a05e567
--- a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/artifacts.js
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/artifacts.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 (server, registry) {
 
     var log = new Log();

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry-osgi.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry-osgi.js b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry-osgi.js
index a9ed825..eefbaad 100644
--- a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry-osgi.js
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry-osgi.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 registry = registry || {};
 
 (function (server, registry) {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry-ws.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry-ws.js b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry-ws.js
index b79583f..014a75c 100644
--- a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry-ws.js
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry-ws.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 log = new Log();
 
 var Registry = function (server) {
@@ -53,4 +74,4 @@ Registry.prototype.getResource = function (path) {
 
     res = this.invoke('urn:getContent', payload);
     return base64.decode(String(res.*::['return'].text()));
-};
\ No newline at end of file
+};

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry.js b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry.js
index 9a76849..43467bc 100644
--- a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry.js
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/registry/registry.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 registry = {};
 
 (function (registry) {
@@ -21,4 +42,4 @@ var registry = {};
 
     registry.actions.AUTHORIZE = AccessControlConstants.AUTHORIZE;
 
-}(registry));
\ No newline at end of file
+}(registry));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/config.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/config.js b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/config.js
index 3dd4034..fe5078f 100644
--- a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/config.js
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/config.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 (server) {
     var process = require('process'),
         configDir = 'file:///' + process.getProperty('carbon.config.dir.path').replace(/[\\]/g, '/').replace(/^[\/]/g, '') + '/';
@@ -29,4 +50,4 @@
 
     server.home = 'file:///' + require('process').getProperty('carbon.home').replace(/[\\]/g, '/').replace(/^[\/]/g, '');
 
-}(server));
\ No newline at end of file
+}(server));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/osgi.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/osgi.js b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/osgi.js
index caf5729..2175c23 100644
--- a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/osgi.js
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/osgi.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) {
@@ -7,4 +28,4 @@ var server = {};
     server.osgiService = function (clazz) {
         return PrivilegedCarbonContext.getThreadLocalCarbonContext().getOSGiService(Class.forName(clazz));
     };
-}(server));
\ No newline at end of file
+}(server));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/server.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/server.js b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/server.js
index 83f6ac7..4a8a69b 100644
--- a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/server.js
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/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.
+ *
+*/
+
 (function (server) {
     var log = new Log();
 
@@ -87,4 +108,4 @@
     Server.prototype.logout = function (cookie) {
         return logout(this.url, cookie.cookie);
     };
-}(server));
\ No newline at end of file
+}(server));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/tenant.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/tenant.js b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/tenant.js
index 70466ad..255e7d7 100644
--- a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/tenant.js
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/server/tenant.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 (server) {
     var PrivilegedCarbonContext = Packages.org.wso2.carbon.context.PrivilegedCarbonContext,
         MultitenantConstants = Packages.org.wso2.carbon.utils.multitenancy.MultitenantConstants,
@@ -46,4 +67,4 @@
         domain: MultitenantConstants.SUPER_TENANT_DOMAIN_NAME
     };
 
-}(server));
\ No newline at end of file
+}(server));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/registry-space.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/registry-space.js b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/registry-space.js
index 0fa8e56..9536fb4 100644
--- a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/registry-space.js
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/registry-space.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 (server, registry, user) {
 
     var Space = function (user, space, options) {
@@ -36,4 +57,4 @@
     };
 
 
-}(server, registry, user));
\ No newline at end of file
+}(server, registry, user));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/space.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/space.js b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/space.js
index 1b7a996..c895cc1 100644
--- a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/space.js
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/space.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 (server, user) {
 
     user.Space = function (user, space, options) {
@@ -7,4 +28,4 @@
         return o;
     };
 
-}(server, user));
\ No newline at end of file
+}(server, user));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/user-manager.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/user-manager.js b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/user-manager.js
index cb511b9..56833b9 100644
--- a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/user-manager.js
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/user-manager.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 (server, user) {
 
     var log = new Log();

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/user.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/user.js b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/user.js
index cdfae1c..66b253d 100644
--- a/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/user.js
+++ b/products/stratos-manager/conf/temp-artifacts/carbon/scripts/user/user.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 user = {};
 
 (function (user) {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/sso/module.xml
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/sso/module.xml b/products/stratos-manager/conf/temp-artifacts/sso/module.xml
old mode 100755
new mode 100644
index b32a0fe..159203b
--- a/products/stratos-manager/conf/temp-artifacts/sso/module.xml
+++ b/products/stratos-manager/conf/temp-artifacts/sso/module.xml
@@ -1,6 +1,28 @@
+<?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="sso" xmlns="http://wso2.org/projects/jaggery/module.xml">
     <script>
         <name>client</name>
         <path>scripts/sso.client.js</path>
     </script>
-</module>
\ No newline at end of file
+</module>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos-manager/conf/temp-artifacts/sso/scripts/sso.client.js
----------------------------------------------------------------------
diff --git a/products/stratos-manager/conf/temp-artifacts/sso/scripts/sso.client.js b/products/stratos-manager/conf/temp-artifacts/sso/scripts/sso.client.js
old mode 100755
new mode 100644
index efa2cab..9553220
--- a/products/stratos-manager/conf/temp-artifacts/sso/scripts/sso.client.js
+++ b/products/stratos-manager/conf/temp-artifacts/sso/scripts/sso.client.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.
+ *
+*/
+
 /**
  * Following module act as a client to create a saml request and also to
  * unwrap and return attributes of a returning saml response

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/jndi.properties
----------------------------------------------------------------------
diff --git a/products/stratos/conf/jndi.properties b/products/stratos/conf/jndi.properties
index 046c8f5..e4b3f0e 100644
--- a/products/stratos/conf/jndi.properties
+++ b/products/stratos/conf/jndi.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.
+#
+#
+
 connectionfactoryName=topicConnectionfactory
 connectionfactory.topicConnectionfactory=amqp://admin:admin@carbon/carbon?brokerlist='tcp://localhost:5677'
 java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/module.xml
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/module.xml b/products/stratos/conf/temp-artifacts/carbon/module.xml
index 9eafb94..2cb5634 100644
--- a/products/stratos/conf/temp-artifacts/carbon/module.xml
+++ b/products/stratos/conf/temp-artifacts/carbon/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="carbon" xmlns="http://wso2.org/projects/jaggery/module.xml">
     <!-- scripts -->
     <script>
@@ -44,4 +66,4 @@
         <name>user-manager</name>
         <path>scripts/user/user-manager.js</path>
     </script>
-</module>
\ No newline at end of file
+</module>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/scripts/registry/artifacts.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/scripts/registry/artifacts.js b/products/stratos/conf/temp-artifacts/carbon/scripts/registry/artifacts.js
old mode 100755
new mode 100644
index 573d0fa..a05e567
--- a/products/stratos/conf/temp-artifacts/carbon/scripts/registry/artifacts.js
+++ b/products/stratos/conf/temp-artifacts/carbon/scripts/registry/artifacts.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 (server, registry) {
 
     var log = new Log();

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry-osgi.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry-osgi.js b/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry-osgi.js
index a9ed825..eefbaad 100644
--- a/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry-osgi.js
+++ b/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry-osgi.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 registry = registry || {};
 
 (function (server, registry) {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry-ws.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry-ws.js b/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry-ws.js
index b79583f..014a75c 100644
--- a/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry-ws.js
+++ b/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry-ws.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 log = new Log();
 
 var Registry = function (server) {
@@ -53,4 +74,4 @@ Registry.prototype.getResource = function (path) {
 
     res = this.invoke('urn:getContent', payload);
     return base64.decode(String(res.*::['return'].text()));
-};
\ No newline at end of file
+};

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry.js b/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry.js
index 9a76849..43467bc 100644
--- a/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry.js
+++ b/products/stratos/conf/temp-artifacts/carbon/scripts/registry/registry.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 registry = {};
 
 (function (registry) {
@@ -21,4 +42,4 @@ var registry = {};
 
     registry.actions.AUTHORIZE = AccessControlConstants.AUTHORIZE;
 
-}(registry));
\ No newline at end of file
+}(registry));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/scripts/server/config.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/scripts/server/config.js b/products/stratos/conf/temp-artifacts/carbon/scripts/server/config.js
index 3dd4034..fe5078f 100644
--- a/products/stratos/conf/temp-artifacts/carbon/scripts/server/config.js
+++ b/products/stratos/conf/temp-artifacts/carbon/scripts/server/config.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 (server) {
     var process = require('process'),
         configDir = 'file:///' + process.getProperty('carbon.config.dir.path').replace(/[\\]/g, '/').replace(/^[\/]/g, '') + '/';
@@ -29,4 +50,4 @@
 
     server.home = 'file:///' + require('process').getProperty('carbon.home').replace(/[\\]/g, '/').replace(/^[\/]/g, '');
 
-}(server));
\ No newline at end of file
+}(server));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/scripts/server/osgi.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/scripts/server/osgi.js b/products/stratos/conf/temp-artifacts/carbon/scripts/server/osgi.js
index caf5729..2175c23 100644
--- a/products/stratos/conf/temp-artifacts/carbon/scripts/server/osgi.js
+++ b/products/stratos/conf/temp-artifacts/carbon/scripts/server/osgi.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) {
@@ -7,4 +28,4 @@ var server = {};
     server.osgiService = function (clazz) {
         return PrivilegedCarbonContext.getThreadLocalCarbonContext().getOSGiService(Class.forName(clazz));
     };
-}(server));
\ No newline at end of file
+}(server));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/scripts/server/server.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/scripts/server/server.js b/products/stratos/conf/temp-artifacts/carbon/scripts/server/server.js
index 83f6ac7..4a8a69b 100644
--- a/products/stratos/conf/temp-artifacts/carbon/scripts/server/server.js
+++ b/products/stratos/conf/temp-artifacts/carbon/scripts/server/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.
+ *
+*/
+
 (function (server) {
     var log = new Log();
 
@@ -87,4 +108,4 @@
     Server.prototype.logout = function (cookie) {
         return logout(this.url, cookie.cookie);
     };
-}(server));
\ No newline at end of file
+}(server));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/scripts/server/tenant.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/scripts/server/tenant.js b/products/stratos/conf/temp-artifacts/carbon/scripts/server/tenant.js
index 70466ad..255e7d7 100644
--- a/products/stratos/conf/temp-artifacts/carbon/scripts/server/tenant.js
+++ b/products/stratos/conf/temp-artifacts/carbon/scripts/server/tenant.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 (server) {
     var PrivilegedCarbonContext = Packages.org.wso2.carbon.context.PrivilegedCarbonContext,
         MultitenantConstants = Packages.org.wso2.carbon.utils.multitenancy.MultitenantConstants,
@@ -46,4 +67,4 @@
         domain: MultitenantConstants.SUPER_TENANT_DOMAIN_NAME
     };
 
-}(server));
\ No newline at end of file
+}(server));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/scripts/user/registry-space.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/scripts/user/registry-space.js b/products/stratos/conf/temp-artifacts/carbon/scripts/user/registry-space.js
index 0fa8e56..9536fb4 100644
--- a/products/stratos/conf/temp-artifacts/carbon/scripts/user/registry-space.js
+++ b/products/stratos/conf/temp-artifacts/carbon/scripts/user/registry-space.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 (server, registry, user) {
 
     var Space = function (user, space, options) {
@@ -36,4 +57,4 @@
     };
 
 
-}(server, registry, user));
\ No newline at end of file
+}(server, registry, user));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/scripts/user/space.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/scripts/user/space.js b/products/stratos/conf/temp-artifacts/carbon/scripts/user/space.js
index 1b7a996..c895cc1 100644
--- a/products/stratos/conf/temp-artifacts/carbon/scripts/user/space.js
+++ b/products/stratos/conf/temp-artifacts/carbon/scripts/user/space.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 (server, user) {
 
     user.Space = function (user, space, options) {
@@ -7,4 +28,4 @@
         return o;
     };
 
-}(server, user));
\ No newline at end of file
+}(server, user));

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/scripts/user/user-manager.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/scripts/user/user-manager.js b/products/stratos/conf/temp-artifacts/carbon/scripts/user/user-manager.js
index cb511b9..56833b9 100644
--- a/products/stratos/conf/temp-artifacts/carbon/scripts/user/user-manager.js
+++ b/products/stratos/conf/temp-artifacts/carbon/scripts/user/user-manager.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 (server, user) {
 
     var log = new Log();

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/carbon/scripts/user/user.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/carbon/scripts/user/user.js b/products/stratos/conf/temp-artifacts/carbon/scripts/user/user.js
index cdfae1c..66b253d 100644
--- a/products/stratos/conf/temp-artifacts/carbon/scripts/user/user.js
+++ b/products/stratos/conf/temp-artifacts/carbon/scripts/user/user.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 user = {};
 
 (function (user) {

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/sso/module.xml
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/sso/module.xml b/products/stratos/conf/temp-artifacts/sso/module.xml
old mode 100755
new mode 100644
index b32a0fe..159203b
--- a/products/stratos/conf/temp-artifacts/sso/module.xml
+++ b/products/stratos/conf/temp-artifacts/sso/module.xml
@@ -1,6 +1,28 @@
+<?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="sso" xmlns="http://wso2.org/projects/jaggery/module.xml">
     <script>
         <name>client</name>
         <path>scripts/sso.client.js</path>
     </script>
-</module>
\ No newline at end of file
+</module>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/conf/temp-artifacts/sso/scripts/sso.client.js
----------------------------------------------------------------------
diff --git a/products/stratos/conf/temp-artifacts/sso/scripts/sso.client.js b/products/stratos/conf/temp-artifacts/sso/scripts/sso.client.js
old mode 100755
new mode 100644
index efa2cab..9553220
--- a/products/stratos/conf/temp-artifacts/sso/scripts/sso.client.js
+++ b/products/stratos/conf/temp-artifacts/sso/scripts/sso.client.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.
+ *
+*/
+
 /**
  * Following module act as a client to create a saml request and also to
  * unwrap and return attributes of a returning saml response

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/modules/distribution/src/main/conf/cipher-tool.properties
----------------------------------------------------------------------
diff --git a/products/stratos/modules/distribution/src/main/conf/cipher-tool.properties b/products/stratos/modules/distribution/src/main/conf/cipher-tool.properties
index 557a892..1c1da30 100644
--- a/products/stratos/modules/distribution/src/main/conf/cipher-tool.properties
+++ b/products/stratos/modules/distribution/src/main/conf/cipher-tool.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.
+#
+#
+
 # This properties file contains all the aliases to be used in carbon components. If any property need to be secured, you need to add alias name and the value. This value is described as follows.
 # The value goes as, the file name//xpath to the property value to be secured,true if xml elements start with capital letter. Please check existing property values below.
 

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/modules/distribution/src/main/conf/default-adaptors/DefaultWSO2EventInputAdaptor.xml
----------------------------------------------------------------------
diff --git a/products/stratos/modules/distribution/src/main/conf/default-adaptors/DefaultWSO2EventInputAdaptor.xml b/products/stratos/modules/distribution/src/main/conf/default-adaptors/DefaultWSO2EventInputAdaptor.xml
index 1451b47..f09d6cd 100644
--- a/products/stratos/modules/distribution/src/main/conf/default-adaptors/DefaultWSO2EventInputAdaptor.xml
+++ b/products/stratos/modules/distribution/src/main/conf/default-adaptors/DefaultWSO2EventInputAdaptor.xml
@@ -1,5 +1,26 @@
 <?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.
+
+-->
+
+<!--
      This adaptor is used by default to send WSO2 events to the CEP server.
      DO NOT DELETE this file since this file is needed when event builder/event formatter 
      configurations are created using default values.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/modules/distribution/src/main/conf/default-adaptors/DefaultWSO2EventOutputAdaptor.xml
----------------------------------------------------------------------
diff --git a/products/stratos/modules/distribution/src/main/conf/default-adaptors/DefaultWSO2EventOutputAdaptor.xml b/products/stratos/modules/distribution/src/main/conf/default-adaptors/DefaultWSO2EventOutputAdaptor.xml
index 59ba20d..4438d2c 100644
--- a/products/stratos/modules/distribution/src/main/conf/default-adaptors/DefaultWSO2EventOutputAdaptor.xml
+++ b/products/stratos/modules/distribution/src/main/conf/default-adaptors/DefaultWSO2EventOutputAdaptor.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.
+
+-->
+
 <outputEventAdaptor name="DefaultWSO2EventOutputAdaptor"
   statistics="disable" trace="disable" type="wso2event" xmlns="http://wso2.org/carbon/eventadaptormanager">
   <property name="username">admin</property>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f24719d5/products/stratos/modules/distribution/src/main/conf/jndi.properties
----------------------------------------------------------------------
diff --git a/products/stratos/modules/distribution/src/main/conf/jndi.properties b/products/stratos/modules/distribution/src/main/conf/jndi.properties
index 0cfb977..532bbba 100644
--- a/products/stratos/modules/distribution/src/main/conf/jndi.properties
+++ b/products/stratos/modules/distribution/src/main/conf/jndi.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.
+#
+#
+
 java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory
 connectionfactoryName=topicConnectionfactory
 connectionfactory.topicConnectionfactory=amqp://admin:admin@clientID/carbon?brokerlist='tcp://localhost:5677'&reconnect='true'