Evo.Grpc.Client.DTA.Reporter 1.4.0
Evo.Grpc.Client.DTA.Reporter
gRPC client for the DTA reporting service.
Setup
Requires an ICallTokenProvider from Evo.Grpc.Client.Common; the clients hold no static API
token. The endpoint is read from URL_DAKOTA_REPORTER and validated at registration.
services.AddNativeKeycloakAuth(o =>
{
o.TokenEndpoint = "https://auth.praxx.me/realms/henara/protocol/openid-connect/token";
o.ClientId = "henara-main-sso";
});
services.AddDTAReporterClient();
IDTAReporterClient
Results are scoped to the caller's customer ids; Henara admins see everything.
IAsyncEnumerable<DTAProcessInfoDto> GetDTAStati(DTAFilter? filter = null);
Task<(IReadOnlyList<DTAFileRowDto> Rows, long Total)> GetFilesPaged(int page, int pageSize, string search);
Task<IReadOnlyList<DTAMailDto>> GetProcessMails(Guid processId);
IAsyncEnumerable<SingleILVFileInfoDto> DownloadFiles(List<(int oid, DownloadFileTypeEnum type)> filesToDownload);
Task<Result<AggregateResult, Failure>> GetAggregate(AggregateQuery query, DTAFilter? filter = null);
Task<Result<PipelineFlow, Failure>> GetPipelineFlow(DTAFilter? filter = null);
GetFilesPaged— zero-based page;searchmatches file name and Datenannahmestelle-IK, empty matches all.GetProcessMails— the Datenannahmestelle's status mails for one process, newest first.DownloadFiles— DTA types areDownloadFileTypeEnum.DTAEsolandDTAAuf.GetAggregate— groups by one to fourDTAAggregateDimensions and computesDTAMeasures. Ticker measures need a ticker dimension; process measures cannot be combined with one.GetPipelineFlow— step totals and transitions between steps.
IDTAReporterResultClient
GetDTAStati, GetFilesPaged, GetProcessMails and DownloadFiles as above, returning transport
and server errors as Failure instead of throwing. Streams end with one Failure element.
DTAFilter
Unset members are ignored. Id, ProcessTime, UpdatedTime, CustomerId, LebIk, AzIk,
EmpfaengerIk, FileName, StepFilter, StatusFilter, VkzFilter, OnlyRejected, IsRestart.
EmpfaengerIk— IK of the Datenannahmestelle (UNB Empfänger Datei).LebIk— IK des Leistungserbringers.
No packages depend on Evo.Grpc.Client.DTA.Reporter.
.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)