Skip to content

Conversation

@talevy
Copy link
Contributor

@talevy talevy commented Sep 10, 2017

Another go at converting more Request objects to leverage Writeable.Readers

@talevy talevy added :Core/Infra/Core Core issues without another label v7.0.0 labels Sep 10, 2017
@talevy talevy force-pushed the moarwriteable branch 3 times, most recently from fd85d30 to 5f51584 Compare September 10, 2017 12:25
@talevy
Copy link
Contributor Author

talevy commented Sep 12, 2017

Hey @nik9000, thanks for the review! I've realized I have to modify this PR a little more after you approved it. Specifically, I modified the StreamableTestCase abstract class to include a createWriteableInstance method that is used by x-pack test cases. This enabled support for Streamable/Writeable.Reader patterns.

@nik9000
Copy link
Member

nik9000 commented Sep 12, 2017

I modified the StreamableTestCase abstract class to include a

We have an AbstractWireSerializingTestCase for Writeable. Can you switch to using that instead?

@talevy
Copy link
Contributor Author

talevy commented Sep 12, 2017

uhhhh, I feel stupid. I had no idea that exists.... yeah... much better. thanks! I'll update

@talevy
Copy link
Contributor Author

talevy commented Sep 12, 2017

thanks, I reverted that latest commit that modified the AbstractStreamableTestCase... and I will update the x-pack to use the new class instead

@talevy talevy merged commit cc726cb into elastic:master Sep 18, 2017
@talevy talevy deleted the moarwriteable branch September 18, 2017 20:19
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Sep 19, 2017
* master:
  added comment
  fix line length violation
  Moved the check to fetch phase. This basically means that we throw a better error message instead of an AOBE and not adding more restrictions.
  inner hits: Do not allow inner hits that use _source and have a non nested object field as parent
  Separate Painless Whitelist Loading from the Painless Definition (elastic#26540)
  convert more admin requests to writeable (elastic#26566)
  Handle release of 5.6.1
  Allow `InputStreamStreamInput` array size validation where applicable (elastic#26692)
  Update global checkpoint with permit after recovery
jasontedor added a commit to droberts195/elasticsearch that referenced this pull request Sep 19, 2017
* master: (278 commits)
  Move pre-6.0 node checkpoint to SequenceNumbers
  Invalid JSON request body caused endless loop (elastic#26680)
  added comment
  fix line length violation
  Moved the check to fetch phase. This basically means that we throw a better error message instead of an AOBE and not adding more restrictions.
  inner hits: Do not allow inner hits that use _source and have a non nested object field as parent
  Separate Painless Whitelist Loading from the Painless Definition (elastic#26540)
  convert more admin requests to writeable (elastic#26566)
  Handle release of 5.6.1
  Allow `InputStreamStreamInput` array size validation where applicable (elastic#26692)
  Update global checkpoint with permit after recovery
  Filter pre-6.0 nodes for checkpoint invariants
  Skip bad request REST test on pre-6.0
  Reenable BWC tests after disabling for backport
  Add global checkpoint tracking on the primary
  [Test] Fix reference/cat/allocation/line_8 test failure
  [Docs] improved description for fs.total.available_in_bytes (elastic#26657)
  Fix discovery-file plugin to use custom config path
  fix testSniffNodes to use the new error message
  Add check for invalid index in WildcardExpressionResolver (elastic#26409)
  ...
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Sep 20, 2017
* master: (67 commits)
  Restoring from snapshot should force generation of a new history uuid (elastic#26694)
  test: Use a single primary shard so that the exception can caught in the same way
  Move pre-6.0 node checkpoint to SequenceNumbers
  Invalid JSON request body caused endless loop (elastic#26680)
  added comment
  fix line length violation
  Moved the check to fetch phase. This basically means that we throw a better error message instead of an AOBE and not adding more restrictions.
  inner hits: Do not allow inner hits that use _source and have a non nested object field as parent
  Separate Painless Whitelist Loading from the Painless Definition (elastic#26540)
  convert more admin requests to writeable (elastic#26566)
  Handle release of 5.6.1
  Allow `InputStreamStreamInput` array size validation where applicable (elastic#26692)
  Update global checkpoint with permit after recovery
  Filter pre-6.0 nodes for checkpoint invariants
  Skip bad request REST test on pre-6.0
  Reenable BWC tests after disabling for backport
  Add global checkpoint tracking on the primary
  [Test] Fix reference/cat/allocation/line_8 test failure
  [Docs] improved description for fs.total.available_in_bytes (elastic#26657)
  Fix discovery-file plugin to use custom config path
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label >non-issue v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants