Class QueryEndpoint
java.lang.Object
pl.allegro.tech.hermes.management.api.QueryEndpoint
-
Constructor Summary
ConstructorsConstructorDescriptionQueryEndpoint(SubscriptionService subscriptionService, TopicService topicService, GroupService groupService) -
Method Summary
Modifier and TypeMethodDescriptionList<pl.allegro.tech.hermes.api.Group> queryGroups(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.Group> query) List<pl.allegro.tech.hermes.api.Subscription> querySubscriptions(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.Subscription> query) List<pl.allegro.tech.hermes.api.SubscriptionNameWithMetrics> querySubscriptionsMetrics(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.SubscriptionNameWithMetrics> query) List<pl.allegro.tech.hermes.api.Topic> queryTopics(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.Topic> query) List<pl.allegro.tech.hermes.api.TopicNameWithMetrics> queryTopicsMetrics(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.TopicNameWithMetrics> query)
-
Constructor Details
-
QueryEndpoint
@Autowired public QueryEndpoint(SubscriptionService subscriptionService, TopicService topicService, GroupService groupService)
-
-
Method Details
-
queryGroups
@POST @Consumes("application/json") @Produces("application/json") @Path("/groups") public List<pl.allegro.tech.hermes.api.Group> queryGroups(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.Group> query) -
queryTopics
@POST @Consumes("application/json") @Produces("application/json") @Path("/topics") public List<pl.allegro.tech.hermes.api.Topic> queryTopics(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.Topic> query) -
querySubscriptions
@POST @Consumes("application/json") @Produces("application/json") @Path("/subscriptions") public List<pl.allegro.tech.hermes.api.Subscription> querySubscriptions(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.Subscription> query) -
queryTopicsMetrics
@POST @Consumes("application/json") @Produces("application/json") @Path("/topics/metrics") public List<pl.allegro.tech.hermes.api.TopicNameWithMetrics> queryTopicsMetrics(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.TopicNameWithMetrics> query) -
querySubscriptionsMetrics
@POST @Consumes("application/json") @Produces("application/json") @Path("subscriptions/metrics") public List<pl.allegro.tech.hermes.api.SubscriptionNameWithMetrics> querySubscriptionsMetrics(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.SubscriptionNameWithMetrics> query)
-