"tags": ["A1-EI (enrichment information)"]
}}
},
- "host": "localhost:38411",
+ "host": "localhost:34053",
"definitions": {
"producer_ei_job_request": {
"description": "The body of the EI producer callbacks for EI job creation and deletion",
"title": "producer_ei_job_request",
"required": ["ei_job_identity"],
"properties": {
+ "owner": {
+ "description": "The owner of the job",
+ "type": "string"
+ },
"ei_job_identity": {
"description": "Idenitity of the EI job",
"type": "string"
@JsonProperty("target_uri")
public String targetUri;
- public ProducerJobInfo(Object jobData, String id, String typeId, String targetUri) {
+ @ApiModelProperty(value = "The owner of the job")
+ @SerializedName("owner")
+ @JsonProperty("owner")
+ public String owner;
+
+ public ProducerJobInfo(Object jobData, String id, String typeId, String targetUri, String owner) {
this.id = id;
this.jobData = jobData;
this.typeId = typeId;
this.targetUri = targetUri;
+ this.owner = owner;
}
public ProducerJobInfo(EiJob job) {
- this(job.getJobData(), job.getId(), job.getTypeId(), job.getTargetUrl());
+ this(job.getJobData(), job.getId(), job.getTypeId(), job.getTargetUrl(), job.getOwner());
}
public ProducerJobInfo() {