Ray Milkey

Fix for ONOS-3649 - ONOS loses AAA app config across cluster restart

The persistent map for the network config store uses the app ID as
a key. App IDs were not presisted, and could be generated differently
when a cluster comes back up. This change makes the IDs persistent.

Change-Id: I665ebc764cdf57c10fecda4f0b2206f2a2aa191c
......@@ -69,12 +69,10 @@ public class ConsistentApplicationIdStore implements ApplicationIdStore {
public void activate() {
appIdCounter = storageService.atomicCounterBuilder()
.withName("onos-app-id-counter")
.withPartitionsDisabled()
.build();
registeredIds = storageService.<String, ApplicationId>consistentMapBuilder()
.withName("onos-app-ids")
.withPartitionsDisabled()
.withSerializer(SERIALIZER)
.build();
......