-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from gh-ca/wangxy_dme_git
Wangxy dme git
- Loading branch information
Showing
24 changed files
with
1,621 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
310 changes: 288 additions & 22 deletions
310
dmestore-service/src/main/java/com/huawei/dmestore/dao/BestPracticeCheckDao.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
115 changes: 115 additions & 0 deletions
115
dmestore-service/src/main/java/com/huawei/dmestore/model/BestPracticeLog.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
package com.huawei.dmestore.model; | ||
|
||
import com.fasterxml.jackson.annotation.JsonFormat; | ||
|
||
import java.io.Serializable; | ||
import java.util.Date; | ||
|
||
/** | ||
* BestPracticeLog . | ||
* | ||
* @author wangxiangyong . | ||
* @since 2021-07-23 | ||
**/ | ||
public class BestPracticeLog implements Serializable { | ||
private String id; | ||
|
||
private String objectName; | ||
|
||
private String objectId; | ||
|
||
private String hostsetting; | ||
|
||
private String violationValue; | ||
|
||
private String recommandValue; | ||
|
||
private String repairType; | ||
|
||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | ||
private Date repairTime; | ||
|
||
private boolean repairResult; | ||
|
||
private String message; | ||
|
||
public String getId() { | ||
return id; | ||
} | ||
|
||
public void setId(String id) { | ||
this.id = id; | ||
} | ||
|
||
public String getObjectName() { | ||
return objectName; | ||
} | ||
|
||
public void setObjectName(String objectName) { | ||
this.objectName = objectName; | ||
} | ||
|
||
public String getObjectId() { | ||
return objectId; | ||
} | ||
|
||
public void setObjectId(String objectId) { | ||
this.objectId = objectId; | ||
} | ||
|
||
public String getViolationValue() { | ||
return violationValue; | ||
} | ||
|
||
public void setViolationValue(String violationValue) { | ||
this.violationValue = violationValue; | ||
} | ||
|
||
public String getRecommandValue() { | ||
return recommandValue; | ||
} | ||
|
||
public void setRecommandValue(String recommandValue) { | ||
this.recommandValue = recommandValue; | ||
} | ||
|
||
public String getRepairType() { | ||
return repairType; | ||
} | ||
|
||
public void setRepairType(String repairType) { | ||
this.repairType = repairType; | ||
} | ||
|
||
public Date getRepairTime() { | ||
return repairTime; | ||
} | ||
|
||
public void setRepairTime(Date repairTime) { | ||
this.repairTime = repairTime; | ||
} | ||
|
||
public boolean getRepairResult() { | ||
return repairResult; | ||
} | ||
|
||
public void setRepairResult(boolean repairResult) { | ||
this.repairResult = repairResult; | ||
} | ||
|
||
public String getMessage() { | ||
return message; | ||
} | ||
|
||
public void setMessage(String message) { | ||
this.message = message; | ||
} | ||
|
||
public String getHostsetting() { | ||
return hostsetting; | ||
} | ||
|
||
public void setHostsetting(String hostsetting) { | ||
this.hostsetting = hostsetting; | ||
} | ||
} |
87 changes: 87 additions & 0 deletions
87
dmestore-service/src/main/java/com/huawei/dmestore/model/BestPracticeRecommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
package com.huawei.dmestore.model; | ||
|
||
import com.fasterxml.jackson.annotation.JsonFormat; | ||
|
||
import java.io.Serializable; | ||
import java.util.Date; | ||
|
||
/** | ||
* BestPracticeUpResultResponse . | ||
* | ||
* @author wangxiangyong . | ||
* @since 2020-12-01 | ||
**/ | ||
public class BestPracticeRecommand implements Serializable { | ||
private String id; | ||
|
||
private String hostsetting; | ||
|
||
private String recommandValue; | ||
|
||
private String repairAction; | ||
|
||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | ||
private Date createTime; | ||
|
||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | ||
private Date updateRecommendTime; | ||
|
||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | ||
private Date updateRepairTime; | ||
|
||
public String getId() { | ||
return id; | ||
} | ||
|
||
public void setId(String id) { | ||
this.id = id; | ||
} | ||
|
||
public String getHostsetting() { | ||
return hostsetting; | ||
} | ||
|
||
public void setHostsetting(String hostsetting) { | ||
this.hostsetting = hostsetting; | ||
} | ||
|
||
public String getRecommandValue() { | ||
return recommandValue; | ||
} | ||
|
||
public void setRecommandValue(String recommandValue) { | ||
this.recommandValue = recommandValue; | ||
} | ||
|
||
public String getRepairAction() { | ||
return repairAction; | ||
} | ||
|
||
public void setRepairAction(String repairAction) { | ||
this.repairAction = repairAction; | ||
} | ||
|
||
public Date getCreateTime() { | ||
return createTime; | ||
} | ||
|
||
public void setCreateTime(Date createTime) { | ||
this.createTime = createTime; | ||
} | ||
|
||
public Date getUpdateRecommendTime() { | ||
return updateRecommendTime; | ||
} | ||
|
||
public void setUpdateRecommendTime(Date updateRecommendTime) { | ||
this.updateRecommendTime = updateRecommendTime; | ||
} | ||
|
||
public Date getUpdateRepairTime() { | ||
return updateRepairTime; | ||
} | ||
|
||
public void setUpdateRepairTime(Date updateRepairTime) { | ||
this.updateRepairTime = updateRepairTime; | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
dmestore-service/src/main/java/com/huawei/dmestore/model/BestPracticeRecommandUpReq.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.huawei.dmestore.model; | ||
|
||
public class BestPracticeRecommandUpReq { | ||
private String recommandValue; | ||
|
||
private String repairAction; | ||
|
||
public String getRecommandValue() { | ||
return recommandValue; | ||
} | ||
|
||
public void setRecommandValue(String recommandValue) { | ||
this.recommandValue = recommandValue; | ||
} | ||
|
||
public String getRepairAction() { | ||
return repairAction; | ||
} | ||
|
||
public void setRepairAction(String repairAction) { | ||
this.repairAction = repairAction; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
dmestore-service/src/main/java/com/huawei/dmestore/model/DelVmRdmsRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.huawei.dmestore.model; | ||
|
||
/** | ||
* @author wangxiangyong | ||
* @Description: TODO | ||
* @date 2021/8/13 11:15 | ||
*/ | ||
public class DelVmRdmsRequest { | ||
private String diskObjectId; | ||
private String lunWwn; | ||
|
||
public String getDiskObjectId() { | ||
return diskObjectId; | ||
} | ||
|
||
public void setDiskObjectId(String diskObjectId) { | ||
this.diskObjectId = diskObjectId; | ||
} | ||
|
||
public String getLunWwn() { | ||
return lunWwn; | ||
} | ||
|
||
public void setLunWwn(String lunWwn) { | ||
this.lunWwn = lunWwn; | ||
} | ||
|
||
} |
Oops, something went wrong.