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
Michiel de Jong
c1aa25f314
chore(deps): Use v0.3.0 of solid-crud-tests
2020-11-10 16:23:51 +01:00
Ruben Verborgh
9e5b89aeaa
chore: Ensure cleanup always happens.
2020-11-10 16:23:51 +01:00
Ruben Verborgh
a141b563e9
chore: Download tests to temporary folder.
2020-11-10 16:23:51 +01:00
Michiel de Jong
78e175f627
test: Add Solid CRUD tests in Travis
2020-11-10 16:23:51 +01:00
Joachim Van Herwegen
4e4d7a7a39
feat: Integrate MetadataSerializer
2020-11-06 09:08:00 +01:00
Joachim Van Herwegen
aebccd45c0
feat: Create MetadataSerializer
2020-11-06 09:08:00 +01:00
Joachim Van Herwegen
840965cdef
refactor: Create multiple composite handlers
2020-11-06 09:08:00 +01:00
Joachim Van Herwegen
1260c5c14e
feat: Store status, body and metadata in ResponseDescription
2020-11-06 09:08:00 +01:00
Joachim Van Herwegen
e8fdcb0ad0
refactor: Split off ErrorResponseWriter
2020-11-06 09:08:00 +01:00
Joachim Van Herwegen
892b5f5921
feat: Create multiple configs supporting different store backends
2020-11-04 12:24:37 +01:00
Ruben Verborgh
fe870f073a
chore: Enable/disable Docker testing with a flag.
2020-11-04 10:31:54 +01:00
Ruben Verborgh
5f4f4b08b0
chore: Add docker npm scripts.
2020-11-04 10:31:54 +01:00
Ruben Verborgh
1055beea92
test: Add SPARQL endpoint integration test.
2020-11-04 10:31:54 +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
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
Ruben Verborgh
4b4f737013
chore: Use Jest recommended linting.
2020-11-02 10:03:18 +01:00
Ruben Verborgh
0476ba8069
chore(deps): update all dependencies ( #293 )
2020-11-02 09:08:14 +01:00
Ruben Verborgh
73a56d8682
chore: Organize tests ( #292 )
...
* chore: Organize tests.
* chore: Install Coveralls only on Travis.
2020-10-31 17:52:10 +01:00
Ruben Verborgh
1a45b65df7
refactor: Implement empty canHandle on base class. ( #289 )
2020-10-30 17:56:39 +01:00
smessie
a7fa61ab2f
fix: Resolve duplicate error message and no trailing newline
...
* fix: Resolves duplicate error message
* test: Add trailing newline on error test
2020-10-27 15:17:59 +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
c999abb7b0
fix: Provide full coverage for util functions
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
9b26bbef2d
feat: Add DataAccessorBasedStore integration
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
e00cb05dc3
feat: Add support for mocking fs
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
smessie
e8e96b903d
test: Write unit tests for CliRunner
...
* test: Write unit tests for CliRunner
* test: fix Loader mock and add new mock and test
* test: Put function definition in beforeEach
* test: Add comments to code
* refactor: Move outsideResolve to setup call
2020-10-13 14:20:27 +02:00
Ruben Verborgh
79defc3abb
Fix typo.
2020-10-12 16:14:28 +02:00
Joachim Van Herwegen
31844a4f40
feat: Integrate MetadataHandler
2020-10-09 12:12:34 +02:00
Joachim Van Herwegen
7dcb3eaa84
feat: Create MetadataHandler
2020-10-09 12:12:34 +02:00
Joachim Van Herwegen
bb28af937b
feat: Decode URI in target extractor
2020-10-07 09:31:08 +02:00
Joachim Van Herwegen
b47dc3f7f6
feat: Have ExtensionBasedMapper handle extensions correctly
2020-10-07 09:31:08 +02:00
smessie
0644f8d245
feat: Implement HEAD request support
...
* feat: Implement HEAD request support
* feat: Integrate HEAD handler with other code
* fix: Improve test by using arrayifyStream
* fix: Use Promise chaining
* refactor: Unwrap destroy stream promise
2020-10-06 14:13:37 +02:00