Class OwnersEndpoint


  • @Component
    @Path("/owners")
    public class OwnersEndpoint
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      pl.allegro.tech.hermes.api.Owner get​(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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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()