Evo.Grpc.Client.ILV.Pipeline 1.5.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();
Both interfaces resolve to one scoped client.
IILVPipelineClient
IAsyncEnumerable<Result<ILVDispatchResult, Failure>> DispatchILVProcess(List<ILVRequestDto> requests, CancellationToken ct = default);
Task<Result<bool, Failure>> IsPipelineStepRetryDispatched(Guid tickerId);
Task<Result<Guid, Failure>> IsProcessRestartDispatched(Guid processId, CancellationToken ct = default);
Task<Result<Guid, Failure>> IsProcessRestartDispatched(Guid processId, string userAccessToken, 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. WithuserAccessToken(sent asx-evo-user-token), a user allowed to restart may also restart successful processes younger than one month; failed processes are restartable at any age.
IILVPipelineConfigClient
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.4.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)