X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=enrichment-coordinator-service%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fenrichment%2Fcontrollers%2Fconsumer%2FConsumerEiJobInfo.java;h=3111d103d191c8ccea024db4dbe609a858cd660c;hb=4c4a452097c16debab0177e9e87a33ae17d28e44;hp=8255c43b858657c77f457698207b05e1748e31ae;hpb=a41966b2da6d7f74d4f486bc1492a5cbb5866583;p=nonrtric.git 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 8255c43b..3111d103 100644 --- 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 @@ -29,24 +29,30 @@ import io.swagger.annotations.ApiModelProperty; import org.immutables.gson.Gson; @Gson.TypeAdapters -@ApiModel(value = "ei_job_info", description = "Information for a Enrichment Information Job") +@ApiModel(value = "EiJob", description = "Information for an Enrichment Information Job") public class ConsumerEiJobInfo { @ApiModelProperty(value = "Identity of the owner of the job", required = true) - @SerializedName("job_owner") - @JsonProperty(value = "job_owner", required = true) + @SerializedName("jobOwner") + @JsonProperty(value = "jobOwner", required = true) public String owner; @ApiModelProperty(value = "EI Type specific job data", required = true) - @SerializedName("job_data") - @JsonProperty(value = "job_data", required = true) + @SerializedName("jobParameters") + @JsonProperty(value = "jobParameters", required = true) public Object jobData; + @ApiModelProperty(value = "The target of the EI data", required = true) + @SerializedName("targetUri") + @JsonProperty(value = "targetUri", required = true) + public String targetUri; + public ConsumerEiJobInfo() { } - public ConsumerEiJobInfo(Object jobData, String owner) { + public ConsumerEiJobInfo(Object jobData, String owner, String targetUri) { this.jobData = jobData; this.owner = owner; + this.targetUri = targetUri; } }