This is a proxy-wasm filter integration for 3scale.
Please check out the reference for information on how to set up and configure this module. For information on the supported operations, read the operations reference.
To run the demo:
- Edit lds.conf in compose/envoy to fill in service data (ids, tokens, rules, ...).
- Optionally edit compose/envoy/envoy.yaml to point the 3scale SaaS cluster to your 3scale (backend) instance.
- Run
make build-with-container
to build the WebAssembly extension. - Run
make up
to run thedocker-compose
environment. - Run
make shell
in a different terminal and explore the scripts in/examples
. There is an OIDC script that obtains a token from Keycloak and uses it to authenticate against the proxy.
If you set up other limits, those should be respected by this plug-in, and reporting should be happening and visible in your 3scale dashboard.
Run make help
to learn about a few targets useful for these environments.
You will also find useful contents under the servicemesh
directory.
If you want to test this module with the Bookinfo sample application there are targets to ease debugging by automatically deploying CRDs or streaming logs.