fiskaltrust / middleware

The fiskaltrust.Middleware is an integrated set of highly configurable software components for POS systems to abstract the complexity of national fiscalization laws.
https://docs.fiskaltrust.eu
European Union Public License 1.2
9 stars 4 forks source link

Add Middleware version to QueueItem entity #361

Open TSchmiedlechner opened 1 week ago

TSchmiedlechner commented 1 week ago

Context

Currently, we cannot know in retrospective which version of the Middleware processed a QueueItem. Knowing this would be very practical though, e.g. in reports and also to make specific features (for example in exports) based on this version.

Solution

We will add a new field to the ftQueueItem entity, both in the Middleware's local storages as well as in our Azure storage. The field will be set to the full version of the current Middleware, e.g. 1.3.45 or 1.3.45-rc1-123123-12312321.

Tasks

volllly commented 1 week ago

Do we also want this for 1.2?

We need to make sure the queue assembly version detection works in all our launchers (1.3, 2.0, androud, byodc, cloudcashbox).

TSchmiedlechner commented 1 week ago

@volllly Good point with the testing, added tasks for this 👍🏻

I don't think that I would add this to 1.2, the benefit seems pretty limited to me there as anyone nobody is updating their MW 🤔 what do you think?

volllly commented 1 week ago

👍 I guess this will anyways need to be nullable since we don't have it for historic data so it's no problem if we don't have it for 1.2