@Singleton
public class LbaasRepository extends RepositoryBase {
public NumberedItemCollection<LbaasMappingData> getMappings(Project project) {
StateNode node = stateStore.getRoot("lb_map");
node = node.child(Long.toHexString(project.getId()));
return NumberedItemCollection.builder(node, LbaasMappingData.class).idField(LbaasMappingData.ID_FIELD_NUMBER)
.create();
}
public NumberedItemCollection<LbaasServerData> getServers(Project project) {