code: private static ManagedRestService buildRestService(Atomix atomix, Namespace namespace) {
      final String httpHost = namespace.getString("http_host");
      final Integer httpPort = namespace.getInt("http_port");
      return RestService.builder()
          .withAtomix(atomix)
          .withAddress(Address.from(httpHost, httpPort))
          .build();
    }
docs: Builds a REST service for the given Atomix instance from the given namespace.
  
  @param atomix the Atomix instance
  @param namespace the namespace from which to build the service
  @return the managed REST service