Class OwnersEndpoint
- java.lang.Object
-
- pl.allegro.tech.hermes.management.api.OwnersEndpoint
-
@Component @Path("/owners") public class OwnersEndpoint extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OwnersEndpoint(OwnerSources ownerSources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description pl.allegro.tech.hermes.api.Ownerget(java.lang.String source, java.lang.String id)java.util.List<pl.allegro.tech.hermes.management.api.OwnersEndpoint.SourceDescriptor>listSources()java.util.List<pl.allegro.tech.hermes.api.Owner>search(java.lang.String source, java.lang.String searchString)
-
-
-
Constructor Detail
-
OwnersEndpoint
@Autowired public OwnersEndpoint(OwnerSources ownerSources)
-
-
Method Detail
-
search
@GET @Path("/sources/{source}") @Produces("application/json") public java.util.List<pl.allegro.tech.hermes.api.Owner> search(@PathParam("source") java.lang.String source, @QueryParam("search") java.lang.String searchString)
-
get
@GET @Path("/sources/{source}/{id}") @Produces("application/json") public pl.allegro.tech.hermes.api.Owner get(@PathParam("source") java.lang.String source, @PathParam("id") java.lang.String id)
-
listSources
@GET @Path("/sources") @Produces("application/json") public java.util.List<pl.allegro.tech.hermes.management.api.OwnersEndpoint.SourceDescriptor> listSources()
-
-