Code Review
/
portal
/
nonrtric-controlpanel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove JsonProperty, Use Gson to replace Jackson
[portal/nonrtric-controlpanel.git]
/
webapp-backend
/
src
/
main
/
java
/
org
/
oransc
/
portal
/
nonrtric
/
controlpanel
/
model
/
JobInfo.java
diff --git
a/webapp-backend/src/main/java/org/oransc/portal/nonrtric/controlpanel/model/JobInfo.java
b/webapp-backend/src/main/java/org/oransc/portal/nonrtric/controlpanel/model/JobInfo.java
index
78bbd87
..
9f64153
100644
(file)
--- a/
webapp-backend/src/main/java/org/oransc/portal/nonrtric/controlpanel/model/JobInfo.java
+++ b/
webapp-backend/src/main/java/org/oransc/portal/nonrtric/controlpanel/model/JobInfo.java
@@
-20,7
+20,6
@@
package org.oransc.portal.nonrtric.controlpanel.model;
package org.oransc.portal.nonrtric.controlpanel.model;
-import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
@@
-36,27
+35,22
@@
public class JobInfo {
@ApiModelProperty(value = "Identity of the EI job", required = true)
@SerializedName("ei_job_identity")
@ApiModelProperty(value = "Identity of the EI job", required = true)
@SerializedName("ei_job_identity")
- @JsonProperty("ei_job_identity")
public String id;
@ApiModelProperty(value = "Type identity for the job")
@SerializedName("ei_type_identity")
public String id;
@ApiModelProperty(value = "Type identity for the job")
@SerializedName("ei_type_identity")
- @JsonProperty("ei_type_identity")
public String typeId;
@ApiModelProperty(value = "Json for the job data")
@SerializedName("ei_job_data")
public String typeId;
@ApiModelProperty(value = "Json for the job data")
@SerializedName("ei_job_data")
- @JsonProperty("ei_job_data")
public Object jobData;
@ApiModelProperty(value = "URI for the target of the EI")
@SerializedName("target_uri")
public Object jobData;
@ApiModelProperty(value = "URI for the target of the EI")
@SerializedName("target_uri")
- @JsonProperty("target_uri")
public String targetUri;
@ApiModelProperty(value = "The owner of the job")
@SerializedName("owner")
public String targetUri;
@ApiModelProperty(value = "The owner of the job")
@SerializedName("owner")
- @JsonProperty("owner")
public String owner;
}
public String owner;
}