Skip to content

Commit a6c8cc4

Browse files
nmalocicnmalocicvega
authored andcommitted
Fixes to the supported features and to Ravendb page
Signed-off-by: Nemanja Malocic <[email protected]> Signed-off-by: Nemanja Malocic <[email protected]>
1 parent 44ce484 commit a6c8cc4

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

daprdocs/content/en/reference/components-reference/supported-state-stores/setup-ravendb.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ kind: Component
1818
metadata:
1919
name: <NAME>
2020
spec:
21-
type: state.ravendb
21+
type: state.ravendb
2222
version: v1
2323
metadata:
24-
- name: databaseName
25-
value: <REPLACE-WITH-DATABASE-NAME> # Optional. default: "daprStore"
2624
- name: serverURL
2725
value: <REPLACE-WITH-SERVER-URL> #Required Example: "server.example.com"
26+
- name: databaseName
27+
value: <REPLACE-WITH-DATABASE-NAME> # Optional. default: "daprStore"
2828
- name: certPath
2929
value: <REPLACE-WITH-CERT-PATH> # Required unless server is insecure.
3030
- name: KeyPath
3131
value: <REPLACE-WITH-KEY-PATH> # Required unless server is insecure.
3232
- name: EnableTTL
3333
value: <REPLACE-WITH-ENABLE-TTL> # Optional. default: "true"
3434
- name: TTLFrequency
35-
value: <REPLACE-WITH-TTL:-FREQUENCY> # Optional. Example: "15"
35+
value: <REPLACE-WITH-TTL:-FREQUENCY> # Optional. Example: "15". Default: "60"
3636
```
3737
3838
{{% alert title="Warning" color="warning" %}}
@@ -45,10 +45,10 @@ The above example uses secrets as plain strings. It is recommended to use a secr
4545
|--------------------|:--------:|---------|---------|
4646
| databaseName | N | The name of the database to use. Defaults to `"daprStore"` | `"daprStore"`
4747
| serverURL | Y | Url to RavenDB instance | `"http://localhost:8080"`
48-
| certPath | N<sup>1</sup> | Path to certificate file | `"majority"`
49-
| keyPath | N<sup>1</sup> | Path to key file | `"majority"`, `"local"`,`"available"`, `"linearizable"`, `"snapshot"`
50-
| EnableTTL | N | Boolean value to enable TTL capability. Defaults to `"true"` | `"5s"`
51-
| TTLFrequency | N | Additional parameters to use | `"?authSource=daprStore&ssl=true"`
48+
| certPath | N<sup>1</sup> | Path to certificate file | `"/path/to/client.certificate.crt"`
49+
| keyPath | N<sup>1</sup> | Path to key file | `"/path/to/certificate.key"`
50+
| EnableTTL | N | Boolean value to enable TTL capability. Defaults to `"true"` | `"true"`
51+
| TTLFrequency | N | Additional parameters to use | `"5s"`
5252
5353
> <sup>[1]</sup> The `certPath` and `keyPath` fields are not mandatory if server url is http, however if server url is https and no certPath and keyPath is present dapr returns an error.
5454

daprdocs/data/components/state_stores/generic.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
since: "1.0"
215215
features:
216216
crud: true
217-
transactions: false
217+
transactions: true
218218
etag: true
219-
ttl: false
219+
ttl: true
220220
query: false

0 commit comments

Comments
 (0)