Skip to content

Commit

Permalink
psp-9500 scheduler microservice.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smith authored and devinleighsmith committed Dec 20, 2024
1 parent 6b2b7f3 commit 1d607f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci-cd-pims-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ jobs:
- name: Deploy mayan
shell: bash
run: |
./openshift/4.0/player.sh deploy scheduler $DESTINATION -apply
oc tag mayan-bcgov:latest-$DESTINATION mayan-bcgov:$DESTINATION
# the command:
Expand Down
1 change: 1 addition & 0 deletions source/backend/api/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ private static void AddPimsApiServices(IServiceCollection services)
services.AddScoped<ITakeInteractionSolver, TakeInteractionSolver>();
services.AddScoped<IDocumentQueueService, DocumentQueueService>();
services.AddScoped<IEnvironmentService, EnvironmentService>();
services.AddScoped<IDocumentQueueService, DocumentQueueService>();
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion source/backend/scheduler/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void ConfigureServices(IServiceCollection services)
services.AddScoped<IDocumentQueueService, DocumentQueueService>();
services.AddScoped<IOpenIdConnectRequestClient, OpenIdConnectRequestClient>();
services.AddSingleton<JwtSecurityTokenHandler>();
services.AddScoped<IPimsDocumentQueueRepository, PimsDocumentQueueRepository>();
services.AddSingleton<IPimsDocumentQueueRepository, PimsDocumentQueueRepository>();
services.AddSingleton<IJobRescheduler, JobRescheduler>();

services.AddSerilogging(this.Configuration);
Expand Down

0 comments on commit 1d607f4

Please sign in to comment.