Tags: smithy-lang/smithy-java
Tags
smithy-call (#620) * Everything except for PicoCLI works * Working Gradle * Refactor CLI package * Initial input revamp * Support json file path as an input type * add resource-config.json * First attempt in addressing Protocol Trait Issue * Support RestJson and RestXml protocols * First working version of CLI (requires retrieving local resource files. * First working version of CLI (requires retrieving local resource files. * Add endpoint url requirement for executing operations * Make protocol specification optional * Improve getResourceFiles() and executeClientCall * Replace io.* import * Improve model file retrieval * Have SigV4DSigner accommodate for custom ports * First working SigV4 call * Initial working CLI version with SigV4 * Enhance auth input handling, make CLI flags more descriptive. * clean-up build.gradle.kts * Remove unused reflect-config.json * Update error messages. * Remove explicit transport configuration. * Rename CLI to smithy-call * Remove unnecessary include * Rename resource file list * Remove Smithy plugin * Add README example * Rename URI port check to uriUsingStandardPort. * Update command descriptions * Make SmithyCall and SmithyCallRunner final classes. * Move protocol types into an Enum. * Remove redundant error handling * Output machine-readable JSON from operation calls. * Make --list-operations output more readable. * Correct document serialization to JSON. * Support multiple --model-path args. * Group together auth-related options. * Implement SEVERE level logs * Implement FINE level logs * Improve cross-checking for service name in model. * Add basic tests. * Rename json payload input. * Rename aws-sigv4 implementation. * Include ByteArrayOutputStream in try block * Revert "Include ByteArrayOutputStream in try block" This reverts commit 4dede25. * Simplify exception handling in tests. * Simplify exception handling in tests. * Add smithy aws traits as dependency * Update RPCV2 package naming * Add waiters dependency. * Remove unused dep * Improve ProtocolType enum handling. * Add consistent dependency handling. * Improve command descriptions. * Improve service name description. * Remove unused interceptor configuration. * Simply auth type switch statement. * Make out reading more efficient. * Remove stacktrace from input validation errors. * Change SmithyCall class to package-private. * Improve arg descriptions and names. * Support relative shape IDs. * Exclude non-service shape IDs while listing. * Add tests for relative shape ID support. * Update cli/src/main/java/software/amazon/smithy/java/cli/SmithyCall.java Improve --model-path description Co-authored-by: Michael Dowling <[email protected]> --------- Co-authored-by: Adwait Kumar Singh <[email protected]> Co-authored-by: Michael Dowling <[email protected]>