Skip to content
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

Release GA Java Driver (1.0) #187

Merged
merged 219 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
7fcacc6
gradle.properties: Update version to 0.2.0-B2-SNAPSHOT.
Sep 11, 2024
d3661fc
Merge pull request #141 from fauna/merge-0.2.0-B1
findgriffin Sep 11, 2024
9bc2138
[DOCS-3385] README: Add `getType()` ex for streaming
jrodewig Sep 13, 2024
a299a64
Implement parsing of ErrorInfo using JsonParser.
Sep 10, 2024
39bcd08
Refactor error parsing.
Sep 13, 2024
7004bf1
Merge pull request #142 from fauna/add-event-type
findgriffin Sep 13, 2024
8b00d12
Handle abort data.
Sep 15, 2024
3686f9e
Add @Deprecated annotation.
Sep 15, 2024
ba7d064
Avoid NullPointerException.
Sep 15, 2024
dd7b9e7
Mark ConstraintFailure constructor as deprecated.
Sep 16, 2024
054ba95
Rename E2EConstraintTest -> E2EErrorHandlingTest and add testAbortApi.
Sep 16, 2024
1578824
PR feedback: fix some exceptions.
Sep 16, 2024
6acec51
Fix: remove unused imports.
Sep 16, 2024
ca80aef
Merge pull request #143 from fauna/implement-error-parsers
findgriffin Sep 16, 2024
f83f8b8
Refactor to use parser and add QueryTags.
Sep 15, 2024
1a5db51
Start refactoring tests.
Sep 15, 2024
f7b9436
Fix 23 tests and Abort data.
Sep 16, 2024
e8613de
Remove handleResponse method and associated test fixes.
Sep 16, 2024
3e11b77
Fix missing stats and stop using QueryResponseWire in tests.
Sep 16, 2024
7a8ce52
Remove methods handleErrorResponse and QueryFailure constructor.
Sep 16, 2024
152c716
Mark QueryResponseWire as @Deprecated and remove some imports.
Sep 16, 2024
66aaa62
Refactor ConstraintFailure.
Sep 16, 2024
784af61
Fix and refactor QueryTags parsing.
Sep 17, 2024
8587809
Add E2EQueryTest.query_withTags.
Sep 17, 2024
2f5a4d3
A couple of nips/tucks I noticed when reading the diff.
Sep 17, 2024
ae1edce
Fix test I didn't run before pushing.
Sep 17, 2024
f4a43f3
QueryStats: Replace ClientException with ClientResponseException
findgriffin Sep 17, 2024
d74aa54
Split complex line of code into two lines.
findgriffin Sep 17, 2024
5e218ee
Remove stray call to new.
findgriffin Sep 17, 2024
ae3b305
PR feedback: Return null instead of throwing.
Sep 17, 2024
b1a2490
Fix: missing semicolon.
Sep 17, 2024
cd5b893
Merge pull request #144 from fauna/remove-object-mapper
findgriffin Sep 17, 2024
5ca46a7
Remove ConstraintFailureWire, ErrorInfoWire, and QueryResponseWire.
Sep 17, 2024
11c971e
Add all methods to ExponentialBackoffStrategy.Builder.
Sep 17, 2024
94cf72a
Address a ton of compiler warnings.
Sep 17, 2024
5646885
Refactor: Unify QueryTags implementations.
Sep 17, 2024
72b1156
Fix some more warnings and remove dead code.
Sep 17, 2024
3751ff3
Remove PassThroughDeserializer and fix more compiler warnings.
Sep 17, 2024
078dd3a
Refactor ErrorInfo.parse to make switch statement more foolproof.
Sep 17, 2024
5aad065
Refactor QueryResponse.parse.
Sep 17, 2024
e23626a
Refactor: add StreamEvent.Builder, and StreamEvent.parseField.
Sep 18, 2024
0a2988f
Move MultiByteBufferInputStream out of it's own package/directory.
Sep 18, 2024
0e87fe9
Refactor QueryStats to have Builder, and fix bug where values were sw…
Sep 18, 2024
edb094e
Finish refactorying QueryStats and add some tests.
Sep 18, 2024
602db58
Remove JsonCreator/JsonProperty from QueryStats.
Sep 18, 2024
b468a2a
Merge pull request #145 from fauna/cleanup-dead-code
findgriffin Sep 19, 2024
51a5b81
Move RELEASING.md to top-level.
Sep 19, 2024
46f65a7
Make some star imports explicit.
Sep 19, 2024
1d1c3a8
Some fixes in QueryStatsTest.
Sep 18, 2024
e75ec09
Remove a TODO and buildRequest_withQueryOptions_shouldBeFast.
Sep 19, 2024
339062a
Support X-max-contention-retries via FaunaConfig.
Sep 19, 2024
88b76d4
Implement last-txn-ts in client.
Sep 19, 2024
1429f43
Update last_txn_ts on FaunaClient.
Sep 19, 2024
5908704
Update last_txn_ts on ServiceException.
Sep 19, 2024
4c98b26
Fix some warnings.
Sep 20, 2024
e355a20
Merge pull request #146 from fauna/pr145-feedback
findgriffin Sep 20, 2024
eae37b4
Update src/main/java/com/fauna/client/RequestBuilder.java
findgriffin Sep 20, 2024
b3e314a
Update src/main/java/com/fauna/client/RequestBuilder.java
findgriffin Sep 20, 2024
5922418
PR feedback: Remove snake case.
Sep 20, 2024
749f172
Change makeAsyncRequest from static to instance method, so we only ne…
Sep 20, 2024
c098a15
Fix FaunaException -> ServiceException.
Sep 20, 2024
ac6d172
Reorder some methods.
Sep 20, 2024
116005e
Merge pull request #147 from fauna/audit-todos
findgriffin Sep 20, 2024
4075ca6
Implement missing paginate APIs and tests for same.
Sep 20, 2024
65df6a1
Refactor PageIterator to have a nextAsync method
Sep 20, 2024
da788b1
Add test_multiple_pages_async.
Sep 20, 2024
a466d43
Consolidate paginate methods to call "super" paginate method.
Sep 20, 2024
605384a
Merge pull request #148 from fauna/BT-5072-pagination-apis
findgriffin Sep 23, 2024
d8d7b9f
Implement queryPage and asyncQueryPage APIs, along with some refactor…
Sep 23, 2024
69ba61a
[DOCS-3436] README: Fix 'Event Streaming' spelling
jrodewig Sep 25, 2024
a9ffe95
Merge pull request #149 from fauna/BT-5120-pagination-ergonomics
findgriffin Sep 25, 2024
4f986f7
Merge pull request #150 from fauna/fix-streaming-capitalization
findgriffin Sep 25, 2024
ae4a513
Impelement request/response logging, and fix config from environment …
Sep 23, 2024
225ebe3
Add FaunaConfigTest.
Oct 2, 2024
c02c6f9
Add debug/trace instructions to README.md.
Oct 2, 2024
22055b5
PR feedback: Rename logHeaders -> headersAsString.
Oct 3, 2024
148a9b5
PR feedback: Make FAUNA_DEBUG environment variable binary.
Oct 3, 2024
49b02b8
Merge pull request #151 from fauna/BT-5129-logging-tracing
findgriffin Oct 7, 2024
c2ef981
[DOCS-3543] docs: Add (current) to README h1
jrodewig Oct 9, 2024
7be807f
Allow user-configurable HTTP timeout for query and stream requests.
Oct 9, 2024
c811f30
Merge pull request #152 from fauna/h1-current
jrodewig Oct 10, 2024
4dbd431
PR feedback: More explicit javadocs.
Oct 10, 2024
86e45c4
PR feedback: More explicit javadocs.
Oct 10, 2024
4b054d3
PR feedback: Make client timeout buffer configurable.
Oct 15, 2024
1e59045
Add test of buffer plumbing.
Oct 15, 2024
c437f41
Merge branch 'BT-5174-http-timeout' into BT-5168-event-feeds
Oct 16, 2024
3615838
Minor PR feedback.
Oct 16, 2024
16d6758
Fix a sentence and some stray newlines.
Oct 16, 2024
77487dc
Initial implementation of Event Feeds for JVM.
Oct 16, 2024
322f348
Add E2EFeeds Test.
Oct 21, 2024
8ea52b0
Merge pull request #153 from fauna/BT-5174-http-timeout
findgriffin Oct 21, 2024
d2a915f
Merge branch 'main' into BT-5168-event-feeds
Oct 21, 2024
f434e97
Turn on change feeds in GitHub Actions docker container.
Oct 21, 2024
37b08da
Fix: Use env: option in gradle-test.yml.
Oct 21, 2024
0ae6438
Add submodule
adambollen Oct 22, 2024
9e1f53a
Perf tests
adambollen Oct 22, 2024
1944ce5
Pipeline
adambollen Oct 22, 2024
f5768ee
fix: handle unmaterialized sets
pnwpedro Oct 23, 2024
ce4f236
Run perf tests exclusively
adambollen Oct 23, 2024
9b5b9b2
Merge pull request #156 from fauna/fix-unmaterialized-sets
pnwpedro Oct 23, 2024
5d8a5f0
Add FeedIteratorTest.
Oct 23, 2024
e9a4bc1
Add JavaDocs to feed APIs.
Oct 23, 2024
baaeec3
PR suggestions
adambollen Oct 23, 2024
a957d8c
Statistically significant typo
adambollen Oct 23, 2024
792c0ea
Merge pull request #155 from fauna/jvm-perf-tests
adambollen Oct 23, 2024
7c44ba7
Run set-self and perf tests from main
adambollen Oct 23, 2024
a591fd4
Set configurable timeout for feed requests, and DefaultsTest.java.
Oct 24, 2024
0157217
Merge pull request #157 from fauna/pipeline-main
adambollen Oct 24, 2024
934bfb0
[DOCS-3656] docs: Update CDC terminology
jrodewig Oct 25, 2024
a5e841c
Add README draft
jrodewig Oct 25, 2024
7c1face
Update src/test/java/com/fauna/e2e/E2EFeedsTest.java
findgriffin Oct 25, 2024
5fe2ef7
Update src/test/java/com/fauna/e2e/E2EFeedsTest.java
findgriffin Oct 25, 2024
1017f64
Update src/test/java/com/fauna/e2e/E2EFeedsTest.java
findgriffin Oct 25, 2024
e00f806
Remove flag that is no longer required.
Oct 25, 2024
282a868
Rename /changefeed/1 -> /feed/1.
Oct 25, 2024
b18b13e
Address README feedback
jrodewig Oct 25, 2024
8c3f4d4
Merge pull request #158 from fauna/cdc-readme
jrodewig Oct 25, 2024
e931c32
Add stats collector interface and impl
pnwpedro Oct 25, 2024
c7b060a
README: Add missing word
jrodewig Oct 28, 2024
1d96ef3
Merge branch 'main' into BT-5168-event-feeds
Oct 28, 2024
9e8c0f9
Rename and document Stats
pnwpedro Oct 29, 2024
5699da2
Use stats collector for queries and streams
pnwpedro Oct 28, 2024
71e2d1a
Always set a stats collector
pnwpedro Oct 29, 2024
7ff2777
Merge pull request #159 from fauna/stats-collector-impl
pnwpedro Oct 29, 2024
e48ef8b
Merge pull request #160 from fauna/use-stats-collector
pnwpedro Oct 29, 2024
d720160
Use SSH for submodule
adambollen Oct 29, 2024
a04542a
Merge pull request #161 from fauna/submod-fix
adambollen Oct 30, 2024
144fd79
PR feedback:
Oct 30, 2024
15271c3
Rename feedPage -> poll, per ENG-6824, allow null FeedOptions, and ad…
Oct 30, 2024
3fa42b2
Merge pull request #154 from fauna/BT-5168-event-feeds
findgriffin Oct 31, 2024
3996335
Refactor: Consolidate feed and stream related classes in com.fauna.ev…
Oct 30, 2024
1dd3442
Refactor some defaults, use QueryOptions.DEFAULT in E2E test.
Oct 30, 2024
3e1cf26
Rename StreamEvent -> FaunaEvent as it's now used for Streams and Feeds.
Oct 31, 2024
0db26b3
Add a build task to bundle the jar with deps
pnwpedro Nov 1, 2024
cbd2fc4
Merge pull request #162 from fauna/BT-5270-events
findgriffin Nov 1, 2024
adf0495
Merge pull request #163 from fauna/zip-build-task
findgriffin Nov 1, 2024
46dd2c2
Refactor Event Streams API to use EventSource / StreamOptions instead…
Oct 30, 2024
c5ad095
Replace toStream() -> eventSource().
Nov 1, 2024
a8d8312
Add new constructor to PageIterator to make it work nicer with stream…
Nov 1, 2024
7f6b730
Ensure stats of FeedPage get added to client statsCollector.
Nov 1, 2024
a13a086
Fix StatsCollector / Mockito issue.
Nov 1, 2024
354af2f
Add checkstyle config
pnwpedro Nov 4, 2024
e0fd18c
Use sun config instead
pnwpedro Nov 4, 2024
d523c07
README: Update event feeds info
jrodewig Nov 4, 2024
4906b14
Add docs for `asyncFeed()`
jrodewig Nov 5, 2024
6c58b9b
Fix comments
jrodewig Nov 5, 2024
0582dad
Fix typo + time calc
jrodewig Nov 5, 2024
9a2f84b
Fix asyncFeed() examples
jrodewig Nov 5, 2024
9d397b2
Fix time calc
jrodewig Nov 5, 2024
ce1f00c
Fix comment
jrodewig Nov 5, 2024
9643609
README: Event Streams refactor
jrodewig Nov 5, 2024
3cb6d20
Refactor error handling for Feeds, and add feedError/testFeedEventError.
Nov 5, 2024
a981434
Avoid encouraging secrets in source code.
findgriffin Nov 5, 2024
70a8569
Use default client configs
jrodewig Nov 5, 2024
eccb34d
Merge pull request #164 from fauna/BT-5271-streams-api
pnwpedro Nov 6, 2024
c5c5978
Merge pull request #165 from fauna/add-checkstyle
pnwpedro Nov 6, 2024
1d1da2b
Apply checkstyle
pnwpedro Nov 6, 2024
c0cb361
Merge pull request #169 from fauna/apply-checkstyle
pnwpedro Nov 6, 2024
3311626
Add javadocs for query stats classes
pnwpedro Nov 6, 2024
11f200b
Apply suggestions from code review
pnwpedro Nov 6, 2024
3fe0910
Merge pull request #170 from fauna/QueryStats-javadocs
pnwpedro Nov 6, 2024
700a624
Fix checkstyle and javadocs in com.fauna.response
pnwpedro Nov 6, 2024
1fc6db2
Review feedback
jrodewig Nov 6, 2024
9847fcf
Merge pull request #171 from fauna/com.fauna.response-javadocs
pnwpedro Nov 6, 2024
14ba81b
Merge pull request #167 from fauna/update-event-feeds-readme
findgriffin Nov 6, 2024
78480d5
Update README.md
jrodewig Nov 6, 2024
91f9dff
Merge remote-tracking branch 'origin/main' into readme-stream-refactor
jrodewig Nov 6, 2024
ebc3719
Merge pull request #168 from fauna/readme-stream-refactor
findgriffin Nov 6, 2024
be0d9ff
Add AWS Lambda tests to Pipeline.
Nov 6, 2024
f63b1b5
Fix checkstyle and javadocs in com.fauna.types.*
pnwpedro Nov 7, 2024
77eb87d
Increase line length
pnwpedro Nov 7, 2024
81e13fa
Fix checkstyle and javadocs in com.fauna.query.*
pnwpedro Nov 7, 2024
36bf66c
A few left overs from response
pnwpedro Nov 7, 2024
8d43f33
Implement PR feedback
pnwpedro Nov 7, 2024
75ae365
Merge pull request #173 from fauna/more-checkstyle-fixes
pnwpedro Nov 7, 2024
8c7f27f
Fix checkstyle issues in com.fauna.mapping.*
pnwpedro Nov 7, 2024
614e096
Merge branch 'main' into BT-4262-java-lambda
Nov 7, 2024
7c7a35e
Ensure packageJar compiles, and output to build/distributions/fauna-j…
Nov 7, 2024
db9a4a3
Apply suggestions from code review
pnwpedro Nov 8, 2024
66c59d7
Merge pull request #174 from fauna/com.fauna.mapping-javadocs
pnwpedro Nov 8, 2024
74fba2e
Fix checkstyle issues in com.fauna.exceptions
pnwpedro Nov 11, 2024
052e494
Apply suggestions from code review
pnwpedro Nov 11, 2024
fdfc88c
Merge pull request #175 from fauna/com.fauna.exception-javadocs
pnwpedro Nov 11, 2024
d5a5d5a
Fix checkstyle issues in com.fauna.event
pnwpedro Nov 11, 2024
2e18dc7
Fix checkstyle issues in com.fauna.env
pnwpedro Nov 11, 2024
106cce5
Fix checkstyle issues in com.fauna.constants-javadocs
pnwpedro Nov 11, 2024
cdde938
Merge pull request #177 from fauna/com.fauna.env-javadocs
pnwpedro Nov 11, 2024
88f17e8
PR feedback: Remove unuse GIT_COMMIT env var.
Nov 11, 2024
27cbf16
Update README for GA release
jrodewig Nov 11, 2024
6f3956b
Merge pull request #172 from fauna/BT-4262-java-lambda
findgriffin Nov 11, 2024
0bc6308
Update src/main/java/com/fauna/constants/Defaults.java
findgriffin Nov 11, 2024
3610a4f
Update src/main/java/com/fauna/constants/Defaults.java
findgriffin Nov 11, 2024
f8c6dcc
Update src/main/java/com/fauna/constants/ErrorMessages.java
findgriffin Nov 11, 2024
d74252e
Update src/main/java/com/fauna/constants/ResponseFields.java
findgriffin Nov 11, 2024
856d689
Update src/main/java/com/fauna/constants/ErrorMessages.java
findgriffin Nov 11, 2024
a74f5ee
Update src/main/java/com/fauna/constants/ResponseFields.java
findgriffin Nov 11, 2024
81f27b5
Apply James' suggestions with links
findgriffin Nov 11, 2024
7b7d86f
Apply suggestions from code review
findgriffin Nov 11, 2024
26ea423
Update src/main/java/com/fauna/event/package-info.java
findgriffin Nov 11, 2024
c0f2997
Fix typo in GitHub URL.
Nov 11, 2024
cc38a39
Merge pull request #180 from fauna/BT-4262-github-typo
findgriffin Nov 11, 2024
da40bb5
Merge pull request #176 from fauna/com.fauna.event-javadocs
pnwpedro Nov 12, 2024
5056397
Merge pull request #178 from fauna/com.fauna.constants-javadocs
pnwpedro Nov 12, 2024
8f0f272
Update README for GA release
jrodewig Nov 12, 2024
9a73c93
Fix checkstyle issues in com.fauna.codec
pnwpedro Nov 12, 2024
64d2c73
Review feedback
jrodewig Nov 12, 2024
77b1727
Merge pull request #181 from fauna/com.fauna.codec-javadocs
pnwpedro Nov 12, 2024
d5ab787
Fix checkstyle issues in com.fauna.client
pnwpedro Nov 12, 2024
2cf49bd
Merge pull request #182 from fauna/com.fauna.client-javadocs
pnwpedro Nov 12, 2024
597a1f9
Handle unmaterialized sets in PageCodec
pnwpedro Nov 12, 2024
953f8e4
Merge pull request #183 from fauna/decode-unmaterialized-sets
findgriffin Nov 12, 2024
5c518ae
Remove references to EventSourceResponse.
Nov 12, 2024
26336e1
Delete EventSourceResponse.java.
Nov 12, 2024
1555cc3
Apply suggestions from code review
pnwpedro Nov 13, 2024
17ee17a
Merge pull request #184 from fauna/BT-5321-eventsource
pnwpedro Nov 13, 2024
e497d52
[DOCS-3726] Replace `EventSourceResponse` with `EventSource`
jrodewig Nov 13, 2024
e874908
Merge pull request #186 from fauna/readme-evt-source-replace
jrodewig Nov 13, 2024
1eafa70
gradle.properties: set version to 1.0.
Nov 13, 2024
d09c99c
Fix: Test should now expect 1.something.
Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/gradle-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
java-version: '17'
distribution: corretto

- name: Run checkstyle
run: ./gradlew checkstyleMain

- name: Run Gradle test
run: ./gradlew test -i

Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ replay_pid*

#macOs
.DS_STORE

# Internal files
.fauna-project
rawstats*.csv
stats*.txt
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "perf-test-setup"]
path = perf-test-setup
url = [email protected]:fauna/driver-perf-utils.git
Loading
Loading