diff --git a/activitytype-cql/src/main/java/io/nosqlbench/activitytype/cql/core/CQLOptions.java b/activitytype-cql/src/main/java/io/nosqlbench/activitytype/cql/core/CQLOptions.java index 0c729ceef..e81447bfe 100644 --- a/activitytype-cql/src/main/java/io/nosqlbench/activitytype/cql/core/CQLOptions.java +++ b/activitytype-cql/src/main/java/io/nosqlbench/activitytype/cql/core/CQLOptions.java @@ -3,7 +3,7 @@ package io.nosqlbench.activitytype.cql.core; import com.datastax.driver.core.*; import com.datastax.driver.core.policies.*; import io.netty.util.HashedWheelTimer; -import io.nosqlbench.engine.api.exceptions.BasicError; +import io.nosqlbench.nb.api.errors.BasicError; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/engine-docs/src/main/resources/docs-for-nb/designing_workloads/index.md b/engine-docs/src/main/resources/docs-for-nb/designing_workloads/index.md index f613578e2..e8458fff8 100644 --- a/engine-docs/src/main/resources/docs-for-nb/designing_workloads/index.md +++ b/engine-docs/src/main/resources/docs-for-nb/designing_workloads/index.md @@ -31,11 +31,15 @@ types. Try to keep that in mind as you think about designing workloads. ### Review existing examples -The built-in workloads that are include with nosqlbench are also shared -on the github site where we manage the nosqlbench project: +The built-in workloads that are include with nosqlbench are also easy to copy out as a starting point. You just need to +use two commands: -- [baselines](https://github.com/datastax/nosqlbench-labs/tree/master/sample-activities/baselines) -- [bindings](https://github.com/datastax/nosqlbench-labs/tree/master/sample-activities/bindings) + # find a workload you want to copy + nb --list-workloads + + + # copy a workload to your local directory + nb --copy-workload cql-iot ### Follow the conventions diff --git a/engine-docs/src/main/resources/docs-for-nb/getting_started/index.md b/engine-docs/src/main/resources/docs-for-nb/getting_started/index.md index eec5f5cca..4bfec21c5 100644 --- a/engine-docs/src/main/resources/docs-for-nb/getting_started/index.md +++ b/engine-docs/src/main/resources/docs-for-nb/getting_started/index.md @@ -33,13 +33,19 @@ To run a simple built-in workload run: ./nb cql-iot -To get a list of built-in workloads run: +To get a list of built-in scenarios run: + # Get a list of all named scenarios and parameters + ./nb --list-scenarios + +If you want a simple list of yamls which contain named scenarios, run: + + # Get a simple list of yamls containing named scenarios ./nb --list-workloads :::info -Note: this will include workloads that were shipped with nb and workloads in your local directory. To learn more about -how to design custom workloads see +Note: These commands will include workloads that were shipped with nb and workloads in your local directory. To learn +more about how to design custom workloads see [designing workloads](/index.html#/docs/designing_workloads.html) :::