Commit afe441c
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 <michael@mtdowling.com>
---------
Co-authored-by: Adwait Kumar Singh <adwsingh@amazon.com>
Co-authored-by: Michael Dowling <michael@mtdowling.com>1 parent 67a5cd1 commit afe441c
11 files changed
Lines changed: 860 additions & 4 deletions
File tree
- aws/aws-sigv4/src/main/java/software/amazon/smithy/java/aws/client/auth/scheme/sigv4
- cli
- src
- main/java/software/amazon/smithy/java/cli
- test/java/software/amazon/smithy/java/cli
- gradle
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | | - | |
255 | 254 | | |
256 | 255 | | |
257 | | - | |
| 256 | + | |
258 | 257 | | |
259 | 258 | | |
260 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 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 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments