Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.27 KB

README.md

File metadata and controls

57 lines (42 loc) · 1.27 KB

Tooling

Build

$ cargo build --workspace

Document

$ cargo doc --workspace

Run

Redis

Start the Redis Stack server:

$ redis-stack-server

Initialize an index:

$ redis-cli
127.0.0.1:6379> FT.CREATE resourceSpecification ON JSON PREFIX 1 resourceSpecification: SCHEMA $.id AS id TAG

TMF634

Run

$ RUST_LOG=info cargo run --package oda_ri_tmf634 --bin tmf634_server
$ cargo run --package oda_ri_tmf634 --bin tmf634_server -- --help

Test

Warning

Before run tests required run Redis and create index.

$ RUST_LOG=info cargo test --package oda_ri_tmf634 --test integration_server_test -- --nocapture

TMF639

$ RUST_LOG=info cargo run --package oda_ri_tmf639 --bin tmf639_server
$ cargo run --package oda_ri_tmf639 --bin tmf639_client -- --help
$ RUST_LOG=info cargo run --package oda_ri_tmf639 --bin tmf639_client -- --host localhost ListResource