Correct the transfer log messages for Referential Metadata transactions
As Jean-Baptiste,
I want better worded log texts for imports and transfers of referential metadata from the Transfer service,
So that I do not get confused, e.g. between process information about referential metadata and normal data.
Use case n°1
-
Current log content:
{ "transactionId": 5633, [...] "logger": "DotStat.Db.Repository.SqlServer.SqlManagementRepository.VerifyAndUpdateDsdMsd", "message": "A new MSD UNICEF:MSD_UNICEF_MG(5.0) was added to the DSD UNICEF:MIGRATION(5.0).", "exception": "" },
-
Replace
A new MSD UNICEF:MSD_UNICEF_MG(5.0) was added to the DSD UNICEF:MIGRATION(5.0).
with
Referential metadata defined by the metadata structure UNICEF:MSD_UNICEF_MG(5.0) are being accepted for the underlying data structure UNICEF:MIGRATION(5.0).
Use case n°2
-
Current log content:
{ "transactionId": 5633, [...] "logger": "DotStat.Db.Repository.SqlServer.SqlMetadataStoreRepository.BulkInsertMetadata", "message": "Reading the metadata source successfully finished. 13 rows were read from the metadata source.", }, { "transactionId": 5633, [...] "logger": "DotStat.Transfer.Consumer.SqlConsumer.SaveMetadata", "message": "A total of 13 observations have been processed.", },
-
Replace
Processing... [XXXX]000000 rows have been read from the metadata source.
with
Processing... [XXXX]000000 rows have been read from the referential metadata source.
-
Replace
Reading the metadata source successfully finished. 13 rows were read from the metadata source.
with
Reading the referential metadata source successfully finished. 13 row(s) was/were read from the source.
-
Replace
A total of 13 observations have been processed.
with
A total of 13 referential metadata key(s) has been processed.
This technically simplified writing covers also the singular form, e.g.:
Reading the referential metadata source successfully finished. 1 row(s) was/were read from the source.
A total of 1 referential metadata key(s) has been processed.