Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Change to logging.file.name for latest spring-boot"
[nonrtric.git]
/
enrichment-coordinator-service
/
src
/
main
/
java
/
org
/
oransc
/
enrichment
/
controllers
/
consumer
/
ConsumerEiJobInfo.java
diff --git
a/enrichment-coordinator-service/src/main/java/org/oransc/enrichment/controllers/consumer/ConsumerEiJobInfo.java
b/enrichment-coordinator-service/src/main/java/org/oransc/enrichment/controllers/consumer/ConsumerEiJobInfo.java
index
08d3cae
..
4d11a84
100644
(file)
--- a/
enrichment-coordinator-service/src/main/java/org/oransc/enrichment/controllers/consumer/ConsumerEiJobInfo.java
+++ b/
enrichment-coordinator-service/src/main/java/org/oransc/enrichment/controllers/consumer/ConsumerEiJobInfo.java
@@
-32,21
+32,27
@@
import org.immutables.gson.Gson;
@ApiModel(value = "ei_job_info", description = "Information for a Enrichment Information Job")
public class ConsumerEiJobInfo {
@ApiModel(value = "ei_job_info", description = "Information for a Enrichment Information Job")
public class ConsumerEiJobInfo {
- @ApiModelProperty(value = "Identity of the owner of the job")
- @SerializedName("owner")
- @JsonProperty(
"owner"
)
+ @ApiModelProperty(value = "Identity of the owner of the job"
, required = true
)
+ @SerializedName("
job_
owner")
+ @JsonProperty(
value = "job_owner", required = true
)
public String owner;
public String owner;
- @ApiModelProperty(value = "EI Type specific job data")
+ @ApiModelProperty(value = "EI Type specific job data"
, required = true
)
@SerializedName("job_data")
@SerializedName("job_data")
- @JsonProperty(
"job_data"
)
+ @JsonProperty(
value = "job_data", required = true
)
public Object jobData;
public Object jobData;
+ @ApiModelProperty(value = "The target of the EI data", required = true)
+ @SerializedName("target_uri")
+ @JsonProperty(value = "target_uri", required = true)
+ public String targetUri;
+
public ConsumerEiJobInfo() {
}
public ConsumerEiJobInfo() {
}
- public ConsumerEiJobInfo(Object jobData, String owner) {
+ public ConsumerEiJobInfo(Object jobData, String owner
, String targetUri
) {
this.jobData = jobData;
this.owner = owner;
this.jobData = jobData;
this.owner = owner;
+ this.targetUri = targetUri;
}
}
}
}