-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
state: add RavenDB support #3702
Open
nmalocic
wants to merge
15
commits into
dapr:main
Choose a base branch
from
nmalocic:3318-RavenDB-state-store-new
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,057
−3
Open
Changes from 6 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
1e5c883
3318: Added files related to RavenDB implementation from old branch f…
nmalocicvega 20751eb
Fixed lint issues
nmalocicvega 813f72f
Fixed go mod so that conformance test can run
nmalocicvega 2c82f28
Added raven to github pipeline tests
nmalocicvega 53fef16
Add docker setup befor conformance test running
nmalocicvega 768a625
Changed extension ffrom yaml to yml
nmalocicvega aa20d7b
Update state/ravendb/metadata.yaml
nmalocic a1fa966
Update state/ravendb/metadata.yaml
nmalocic 358113c
Update state/ravendb/metadata.yaml
nmalocic 3ef8df4
Update state/ravendb/ravendb.go
nmalocic 62b075c
Merge branch 'main' into 3318-RavenDB-state-store-new
elena-kolevska 8aae575
Merge branch 'main' into 3318-RavenDB-state-store-new
cicoyle 3003286
Fix comments from the PR
nmalocicvega f2e6e41
Fix linting for test file
nmalocicvega 91d15de
Merge branch 'main' into 3318-RavenDB-state-store-new
msfussell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
services: | ||
ravendb: | ||
image: ravendb/ravendb | ||
container_name: RavenDb | ||
ports: | ||
- "8080:8080" | ||
environment: | ||
- RAVEN_LICENSE={"Id":"1bcf6b3f-cd52-488c-9aa2-c982d6e57c78","Name":"RavenDB","Keys":["CtmBDhwRJAJIDOHv+Pev+B8o4","A5l3K4n1z2FbtgHsKPl1QkQNx","LPqr9nkPEq5MUCHQZ0XkkP5BY","Czc9DkF33Y8mNFemJZl8tkGm6","DY2Q6YyYtEt/jQayDOUVUtUlY","FC4inkD4zkb3Ii2WEbyv5RRew","jzoKxeOVYXQsToAMe6xG9ABYE","DNy4wBSYoSQMqKywtLi8wJzEy","MzQVFjc4OTo7PD0+nwIfIJ8CI","CCfAiEgnwIjIJ8CJCCfAiUgnw","ImIJ8CJyCfAiggnwIpIJ8CKiC","fAisgnwIsIJ8CLSCfAi4gnwIv","IJ8CMCCfAzZAAZ8CQiBDJEQJY","htbnwRBYBhb"]} | ||
- RAVEN_DATABASE=testdapr | ||
- RAVEN_Setup_Mode=None | ||
- RAVEN_License_Eula_Accepted=true | ||
- RAVEN_Security_UnsecuredAccessAllowed=PrivateNetwork | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# yaml-language-server: $schema=../../component-metadata-schema.json | ||
schemaVersion: v1 | ||
type: state | ||
name: ravendb | ||
version: v1 | ||
status: development-only | ||
title: "RavenDB" | ||
urls: | ||
- title: Reference | ||
url: | ||
capabilities: | ||
- crud | ||
authenticationProfiles: | ||
- title: "No authentication" | ||
description: | | ||
No authentication connect via connection string | ||
nmalocic marked this conversation as resolved.
Show resolved
Hide resolved
|
||
metadata: | ||
- name : connectionString | ||
required: true | ||
description: | | ||
Connection string to ravenDB cluster | ||
example: '"http://live-test.ravendb.net"' | ||
metadata: | ||
- name: DatabaseName | ||
description: | | ||
The name of the database to use. | ||
default: '"daprStore"' | ||
example: '"daprStore"' | ||
- name: ServerURL | ||
description: | | ||
Url to ravendb cluster | ||
default: '"127.0.0.1"' | ||
example: '"http://live-test.ravendb.net"' | ||
- name: CertPath | ||
description: | | ||
Path to the certificate for secure connection | ||
example: "/path/to/cert" | ||
- name: KeyPath | ||
description: | | ||
Path to the key for secure connection | ||
example: "/path/to/key" | ||
- name: EnableTTL | ||
description: | | ||
Boolean values that enables or disables RaveDB TTL functionality | ||
nmalocic marked this conversation as resolved.
Show resolved
Hide resolved
|
||
example: "true" | ||
default: "true" | ||
- name: TTLFrequency | ||
description: | | ||
Sets RavenDB frequency on running background task and deleting records | ||
nmalocic marked this conversation as resolved.
Show resolved
Hide resolved
|
||
example: "15" | ||
default: "60" |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to put this in a secret and get a license that never expires