3 files + 3 − 13 Inline Compare changes Side-by-side Inline Show whitespace changes Files 3 README.md +1 −2 Original line number Diff line number Diff line Loading @@ -2,5 +2,4 @@ The TreeApi handles the retrieving or storing metadata to a certain path. Check out the [docs](https://coscine.rwth-aachen.de/coscine/api/Coscine.Api.Tree/swagger). src/Tree/Controllers/TreeController.cs +1 −10 Original line number Diff line number Diff line Loading @@ -383,15 +383,6 @@ namespace Coscine.Api.Tree.Controllers resource.ApplicationProfile += '/'; } json[graphNameUri.AbsoluteUri]["http://www.w3.org/1999/02/22-rdf-syntax-ns#type"] = new JArray { new JObject { ["value"] = resource.ApplicationProfile, ["type"] = "uri" } }; // throw bad request if empty node value is detected foreach (var node in json.First.First) { Loading Loading @@ -445,7 +436,7 @@ namespace Coscine.Api.Tree.Controllers // Default values is not checked or added // validate the data if (!_rdfStoreConnector.ValidateShacl(graph, graphNameUri)) if (!_rdfStoreConnector.ValidateShacl(graph, graphNameUri, new Uri(resource.ApplicationProfile))) { return BadRequest("Data has the wrong format!"); } Loading src/Tree/Tree.csproj +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ <AssemblyName>Coscine.Api.Tree</AssemblyName> <GenerateDocumentationFile>true</GenerateDocumentationFile> <TargetFramework>net6.0</TargetFramework> <Version>2.9.1</Version> <Version>2.9.2</Version> </PropertyGroup> <PropertyGroup> <Authors>RWTH Aachen University</Authors> Loading
README.md +1 −2 Original line number Diff line number Diff line Loading @@ -2,5 +2,4 @@ The TreeApi handles the retrieving or storing metadata to a certain path. Check out the [docs](https://coscine.rwth-aachen.de/coscine/api/Coscine.Api.Tree/swagger).
src/Tree/Controllers/TreeController.cs +1 −10 Original line number Diff line number Diff line Loading @@ -383,15 +383,6 @@ namespace Coscine.Api.Tree.Controllers resource.ApplicationProfile += '/'; } json[graphNameUri.AbsoluteUri]["http://www.w3.org/1999/02/22-rdf-syntax-ns#type"] = new JArray { new JObject { ["value"] = resource.ApplicationProfile, ["type"] = "uri" } }; // throw bad request if empty node value is detected foreach (var node in json.First.First) { Loading Loading @@ -445,7 +436,7 @@ namespace Coscine.Api.Tree.Controllers // Default values is not checked or added // validate the data if (!_rdfStoreConnector.ValidateShacl(graph, graphNameUri)) if (!_rdfStoreConnector.ValidateShacl(graph, graphNameUri, new Uri(resource.ApplicationProfile))) { return BadRequest("Data has the wrong format!"); } Loading
src/Tree/Tree.csproj +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ <AssemblyName>Coscine.Api.Tree</AssemblyName> <GenerateDocumentationFile>true</GenerateDocumentationFile> <TargetFramework>net6.0</TargetFramework> <Version>2.9.1</Version> <Version>2.9.2</Version> </PropertyGroup> <PropertyGroup> <Authors>RWTH Aachen University</Authors> Loading