feat: refactor http/json support into fine-grained modules #41
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.
Refactors the Chicory SDK spinning out HTTP and JSON as optional components.
Notes
Key Changes
Project Structure Reorganization:
Module Breakdown:
core
: Contains the core SDK functionalityhttp/api
: Defines HTTP API interfaceshttp/client-javanet
: Implementation using Java's built-in HTTP clienthttp/client-urlconnection
: Implementation using HttpURLConnection (for Android)http/json-jackson
: JSON implementation using Jacksonhttp/json-jakarta
: JSON implementation using Jakarta JSONhttp/config-generic
: Pre-configured setup for standard Java environmentshttp/config-android
: Pre-configured setup for Android environmentshttp/integration-tests
: Tests for HTTP functionalityPackage Restructuring:
org.extism.sdk.chicory.core
org.extism.sdk.chicory.http.*
HTTP Configuration Changes:
Lazy
class with explicit configuration providersException Handling:
ExtismConfigurationException
for configuration issues