Skip to content

Commit 75707d8

Browse files
author
Prachi Damle
committed
Fixing license headers
1 parent d88d1cc commit 75707d8

13 files changed

Lines changed: 253 additions & 203 deletions

‎engine/orchestration/src/org/apache/cloudstack/engine/datacenter/entity/api/db/ClusterDetailsVO.java‎

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1-
// Copyright 2012 Citrix Systems, Inc. Licensed under the
2-
// Apache License, Version 2.0 (the "License"); you may not use this
3-
// file except in compliance with the License. Citrix Systems, Inc.
4-
// reserves all rights not expressly granted by the License.
5-
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6-
// Unless required by applicable law or agreed to in writing, software
7-
// distributed under the License is distributed on an "AS IS" BASIS,
8-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9-
// See the License for the specific language governing permissions and
10-
// limitations under the License.
11-
//
12-
// Automatically generated by addcopyright.py at 04/03/2012
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. 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.
1317
package org.apache.cloudstack.engine.datacenter.entity.api.db;
1418

1519
import javax.persistence.Column;
@@ -27,19 +31,19 @@ public class ClusterDetailsVO {
2731
@GeneratedValue(strategy=GenerationType.IDENTITY)
2832
@Column(name="id")
2933
private long id;
30-
34+
3135
@Column(name="cluster_id")
3236
private long clusterId;
33-
37+
3438
@Column(name="name")
3539
private String name;
36-
40+
3741
@Column(name="value")
3842
private String value;
39-
43+
4044
protected ClusterDetailsVO() {
4145
}
42-
46+
4347
public ClusterDetailsVO(long clusterId, String name, String value) {
4448
this.clusterId = clusterId;
4549
this.name = name;

‎engine/orchestration/src/org/apache/cloudstack/engine/datacenter/entity/api/db/DcDetailVO.java‎

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1-
// Copyright 2012 Citrix Systems, Inc. Licensed under the
2-
// Apache License, Version 2.0 (the "License"); you may not use this
3-
// file except in compliance with the License. Citrix Systems, Inc.
4-
// reserves all rights not expressly granted by the License.
5-
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6-
// Unless required by applicable law or agreed to in writing, software
7-
// distributed under the License is distributed on an "AS IS" BASIS,
8-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9-
// See the License for the specific language governing permissions and
10-
// limitations under the License.
11-
//
12-
// Automatically generated by addcopyright.py at 04/03/2012
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. 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.
1317
package org.apache.cloudstack.engine.datacenter.entity.api.db;
1418

1519
import javax.persistence.Column;
@@ -26,19 +30,19 @@ public class DcDetailVO {
2630
@GeneratedValue(strategy=GenerationType.IDENTITY)
2731
@Column(name="id")
2832
private long id;
29-
33+
3034
@Column(name="dc_id")
3135
private long dcId;
32-
36+
3337
@Column(name="name")
3438
private String name;
35-
39+
3640
@Column(name="value")
3741
private String value;
38-
42+
3943
protected DcDetailVO() {
4044
}
41-
45+
4246
public DcDetailVO(long dcId, String name, String value) {
4347
this.dcId = dcId;
4448
this.name = name;

‎engine/orchestration/src/org/apache/cloudstack/engine/datacenter/entity/api/db/EngineClusterVO.java‎

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1-
// Copyright 2012 Citrix Systems, Inc. Licensed under the
2-
// Apache License, Version 2.0 (the "License"); you may not use this
3-
// file except in compliance with the License. Citrix Systems, Inc.
4-
// reserves all rights not expressly granted by the License.
5-
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6-
// Unless required by applicable law or agreed to in writing, software
7-
// distributed under the License is distributed on an "AS IS" BASIS,
8-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9-
// See the License for the specific language governing permissions and
10-
// limitations under the License.
11-
//
12-
// Automatically generated by addcopyright.py at 04/03/2012
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. 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.
1317
package org.apache.cloudstack.engine.datacenter.entity.api.db;
1418

1519
import java.util.Date;
@@ -239,5 +243,5 @@ public Date getLastUpdated() {
239243

240244
public State getState() {
241245
return state;
242-
}
246+
}
243247
}

‎engine/orchestration/src/org/apache/cloudstack/engine/datacenter/entity/api/db/EngineDataCenterVO.java‎

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1-
// Copyright 2012 Citrix Systems, Inc. Licensed under the
2-
// Apache License, Version 2.0 (the "License"); you may not use this
3-
// file except in compliance with the License. Citrix Systems, Inc.
4-
// reserves all rights not expressly granted by the License.
5-
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6-
// Unless required by applicable law or agreed to in writing, software
7-
// distributed under the License is distributed on an "AS IS" BASIS,
8-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9-
// See the License for the specific language governing permissions and
10-
// limitations under the License.
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
118
//
12-
// Automatically generated by addcopyright.py at 04/03/2012
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.
1317
package org.apache.cloudstack.engine.datacenter.entity.api.db;
1418

1519
import java.util.Date;
@@ -86,7 +90,7 @@ public class EngineDataCenterVO implements EngineDataCenter, Identity {
8690
private String domain;
8791

8892
@Column(name="networktype")
89-
@Enumerated(EnumType.STRING)
93+
@Enumerated(EnumType.STRING)
9094
NetworkType networkType;
9195

9296
@Column(name="dns_provider")
@@ -115,7 +119,7 @@ public class EngineDataCenterVO implements EngineDataCenter, Identity {
115119
private long macAddress = 1;
116120

117121
@Column(name="zone_token")
118-
private String zoneToken;
122+
private String zoneToken;
119123

120124
@Column(name=GenericDao.REMOVED_COLUMN)
121125
private Date removed;
@@ -131,7 +135,7 @@ public class EngineDataCenterVO implements EngineDataCenter, Identity {
131135
AllocationState allocationState;
132136

133137
@Column(name="uuid")
134-
private String uuid;
138+
private String uuid;
135139

136140
@Column(name="is_security_group_enabled")
137141
boolean securityGroupEnabled;
@@ -199,7 +203,7 @@ public void setLoadBalancerProvider(String loadBalancerProvider) {
199203

200204
@Override
201205
public String getFirewallProvider() {
202-
return firewallProvider;
206+
return firewallProvider;
203207
}
204208

205209
public void setFirewallProvider(String firewallProvider) {
@@ -371,7 +375,7 @@ public NetworkType getNetworkType() {
371375
return networkType;
372376
}
373377

374-
@Override
378+
@Override
375379
public boolean isSecurityGroupEnabled() {
376380
return securityGroupEnabled;
377381
}
@@ -396,7 +400,7 @@ public Map<String, String> getDetails() {
396400

397401
@Override
398402
public void setDetails(Map<String, String> details2) {
399-
details = details2;
403+
details = details2;
400404
}
401405

402406
public String getDetail(String name) {

‎engine/orchestration/src/org/apache/cloudstack/engine/datacenter/entity/api/db/EngineHostPodVO.java‎

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1-
// Copyright 2012 Citrix Systems, Inc. Licensed under the
2-
// Apache License, Version 2.0 (the "License"); you may not use this
3-
// file except in compliance with the License. Citrix Systems, Inc.
4-
// reserves all rights not expressly granted by the License.
5-
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6-
// Unless required by applicable law or agreed to in writing, software
7-
// distributed under the License is distributed on an "AS IS" BASIS,
8-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9-
// See the License for the specific language governing permissions and
10-
// limitations under the License.
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
118
//
12-
// Automatically generated by addcopyright.py at 04/03/2012
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.
1317
package org.apache.cloudstack.engine.datacenter.entity.api.db;
1418

1519
import java.util.Date;
@@ -82,7 +86,7 @@ public class EngineHostPodVO implements EnginePod, Identity {
8286

8387
@Column(name="lastUpdated", updatable=true)
8488
@Temporal(value=TemporalType.TIMESTAMP)
85-
protected Date lastUpdated;
89+
protected Date lastUpdated;
8690

8791
/**
8892
* Note that state is intentionally missing the setter. Any updates to

‎engine/orchestration/src/org/apache/cloudstack/engine/datacenter/entity/api/db/dao/DcDetailsDao.java‎

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1-
// Copyright 2012 Citrix Systems, Inc. Licensed under the
2-
// Apache License, Version 2.0 (the "License"); you may not use this
3-
// file except in compliance with the License. Citrix Systems, Inc.
4-
// reserves all rights not expressly granted by the License.
5-
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6-
// Unless required by applicable law or agreed to in writing, software
7-
// distributed under the License is distributed on an "AS IS" BASIS,
8-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9-
// See the License for the specific language governing permissions and
10-
// limitations under the License.
11-
//
12-
// Automatically generated by addcopyright.py at 04/03/2012
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. 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.
1317
package org.apache.cloudstack.engine.datacenter.entity.api.db.dao;
1418

1519
import java.util.Map;
@@ -18,11 +22,11 @@
1822

1923
import com.cloud.utils.db.GenericDao;
2024

21-
public interface DcDetailsDao extends GenericDao<DcDetailVO, Long> {
25+
public interface DcDetailsDao extends GenericDao<DcDetailVO, Long> {
2226
Map<String, String> findDetails(long dcId);
23-
27+
2428
void persist(long dcId, Map<String, String> details);
25-
29+
2630
DcDetailVO findDetail(long dcId, String name);
2731

2832
void deleteDetails(long dcId);

0 commit comments

Comments
 (0)