feat: refactor http/json support into fine-grained modules#55
Merged
Conversation
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Contributor
Author
evacchi
commented
Jun 25, 2025
evacchi
commented
Jun 25, 2025
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Contributor
Author
|
I wonder if I could just leave the toplevel as |
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
fb314ab to
65a151e
Compare
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
closes #40, supersedes #41
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:
Moved core classes toorg.extism.sdk.chicory.coreorg.extism.sdk.chicory.http.*HTTP Configuration Changes:
Lazyclass with explicit configuration providersException Handling:
ExtismConfigurationExceptionfor configuration issues