Centralize StandaloneFrontendHistory identifier 97/114297/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 2 Nov 2024 09:42:57 +0000 (10:42 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 2 Nov 2024 09:44:04 +0000 (10:44 +0100)
commit14f96d31aa4f555568324d2a065e7d9509f54c44
tree973e474d521ee1706ffcddc10ec8335855f843fe
parentb9c6217d8c99507703c6898fb872e60d5d7e8214
Centralize StandaloneFrontendHistory identifier

We have three callsites using historyId == 0. Centralize this assumption
in a dedicated method.

JIRA: CONTROLLER-2131
Change-Id: I36a02be078c6e9ad96fef44eee13283d00322562
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/FrontendClientMetadataBuilder.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/StandaloneFrontendHistory.java