Skip to content

Commit

Permalink
Support switch login user
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 2, 2024
1 parent 9e174d9 commit 14c0170
Show file tree
Hide file tree
Showing 10 changed files with 127 additions and 22 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-dms-enterprise/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-08-02 Version: 1.53.13
- Support switch login user

2024-04-26 Version: 1.53.12
- Supported ApproveOrder request parameter NewApproverList.
- Add ListSensitiveColumnInfo API.
Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-dms-enterprise/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-dms-enterprise</artifactId>
<packaging>jar</packaging>
<version>1.53.12</version>
<version>1.53.13</version>
<name>aliyun-java-sdk-dms-enterprise</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public class ApproveOrderRequest extends RpcAcsRequest<ApproveOrderResponse> {

private Long oldApprover;

private String realLoginUserUid;

private String comment;

private String approvalNodePos;
Expand Down Expand Up @@ -117,6 +119,17 @@ public void setOldApprover(Long oldApprover) {
}
}

public String getRealLoginUserUid() {
return this.realLoginUserUid;
}

public void setRealLoginUserUid(String realLoginUserUid) {
this.realLoginUserUid = realLoginUserUid;
if(realLoginUserUid != null){
putQueryParameter("RealLoginUserUid", realLoginUserUid);
}
}

public String getComment() {
return this.comment;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,18 @@ public static class Param {
@SerializedName("OrderAfter")
private List<String> orderAfter;

@SerializedName("TargetInstanceHost")
private String targetInstanceHost;

@SerializedName("TableIncludes")
private List<TableIncludesItem> tableIncludes;

@SerializedName("SourceCatalogName")
private String sourceCatalogName;

@SerializedName("RunMethod")
private String runMethod;

@SerializedName("TargetInstanceHost")
private String targetInstanceHost;

@SerializedName("Logic")
private Boolean logic;

Expand All @@ -151,8 +154,8 @@ public static class Param {
@SerializedName("ArchiveMethod")
private String archiveMethod;

@SerializedName("TableIncludes")
private List<TableIncludesItem> tableIncludes;
@SerializedName("DatabaseId")
private String databaseId;

public List<VariablesItem> getVariables() {
return this.variables;
Expand Down Expand Up @@ -194,6 +197,22 @@ public void setOrderAfter(List<String> orderAfter) {
this.orderAfter = orderAfter;
}

public String getTargetInstanceHost() {
return this.targetInstanceHost;
}

public void setTargetInstanceHost(String targetInstanceHost) {
this.targetInstanceHost = targetInstanceHost;
}

public List<TableIncludesItem> getTableIncludes() {
return this.tableIncludes;
}

public void setTableIncludes(List<TableIncludesItem> tableIncludes) {
this.tableIncludes = tableIncludes;
}

public String getSourceCatalogName() {
return this.sourceCatalogName;
}
Expand All @@ -210,14 +229,6 @@ public void setRunMethod(String runMethod) {
this.runMethod = runMethod;
}

public String getTargetInstanceHost() {
return this.targetInstanceHost;
}

public void setTargetInstanceHost(String targetInstanceHost) {
this.targetInstanceHost = targetInstanceHost;
}

public Boolean getLogic() {
return this.logic;
}
Expand All @@ -242,12 +253,12 @@ public void setArchiveMethod(String archiveMethod) {
this.archiveMethod = archiveMethod;
}

public List<TableIncludesItem> getTableIncludes() {
return this.tableIncludes;
public String getDatabaseId() {
return this.databaseId;
}

public void setTableIncludes(List<TableIncludesItem> tableIncludes) {
this.tableIncludes = tableIncludes;
public void setDatabaseId(String databaseId) {
this.databaseId = databaseId;
}

public static class VariablesItem {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ public class CreateDataCorrectOrderRequest extends RpcAcsRequest<CreateDataCorre
@SerializedName("relatedUserList")
private List<Long> relatedUserList;

private String realLoginUserUid;

private String attachmentKey;

private String comment;
Expand Down Expand Up @@ -81,6 +83,17 @@ public void setRelatedUserList(List<Long> relatedUserList) {
}
}

public String getRealLoginUserUid() {
return this.realLoginUserUid;
}

public void setRealLoginUserUid(String realLoginUserUid) {
this.realLoginUserUid = realLoginUserUid;
if(realLoginUserUid != null){
putQueryParameter("RealLoginUserUid", realLoginUserUid);
}
}

public String getAttachmentKey() {
return this.attachmentKey;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ public class CreateDataExportOrderRequest extends RpcAcsRequest<CreateDataExport
@SerializedName("pluginParam")
private PluginParam pluginParam;

private String realLoginUserUid;

private String attachmentKey;

private String comment;
Expand Down Expand Up @@ -94,6 +96,17 @@ public void setPluginParam(PluginParam pluginParam) {
}
}

public String getRealLoginUserUid() {
return this.realLoginUserUid;
}

public void setRealLoginUserUid(String realLoginUserUid) {
this.realLoginUserUid = realLoginUserUid;
if(realLoginUserUid != null){
putQueryParameter("RealLoginUserUid", realLoginUserUid);
}
}

public String getAttachmentKey() {
return this.attachmentKey;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ public class ExecuteDataCorrectRequest extends RpcAcsRequest<ExecuteDataCorrectR

private Map<Object,Object> actionDetail;

private Long orderId;
private Long orderId;

private String realLoginUserUid;
public ExecuteDataCorrectRequest() {
super("dms-enterprise", "2018-11-01", "ExecuteDataCorrect", "dms-enterprise");
setMethod(MethodType.POST);
Expand Down Expand Up @@ -72,6 +74,17 @@ public void setOrderId(Long orderId) {
if(orderId != null){
putQueryParameter("OrderId", orderId.toString());
}
}

public String getRealLoginUserUid() {
return this.realLoginUserUid;
}

public void setRealLoginUserUid(String realLoginUserUid) {
this.realLoginUserUid = realLoginUserUid;
if(realLoginUserUid != null){
putQueryParameter("RealLoginUserUid", realLoginUserUid);
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ public class ExecuteDataExportRequest extends RpcAcsRequest<ExecuteDataExportRes

private Map<Object,Object> actionDetail;

private Long orderId;
private Long orderId;

private String realLoginUserUid;
public ExecuteDataExportRequest() {
super("dms-enterprise", "2018-11-01", "ExecuteDataExport", "dms-enterprise");
setMethod(MethodType.POST);
Expand Down Expand Up @@ -72,6 +74,17 @@ public void setOrderId(Long orderId) {
if(orderId != null){
putQueryParameter("OrderId", orderId.toString());
}
}

public String getRealLoginUserUid() {
return this.realLoginUserUid;
}

public void setRealLoginUserUid(String realLoginUserUid) {
this.realLoginUserUid = realLoginUserUid;
if(realLoginUserUid != null){
putQueryParameter("RealLoginUserUid", realLoginUserUid);
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ public class GetDataExportDownloadURLRequest extends RpcAcsRequest<GetDataExport

private Long tid;

private Long orderId;
private Long orderId;

private String realLoginUserUid;
public GetDataExportDownloadURLRequest() {
super("dms-enterprise", "2018-11-01", "GetDataExportDownloadURL", "dms-enterprise");
setMethod(MethodType.POST);
Expand Down Expand Up @@ -57,6 +59,17 @@ public void setOrderId(Long orderId) {
if(orderId != null){
putQueryParameter("OrderId", orderId.toString());
}
}

public String getRealLoginUserUid() {
return this.realLoginUserUid;
}

public void setRealLoginUserUid(String realLoginUserUid) {
this.realLoginUserUid = realLoginUserUid;
if(realLoginUserUid != null){
putQueryParameter("RealLoginUserUid", realLoginUserUid);
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ public class SubmitOrderApprovalRequest extends RpcAcsRequest<SubmitOrderApprova

private Long tid;

private Long orderId;
private Long orderId;

private String realLoginUserUid;
public SubmitOrderApprovalRequest() {
super("dms-enterprise", "2018-11-01", "SubmitOrderApproval", "dms-enterprise");
setMethod(MethodType.POST);
Expand Down Expand Up @@ -57,6 +59,17 @@ public void setOrderId(Long orderId) {
if(orderId != null){
putQueryParameter("OrderId", orderId.toString());
}
}

public String getRealLoginUserUid() {
return this.realLoginUserUid;
}

public void setRealLoginUserUid(String realLoginUserUid) {
this.realLoginUserUid = realLoginUserUid;
if(realLoginUserUid != null){
putQueryParameter("RealLoginUserUid", realLoginUserUid);
}
}

@Override
Expand Down

0 comments on commit 14c0170

Please sign in to comment.