Skip to content

Commit faa36c4

Browse files
committed
백업목록 조회 시 백업오퍼링조회하도록 변경
1 parent 450c1b8 commit faa36c4

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

api/src/main/java/org/apache/cloudstack/api/response/BackupResponse.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,6 @@ public class BackupResponse extends BaseResponse {
106106
@Param(description = "snapshot id")
107107
private String snapshotId;
108108

109-
@SerializedName(ApiConstants.PROVIDER)
110-
@Param(description = "provider name")
111-
private String provider;
112-
113109
public String getId() {
114110
return id;
115111
}
@@ -261,12 +257,4 @@ public String getSanpshotId() {
261257
public void setSnapshotId(String snapshotId) {
262258
this.snapshotId = snapshotId;
263259
}
264-
265-
public String getProvider() {
266-
return provider;
267-
}
268-
269-
public void setProvider(String provider) {
270-
this.provider = provider;
271-
}
272260
}

engine/schema/src/main/java/org/apache/cloudstack/backup/dao/BackupDaoImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ public BackupResponse newBackupResponse(Backup backup) {
181181
response.setDomain(domain.getName());
182182
response.setZoneId(zone.getUuid());
183183
response.setZone(zone.getName());
184-
response.setProvider(offering.getProvider());
185184
response.setObjectName("backup");
186185
return response;
187186
}

ui/src/config/section/storage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,8 @@ export default {
444444
title: 'label.backup',
445445
icon: 'cloud-upload-outlined',
446446
permission: ['listBackups'],
447-
columns: [{ name: (record) => { return record.virtualmachinename } }, 'status', 'size', 'virtualsize', 'type', 'provider', 'created', 'account', 'domain', 'zone'],
448-
details: ['virtualmachinename', 'id', 'type', 'provider', 'externalid', 'size', 'virtualsize', 'volumes', 'backupofferingname', 'zone', 'account', 'domain', 'created'],
447+
columns: [{ name: (record) => { return record.virtualmachinename } }, 'status', 'size', 'virtualsize', 'backupofferingname', 'type', 'created', 'account', 'domain', 'zone'],
448+
details: ['virtualmachinename', 'id', 'type', 'externalid', 'size', 'virtualsize', 'volumes', 'backupofferingname', 'zone', 'account', 'domain', 'created'],
449449
actions: [
450450
{
451451
api: 'restoreBackup',

0 commit comments

Comments
 (0)