Skip to content

Commit

Permalink
chore: Rename dozer-orchestrator to dozer-cli (#1592)
Browse files Browse the repository at this point in the history
  • Loading branch information
karolisg authored May 24, 2023
1 parent 72f2861 commit 51861b8
Show file tree
Hide file tree
Showing 48 changed files with 53 additions and 53 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
run: cargo install cargo-deb

- name: Compile deb file
run: cargo-deb -p dozer-orchestrator --target ${{ matrix.target }} --output ./deb/${{matrix.asset_name}}.deb
run: cargo-deb -p dozer-cli --target ${{ matrix.target }} --output ./deb/${{matrix.asset_name}}.deb

- name: Prepare release assets
shell: bash
Expand Down Expand Up @@ -347,7 +347,7 @@ jobs:

- name: Compile deb file
if: matrix.os == 'ubuntu-20-16-cores'
run: cargo-deb -p dozer-orchestrator --output ./deb/${{matrix.asset_name}}.deb
run: cargo-deb -p dozer-cli --output ./deb/${{matrix.asset_name}}.deb

# - name: Build Linux binary
# if: matrix.os == 'ubuntu-20-16-cores'
Expand Down
66 changes: 33 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ members = [
"dozer-types",
"dozer-storage",
"dozer-core",
"dozer-orchestrator",
"dozer-cli",
"dozer-sql",
"dozer-cache",
"dozer-tracing",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Dozer requires `protobuf-compiler`, installation instructions can be found in [a
**Build from source**

```bash
cargo install --path dozer-orchestrator --locked
cargo install --path dozer-cli --locked
```

### Run it
Expand Down
2 changes: 1 addition & 1 deletion dozer-orchestrator/Cargo.toml → dozer-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "dozer-orchestrator"
name = "dozer-cli"
version = "0.1.22"
edition = "2021"
default-run = "dozer"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions dozer-orchestrator/src/main.rs → dozer-cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
use clap::Parser;
#[cfg(feature = "cloud")]
use dozer_orchestrator::cli::cloud::CloudCommands;
use dozer_orchestrator::cli::generate_config_repl;
use dozer_orchestrator::cli::types::{ApiCommands, AppCommands, Cli, Commands, ConnectorCommands};
use dozer_orchestrator::cli::{init_dozer, init_dozer_with_default_config, list_sources, LOGO};
use dozer_orchestrator::errors::{CliError, OrchestrationError};
use dozer_orchestrator::simple::SimpleOrchestrator;
use dozer_cli::cli::cloud::CloudCommands;
use dozer_cli::cli::generate_config_repl;
use dozer_cli::cli::types::{ApiCommands, AppCommands, Cli, Commands, ConnectorCommands};
use dozer_cli::cli::{init_dozer, init_dozer_with_default_config, list_sources, LOGO};
use dozer_cli::errors::{CliError, OrchestrationError};
use dozer_cli::simple::SimpleOrchestrator;
#[cfg(feature = "cloud")]
use dozer_orchestrator::CloudOrchestrator;
use dozer_orchestrator::{set_ctrl_handler, set_panic_hook, shutdown, Orchestrator};
use dozer_cli::CloudOrchestrator;
use dozer_cli::{set_ctrl_handler, set_panic_hook, shutdown, Orchestrator};
use dozer_types::models::telemetry::TelemetryConfig;
use dozer_types::tracing::{error, info};
use serde::Deserialize;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion dozer-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ path = "src/sql_tests/logic_test.rs"
dozer-types = { path = "../dozer-types" }
dozer-api = { path = "../dozer-api" }
dozer-utils = { path = "../dozer-utils" }
dozer-orchestrator = { path = "../dozer-orchestrator" }
dozer-cli = { path = "../dozer-cli" }
dozer-tracing = { path = "../dozer-tracing" }

reqwest = { version = "0.11.14", features = ["json", "rustls-tls"], default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion dozer-tests/log4rs.tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ loggers:
- sql
dozer_core:
level: off
dozer_orchestrator:
dozer_cli:
level: off
2 changes: 1 addition & 1 deletion dozer-tests/scripts/load_test_grpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
hash ghz 2>/dev/null || { echo >&2 "ghz (https://ghz.sh) is needed for load testing grpc service. Aborting."; exit 1; }

# Start dozer
cargo build -p dozer-orchestrator --release
cargo build -p dozer-cli --release
./target/release/dozer &
DOZER_PID=$!
echo Dozer server pid $DOZER_PID
Expand Down
2 changes: 1 addition & 1 deletion dozer-tests/scripts/load_test_rest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
hash drill 2>/dev/null || { echo >&2 "drill (cargo install drill) is needed for load testing grpc service. Aborting."; exit 1; }

# Start dozer
cargo build -p dozer-orchestrator --release
cargo build -p dozer-cli --release
./target/release/dozer &
DOZER_PID=$!
echo Dozer server pid $DOZER_PID
Expand Down
2 changes: 1 addition & 1 deletion dozer-tests/src/e2e_tests/case.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use dozer_orchestrator::cli::load_config_from_file;
use dozer_cli::cli::load_config_from_file;
use dozer_types::constants::DEFAULT_CONFIG_PATH;
use std::{
collections::HashMap,
Expand Down
2 changes: 1 addition & 1 deletion dozer-tests/src/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ pub fn init() {
let _ = dozer_tracing::init_telemetry(None, None);
download("actor");

dozer_orchestrator::set_panic_hook();
dozer_cli::set_panic_hook();
});
}
2 changes: 1 addition & 1 deletion dozer-tests/src/tests/e2e/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::{future::Future, sync::Arc, thread::JoinHandle, time::Duration};

use dozer_api::tonic::transport::Channel;
use dozer_orchestrator::{
use dozer_cli::{
shutdown::{self, ShutdownSender},
simple::SimpleOrchestrator,
Orchestrator,
Expand Down

0 comments on commit 51861b8

Please sign in to comment.