Skip to content

Conversation

@astride
Copy link
Collaborator

@astride astride commented Sep 1, 2025

Feature: The KPP service can create batch files (delmeldinger) when the generated KPP file (xml file) exceeds the maximum file size limit. The file size limit is only evaluated (and only needs to be provided) when the feature is enabled.

Both the GUI application and the console application supports the creation of batch files.

Batch file creation is not available for episode files containing episodes associated with more than one institution.

Unit tests have been added to test different batch file scenarios.

@astride astride force-pushed the feature/didop-7690-splitlargefiles branch from d9136b8 to ab1b467 Compare September 1, 2025 11:12
@astride astride force-pushed the feature/didop-7690-splitlargefiles branch from 9b0d3e9 to be8cf03 Compare September 1, 2025 11:16
@astride
Copy link
Collaborator Author

astride commented Sep 1, 2025

Versjonsnummeret må oppdateres. Se veiledning.

Håndtert i 28d36e2

@astride astride marked this pull request as ready for review September 2, 2025 10:30
{"epj-versjon=", "Versjon av EPJ", x => kppArgs.VersjonEpj = x },
{"fhi-herid=", "FHIs HerId.", x => kppArgs.FhiHerId = x },
{"batchfiles-enable=", "'true' dersom det er ønskelig å opprette delmeldinger om KPP-meldingen blir for stor", x => kppArgs.BatchFiles.EnableCreation = ParseBool(x) },
{"batchfiles-maxfilesize=", "Maks. filstørrelse for KPP-meldingen i gigabyte (GB)", x => kppArgs.BatchFiles.MaxFileSizeInGigabytes = ParseInt(x) },
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

De to batchfiles-*-input-argumentene er bredere enn de eksisterende argumentene. Når man kjører

.\Dhhr.KppParser.ConsoleApp.exe -h

for å vise veiledning for konsollapplikasjonen, ser det ikke så pent ut:

bilde

Har forsøkt å se på om det går an å konfigurere Mono.Options.OptionSet eller Mono.Options.OptionSet.WriteOptionDescriptions() for å øke avstanden mellom første og andre kolonne, men har ikke blitt klok på om det er mulig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants