Commit 9ef76c3
Move to blocking client, towards virtual threads
Rather than build everything from the bottom up around the complexity
of CompletableFutures and Flows, migrating to a blocking approach and
remove the async client and async methods. We will move towards more
virtual threads-based approaches, and increase the minimum Java version.
The server has not yet been updated, and we should look at possible
ways to implement blocking/queue style event streams if possible.
This change also requires us to bump the minimum version from
Java 17 to 21.1 parent 6bf2bf1 commit 9ef76c3
File tree
87 files changed
+597
-1620
lines changed- auth-api/src/main/java/software/amazon/smithy/java/auth/api
- identity
- aws
- aws-event-streams/src/main/java/software/amazon/smithy/java/aws/events
- aws-sigv4/src
- jmh/java/software/amazon/smithy/java/aws/client/auth/scheme/sigv4
- main/java/software/amazon/smithy/java/aws/client/auth/scheme/sigv4
- test/java/software/amazon/smithy/java/aws/client/auth/scheme/sigv4
- client
- aws-client-awsjson/src/main/java/software/amazon/smithy/java/aws/client/awsjson
- aws-client-core/src
- main/java/software/amazon/smithy/java/aws/client/core/identity
- test/java/software/amazon/smithy/java/aws/client/core/identity
- aws-client-rulesengine/src/jmh/java/software/amazon/smithy/java/aws/client/rulesengine
- sdkv2/aws-sdkv2-auth/src
- main/java/software/amazon/smithy/java/aws/sdkv2/auth
- test/java/software/amazon/smithy/java/aws/sdkv2/auth
- server/aws-server-restjson/src/main/java/software/amazon/smithy/java/aws/server/restjson
- buildSrc/src/main/kotlin
- client
- client-auth-api/src/main/java/software/amazon/smithy/java/client/core/auth/scheme
- client-core/src
- main/java/software/amazon/smithy/java/client/core
- endpoint
- pagination
- test/java/software/amazon/smithy/java/client/core
- auth/identity
- endpoint
- pagination
- client-http-binding/src
- main/java/software/amazon/smithy/java/client/http/binding
- test/java/software/amazon/smithy/java/client/http/binding
- client-http/src
- main/java/software/amazon/smithy/java/client/http
- auth
- plugins
- test/java/software/amazon/smithy/java/client/http
- auth
- client-mock-plugin/src/main/java/software/amazon/smithy/java/client/http/mock
- client-rpcv2-cbor/src/main/java/software/amazon/smithy/java/client/rpcv2
- client-rulesengine/src
- main/java/software/amazon/smithy/java/client/rulesengine
- test/java/software/amazon/smithy/java/client/rulesengine
- client-waiters/src/test/java/software/amazon/smithy/java/client/waiters
- dynamic-client/src
- main/java/software/amazon/smithy/java/dynamicclient
- test/java/software/amazon/smithy/java/dynamicclient
- codegen
- codegen-core/src/it/java/software/amazon/smithy/java/codegen/test
- integrations/waiters-codegen/src/main/java/software/amazon/smithy/java/codegen/client/waiters
- plugins/client-codegen/src
- main/java/software/amazon/smithy/java/codegen/client
- generators
- sections
- test/java/software/amazon/smithy/java/codegen/client
- examples
- dynamodb-client/src/jmh/java/software/amazon/smithy/java/example/dynamodb
- restjson-client/src/it/java/software/amazon/smithy/java/example
- http/http-binding/src/main/java/software/amazon/smithy/java/http/binding
- io/src/test/java/software/amazon/smithy/java/io/datastream
- protocol-test-harness/src/main/java/software/amazon/smithy/java/protocoltests/harness
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
87 files changed
+597
-1620
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
| 22 | + | |
24 | 23 | | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 8 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
59 | 37 | | |
60 | | - | |
61 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
62 | 41 | | |
63 | 42 | | |
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
| 22 | + | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | | - | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | | - | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| |||
110 | 108 | | |
111 | 109 | | |
112 | 110 | | |
113 | | - | |
| 111 | + | |
114 | 112 | | |
115 | | - | |
| 113 | + | |
116 | 114 | | |
117 | 115 | | |
118 | 116 | | |
| |||
Lines changed: 24 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 100 | + | |
106 | 101 | | |
107 | 102 | | |
108 | 103 | | |
| |||
111 | 106 | | |
112 | 107 | | |
113 | 108 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
136 | 130 | | |
137 | 131 | | |
138 | | - | |
139 | | - | |
| 132 | + | |
| 133 | + | |
140 | 134 | | |
141 | 135 | | |
142 | 136 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
0 commit comments