Skip to content

Commit

Permalink
Merge pull request #327 from jeremyandrews/defaults
Browse files Browse the repository at this point in the history
Move configuration into dedicated file
  • Loading branch information
jeremyandrews authored Jul 14, 2021
2 parents 7eb066a + 9ace78a commit 124d0fa
Show file tree
Hide file tree
Showing 17 changed files with 2,564 additions and 2,423 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- rename `rustls` feature to `rustls-tls` so `tests/controller.rs` can build with the `rustls` library; update `tungstenite` to `0.14` and `tokio-tungstenite` = `0.15` to allow building with `rustls`
- documentation cleanup; properly rename `GooseDefault::RequestFormat` and fix links
- always configure `GooseConfiguration.manager` and `GooseConfiguration.worker`; confirm Manager is enabled when setting `--expect-workers`
- moved `GooseConfiguration`, `GooseDefault`, and `GooseDefaultType` into new `src/config.rs` file; standardized configuration precedence through internal `GooseConfigure` trait defining `get_value()` for all supported types; general improvements to configuration documentation

## 0.12.0 July 8, 2021
- remove internal-only functions and structures from documentation, exposing only what's useful to consumers of the Goose library (API change)
Expand Down
2,277 changes: 2,277 additions & 0 deletions src/config.rs

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
//! By default, Goose launches both a telnet Controller and a WebSocket Controller, allowing
//! real-time control of the running load test.
use crate::config::GooseConfiguration;
use crate::metrics::GooseMetrics;
use crate::util;
use crate::{AttackPhase, GooseAttack, GooseAttackRunState, GooseConfiguration, GooseError};
use crate::{AttackPhase, GooseAttack, GooseAttackRunState, GooseError};

use async_trait::async_trait;
use futures::{SinkExt, StreamExt};
Expand Down
Loading

0 comments on commit 124d0fa

Please sign in to comment.