diff --git a/driver-http/src/main/resources/activities/baselines/http-iot.yaml b/driver-http/src/main/resources/activities/baselines/http-iot.yaml index dda344b73..f625a647b 100644 --- a/driver-http/src/main/resources/activities/baselines/http-iot.yaml +++ b/driver-http/src/main/resources/activities/baselines/http-iot.yaml @@ -1,4 +1,4 @@ -# nb -v run driver=http yaml=http-iot tags=phase:schema stargate_host=my_stargate_host +# nb -v run driver=http yaml=http-iot tags=phase:schema host=my_stargate_host stargate_host=my_stargate_host auth_token=$AUTH_TOKEN description: | This workload emulates a time-series data model and access patterns. This should be identical to the cql variant except for: @@ -85,7 +85,7 @@ blocks: params: ratio: <> statements: - - main-select: GET /v2/keyspaces/<>/<>?where=E[[{"machine_id":{"$eq":"{machine_id}"}},"sensor_name":{"$eq":"{sensor_name}"},"page-size":{"$eq":"<>"}}]] + - main-select: GET http://<>:<>/v2/keyspaces/<>/<>?where=E[[{"machine_id":{"$eq":"{machine_id}"},"sensor_name":{"$eq":"{sensor_name}"}}]]&page-size=<> Accept: "application/json" X-Cassandra-Request-Id: "{request_id}" X-Cassandra-Token: "<>" @@ -106,7 +106,7 @@ blocks: Content-Type: "application/json" body: | { - "machine_id": "{machine_id}" + "machine_id": "{machine_id}", "sensor_name": "{sensor_name}", "time": "{time}", "sensor_value": "{sensor_value}", diff --git a/driver-http/src/main/resources/activities/baselines/http-keyvalue.yaml b/driver-http/src/main/resources/activities/baselines/http-keyvalue.yaml index 34939cef2..41daf905f 100644 --- a/driver-http/src/main/resources/activities/baselines/http-keyvalue.yaml +++ b/driver-http/src/main/resources/activities/baselines/http-keyvalue.yaml @@ -1,4 +1,4 @@ -# nb -v run driver=http yaml=http-keyvalue tags=phase:schema stargate_host=my_stargate_host +# nb -v run driver=http yaml=http-keyvalue tags=phase:schema stargate_host=my_stargate_host auth_token=$AUTH_TOKEN description: | This workload emulates a key-value data model and access patterns. This should be identical to the cql variant except for: @@ -84,7 +84,7 @@ blocks: params: ratio: 5 statements: - - main-select: GET /v2/keyspaces/<>/<>?where=E[[{"key":{"$eq":"{rw_key}"}}}]] + - main-select: GET http://<>:<>/v2/keyspaces/<>/<>/{rw_key} Accept: "application/json" X-Cassandra-Request-Id: "{request_id}" X-Cassandra-Token: "<>" @@ -105,7 +105,7 @@ blocks: Content-Type: "application/json" body: | { - "key": "{rw_key}" + "key": "{rw_key}", "value": "{rw_value}" } tags: diff --git a/driver-http/src/main/resources/activities/baselines/http-tabular.yaml b/driver-http/src/main/resources/activities/baselines/http-tabular.yaml index a87da9382..bbec96bd6 100644 --- a/driver-http/src/main/resources/activities/baselines/http-tabular.yaml +++ b/driver-http/src/main/resources/activities/baselines/http-tabular.yaml @@ -1,4 +1,4 @@ -# nb -v http-tabular rampup-cycles=1E6 main-cycles=1E9 stargate_host=my_stargate_host +# nb -v http-tabular rampup-cycles=1E6 main-cycles=1E9 stargate_host=my_stargate_host auth_token=$AUTH_TOKEN description: | This workload emulates a time-series data model and access patterns. This should be identical to the cql variant except for: