-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-121] DisplayData API tweaks #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
R: @bjchambers |
|
I see test failures. Can you verify that nothing is broken? |
| } | ||
|
|
||
| addList(getProperties(), name, serializedItems); | ||
| List list = MAPPER.convertValue(displayData, List.class); |
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.
List<?>
6701f4b to
a15ed66
Compare
|
Ok, this should build clean now. @bjchambers, can you take another look? Once this is in I'll rebase other PR's on top and we can have another round of feedback on those. |
|
|
||
| JsonNode json = MAPPER.readTree(MAPPER.writeValueAsBytes(data)); | ||
| assertThat(json, hasItem(expectedJson(component.getClass(), "STRING", "string", "\"foobar\""))); | ||
| assertThat(json, hasItem(expectedJson(component.getClass(), "INTEGER", "long", "1234"))); |
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.
This test may be easier to read (and verify it matches expectations) if it just has the expected value as a single string, or a string for each value.
|
I've addressed all feedback so far. Please take another look. @bjchambers |
|
LGTM |
|
@swegner, did we backport this? (Cc: @bjchambers) |
|
I haven't done any backporting work for recent PRs-- I'm not quite familiar with the process. I'll work with @bjchambers on this. |
|
Backported via GoogleCloudPlatform/DataflowJavaSDK#216 |
Format licenses
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
[BEAM-<Jira issue #>] Description of pull requestmvn clean verify. (Even better, enableTravis-CI on your fork and ensure the whole test matrix passes).
number, if there is one.
Individual Contributor License Agreement.