Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concept hooks return ExecutionStatusResponse #207

Merged
merged 1 commit into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ExecutableRunnerServiceHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ public override Task<ExecutionStatusResponse> StartStepExecution(StepExecutionSt
return _pool.Execute(getStream(request.Stream), () => this.stepExecutionStartingProcessor.Process(request));
}

public override Task<Empty> NotifyConceptExecutionStarting(ConceptExecutionStartingRequest request, ServerCallContext context)
public override Task<ExecutionStatusResponse> NotifyConceptExecutionStarting(ConceptExecutionStartingRequest request, ServerCallContext context)
{
return _pool.Execute(getStream(request.Stream), () => this.conceptExecutionStartingProcessor.Process(request));
}

public override Task<Empty> NotifyConceptExecutionEnding(ConceptExecutionEndingRequest request, ServerCallContext context)
public override Task<ExecutionStatusResponse> NotifyConceptExecutionEnding(ConceptExecutionEndingRequest request, ServerCallContext context)
{
return _pool.Execute(getStream(request.Stream), () => this.conceptExecutionEndingProcessor.Process(request));
}
Expand Down
342 changes: 151 additions & 191 deletions src/Gauge.CSharp.Core/Messages.cs

Large diffs are not rendered by default.

74 changes: 37 additions & 37 deletions src/Gauge.CSharp.Core/Services.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ static ServicesReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg5zZXJ2aWNlcy5wcm90bxIOZ2F1Z2UubWVzc2FnZXMaDm1lc3NhZ2VzLnBy",
"b3RvMsMSCgZSdW5uZXISWQoMVmFsaWRhdGVTdGVwEiMuZ2F1Z2UubWVzc2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MessagesReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, null));
Expand Down
Loading
Loading