public void deleteService ( String serviceId ) { DeleteServiceRequest deleteServiceRequest = new DeleteServiceRequest ( ) . withId ( serviceId ) ; getDiscoveryClient ( ) . deleteService ( deleteServiceRequest ) ; }
These are convenience methods to help cleanup things like integration test data .