Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Ingestion Workflow
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU Software
OSDU Data Platform
Data Flow
Data Ingestion
Ingestion Workflow
Merge requests
!141
change response codes(GCP)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
change response codes(GCP)
ITs-2-gcp-fix
into
ITs-2
Overview
0
Commits
1
Pipelines
3
Changes
2
Merged
Rustam Lotsmanenko (EPAM)
requested to merge
ITs-2-gcp-fix
into
ITs-2
3 years ago
Overview
0
Commits
1
Pipelines
3
Changes
2
Expand
0
0
Merge request reports
Compare
ITs-2
ITs-2 (base)
and
latest version
latest version
3cd40fa3
1 commit,
3 years ago
2 files
+
7
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
provider/workflow-gcp/src/main/java/org/opengroup/osdu/workflow/provider/gcp/repository/GcpWorkflowRunRepository.java
+
2
−
2
Options
@@ -39,7 +39,7 @@ import com.google.cloud.datastore.StructuredQuery.PropertyFilter;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.slf4j.Slf4j
;
import
org.elasticsearch.common.Strings
;
import
org.opengroup.osdu.core.common.exception.
BadRequest
Exception
;
import
org.opengroup.osdu.core.common.exception.
NotFound
Exception
;
import
org.opengroup.osdu.core.common.model.http.AppException
;
import
org.opengroup.osdu.core.common.model.legal.PersistenceException
;
import
org.opengroup.osdu.core.common.model.tenant.TenantInfo
;
@@ -121,7 +121,7 @@ public class GcpWorkflowRunRepository implements IWorkflowRunRepository {
if
(
tasks
.
hasNext
())
{
return
buildWorkflowRunFromDataStoreEntity
(
tasks
.
next
());
}
throw
new
BadRequest
Exception
(
throw
new
NotFound
Exception
(
String
.
format
(
"Workflow entity for workflow name: %s and run id: %s not found."
,
workflowName
,
runId
));
Loading