GitHub user arjansh opened a pull request:
https://github.com/apache/metamodel/pull/177
Upgrade MetaModel dependency from 1.5.0 to 5.6.3
Biggest changes:
- Node client is no longer supported. If you want to connect as a node
client, you can "Start locally a Coordinating Only Node and then simply create
a TransportClient in your application which connects to this Coordinating Only
Node."
- Elasticsearch no longer supports the removal of Mappings from indices and
existing type and field mappings can no longer be updated. As a result of this,
we can no longer support drop table functionality in MetaModel.
- The io.searchbox jest client has been replaced by Elasticsearch's High
level rest client. As a result of which the complete module has been rewritten
and some code could be moved to the common module, because it now is the same
in both the native and rest client modules.
- The EmbeddedElasticSearchServer has been removed from the test classes,
because it is no longer possible to spawn a node in that manner. For the native
client, it has been replaced by an Elasticsearch provided test server and
client by extending the ESSingleNodeTestCase class, within the Rest client we
now spawn a Docker image which runs an Elasticsearch cluster.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/arjansh/metamodel
feature/update-elastic-search-to-5.6.3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/metamodel/pull/177.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #177
----
commit 36649c85d345249e4c88175d98a57384cfef4821
Author: claudiap <claudia.pesu@...>
Date: 2017-12-01T20:07:33Z
fixed compilation issues related to upgrade to 5.6.3
commit d5e5bb301e7d3682da4350059c7349745b4b4c7a
Author: claudiap <claudia.pesu@...>
Date: 2017-12-05T14:46:12Z
added DockerFile, improved the deletion query and insertion queries
commit a6e3d05d62fc6767637121c171168f9a83bee2c9
Author: claudiap <claudia.pesu@...>
Date: 2017-12-05T17:57:56Z
improved the mapping of the created table
commit 5ee7f8fc81d73b77a9ac8b96e06a3b942e913913
Author: claudiap <claudia.pesu@...>
Date: 2017-12-06T21:28:07Z
added an UpdateBuilder
commit 6d919701f3e412975b6410a5d2a371bfec032064
Author: claudiap <claudia.pesu@...>
Date: 2017-12-10T21:57:35Z
added improvements to the builders
commit c9d7622ea1c4fb6a6d64fc268c3ed7d348321c2d
Author: claudiap <claudia.pesu@...>
Date: 2017-12-10T21:58:33Z
created a docker elasticsearch image to run the tests
commit ff966b3879f23c617d53536f5d393d5bc379b9a9
Author: claudiap <claudia.pesu@...>
Date: 2017-12-11T09:20:04Z
get the docker host name from environmental variable
commit 1569e93af6b2bb4db40c58fa418be0cfe34953ae
Author: claudiap <claudia.pesu@...>
Date: 2017-12-11T09:34:33Z
deleted the embedded server as it is not longer used in testing
commit f7f557fb0118ac92ebdefd55bdd9cb5404fdd0d3
Author: claudiap <claudia.pesu@...>
Date: 2017-12-12T11:29:32Z
improvements made to the tests
commit 00ceb5d97e532278e5599aa60fed35c66c3983ee
Author: claudiap <claudia.pesu@...>
Date: 2018-01-03T13:27:25Z
Merge branch 'master' of https://github.com/apache/metamodel into
feature/update-elastic-search-to-5.6.3
commit 9f3cc1daa543774da27d134e6389f6eff9608b76
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-12T15:31:48Z
Bugfixes and changes to the integration test (and setup of the integration
test)
commit a1fd545dbe95f694446ce7ed954cc1ebe0ce71a4
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-15T12:33:33Z
Refactored ElasticSearchDataContext tests.
commit 24fbe6b3de529dec8a901dc73082877307f14dfa
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-15T13:25:55Z
Refactored code a bit based on sonarQube feedback.
commit 8d1acab4bb9910228d1f636b1a950ae1fd618c0f
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-17T15:13:19Z
Intermediate refactoring for Elasticsearch Rest client
commit 894e76c31420929520525b8232cdd5d8dbe44ae4
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-19T13:48:00Z
Improved working of code and fixed integration test for Rest client.
commit 8bfb7ef6c39dc88464dd549949d88a27e076e4ad
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-19T15:30:35Z
Removed Integration test from native client and make sure rest client
integration test runs with docker image.
commit 72f45c532d48a30d888da16753eb65d1d7d82913
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-19T15:37:57Z
Removed unused import.
commit 7bb5555ecc977b2e99b1755bcadc1578f2331f6b
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-19T15:59:29Z
Activate integration-test profile and docker service for Travis.
commit fa491dac9ca1ab1ba49135f83e2ef7004e9053fc
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-22T09:37:35Z
Added some finals, moved some carbon copied code from navtie and rest
clients to common module and reinstated bulk requests for rest client.
commit 67f4f8af5a550e0a0a13189672ba08c41b576ffe
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-22T12:39:03Z
Added integration test for ElasticSearchRestDataContextFactory and
refactored touched code based on findings.
commit 0aacbb923989ea305193188c3749431a4b2b7d23
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-22T14:23:00Z
Reinstated "scrolling" on rest client.
commit 4e1db99fd8c8da0027b8991598a2fa58b4fd05bc
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-23T09:21:00Z
Reordered code a bit too avoid copy/paste code.
commit f94b260b2dfeeb3d0a210956269b67e7628a6089
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-23T10:30:21Z
Did some sonar inspired improvements to the code.
commit 6d843e871c9dc457a31d7547309ae68cc60111ec
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-23T13:28:27Z
Extended Date Converter so it is able to handle the new Elasticsearch (I
presume) date format.
commit 27158575dc6f6e1aa65e0ac677b68ef69b978257
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-23T13:37:29Z
Improved code a bit.
commit 8e1c121b73d44f793677afbedcd5fd01a49a5403
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-23T13:42:52Z
Reverted some out of context changes.
commit 9002155e4feee18a93ef72087e63aa6077fb59d6
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-23T13:54:52Z
Reverted some more out of context code (style) changes.
commit b2b849308de0244422b6f0e958cbfd7799fe6f7d
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-23T14:10:04Z
And some more unnecessary out of context changes reverted.
commit 3c23da2f70cb314b4b9c3fc1b3abfe5027953eb0
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-23T14:20:57Z
Reverted some more out of context and unwanted tabs to spaces changes.
commit 9ca4a229cba1bd4885ca3c885be700dd4c87f462
Author: Arjan Seijkens <arjan.seijkens@...>
Date: 2018-01-23T18:46:09Z
Even more reverting of unneeded out of context (mainly code style) changes.
----
---