plano/arch
2024-10-27 22:50:38 -07:00
..
tools Merge branch 'main' into debug-streaming-v2 2024-10-24 15:33:40 -07:00
arch_config_schema.yaml more updates 2024-10-24 15:32:51 -07:00
build_filter_image.sh updates 2024-10-24 01:32:21 -07:00
docker-compose.dev.yaml more updates 2024-10-24 15:32:51 -07:00
docker-compose.e2e.yaml use e2e docker compose file 2024-10-27 00:10:36 -07:00
docker-compose.yaml add stage env 2024-10-27 22:50:38 -07:00
Dockerfile updates 2024-10-24 01:32:21 -07:00
envoy.template.yaml add e2e tests 2024-10-26 14:14:10 -07:00
README.md Update README.md 2024-10-08 17:20:51 -07:00
requirements.txt simplify developer getting started experience (#102) 2024-10-01 10:02:23 -07:00
stage.env add stage env 2024-10-27 22:50:38 -07:00

Envoy filter code for gateway

Add toolchain

$ rustup target add wasm32-wasi

Building

$ cargo build --target wasm32-wasi --release

Testing

$ cargo test

Local development

  • Build docker image for arch gateway. Note this needs to be built once.

    $ sh build_filter_image.sh
    
  • Build filter binary,

    $ cargo build --target wasm32-wasi --release
    
  • Start envoy with arch_config.yaml and test,

    $ docker compose -f docker-compose.dev.yaml up archgw
    
  • dev version of docker-compose file uses following files that are mounted inside the container. That means no docker rebuild is needed if any of these files change. Just restart the container and chagne will be picked up,

    • envoy.template.yaml
    • intelligent_prompt_gateway.wasm