Skip to content

Commit

Permalink
Merge pull request #4 from wmeints/remove-get-paper-status-activity
Browse files Browse the repository at this point in the history
Remove the unused GetPaperStatus activity
  • Loading branch information
wmeints authored Jul 30, 2024
2 parents 3fbb43c + a653113 commit 8100a1b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 28 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion apps/orchestrator/PaperBoy.Orchestrator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
options.RegisterActivity<SubmitPaperSummaryActivity>();
options.RegisterActivity<ScorePaperActivity>();
options.RegisterActivity<SummarizePaperActivity>();
options.RegisterActivity<GetPaperStatusActivity>();
options.RegisterActivity<GeneratePaperDescriptionActivity>();
options.RegisterActivity<SummarizePageActivity>();
options.RegisterActivity<SubmitPageSummaryActivity>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@ await context.CallActivityAsync(nameof(DeclinePaperActivity),
return new object();
}

private static async Task<GetPaperStatusActivityOutput> GetPaperStatusAsync(WorkflowContext context, ImportPaperActivityOutput importResult)
{
return await context.CallActivityAsync<GetPaperStatusActivityOutput>(
nameof(GetPaperStatusActivity),
new GetPaperStatusActivityInput(importResult.PaperId));
}

private static async Task ScorePaperAsync(WorkflowContext context, Guid paperId)
{
var scorePaperResult = await context.CallActivityAsync<ScorePaperActivityOutput>(
Expand Down Expand Up @@ -105,4 +98,4 @@ private static async Task<ImportPaperActivityOutput> ImportPaperAsync(WorkflowCo

return activityOutput;
}
}
}

0 comments on commit 8100a1b

Please sign in to comment.