Commit b6adc85
committed
Use a custom unit_tester wasm plugin to implement the jaxrs unit tests.
This help find and fix some additional issues:
* ReaderInterceptor would be called if jaxrs method did not use the body.
* We now resume paused http context when a local http response is sent.
Signed-off-by: Hiram Chirino <hiram@hiramchirino.com>1 parent c1e8b7f commit b6adc85
File tree
47 files changed
+812
-222
lines changed- proxy-wasm-java-host/src
- main/java/io/roastedroot/proxywasm
- test/go-examples
- dispatch_call_on_tick
- foreign_call_on_tick
- helloworld
- http_auth_random
- http_body_chunk
- http_body
- http_headers
- http_routing
- json_validation
- metrics
- multiple_dispatches
- network
- postpone_requests
- properties
- unit_tester
- vm_plugin_configuration
- proxy-wasm-jaxrs-quarkus-example
- src
- main
- java/io/roastedroot/proxywasm/jaxrs/example
- resources
- test/java/io/roastedroot/proxywasm/jaxrs/example
- proxy-wasm-jaxrs/src/main/java/io/roastedroot/proxywasm/jaxrs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+812
-222
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments