Search in sources :

Example 1 with TopicUtils

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

the class ConsumerGroupsOAuthTestIT method setup.

@BeforeEach
void setup() {
    String token = tokenUtils.getToken(UserType.OWNER.getUsername());
    topicUtils = new TopicUtils(config, token);
    topicUtils.deleteAllTopics();
    groupUtils = new ConsumerUtils(config, token);
    batchId = UUID.randomUUID().toString();
}
Also used : ConsumerUtils(org.bf2.admin.kafka.systemtest.utils.ConsumerUtils) TopicUtils(org.bf2.admin.kafka.systemtest.utils.TopicUtils) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 2 with TopicUtils

use of org.bf2.admin.kafka.systemtest.utils.TopicUtils 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 3 with TopicUtils

use of org.bf2.admin.kafka.systemtest.utils.TopicUtils 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)

Example 4 with TopicUtils

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

the class RecordEndpointTestIT method setup.

@BeforeEach
void setup() {
    topicUtils = new TopicUtils(config, null);
    topicUtils.deleteAllTopics();
    recordUtils = new RecordUtils(config, null);
}
Also used : RecordUtils(org.bf2.admin.kafka.systemtest.utils.RecordUtils) TopicUtils(org.bf2.admin.kafka.systemtest.utils.TopicUtils) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 5 with TopicUtils

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

the class RestEndpointTestIT method setup.

@BeforeEach
void setup() {
    topicUtils = new TopicUtils(config, null);
    topicUtils.deleteAllTopics();
}
Also used : TopicUtils(org.bf2.admin.kafka.systemtest.utils.TopicUtils) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

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