Evo.Grpc.Client.ILV.Pipeline 1.4.0
Evo.Grpc.Client.ILV.Pipeline
gRPC client for the ILV pipeline gateway.
Setup
Requires an ICallTokenProvider; Evo.Grpc.Client.Common supplies one for a Keycloak login, or
any implementation can be registered instead. The endpoint is read from URL_IMAGELINK_PIPELINE and
validated at registration.
services.AddScoped<ICallTokenProvider, MyTokenProvider>();
services.AddILVPipelineClient();
All interfaces below resolve to one scoped client.
IILVGatewayClient
IAsyncEnumerable<ILVDispatchResult> DispatchILVProcess(List<ILVRequestDto> requests, CancellationToken ct = default);
Task<Result<bool, Failure>> IsPipelineStepRetryDispatched(Guid tickerId);
Task<Result<Guid, Failure>> IsProcessRestartDispatched(Guid processId, CancellationToken ct = default);
IAsyncEnumerable<VkzBackfillProgressDto> BackfillVerarbeitungskennzeichen(CancellationToken ct = default);
IAsyncEnumerable<BetragBackfillProgressDto> BackfillVerordnungBetrag(CancellationToken ct = default);
IAsyncEnumerable<KrankenkasseBackfillProgressDto> BackfillKrankenkasseIk(CancellationToken ct = default);
DispatchILVProcessstreams one request (invoice ESOL/AUF pair plus its Verordnungen) perILVRequestDtoand yields one result per request.IsPipelineStepRetryDispatchedresets the ticker so its step runs again.IsProcessRestartDispatchedrebuilds a finished process from its stored source files and returns the new process id, or aFailurecarrying the rejection reason.- The backfills fill missing values from the stored ESOL and yield progress after each batch.
IILVGatewayResultClient
DispatchILVProcess and the three backfills as above, returning transport and server errors as one
final Failure element instead of throwing.
IILVUserRestartClient
Task<Result<Guid, Failure>> IsProcessRestartDispatched(Guid processId, string userAccessToken, CancellationToken ct = default);
- Same restart as above, with the signed-in user's Keycloak access token sent as
x-evo-user-tokenmetadata. Without a token, successful processes are restartable only after one month; failed processes are restartable at any age.
IILVSftpDatenannahmestellenClient
Task<Result<IReadOnlyList<string>, Failure>> GetSftpDatenannahmestelleIks(CancellationToken ct = default);
- IKs of all Datenannahmestellen connected to an SFTP config, sorted ascending. Sent without a token.
No packages depend on Evo.Grpc.Client.ILV.Pipeline.
.NET 10.0
- Evo.Grpc.Client.Common (>= 1.3.0)
- Google.Protobuf (>= 3.31.1)
- Grpc.Net.Client (>= 2.80.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.8)
- Microsoft.Extensions.Options (>= 10.0.8)