Repository navigation
Commit b8aa9ea
Split modules into contract (core) and implementations (client-*), align names
core keeps the TypeSafeClient interface, its decorators, TypeSafeException, the
model and the JsonCodec SPI. DefaultTypeSafeClient, ApiKey and the HttpTransport
SPI move to the new client-http module, so the compiler now enforces that core
never sees the HTTP client; TypeSafeClient.builder() becomes
DefaultTypeSafeClient.builder().
Every module's directory, artifact and package share one name:
client-http-jdk, client-http-okhttp, codec-jackson2, codec-jackson3,
client-local, client-mapping, client-testkit (io.github.dfa1.typesafe.<module>,
dashes as dots). No client-* module depends on another in production.
ADR 0003 records the layout (closes #12).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent b1a86bb commit b8aa9ea
118 files changed
Lines changed: 592 additions & 427 deletions
File tree
- .github/workflows
- acceptance
- src/test/java/io/github/dfa1/typesafe/acceptance
- adr
- bom
- client-http-jdk
- src
- main
- java/io/github/dfa1/typesafe/client/http/jdk
- resources/META-INF/services
- test/java/io/github/dfa1/typesafe/client/http/jdk
- client-http-okhttp
- src
- main
- java/io/github/dfa1/typesafe/client/http/okhttp
- resources/META-INF/services
- test/java/io/github/dfa1/typesafe/client/http/okhttp
- client-http
- src
- main/java/io/github/dfa1/typesafe/client/http
- test/java/io/github/dfa1/typesafe/client/http
- client-jdk/src/main/resources/META-INF/services
- client-local
- scripts
- clef
- laya
- tokenizer
- src
- main/java/io/github/dfa1/typesafe/client/local
- test
- java/io/github/dfa1/typesafe/client/local
- resources
- clef
- jev
- laya
- tokenizer
- client-mapping
- src
- main/java/io/github/dfa1/typesafe/client/mapping
- test/java/io/github/dfa1/typesafe/client/mapping
- client-okhttp/src/main/resources/META-INF/services
- client-testkit
- src
- main/java/io/github/dfa1/typesafe/client/testkit
- test/java/io/github/dfa1/typesafe/client/testkit
- cli
- src
- main/java/io/github/dfa1/typesafe/cli
- test/java/io/github/dfa1/typesafe/cli
- codec-jackson2
- src
- main
- java/io/github/dfa1/typesafe/codec/jackson2
- resources/META-INF/services
- test/java/io/github/dfa1/typesafe/codec/jackson2
- codec-jackson3
- src
- main
- java/io/github/dfa1/typesafe/codec/jackson3
- resources/META-INF/services
- test/java/io/github/dfa1/typesafe/codec/jackson3
- core
- src/main/java/io/github/dfa1/typesafe
- codec
- core
- docs
- jackson2/src/main/resources/META-INF/services
- jackson3/src/main/resources/META-INF/services
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | | - | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments