Search in sources :

Example 1 with MetricsUtils

use of org.bf2.admin.kafka.systemtest.utils.MetricsUtils in project kafka-admin-api by bf2fc6cc711aee1a0c2a.

the class RecordEndpointOAuthTestIT method setup.

@BeforeEach
void setup() {
    String token = tokenUtils.getToken(UserType.OWNER.getUsername());
    topicUtils = new TopicUtils(config, token);
    topicUtils.deleteAllTopics();
    recordUtils = new RecordUtils(config, token);
    metricsUtils = new MetricsUtils(metricsUrl);
}
Also used : MetricsUtils(org.bf2.admin.kafka.systemtest.utils.MetricsUtils) RecordUtils(org.bf2.admin.kafka.systemtest.utils.RecordUtils) TopicUtils(org.bf2.admin.kafka.systemtest.utils.TopicUtils) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 2 with MetricsUtils

use of org.bf2.admin.kafka.systemtest.utils.MetricsUtils in project kafka-admin-api by bf2fc6cc711aee1a0c2a.

the class RestOAuthTestIT method setup.

@BeforeEach
void setup() {
    String token = tokenUtils.getToken(UserType.OWNER.getUsername());
    topicUtils = new TopicUtils(config, token);
    topicUtils.deleteAllTopics();
    this.metricsUtils = new MetricsUtils(metricsUrl);
}
Also used : MetricsUtils(org.bf2.admin.kafka.systemtest.utils.MetricsUtils) TopicUtils(org.bf2.admin.kafka.systemtest.utils.TopicUtils) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

MetricsUtils (org.bf2.admin.kafka.systemtest.utils.MetricsUtils)2 TopicUtils (org.bf2.admin.kafka.systemtest.utils.TopicUtils)2 BeforeEach (org.junit.jupiter.api.BeforeEach)2 RecordUtils (org.bf2.admin.kafka.systemtest.utils.RecordUtils)1