haixuanTao
cb39cb00a1
Improve error message for logs
3 years ago
haixuanTao
ca182bb131
Provide a way to access logs through the CLI
3 years ago
Philipp Oppermann
8bf124a014
Merge branch 'main' into multiple-daemons
3 years ago
Philipp Oppermann
bf12a7b496
Canoncialize dataflow path to determine working dir
The path should also be valid on the receiving node, which might run in a different directory.
3 years ago
Philipp Oppermann
c28427d8da
Pass parsed dataflow descriptor instead of path
We still need to pass the path through a new `working_dir` field as we haven't figured out deployment of compiled nodes/operators yet.
3 years ago
Philipp Oppermann
aac5e6515a
Integrate `dora-runtime` into `dora-daemon`
Removes the separate `dora-runtime` binary. The runtime can now be started by passing `--run-dora-runtime` to `dora-daemon`. This change makes setup and deployment easier since it removes one executable that needs to be copied across machines.
3 years ago
Philipp Oppermann
72a57ce1ef
Remove deprecated `communication` options from dataflow examples, templates, and docs
3 years ago
Philipp Oppermann
5068e14fb1
Improve error message when failing to connect to coordinator
3 years ago
Philipp Oppermann
d3e380a80f
Don't print file location on errors in dora CLI
This information is not relevant to users and might confuse them.
3 years ago
Philipp Oppermann
f0b10261a4
Remove special-casing of dora list again
We now exit with an error exit code again when no coordinator is running.
3 years ago
Philipp Oppermann
0679b1cc3c
CLI: Improve error messages when coordinator is not running
3 years ago
Philipp Oppermann
7b8de70f88
Set deploy defaults when resolving aliases
Ensures that we set them also when using the daemon's `run_dataflow` function for examples.
3 years ago
haixuanTao
c2071e7539
Fix clippy and remove unwanted `.unwrap`
3 years ago
haixuanTao
fb694dfcc4
Add `dora-cli` name for tracing
3 years ago
haixuanTao
2f6eb3833f
Address PR comments by removing unsued event, removing reloading todos, and removing `info!` on `cli` querying of `coordinator`
3 years ago
haixuanTao
edf59d5318
Fix CI issue with not retrieving UUID
3 years ago
haixuanTao
8f05ec79a1
Add attach logic and hot-reloading logic to the cli
3 years ago
haixuanTao
2b1ae1ad93
Add `runtime_path` arg into descriptor check
typography
3 years ago
haixuanTao
a15cf4a64d
add `is_valid` method to make validation optional
3 years ago
haixuanTao
704d8db565
Use validation logic on every yaml description to avoid undefined behaviour
3 years ago
haixuanTao
db92865c3f
Remove duplicated `read_descriptor` function
3 years ago
Philipp Oppermann
7f3041ed6c
Allow configuring queue size per input
3 years ago
Haixuan Xavier Tao
18d2c558c0
Merge pull request #211 from dora-rs/add-rust-api-info
Make `dora-rs` publishable on `crates.io`
3 years ago
haixuanTao
8e58396213
remove header file from template
3 years ago
haixuanTao
ad2d08dc97
Copy c header file in template to avoid copying it from outside of
the src code.
This is link to a release issue. See: https://users.rust-lang.org/t/include-str-does-not-work-when-releasing-because-of-changed-pathes/15551
testing new release version
3 years ago
haixuanTao
7a7a20a298
Add missing licenses and centralise license definition
test new crates version release
3 years ago
haixuanTao
101ddd2092
add documentation and description to all crates
test rc 2 version
fix version typo
Test crates.io new dora tag release
3 years ago
haixuanTao
f5b65d6de7
Remove unused dependencies to simplify publishing
Remove unused dependencies
3 years ago
haixuanTao
4c137f8505
Add documentation to the cli within the helper mode.
This commit add documentation to the cli. The cli will now show the
following documentation when prompted without arguments:
```bash
(dora3.10) ~/D/C/dora ❯❯❯ dora-cli (dora3.10) cli-documentation ✭ ✱
dora-rs cli client
Usage: dora-cli <COMMAND>
Commands:
check Check if the coordinator and the daemon is running
graph Generate a visualization of the given graph using mermaid.js. Use --open to open browser
build Run build commands provided in the given dataflow
new Generate a new project, node or operator. Choose the language between Rust, Python, C or C++
up Spawn a coordinator and a daemon
destroy Destroy running coordinator and daemon. If some dataflows are still running, they will be stopped first
start Start the given dataflow path. Attach a name to the running dataflow by using --name
stop Stop the given dataflow UUID. If no id is provided, you will be able to choose between the running dataflows
list List running dataflows
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help information
-V, --version Print version information
```
3 years ago
Philipp Oppermann
f2fb2ffab6
Merge pull request #210 from dora-rs/remove-workspace-path
Clean up: Remove workspace path
3 years ago
Philipp Oppermann
7ede910fad
Add an internal cli argument to create template with path dependencies
3 years ago
haixuanTao
f1cf0864a4
Remove static path from workspace dependency
Removing those path make it easier to move package, reduce path management
reduce complexity and make it easier to export crates to `crates.io`
3 years ago
Philipp Oppermann
7394ff57c6
Merge pull request #208 from dora-rs/cleanup
Cleanup warnings
3 years ago
Philipp Oppermann
1cfe2dad4e
Merge pull request #204 from dora-rs/fix-template
Fix cli template to new daemon API
3 years ago
haixuanTao
59a10d5fc6
Fix clippy warnings
3 years ago
Haixuan Xavier Tao
4a026e0e11
Merge pull request #203 from dora-rs/fix-zenoh
Update zenoh to remove git dependencies
3 years ago
Philipp Oppermann
d30bc9f42a
Remove unimplemented CLI arguments
3 years ago
haixuanTao
2b40407d21
Split rust operators into single operator
We currently have a legacy limitation to only allow one operator per runtime
and it would be better to bake that into the template for now.
3 years ago
haixuanTao
a0ebff1c86
Updating template to the new daemon API
3 years ago
haixuanTao
e6b1bcf08d
adding the `operator_types.h` required for c operator compilation
3 years ago
haixuanTao
764cd120a4
remove slash from zenoh prefix
3 years ago
haixuanTao
447777a14c
Remove `remove_dir_al` as it is vulnerable to a race condition according to dependabot
3 years ago
Philipp Oppermann
019e411eef
Change CLI control request reply type
3 years ago
Philipp Oppermann
8226805eb4
Fix import in Rust operator template
3 years ago
Philipp Oppermann
11bb9e446a
Update Rust operator template
3 years ago
Philipp Oppermann
3658b5356d
Fix import in Rust node template
3 years ago
Philipp Oppermann
d334c6f243
Make `daemon` module of Rust node API private and reexport symbols
3 years ago
Philipp Oppermann
8c8f56a368
Update Python operator template for new `on_event` method
3 years ago
Philipp Oppermann
1e07a73a64
Merge branch 'main' into unify-nodes-and-operators
3 years ago
haixuanTao
c0f25ea4be
Fix typo in dataflow template for yaml creation
3 years ago