fix precommit, license

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2026-01-29 10:19:13 +05:30
parent f83fd00d93
commit 2bc3114120
18 changed files with 24 additions and 17 deletions

View File

@ -195,4 +195,4 @@ public class VeeamControlServer {
}
return sb.toString();
}
}
}

View File

@ -156,4 +156,4 @@ public class VeeamControlServlet extends HttpServlet {
public static Error badRequest(String msg) { return new Error(400, msg); }
public static Error unauthorized(String msg) { return new Error(401, msg); }
}
}
}

View File

@ -181,4 +181,4 @@ public class DataCentersRouteHandler extends ManagerBase implements RouteHandler
io.getWriter().write(resp, 200, response, outFormat);
}
}
}

View File

@ -208,4 +208,4 @@ public class VmsRouteHandler extends ManagerBase implements RouteHandler {
}
return hostJoinDao.findById(hostId);
}
}
}

View File

@ -156,4 +156,3 @@ public final class UserVmJoinVOToVmConverter {
return r;
}
}

View File

@ -33,4 +33,3 @@ public class Certificate {
public String getSubject() { return subject; }
public void setSubject(String subject) { this.subject = subject; }
}

View File

@ -59,4 +59,4 @@ public final class DataCenter {
public String id;
public DataCenter() {}
}
}

View File

@ -45,4 +45,3 @@ public final class DataCenters {
this.dataCenter = dataCenter;
}
}

View File

@ -37,4 +37,4 @@ public final class Disks {
public Disks(final List<Disk> disk) {
this.disk = disk;
}
}
}

View File

@ -34,4 +34,3 @@ public final class EmptyElementSerializer extends JsonSerializer<EmptyElement> {
gen.writeEndObject();
}
}

View File

@ -48,4 +48,3 @@ public class HardwareInformation {
public String getVersion() { return version; }
public void setVersion(String version) { this.version = version; }
}

View File

@ -82,4 +82,3 @@ public class Network {
public String getId() { return id; }
public void setId(final String id) { this.id = id; }
}

View File

@ -38,4 +38,3 @@ public class OsVersion {
public String getMinor() { return minor; }
public void setMinor(String minor) { this.minor = minor; }
}

View File

@ -36,4 +36,4 @@ public final class StorageDomains {
public StorageDomains(List<StorageDomain> storageDomain) {
this.storageDomain = storageDomain;
}
}
}

View File

@ -82,4 +82,3 @@ public final class ResponseWriter {
}
}
}

View File

@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.
name=veeam-control-service
parent=backup
parent=backup

View File

@ -1,3 +1,19 @@
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
package org.apache.cloudstack.veeam;
import org.apache.cloudstack.veeam.api.dto.ImageTransfer;