fix: 代码混淆导致azure反序列化失败

This commit is contained in:
chenjianxing 2021-11-15 11:16:30 +08:00 committed by jianxing
parent 014dbf757e
commit 613e4c2304
2 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,36 @@
package io.metersphere.track.issue.domain.azure;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
@Getter
@Setter
// 放xpack代码混淆会导致 System.WorkItemType System.Title 反序列化失败
public class AzureDevopsWorkItemsBatchResponse {
private int count;
private List<Value> value;
@Getter
@Setter
public class Value {
private int id;
private int rev;
private Fields fields;
private String url;
@Getter
@Setter
public class Fields {
@JSONField(name = "System.Id")
private int systemId;
@JSONField(name = "System.WorkItemType")
private String systemWorkItemType;
@JSONField(name = "System.Title")
private String systemTitle;
}
}
}

@ -1 +1 @@
Subproject commit 40da0961b85d049dde0606a8876aaa9ffd3f0691
Subproject commit 1eebba8448784bcda225edf6c8b0000a52ca1bd5