Commit 78eac14b authored by Riabokon Stanislav(EPAM)[GCP]'s avatar Riabokon Stanislav(EPAM)[GCP]
Browse files

Merge remote-tracking branch...

Merge remote-tracking branch 'os-core-common/feature/GONRG-1088-Ingestion_Refactoring' into refactoring_ingest

# Conflicts:
#	pom.xml
parents 56299e1f a990a1dd
Pipeline #19971 failed with stage
in 18 seconds
......@@ -9,7 +9,6 @@
<version>0.3.23</version>
<packaging>jar</packaging>
<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
......
package org.opengroup.osdu.core.common.model.workflow.v3;
public enum WorkflowStatusType {
INPROGRESS, PARTIAL_SUCCESS, SUCCESS, FAILED, SUBMITTED;
}
package org.opengroup.osdu.core.common.model.workflow.v3.request;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class WorkFlowRunRequest {
private Map<String, Object> executionContext;
}
package org.opengroup.osdu.core.common.model.workflow.v3.responce;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.opengroup.osdu.core.common.model.workflow.v3.WorkflowStatusType;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class WorkflowRunResponse {
private String workflowId;
private String runId;
private Long startTimestamp;
private Long endTimestamp;
private WorkflowStatusType status;
private String submittedBy;
public static final class Fields {
public static final String WORKFLOW_ID = "WorkflowID";
public static final String RUN_ID = "RunID";
public static final String START_TIME_STAMP = "StartTimeStamp";
public static final String END_TIME_STAMP = "EndTimeStamp";
public static final String STATUS = "Status";
public static final String SUBMITTED_BY = "SubmittedBy";
private Fields() {
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment