-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Migrating from joda to java.time. Watcher plugin #35809
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
Merged
pgomulka
merged 191 commits into
elastic:master
from
pgomulka:feature/watcher-java-time-migration
Feb 4, 2019
Merged
Changes from all commits
Commits
Show all changes
191 commits
Select commit
Hold shift + click to select a range
19e3035
Core: Move aggs/mapping code over to java time
spinscale baf7acd
run test on java9 only
spinscale efe5661
fix compilation error
spinscale b856795
fix randomized test to use java time
spinscale 443bdea
silence another test for now on java8 due to BWC issues without syste…
spinscale 995855d
Merge branch 'master' into java-time
spinscale 739ca1f
Merge branch 'master' into java-time
spinscale af7abc8
Merge branch 'master' into java-time
spinscale e6d61d2
Merge branch 'master' into java-time
spinscale a464a05
Merge branch 'master' into java-time
spinscale 79f2ebb
Merge branch 'master' into java-time
spinscale a9de009
fix wrong casting
spinscale c9b7e22
Merge branch 'master' into java-time
spinscale 5d34a06
fix import
spinscale 121b208
Merge branch 'master' into java-time
spinscale 4ab9cc2
fix compilation errors
spinscale 13301c1
Merge branch 'master' into java-time
spinscale 8f4564e
fix unit test
spinscale 720caf8
Merge branch 'master' into java-time
spinscale 26905c9
Merge branch 'master' into java-time
spinscale 7b88806
Merge branch 'master' into java-time
spinscale d9b241c
Merge branch 'master' into java-time
spinscale 3f8e10a
fix compilation errors
spinscale 3df911f
fix tests
spinscale a1987ef
remove unused imports
spinscale 8cd9cfa
Merge branch 'master' into java-time
spinscale d8af35d
Merge branch 'master' into java-time
spinscale 5e50374
Merge branch 'master' into java-time
spinscale 50e86b5
Merge branch 'master' into java-time
spinscale c58040f
Merge branch 'master' into java-time
spinscale 80f7e69
fix test by not using root locale
spinscale 3f74ffb
Merge branch 'master' into java-time
spinscale a8fd14c
Merge branch 'master' into java-time
spinscale ae50fcc
Merge branch 'master' into java-time
spinscale 0d8c7e3
Add floating point parsing of epoch millis
spinscale fc99549
Merge branch 'master' into java-time
spinscale dee1b8e
catch both exceptions, fixes tests properly
spinscale 113eb93
add another test for epoch millis date formatter
spinscale 2861b7c
Merge branch 'master' into java-time
spinscale 390ca93
Merge branch 'master' into java-time
spinscale dab811d
remove some TODOs
spinscale 982c418
Merge branch 'master' into java-time
spinscale f56a596
Merge branch 'master' into java-time
spinscale 7bdc090
Merge branch 'master' into java-time
spinscale 418444f
Merge branch 'master' into java-time
spinscale 87c49d1
remove more TODOs
spinscale 5735433
fix HLRC compilation error
spinscale 64cae08
Merge branch 'master' into java-time
spinscale 01d7bdf
Merge branch 'master' into java-time
spinscale 603be5d
Merge branch 'master' into java-time
spinscale 8fbf1f1
remove import
spinscale e5b0cd0
Merge branch 'master' into java-time
spinscale 50dd0ff
Merge branch 'master' into java-time
spinscale f49b2dd
Merge branch 'master' into java-time
spinscale 2ce818d
Merge branch 'master' into java-time
spinscale a0c24af
fix checkstyle
spinscale b087623
Merge branch 'master' into java-time
spinscale e76d474
Merge branch 'master' into java-time
spinscale 594dcc9
Merge branch 'master' into java-time
spinscale 2a4ef79
fix range query test
spinscale 436af3d
Merge branch 'master' into java-time
spinscale 1e83827
Merge branch 'master' into java-time
spinscale 1a96c92
Merge branch 'master' into java-time
spinscale ca0344b
Merge branch 'master' into java-time
spinscale 1d7f1f2
Merge branch 'master' into java-time
spinscale cc80caf
fix compilation errors
spinscale 7e44ddf
Merge branch 'master' into java-time
spinscale a2b5ef5
Merge branch 'master' into java-time
spinscale fb2810b
fix compilation
spinscale 89e5fd1
fix tests
spinscale 9421ce6
Merge branch 'master' into java-time
spinscale 4cf8463
removed import
spinscale 568c1b5
Merge branch 'master' into java-time
spinscale 101eeae
Merge branch 'master' into java-time
spinscale 1245bbe
Merge branch 'master' into java-time
spinscale cb250c4
fix casting to java-time in ML
spinscale 14403c3
Merge branch 'master' into java-time
spinscale 501d02d
remove unused import
spinscale 5e32ce0
Merge branch 'master' into java-time
spinscale 3a27760
Core: Migrating from joda to java.time. ML package (#35949)
pgomulka bf3a942
Merge branch 'master' into java-time
spinscale 8b32091
Merge branch 'master' into java-time
spinscale 3a76b95
Merge branch 'master' into java-time
spinscale 972e5a4
Merge branch 'master' into java-time
spinscale 3d91e31
Merge branch 'master' into java-time
spinscale f486f63
Fix java date parsing to be compatible with joda (#36155)
pgomulka 34fc485
Deprecate /_xpack/monitoring/* in favor of /_monitoring/* (#36130)
jakelandis 94832de
Improve painless docs for score, similarity, weight and sort (#35629)
romseygeek 5926e4b
Remove the deprecated _termvector endpoint. (#36131)
jtibshirani c15c3bb
Fix broken links in painless docs (#36170)
romseygeek a188931
[ILM] fix ilm.remove_policy rest-spec (#36165)
talevy 3d35bdb
Added soft limit to open scroll contexts #25244 (#36009)
joaofcmb 7c51625
[DOCS] Fixes peer link
lcawl 83a2054
[DOCs] More broken painless links
lcawl 41cb9df
[test] generate unique user names (#36179)
andyb-elastic 0686a13
[test] mute RemoveCorruptedShardDataCommandIT
andyb-elastic 2ecd87d
[HLRC] Added support for CCR Get Auto Follow Pattern apis (#36049)
martijnvg 277cfaf
Testclusters: implement starting, waiting for and stopping single clu…
alpar-t 3aec7eb
(Minor) Fix some typos (#36180)
glenacota 11f6448
Merge branch 'master' into java-time
spinscale ee6c1a6
Merge branch 'master' into java-time
spinscale 97ed0d5
Merge branch 'master' into java-time
spinscale f0a719c
Merge branch 'master' into java-time
spinscale 9520605
fix compilation errors
spinscale f907699
cleanups
spinscale ea2281c
Merge branch 'master' into java-time
spinscale 971e5d0
fix checkstyle
spinscale 03c67ee
Merge branch 'master' into java-time
spinscale ba6b1f1
Merge branch 'master' into java-time
spinscale fbc79c9
fix tests
spinscale 275a33e
Merge branch 'master' into java-time
spinscale 62995e3
fix rest tests
spinscale 1f36baf
Merge branch 'master' into java-time
spinscale 9d6c33e
fix test
spinscale a177c3a
Merge branch 'master' into java-time
spinscale 3fa2a1b
fix another test
spinscale 62dff53
simplify serialization code
spinscale c036c40
restore accidentally removed ccr snippet
spinscale 17b3aa2
Fix failing licence test (#36482)
pgomulka ce8411a
normalize date to prevent UTC/Z to string issues in tests
spinscale 8b8970c
Merge branch 'master' into java-time
spinscale 4634a93
Merge branch 'master' into java-time
spinscale 9273268
catch correct date parse exception
spinscale b5a92db
Merge branch 'master' into java-time
spinscale b225148
fix tests
spinscale 2ee4510
review comments
spinscale a25e91e
Merge branch 'master' into java-time
spinscale 409c12b
add exception handling
spinscale 1d4d9c4
Merge branch 'master' into java-time
spinscale d678d71
fix rollupindexertests
spinscale acf17e0
fix compilation of new field mappers
spinscale 79a6079
Merge branch 'master' into java-time
spinscale 5fe53db
initial watcher changes
pgomulka 88d7da9
Merge branch 'master' into java-time
spinscale 8064c85
Merge branch 'master' into java-time
spinscale c9df2f9
Merge branch 'master' into java-time
spinscale 5307643
Merge branch 'master' into java-time
spinscale f7471f0
Merge branch 'master' into java-time
spinscale 7ab754c
Merge branch 'master' into java-time
spinscale 03b4a3c
Merge branch 'master' into java-time
spinscale 3fcd88f
Merge branch 'master' into feature/watcher-java-time-migration
pgomulka bf2528b
Merge branch 'master' into java-time
spinscale e2acbc8
Merge branch 'master' into java-time
spinscale 5f336c9
fix tests using week based year
spinscale 81526f6
Merge branch 'java-time' into feature/watcher-java-time-migration
pgomulka acc4c71
Merge branch 'master' into java-time
spinscale ad08cdd
Merge branch 'master' into java-time
spinscale 2d23dd9
Add super simple benchmark to check joda/java time conversion differe…
spinscale 71c4f2d
add missing license
spinscale aea63a8
Merge branch 'master' into java-time
spinscale 2aca1f9
Merge branch 'master' into java-time
spinscale ed71785
Merge branch 'master' into java-time
spinscale cbbd3c0
Merge branch 'master' into java-time
spinscale fdb1d9d
fix tests by checking for java 8
spinscale 1040e2c
Merge branch 'master' into java-time
spinscale a191118
fix a few more tests for java 8
spinscale cc1ed73
Merge branch 'master' into java-time
spinscale 9ccabad
fix formatter
spinscale d33f5ba
Merge branch 'master' into java-time
spinscale 8d2ad6c
allow to parse nanoseconds by default in date field mapper
spinscale de6ac15
add clarifying comment
spinscale ce22809
Merge branch 'master' into java-time
spinscale fbe4d46
fix failing test
spinscale 3180107
Merge branch 'master' into java-time
spinscale d15ad93
Merge branch 'master' into java-time
spinscale 451b724
Merge branch 'master' into java-time
spinscale af8dd13
Merge branch 'master' into java-time
spinscale 197e215
fix some ML tests by providing useful date ranges
spinscale 32e81c4
work around java 8 time formatting issues
spinscale 383d5e7
fix checkstyle and fix some tests due to moving formatter
spinscale e65470d
fix unused import
spinscale c49c2df
fix tests on java 8
spinscale c6f6167
removed unused import
spinscale 640f5c4
Merge branch 'java-time' into feature/watcher-java-time-migration
pgomulka 8b59368
Merge branch 'master' into feature/watcher-java-time-migration
pgomulka cc86c92
milisecond part 6digits
pgomulka 8ca7889
test case
pgomulka d098dcd
code review follow up
pgomulka 0c57f3b
Merge branch 'master' into feature/watcher-java-time-migration
pgomulka 7d6dcfa
adding missing zone
pgomulka 779ff27
asserting about UTC
pgomulka 8c6fd07
Merge branch 'master' into feature/watcher-java-time-migration
pgomulka 1fec75b
tozoneddate->from
pgomulka 9258b30
->from
pgomulka cac4a47
Merge branch 'master' into feature/watcher-java-time-migration
pgomulka d821da0
Fixing WatchTests
pgomulka d72f2f7
remove toString
pgomulka 28fd682
change the logging message to reflect index pattern
pgomulka e1c02dc
code review follow up
pgomulka fa22a68
Merge branch 'master' into feature/watcher-java-time-migration
pgomulka c3c1c96
remove todo
pgomulka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
is this method needed or can it be fully replace with DateFormatters.toZonedDateTime(FORMATTER.parse(text))` in the calling method?
Uh oh!
There was an error while loading. Please reload this page.
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.
there are two classes that use that. Not sure if we want to inline this, I would need to add this additional field to both places.
Maybe there is some better utility class? Or using DateFormatters?