I have java code to insert services into my consul sevice like this:
if (response.getValue().isEmpty()) { NewService service = new NewService(); serv