-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Introduce Avro plugin #2152
Introduce Avro plugin #2152
Conversation
e0ccf96
to
77f25f2
Compare
Codecov Report
@@ Coverage Diff @@
## master #2152 +/- ##
=========================================
Coverage 96.21% 96.21%
- Complexity 5362 5366 +4
=========================================
Files 757 758 +1
Lines 15318 15336 +18
Branches 1031 1030 -1
=========================================
+ Hits 14738 14756 +18
Misses 450 450
Partials 130 130
Continue to review full report at Codecov.
|
LOGGER.atInfo() | ||
.addArgument(() -> dataFileReader.getSchema().toString(false)) | ||
.log("Avro schema: {}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOGGER.atInfo() | |
.addArgument(() -> dataFileReader.getSchema().toString(false)) | |
.log("Avro schema: {}"); | |
LOGGER.atInfo() | |
.addArgument(() -> dataFileReader.getSchema().toString(false)) | |
.log("Avro schema: {}"); |
Set<VariableScope> scopes = Set.of(VariableScope.STORY); | ||
String variableName = "varName"; | ||
avroSteps.convertAvroDataToJson("/event-message.avro", scopes, variableName); | ||
verify(bddVariableContext).putVariable(scopes, variableName, "[{\"SequenceNumber\": 0, \"Offset\": \"0\", " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set<VariableScope> scopes = Set.of(VariableScope.STORY); | |
String variableName = "varName"; | |
avroSteps.convertAvroDataToJson("/event-message.avro", scopes, variableName); | |
verify(bddVariableContext).putVariable(scopes, variableName, "[{\"SequenceNumber\": 0, \"Offset\": \"0\", " | |
var scopes = Set.of(VariableScope.STORY); | |
var variableName = "varName"; | |
avroSteps.convertAvroDataToJson("/event-message.avro", scopes, variableName); | |
verify(bddVariableContext).putVariable(scopes, variableName, "[{\"SequenceNumber\": 0, \"Offset\": \"0\", " |
@@ -53,11 +54,12 @@ | |||
*/ | |||
@When("I create temporary file with name `$name` and content `$content` and put path to $scopes variable" | |||
+ " `$variableName`") | |||
public void saveResponseBodyToFile(String name, String content, Set<VariableScope> scopes, String variableName) | |||
public void createTemporaryFile(String name, DataWrapper content, Set<VariableScope> scopes, String variableName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please add an integration test for the case with binary data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's added as a part of Avro test
77f25f2
to
ff3d7ee
Compare
SonarCloud Quality Gate failed. |
No description provided.