-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[e2e] Clearing messages availability with Topic's cleanup policy upda…
…te (#3632) * add verifyClearMessagesMenuStateAfterTopicUpdate * fix indents * upd imports * Add checkstyle plugin execution for e2e * upd violations * upd violations * Impl a separate checkstyle config for e2e --------- Co-authored-by: Roman Zabaluev <[email protected]>
- Loading branch information
1 parent
5c357f9
commit a274129
Showing
111 changed files
with
5,273 additions
and
4,779 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ | |
@Accessors(chain = true) | ||
public class Connector { | ||
|
||
private String name, config; | ||
private String name, config; | ||
} |
39 changes: 20 additions & 19 deletions
39
kafka-ui-e2e-checks/src/main/java/com/provectus/kafka/ui/models/Schema.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
package com.provectus.kafka.ui.models; | ||
|
||
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic; | ||
|
||
import com.provectus.kafka.ui.api.model.SchemaType; | ||
import lombok.Data; | ||
import lombok.experimental.Accessors; | ||
|
||
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic; | ||
|
||
@Data | ||
@Accessors(chain = true) | ||
public class Schema { | ||
|
||
private String name, valuePath; | ||
private SchemaType type; | ||
private String name, valuePath; | ||
private SchemaType type; | ||
|
||
public static Schema createSchemaAvro() { | ||
return new Schema().setName("schema_avro-" + randomAlphabetic(5)) | ||
.setType(SchemaType.AVRO) | ||
.setValuePath(System.getProperty("user.dir") + "/src/main/resources/testData/schemas/schema_avro_value.json"); | ||
} | ||
public static Schema createSchemaAvro() { | ||
return new Schema().setName("schema_avro-" + randomAlphabetic(5)) | ||
.setType(SchemaType.AVRO) | ||
.setValuePath(System.getProperty("user.dir") + "/src/main/resources/testData/schemas/schema_avro_value.json"); | ||
} | ||
|
||
public static Schema createSchemaJson() { | ||
return new Schema().setName("schema_json-" + randomAlphabetic(5)) | ||
.setType(SchemaType.JSON) | ||
.setValuePath(System.getProperty("user.dir") + "/src/main/resources/testData/schemas/schema_json_Value.json"); | ||
} | ||
public static Schema createSchemaJson() { | ||
return new Schema().setName("schema_json-" + randomAlphabetic(5)) | ||
.setType(SchemaType.JSON) | ||
.setValuePath(System.getProperty("user.dir") + "/src/main/resources/testData/schemas/schema_json_Value.json"); | ||
} | ||
|
||
public static Schema createSchemaProtobuf() { | ||
return new Schema().setName("schema_protobuf-" + randomAlphabetic(5)) | ||
.setType(SchemaType.PROTOBUF) | ||
.setValuePath(System.getProperty("user.dir") + "/src/main/resources/testData/schemas/schema_protobuf_value.txt"); | ||
} | ||
public static Schema createSchemaProtobuf() { | ||
return new Schema().setName("schema_protobuf-" + randomAlphabetic(5)) | ||
.setType(SchemaType.PROTOBUF) | ||
.setValuePath( | ||
System.getProperty("user.dir") + "/src/main/resources/testData/schemas/schema_protobuf_value.txt"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.