Skip to content

Commit

Permalink
refactor: Move MongoDB specific code to its dedicated repository class
Browse files Browse the repository at this point in the history
  • Loading branch information
smessie committed Oct 1, 2024
1 parent 47fe307 commit 60b0484
Show file tree
Hide file tree
Showing 20 changed files with 341 additions and 754 deletions.
83 changes: 81 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"@rdfjs/types": "^1.1.0",
"@treecg/types": "^0.4.6",
"mongodb": "^6.8.0",
"n3": "^1.21.0"
"n3": "^1.21.0",
"redis": "^4.7.0"
},
"devDependencies": {
"@solid/community-server": "^7.1.2",
Expand Down
4 changes: 2 additions & 2 deletions server/examples/config-ldes-acl.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"@type": "PrefixView",
"prefix": "example",
"view": {
"@type": "MongoTSView",
"@type": "SDSView",
"streamId": "http://example.org/myStream#eventStream",
"descriptionId": "http://example.org/myStream#viewDescription",
"db": {
Expand All @@ -92,7 +92,7 @@
"@type": "PrefixView",
"prefix": "ais",
"view": {
"@type": "MongoTSView",
"@type": "SDSView",
"streamId": "http://example.org/aisStream#eventStream",
"descriptionId": "http://example.org/aisStream#description",
"db": {
Expand Down
173 changes: 0 additions & 173 deletions server/examples/config-ldes-all.json

This file was deleted.

2 changes: 1 addition & 1 deletion server/examples/config-ldes-bluebike.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"@type": "PrefixView",
"prefix": "default",
"view": {
"@type": "MongoSDSView",
"@type": "SDSView",
"descriptionId": "http://localhost:3000/ldes/#timestampFragmentation",
"streamId": "https://w3id.org/sds#Stream",
"db": {
Expand Down
4 changes: 2 additions & 2 deletions server/examples/config-ldes-file_locks.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"@type": "PrefixView",
"prefix": "default",
"view": {
"@type": "MongoSDSView",
"@type": "SDSView",
"descriptionId": "http://localhost:3000/ldes/#timestampFragmentation",
"streamId": "http://me#csvStream",
"db": {
Expand All @@ -93,7 +93,7 @@
"@type": "PrefixView",
"prefix": "mine",
"view": {
"@type": "MongoSDSView",
"@type": "SDSView",
"streamId": "http://mine.org/rdfstream",
"db": {
"@id": "urn:solid-server:default:DBConfig"
Expand Down
2 changes: 1 addition & 1 deletion server/examples/config-ldes-rinf.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"@type": "PrefixView",
"prefix": "ldes",
"view": {
"@type": "MongoSDSView",
"@type": "SDSView",
"descriptionId": "http://localhost:3000/rinf/ldes/#timestampFragmentation",
"streamId": "https://era.ilabt.imec.be/ldes/metadata#generation-stream",
"db": {
Expand Down
Loading

0 comments on commit 60b0484

Please sign in to comment.