mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-01 04:49:18 -06:00
Merge pull request #321 from dougwettlaufer/update-gql-schema-first
Update schema-first workloads to reflect latest api
This commit is contained in:
commit
5497e20f24
@ -1,7 +1,6 @@
|
|||||||
# nb -v run driver=http yaml=http-graphql-keyvalue tags=phase:schema host=my_stargate_host stargate_host=my_stargate_host auth_token=$AUTH_TOKEN
|
# nb -v run driver=http yaml=http-graphql-keyvalue tags=phase:schema host=my_stargate_host stargate_host=my_stargate_host auth_token=$AUTH_TOKEN
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
# - /graphqlv2 will change in future, adapt when needed
|
|
||||||
# - do we need a truncate schema / namespace at the end
|
# - do we need a truncate schema / namespace at the end
|
||||||
|
|
||||||
description: |
|
description: |
|
||||||
@ -36,34 +35,47 @@ blocks:
|
|||||||
- tags:
|
- tags:
|
||||||
phase: schema
|
phase: schema
|
||||||
statements:
|
statements:
|
||||||
- create-keyspace: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/admin
|
- create-keyspace: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql-schema
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
Content-Type: "application/json"
|
Content-Type: "application/json"
|
||||||
body: |
|
body: |
|
||||||
{
|
{
|
||||||
"query":"mutation {\n createNamespace(name: \"<<keyspace:gqlsf_keyvalue>>\", replicas: <<rf:1>>) {\n namespace {\n name\n }\n }\n}\n"
|
"query":"mutation {\n createKeyspace(name: \"<<keyspace:gqlsf_keyvalue>>\", replicas: <<rf:1>>, ifNotExists: true) \n}\n"
|
||||||
}
|
}
|
||||||
tags:
|
tags:
|
||||||
name: create-keyspace
|
name: create-keyspace
|
||||||
- create-gql-schema : POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/admin
|
- create-gql-schema : POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql-admin
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
Content-Type: "application/json"
|
Content-Type: "application/json"
|
||||||
body: |
|
body: |
|
||||||
{
|
{
|
||||||
"query":"mutation {\n deploySchema(namespace: \"<<keyspace:gqlsf_keyvalue>>\", schema: \"\"\"\n type KeyValue @cql_input {\n key: String! @cql_column(partitionKey: true)\n value: String!\n }\n type Query {\n getKeyValue(\n key: String!,\n ): KeyValue\n }\n type Mutation {\n \t\tinsertKeyValue(keyValue: KeyValueInput): KeyValue\n }\n \"\"\") {\n version\n }\n}\n"
|
"query":"mutation {\n deploySchema(keyspace: \"<<keyspace:gqlsf_keyvalue>>\", schema: \"\"\"\n type KeyValue @cql_input {\n key: String! @cql_column(partitionKey: true)\n value: String!\n }\n type Query {\n getKeyValue(\n key: String!,\n ): KeyValue\n }\n type Mutation {\n \t\tinsertKeyValue(keyValue: KeyValueInput): KeyValue\n }\n \"\"\") {\n version\n }\n}\n"
|
||||||
}
|
}
|
||||||
tags:
|
tags:
|
||||||
name: create-gql-schema
|
name: create-gql-schema
|
||||||
|
- tags:
|
||||||
|
phase: schema-astra
|
||||||
|
statements:
|
||||||
|
- create-gql-schema : POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql-admin
|
||||||
|
Accept: "application/json"
|
||||||
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
|
Content-Type: "application/json"
|
||||||
|
body: |
|
||||||
|
{
|
||||||
|
"query":"mutation {\n deploySchema(keyspace: \"<<keyspace:gqlsf_keyvalue>>\", schema: \"\"\"\n type KeyValue @cql_input {\n key: String! @cql_column(partitionKey: true)\n value: String!\n }\n type Query {\n getKeyValue(\n key: String!,\n ): KeyValue\n }\n type Mutation {\n \t\tinsertKeyValue(keyValue: KeyValueInput): KeyValue\n }\n \"\"\") {\n version\n }\n}\n"
|
||||||
|
}
|
||||||
|
tags:
|
||||||
|
name: create-gql-schema-astra
|
||||||
- name: rampup
|
- name: rampup
|
||||||
tags:
|
tags:
|
||||||
phase: rampup
|
phase: rampup
|
||||||
statements:
|
statements:
|
||||||
- rampup-insert: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/namespace/<<keyspace:gqlsf_keyvalue>>
|
- rampup-insert: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlsf_keyvalue>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
@ -82,7 +94,7 @@ blocks:
|
|||||||
params:
|
params:
|
||||||
ratio: <<read_ratio:1>>
|
ratio: <<read_ratio:1>>
|
||||||
statements:
|
statements:
|
||||||
- main-select: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/namespace/<<keyspace:gqlsf_keyvalue>>
|
- main-select: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlsf_keyvalue>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
@ -101,7 +113,7 @@ blocks:
|
|||||||
params:
|
params:
|
||||||
ratio: <<write_ratio:9>>
|
ratio: <<write_ratio:9>>
|
||||||
statements:
|
statements:
|
||||||
- main-write: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/namespace/<<keyspace:gqlsf_keyvalue>>
|
- main-write: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlsf_keyvalue>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# nb -v run driver=http yaml=http-graphql-tabular tags=phase:schema host=my_stargate_host stargate_host=my_stargate_host auth_token=$AUTH_TOKEN
|
# nb -v run driver=http yaml=http-graphql-tabular tags=phase:schema host=my_stargate_host stargate_host=my_stargate_host auth_token=$AUTH_TOKEN
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
# - /graphqlv2 will change in future, adapt when needed
|
|
||||||
# - do we need a truncate schema / namespace at the end
|
# - do we need a truncate schema / namespace at the end
|
||||||
# - rest uses limit as it queries only by a single primary key, we can not map this to GQL (also should data be clustering key)
|
# - rest uses limit as it queries only by a single primary key, we can not map this to GQL (also should data be clustering key)
|
||||||
|
|
||||||
@ -45,34 +44,47 @@ blocks:
|
|||||||
- tags:
|
- tags:
|
||||||
phase: schema
|
phase: schema
|
||||||
statements:
|
statements:
|
||||||
- create-keyspace: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/admin
|
- create-keyspace: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql-schema
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
Content-Type: "application/json"
|
Content-Type: "application/json"
|
||||||
body: |
|
body: |
|
||||||
{
|
{
|
||||||
"query":"mutation {\n createNamespace(name: \"<<keyspace:gqlsf_tabular>>\", replicas: <<rf:1>>) {\n namespace {\n name\n }\n }\n}\n"
|
"query":"mutation {\n createKeyspace(name: \"<<keyspace:gqlsf_tabular>>\", replicas: <<rf:1>>, ifNotExists: true) \n}\n"
|
||||||
}
|
}
|
||||||
tags:
|
tags:
|
||||||
name: create-keyspace
|
name: create-keyspace
|
||||||
- create-gql-schema : POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/admin
|
- create-gql-schema : POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql-admin
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
Content-Type: "application/json"
|
Content-Type: "application/json"
|
||||||
body: |
|
body: |
|
||||||
{
|
{
|
||||||
"query":"mutation {\n deploySchema(namespace: \"<<keyspace:gqlsf_tabular>>\", schema: \"\"\"\n type Tabular @cql_input {\n part: String! @cql_column(partitionKey: true)\n clust: String! @cql_column(partitionKey: true)\n data: String! \n }\n type SelectTabularResult @cql_payload {\n \t\tdata: [Tabular]\n \t\tpagingState: String\n }\n type Query {\n getTabulars(\n part: String!,\n clust: String!,\n pagingState: String @cql_pagingState\n ): SelectTabularResult @cql_select(pageSize: 10)\n }\n type Mutation {\n \t\tinsertTabular(tabular: TabularInput): Tabular\n }\n \"\"\") {\n version\n }\n}\n"
|
"query":"mutation {\n deploySchema(keyspace: \"<<keyspace:gqlsf_tabular>>\", schema: \"\"\"\n type Tabular @cql_input {\n part: String! @cql_column(partitionKey: true)\n clust: String! @cql_column(partitionKey: true)\n data: String! \n }\n type SelectTabularResult @cql_payload {\n \t\tdata: [Tabular]\n \t\tpagingState: String\n }\n type Query {\n getTabulars(\n part: String!,\n clust: String!,\n pagingState: String @cql_pagingState\n ): SelectTabularResult @cql_select(pageSize: 10)\n }\n type Mutation {\n \t\tinsertTabular(tabular: TabularInput): Tabular\n }\n \"\"\") {\n version\n }\n}\n"
|
||||||
}
|
}
|
||||||
tags:
|
tags:
|
||||||
name: create-gql-schema
|
name: create-gql-schema
|
||||||
|
- tags:
|
||||||
|
phase: schema-astra
|
||||||
|
statements:
|
||||||
|
- create-gql-schema : POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql-admin
|
||||||
|
Accept: "application/json"
|
||||||
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
|
Content-Type: "application/json"
|
||||||
|
body: |
|
||||||
|
{
|
||||||
|
"query":"mutation {\n deploySchema(keyspace: \"<<keyspace:gqlsf_tabular>>\", schema: \"\"\"\n type Tabular @cql_input {\n part: String! @cql_column(partitionKey: true)\n clust: String! @cql_column(partitionKey: true)\n data: String! \n }\n type SelectTabularResult @cql_payload {\n \t\tdata: [Tabular]\n \t\tpagingState: String\n }\n type Query {\n getTabulars(\n part: String!,\n clust: String!,\n pagingState: String @cql_pagingState\n ): SelectTabularResult @cql_select(pageSize: 10)\n }\n type Mutation {\n \t\tinsertTabular(tabular: TabularInput): Tabular\n }\n \"\"\") {\n version\n }\n}\n"
|
||||||
|
}
|
||||||
|
tags:
|
||||||
|
name: create-gql-schema-astra
|
||||||
- name: rampup
|
- name: rampup
|
||||||
tags:
|
tags:
|
||||||
phase: rampup
|
phase: rampup
|
||||||
statements:
|
statements:
|
||||||
- rampup-insert: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/namespace/<<keyspace:gqlsf_tabular>>
|
- rampup-insert: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlsf_tabular>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
@ -91,7 +103,7 @@ blocks:
|
|||||||
params:
|
params:
|
||||||
ratio: <<read_ratio:1>>
|
ratio: <<read_ratio:1>>
|
||||||
statements:
|
statements:
|
||||||
- main-select: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/namespace/<<keyspace:gqlsf_tabular>>
|
- main-select: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlsf_tabular>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
@ -110,7 +122,7 @@ blocks:
|
|||||||
params:
|
params:
|
||||||
ratio: <<write_ratio:9>>
|
ratio: <<write_ratio:9>>
|
||||||
statements:
|
statements:
|
||||||
- main-write: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/namespace/<<keyspace:gqlsf_tabular>>
|
- main-write: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlsf_tabular>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# nb -v run driver=http yaml=http-graphql-timeseries tags=phase:schema host=my_stargate_host stargate_host=my_stargate_host auth_token=$AUTH_TOKEN
|
# nb -v run driver=http yaml=http-graphql-timeseries tags=phase:schema host=my_stargate_host stargate_host=my_stargate_host auth_token=$AUTH_TOKEN
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
# - /graphqlv2 will change in future, adapt when needed
|
|
||||||
# - do we need a truncate schema / namespace at the end
|
# - do we need a truncate schema / namespace at the end
|
||||||
# - support for a paging state?
|
# - support for a paging state?
|
||||||
# - infinity is not handled
|
# - infinity is not handled
|
||||||
@ -43,32 +42,32 @@ blocks:
|
|||||||
- tags:
|
- tags:
|
||||||
phase: schema
|
phase: schema
|
||||||
statements:
|
statements:
|
||||||
- create-keyspace: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/admin
|
- create-keyspace: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql-schema
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
Content-Type: "application/json"
|
Content-Type: "application/json"
|
||||||
body: |
|
body: |
|
||||||
{
|
{
|
||||||
"query":"mutation {\n createNamespace(name: \"<<keyspace:gqlsf_timeseries>>\", replicas: <<rf:1>>) {\n namespace {\n name\n }\n }\n}\n"
|
"query":"mutation {\n createKeyspace(name: \"<<keyspace:gqlsf_timeseries>>\", replicas: <<rf:1>>, ifNotExists: true) \n}\n"
|
||||||
}
|
}
|
||||||
tags:
|
tags:
|
||||||
name: create-keyspace
|
name: create-keyspace
|
||||||
- create-gql-schema : POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/admin
|
- create-gql-schema : POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql-admin
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
Content-Type: "application/json"
|
Content-Type: "application/json"
|
||||||
body: |
|
body: |
|
||||||
{
|
{
|
||||||
"query":"mutation {\n deploySchema(namespace: \"<<keyspace:gqlsf_timeseries>>\", schema: \"\"\"\n type Iot @cql_input {\n machine_id: Uuid! @cql_column(partitionKey: true)\n sensor_name: String! @cql_column(partitionKey: true)\n time: Timestamp! @cql_column(clusteringOrder: DESC)\n sensor_value: Float!\n \tstation_id: Uuid!\n data: String!\n }\n type SelectIotResult @cql_payload {\n \t\tdata: [Iot]\n \t\tpagingState: String\n }\n type Query {\n getIots(\n machine_id: Uuid!,\n sensor_name: String!,\n pagingState: String @cql_pagingState\n ): SelectIotResult @cql_select(pageSize: 10)\n }\n type Mutation {\n \t\tinsertIot(iot: IotInput): Iot\n }\n \"\"\") {\n version\n }\n}\n"
|
"query":"mutation {\n deploySchema(keyspace: \"<<keyspace:gqlsf_timeseries>>\", schema: \"\"\"\n type Iot @cql_input {\n machine_id: Uuid! @cql_column(partitionKey: true)\n sensor_name: String! @cql_column(partitionKey: true)\n time: Timestamp! @cql_column(clusteringOrder: DESC)\n sensor_value: Float!\n \tstation_id: Uuid!\n data: String!\n }\n type SelectIotResult @cql_payload {\n \t\tdata: [Iot]\n \t\tpagingState: String\n }\n type Query {\n getIots(\n machine_id: Uuid!,\n sensor_name: String!,\n pagingState: String @cql_pagingState\n ): SelectIotResult @cql_select(pageSize: 10)\n }\n type Mutation {\n \t\tinsertIot(iot: IotInput): Iot\n }\n \"\"\") {\n version\n }\n}\n"
|
||||||
}
|
}
|
||||||
tags:
|
tags:
|
||||||
name: create-gql-schema
|
name: create-gql-schema
|
||||||
- tags:
|
- tags:
|
||||||
phase: schema-astra
|
phase: schema-astra
|
||||||
statements:
|
statements:
|
||||||
- create-gql-schema: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/admin
|
- create-gql-schema: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql-admin
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
@ -83,7 +82,7 @@ blocks:
|
|||||||
tags:
|
tags:
|
||||||
phase: rampup
|
phase: rampup
|
||||||
statements:
|
statements:
|
||||||
- rampup-insert: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/namespace/<<keyspace:gqlsf_timeseries>>
|
- rampup-insert: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlsf_timeseries>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
@ -102,7 +101,7 @@ blocks:
|
|||||||
params:
|
params:
|
||||||
ratio: <<read_ratio:1>>
|
ratio: <<read_ratio:1>>
|
||||||
statements:
|
statements:
|
||||||
- main-select: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/namespace/<<keyspace:gqlsf_timeseries>>
|
- main-select: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlsf_timeseries>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
@ -121,7 +120,7 @@ blocks:
|
|||||||
params:
|
params:
|
||||||
ratio: <<write_ratio:9>>
|
ratio: <<write_ratio:9>>
|
||||||
statements:
|
statements:
|
||||||
- main-write: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphqlv2/namespace/<<keyspace:gqlsf_timeseries>>
|
- main-write: POST <<protocol:http>>://{weighted_hosts}:<<stargate_port:8080>><<path_prefix:>>/graphql/<<keyspace:gqlsf_timeseries>>
|
||||||
Accept: "application/json"
|
Accept: "application/json"
|
||||||
X-Cassandra-Request-Id: "{request_id}"
|
X-Cassandra-Request-Id: "{request_id}"
|
||||||
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
X-Cassandra-Token: "<<auth_token:my_auth_token>>"
|
||||||
|
Loading…
Reference in New Issue
Block a user