Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Commit f0c39bd

Browse files
author
Imesh Gunaratne
committed
Fixing license headers in clustering erb files
1 parent 71a52d1 commit f0c39bd

File tree

5 files changed

+89
-90
lines changed

5 files changed

+89
-90
lines changed

modules/wso2base/templates/clustering/aws.erb

+17-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
<%
2-
# Licensed to the Apache Software Foundation (ASF) under one
3-
# or more contributor license agreements. See the NOTICE file
4-
# distributed with this work for additional information
5-
# regarding copyright ownership. The ASF licenses this file
6-
# to you under the Apache License, Version 2.0 (the
7-
# "License"); you may not use this file except in compliance
8-
# with the License. You may obtain a copy of the License at
9-
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing,
13-
# software distributed under the License is distributed on an
14-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
# KIND, either express or implied. See the License for the
16-
# specific language governing permissions and limitations
17-
# under the License.
18-
%>
1+
<!--
2+
~ Copyright (c) 2016, WSO2 Inc. (http://wso2.com) All Rights Reserved.
3+
~
4+
~ WSO2 Inc. licenses this file to you under the Apache License,
5+
~ Version 2.0 (the "License"); you may not use this file except
6+
~ in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing,
12+
~ software distributed under the License is distributed on an
13+
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
~ KIND, either express or implied. See the License for the
15+
~ specific language governing permissions and limitations
16+
~ under the License.
17+
-->
1918
<parameter name="accessKey"><%= @clustering['aws']['access_key'] %></parameter>
2019
<parameter name="secretKey"><%= @clustering['aws']['secret_key'] %></parameter>
2120
<parameter name="securityGroup"><%= @clustering['aws']['security_group'] %></parameter>

modules/wso2base/templates/clustering/kubernetes.erb

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
<%
2-
# Licensed to the Apache Software Foundation (ASF) under one
3-
# or more contributor license agreements. See the NOTICE file
4-
# distributed with this work for additional information
5-
# regarding copyright ownership. The ASF licenses this file
6-
# to you under the Apache License, Version 2.0 (the
7-
# "License"); you may not use this file except in compliance
8-
# with the License. You may obtain a copy of the License at
9-
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing,
13-
# software distributed under the License is distributed on an
14-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
# KIND, either express or implied. See the License for the
16-
# specific language governing permissions and limitations
17-
# under the License.
18-
%>
1+
<!--
2+
~ Copyright (c) 2016, WSO2 Inc. (http://wso2.com) All Rights Reserved.
3+
~
4+
~ WSO2 Inc. licenses this file to you under the Apache License,
5+
~ Version 2.0 (the "License"); you may not use this file except
6+
~ in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing,
12+
~ software distributed under the License is distributed on an
13+
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
~ KIND, either express or implied. See the License for the
15+
~ specific language governing permissions and limitations
16+
~ under the License.
17+
-->
18+
1919
<parameter name="membershipSchemeClassName">org.wso2.carbon.membership.scheme.kubernetes.KubernetesMembershipScheme</parameter>
2020
<%- if @clustering['kubernetes'] and @clustering['kubernetes']['kubernetes_namespace'] -%>
2121
<parameter name="KUBERNETES_NAMESPACE"><%= @clustering['kubernetes']['kubernetes_namespace'] %></parameter>

modules/wso2base/templates/clustering/mesos.erb

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
<%
2-
# Licensed to the Apache Software Foundation (ASF) under one
3-
# or more contributor license agreements. See the NOTICE file
4-
# distributed with this work for additional information
5-
# regarding copyright ownership. The ASF licenses this file
6-
# to you under the Apache License, Version 2.0 (the
7-
# "License"); you may not use this file except in compliance
8-
# with the License. You may obtain a copy of the License at
9-
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing,
13-
# software distributed under the License is distributed on an
14-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
# KIND, either express or implied. See the License for the
16-
# specific language governing permissions and limitations
17-
# under the License.
18-
%>
1+
<!--
2+
~ Copyright (c) 2016, WSO2 Inc. (http://wso2.com) All Rights Reserved.
3+
~
4+
~ WSO2 Inc. licenses this file to you under the Apache License,
5+
~ Version 2.0 (the "License"); you may not use this file except
6+
~ in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing,
12+
~ software distributed under the License is distributed on an
13+
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
~ KIND, either express or implied. See the License for the
15+
~ specific language governing permissions and limitations
16+
~ under the License.
17+
-->
18+
1919
<parameter name="membershipSchemeClassName">org.wso2.carbon.clustering.mesos.MesosMembershipScheme</parameter>
2020
<%- if @clustering['mesos'] and @clustering['mesos']['member_discovery_scheme'] -%>
2121
<parameter name="MESOS_MEMBER_DISCOVERY_SCHEME"><%= @clustering['mesos']['member_discovery_scheme'] %></parameter>

modules/wso2base/templates/clustering/private-paas.erb

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
<%
2-
# Licensed to the Apache Software Foundation (ASF) under one
3-
# or more contributor license agreements. See the NOTICE file
4-
# distributed with this work for additional information
5-
# regarding copyright ownership. The ASF licenses this file
6-
# to you under the Apache License, Version 2.0 (the
7-
# "License"); you may not use this file except in compliance
8-
# with the License. You may obtain a copy of the License at
9-
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing,
13-
# software distributed under the License is distributed on an
14-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
# KIND, either express or implied. See the License for the
16-
# specific language governing permissions and limitations
17-
# under the License.
18-
%>
1+
<!--
2+
~ Copyright (c) 2016, WSO2 Inc. (http://wso2.com) All Rights Reserved.
3+
~
4+
~ WSO2 Inc. licenses this file to you under the Apache License,
5+
~ Version 2.0 (the "License"); you may not use this file except
6+
~ in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing,
12+
~ software distributed under the License is distributed on an
13+
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
~ KIND, either express or implied. See the License for the
15+
~ specific language governing permissions and limitations
16+
~ under the License.
17+
-->
18+
1919
<parameter name="membershipSchemeClassName">org.wso2.carbon.ppaas.PrivatePaaSBasedMembershipScheme</parameter>
2020
<%- if @clustering['private_paas'] and @clustering['private_paas']['cluster_ids'] -%>
2121
<parameter name="clusterIds"><%= @clustering['private_paas']['cluster_ids'] %></parameter>

modules/wso2base/templates/clustering/wka.erb

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
<%
2-
# Licensed to the Apache Software Foundation (ASF) under one
3-
# or more contributor license agreements. See the NOTICE file
4-
# distributed with this work for additional information
5-
# regarding copyright ownership. The ASF licenses this file
6-
# to you under the Apache License, Version 2.0 (the
7-
# "License"); you may not use this file except in compliance
8-
# with the License. You may obtain a copy of the License at
9-
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing,
13-
# software distributed under the License is distributed on an
14-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
# KIND, either express or implied. See the License for the
16-
# specific language governing permissions and limitations
17-
# under the License.
18-
%>
1+
<!--
2+
~ Copyright (c) 2016, WSO2 Inc. (http://wso2.com) All Rights Reserved.
3+
~
4+
~ WSO2 Inc. licenses this file to you under the Apache License,
5+
~ Version 2.0 (the "License"); you may not use this file except
6+
~ in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing,
12+
~ software distributed under the License is distributed on an
13+
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
~ KIND, either express or implied. See the License for the
15+
~ specific language governing permissions and limitations
16+
~ under the License.
17+
-->
18+
1919
<!--
2020
The list of static or well-known members. These entries will only be valid if the
2121
"membershipScheme" above is set to "wka"

0 commit comments

Comments
 (0)