-
Notifications
You must be signed in to change notification settings - Fork 126
Refactorization of the SDK #425
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
Changes from all commits
Commits
Show all changes
96 commits
Select commit
Hold shift + click to select a range
441ce02
Switch to v0.27.2 to fix the tests
alallema 6a4db61
Remove Dump and DumpHandler
alallema 0ee8a43
relaunch ci with good base branch
alallema e5b4696
Remove duplicate and useless code
alallema 91f49b2
Move all Class for data struct in model directory
alallema 44165b4
Normalize json handler
alallema d2a40dd
Modification due to review
alallema 7713cf4
Add setQuery method
alallema 4a17c02
Fix JacksonJsonHandler
alallema cafed1c
Update Readme about jsonHandler
alallema 12e6976
Remove JsonbJson from json library
alallema 6fcca4d
Adding Accessor
alallema 5d44508
Normalize exception
alallema 69b4e79
Add test for CommunicationException
alallema d44705d
Throw MeilisearchException from each SDK method
alallema f431e0a
Test rename
alallema 8e2ed57
Move meilisearch exception at the http interface
alallema 5f90cda
Change MeiliSearch to Meilisearch
alallema 16b345c
Modification due to review
alallema 198da1a
Merge pull request #439 from meilisearch/renaming
alallema 364293c
Update src/test/java/com/meilisearch/integration/ExceptionsTest.java
alallema bff5070
Add test for exceptions
alallema e63713b
Merge pull request #438 from meilisearch/exception
alallema 101647a
Change MeiliSearchHttpRequest for MeilisearchHttpRequest
alallema 1cd9035
Change MeiliSearchHttpRequest for MeilisearchHttpRequest
alallema 2393779
Merge pull request #447 from meilisearch/typo-meilisearchhttprequest
alallema cf4fe71
Move MeilisearchHttpClient to Config
alallema 9549251
Merge pull request #448 from meilisearch/http-client-in-config
alallema 647e7e0
Use OkHttpClient by default and remove the others
alallema 5aca6f0
Remove library from gradle file
alallema 6d63165
Merge pull request #449 from meilisearch/clean-client
alallema 875c9f1
Redesign Request and Response without factory
alallema 92e2d8d
Add toString method to SearchRequest Class
alallema dfd6f74
Switch put to putOpt and clearify tests
alallema a2b86e7
Update src/main/java/com/meilisearch/sdk/SearchRequest.java
alallema f916319
Update src/test/java/com/meilisearch/sdk/SearchRequestTest.java
alallema 7799b3a
Update src/test/java/com/meilisearch/sdk/SearchRequestTest.java
alallema 810313d
Update src/test/java/com/meilisearch/sdk/SearchRequestTest.java
alallema ad9315a
Update src/test/java/com/meilisearch/sdk/SearchRequestTest.java
alallema 10168ed
Update src/test/java/com/meilisearch/sdk/SearchRequestTest.java
alallema b011219
Update src/test/java/com/meilisearch/sdk/SearchRequestTest.java
alallema e738626
Merge pull request #451 from meilisearch/search-request
alallema 858d2de
Update src/main/java/com/meilisearch/sdk/http/CustomOkHttpClient.java
alallema 1da8674
Remove useless cast
alallema b23e770
Merge pull request #450 from meilisearch/request
alallema fee919a
Rename and remove abstraction from HttpClient class
alallema d76a4df
Update src/main/java/com/meilisearch/sdk/Documents.java
alallema 4fdc210
Update src/main/java/com/meilisearch/sdk/Documents.java
alallema 6e23f7e
Update src/main/java/com/meilisearch/sdk/Documents.java
alallema 9841ef6
Update src/main/java/com/meilisearch/sdk/Documents.java
alallema 9986026
Style
alallema 147ce19
Merge pull request #456 from meilisearch/http-client-simplifying
alallema 82d32f9
Modification of the get method with generic parameters
alallema 0fd3466
Clarify get method
alallema 7c8524f
Clarify httpresponse content
alallema b9b29f1
Add space
alallema 67a3e9d
Provide a generic to http post method
alallema 0ec8dd9
Add generic type to HttpResponse
alallema 46f8c55
Provide a generic to http put method
alallema 06d74d5
Provide a generic to http delete method
alallema d295326
Remove unused method
alallema 12202db
Merge pull request #468 from meilisearch/patch-post-method
alallema 8f9e509
Merge pull request #469 from meilisearch/patch-put-method
alallema 5e7757a
Fix extra curly bracket
alallema 662fcc3
Merge pull request #470 from meilisearch/patch-delete-method
alallema 5380e4e
Merge pull request #466 from meilisearch/patch-get-method
alallema d322d75
Adding patch method and tests
alallema 3091dfc
Update src/main/java/com/meilisearch/sdk/HttpClient.java
alallema 328b43d
Update src/main/java/com/meilisearch/sdk/HttpClient.java
alallema dc661ad
Add instance handler for missing method
alallema 49518e6
Merge pull request #472 from meilisearch/patch-method
alallema 68e5de4
Merge pull request #473 from meilisearch/missing-method
alallema 4bc3220
Add test for basic http response and request
alallema f3551c8
Clean methods definitions
alallema 64e8412
Add updateKey method
alallema 17bce6c
Rename getAllIndexes in getIndexes
alallema a484a6b
Merge pull request #474 from meilisearch/basic_http_test
alallema 23669b3
Merge pull request #475 from meilisearch/clean-documentation
alallema 9925fa0
Merge branch 'refactor' into update-key
alallema 4d4c32c
Merge pull request #477 from meilisearch/rename-index-list
alallema 2505ca6
Merge pull request #476 from meilisearch/update-key
alallema e7810d0
MOdification due to review
alallema 57fdd3f
Add test for jackson json handler
alallema 75095ef
Add constructor
alallema 0abbf3b
Remaned variables
alallema 71fd604
Add test for jackson json handler
alallema 6840d4a
Modify setQuery return
alallema c98b507
Changes Details class name
alallema 06b4743
Update README.md
alallema 70eb6a2
Update README.md
alallema ab9aa0b
Update README.md
alallema 4e57da6
Update README.md
alallema 544f53f
Update README.md
alallema f86a505
Improve README
alallema 23e186a
Update README.md
alallema 1621246
Simplify Config class
alallema 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.
Uh oh!
There was an error while loading. Please reload this page.