use of io.vertx.up.micro.discovery.Origin in project vertx-zero by silentbalanceyh.
the class EndPointOrginTc method testRead.
public void testRead() {
final Origin orgin = Instance.singleton(ApiOrigin.class);
final ConcurrentMap<String, Record> records = orgin.getRegistryData();
records.forEach((key, value) -> {
System.out.println(key);
System.out.println(value.toJson().encodePrettily());
});
}