Update H2 storage to persist and reload subscription identifiers for shared and non-shared subscriptions.
What does this PR do?
Adds subscription identifier to SubscriptionRequest, SharedSubscription classes.
Updates H2SubscriptionsRepository to persists and reload subscription identifier for shared and non-shared subscriptions.
Updates CTrieSubscriptionDirectory to store subscription identifier contained in SharedSubscription into the H2 storage.
Why is it important/What is the impact to the user?
Permit to the subscription identifier to resists to broker restarts.
Checklist
[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have made corresponding change to the default configuration files (and/or docker env variables)
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have updated the Changelog if it's a feature or a fix that has to be reported
Release notes
Update H2 storage to persist and reload subscription identifiers for shared and non-shared subscriptions.
What does this PR do?
Adds subscription identifier to SubscriptionRequest, SharedSubscription classes. Updates H2SubscriptionsRepository to persists and reload subscription identifier for shared and non-shared subscriptions. Updates CTrieSubscriptionDirectory to store subscription identifier contained in SharedSubscription into the H2 storage.
Why is it important/What is the impact to the user?
Permit to the subscription identifier to resists to broker restarts.
Checklist
[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files (and/or docker env variables)How to test this PR locally
Related issues