Commit Graph

236 Commits

Author SHA1 Message Date
Ruben Taelman
f686b4853f feature: add FixedContentTypeMapper 2020-11-23 13:28:28 +01:00
Ruben Taelman
971e4178d1 refactor: abstract parts of ExtensionBasedMapper into MapperUtil 2020-11-23 13:28:28 +01:00
Ruben Taelman
2c46d70780 refactor: move ExtensionBasedMapper into mapping directory 2020-11-23 13:28:28 +01:00
Ruben Verborgh
d8799368fd feat: Include parent containers in POST and DELETE changes. 2020-11-20 22:28:26 +01:00
Ruben Verborgh
4ef4d44a3a feat: Add a monitoring store. 2020-11-20 11:12:45 +01:00
Joachim Van Herwegen
75e4f73c3f refactor: Add isContainerPath function 2020-11-18 17:19:53 +01:00
Joachim Van Herwegen
1073c2ff4c refactor: Clean up utility functions 2020-11-18 17:19:53 +01:00
smessie
acebf030c7 refactor: Remove identifier parameter 2020-11-16 10:32:10 +01:00
Ruben Verborgh
6f4c4a15b4 chore: Review expiring locks. 2020-11-16 10:32:10 +01:00
smessie
9fd8440525 feat: Implement ExpiringLock and -ResourceLocker 2020-11-16 10:32:10 +01:00
Joachim Van Herwegen
95ab0b4e76 refactor: Make piping consistent 2020-11-13 16:00:37 +01:00
Joachim Van Herwegen
715ba126f9 feat: Make internal/quads unacceptable output 2020-11-13 15:32:48 +01:00
Joachim Van Herwegen
69ed2e069f feat: Reject unacceptable content types 2020-11-13 15:32:48 +01:00
Ruben Verborgh
17d774fc18 chore: Add SPARQL endpoint logging. 2020-11-04 10:31:54 +01:00
Joachim Van Herwegen
ef6f01a82c refactor: Change PreferenceSupport constructor to work with Components.js 2020-11-03 10:38:22 +01:00
Joachim Van Herwegen
50dfea1a27 refactor: Change routing constructors to work with Components.js 2020-11-02 15:41:32 +01:00
Joachim Van Herwegen
5287cd1e41 feat: Create a RoutingResourceStore that takes routing rules 2020-11-02 15:41:32 +01:00
iesmessa
86de805daa feat: Implement a first draft of the RoutingResourceStore 2020-11-02 15:41:32 +01:00
Joachim Van Herwegen
dee4eef131 refactor: Change constructor so it is supported by Components.js 2020-11-02 15:04:05 +01:00
Joachim Van Herwegen
712a690904 feat: Update RepresentationConvertingStore to convert incoming data 2020-11-02 15:04:05 +01:00
Joachim Van Herwegen
9f7c246104 feat: Support SPARQL store backends 2020-11-02 15:04:05 +01:00
iesmessa
dff4ba8efe fix: Write tests and fix related bugs, refactor code 2020-11-02 15:04:05 +01:00
iesmessa
6cc7053310 feat: Implement SPARQL-based ResourceStore 2020-11-02 15:04:05 +01:00
Ruben Verborgh
0476ba8069 chore(deps): update all dependencies (#293) 2020-11-02 09:08:14 +01:00
smessie
99464d9a95 feat: Add logging
* feat: Add logging

* refactor: Configure the logger for the tests once globally

* feat: Add logging

* fix: Fix ESLint errors due to merge conflicts

* Review log and error messages.

* refactor: Cleanup a bit

* refactor: Change to logger info calls

Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
2020-10-26 10:31:01 +01:00
Joachim Van Herwegen
4df26454d4 refactor: Make ExtensionBasedMapper only expose what is needed 2020-10-16 09:35:48 +02:00
Joachim Van Herwegen
03c64e5617 refactor: Remove file and in memory stores 2020-10-16 09:35:48 +02:00
Joachim Van Herwegen
63f891c0f1 fix: Remove metadata file if no new metadata is stored 2020-10-14 15:35:22 +02:00
Joachim Van Herwegen
e861b080c2 feat: Fully support storing content-type in file extensions 2020-10-14 15:20:26 +02:00
Joachim Van Herwegen
626b3114f4 refactor: Rename instances of data resource to document 2020-10-14 15:20:26 +02:00
Joachim Van Herwegen
b896004bac feat: Create InMemoryDataAccessor 2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
9a857b7581 feat: Create file-based DataAccessor 2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
6ad40763f9 feat: Create DataAccessorBasedStore to have a standard store implementation 2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
006f7ea7aa refactor: Let caller decide which error pipeStreamAndErrors should throw 2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
fa935cc4c7 refactor: Move file related metadata to FileResourceStore 2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
22962192ff fix: Fix test issues
The root container wasn't being created for file based tests.
Containers should be POSTed as RDF bodies.
Containment triples of child containers had no trailing slash.
2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
e85ca622da fix: Make sure all URI characters are correctly encoded 2020-10-14 11:32:27 +02:00
Joachim Van Herwegen
b47dc3f7f6 feat: Have ExtensionBasedMapper handle extensions correctly 2020-10-07 09:31:08 +02:00
Joachim Van Herwegen
4d34cdd12f fix: Have AsyncHandlers only check what is necessary 2020-10-05 15:32:08 +02:00
smessie
d8e6c08859 refactor: Remove Turtle to Quad and Quad to Turtle converters 2020-09-30 09:12:42 +02:00
Joachim Van Herwegen
e1533a0869 refactor: Rename UriUtil functions
Forgot to do this when rebasing
2020-09-17 11:58:38 +02:00
Joachim Van Herwegen
9657fbafb1 refactor: Update eslint related dependencies 2020-09-17 11:55:49 +02:00
Joachim Van Herwegen
c150da337e refactor: Fix typo
Fixes #155
2020-09-16 15:27:12 +02:00
Joachim Van Herwegen
85df2e5d7f refactor: Make URI constants consistent 2020-09-16 13:18:58 +02:00
Joachim Van Herwegen
8d3979372b refactor: Streamline RepresentationMetadata interface 2020-09-16 12:10:42 +02:00
Joachim Van Herwegen
76319ba360 feat: Update RepresentationMetadata to store triples 2020-09-16 12:10:42 +02:00
Ruben Taelman
1dd140ab61 refactor: Remove RuntimeConfig in favor of config variables, Closes #106 2020-09-15 08:52:23 +02:00
Freya
383da24601 feat: Implement resource mapper for the file resource store (#142)
* move file mapping logic to resourcemapper

* make filestore dependent of resource mapper

* set default contenttype

* refactor fileresourcemapper

* fix map function

* refactor

* add normalized parser

* refactor unit test

* fix metadata problem

* refactor names

* reverse change

* add getters

* add comments

* add comments, move code

* change text/turtle to constant

* add changes

* add requested changes

* add more requested changes

* add more requested changes

* more changes
2020-09-11 17:08:53 +02:00
Ruben Verborgh
3d9507879b refactor: Make PassthroughStore generic 2020-09-07 10:42:31 +02:00
Ruben Taelman
0ed1ae539d lint: enable no-extraneous-dependencies rule
This also uses the new `import type` syntax for importing rdf-js types,
as it is required for making this new linter rule pass.

Closes #132
2020-09-07 08:46:08 +02:00