Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TreeApi
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coscine
backend
apis
TreeApi
Commits
84b4f45a
Commit
84b4f45a
authored
Jan 13, 2023
by
Benedikt Heinrichs
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' into Issue/1792-newMetadataStructure
parents
b9f28d42
a634ee3c
No related branches found
No related tags found
1 merge request
!90
New: Use the new metadata structure (coscine/issues#1792)
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
src/Tree/Controllers/TreeController.cs
+3
-2
3 additions, 2 deletions
src/Tree/Controllers/TreeController.cs
src/Tree/Tree.csproj
+1
-1
1 addition, 1 deletion
src/Tree/Tree.csproj
with
5 additions
and
4 deletions
README.md
+
1
−
1
View file @
84b4f45a
This diff is collapsed.
Click to expand it.
src/Tree/Controllers/TreeController.cs
+
3
−
2
View file @
84b4f45a
...
...
@@ -167,7 +167,7 @@ namespace Coscine.Api.Tree.Controllers
var
shPath
=
property
.
FirstOrDefault
((
triple
)
=>
triple
.
Predicate
.
ToString
()
==
"http://www.w3.org/ns/shacl#path"
);
if
(
shPath
!=
null
)
{
var
values
=
graph
.
GetTriplesWithPredicate
(
shPath
.
Object
);
var
values
=
graph
.
GetTriplesWithPredicate
(
shPath
.
Object
)
.
ToList
()
;
var
shDatatype
=
property
.
FirstOrDefault
((
triple
)
=>
triple
.
Predicate
.
ToString
()
==
"http://www.w3.org/ns/shacl#datatype"
);
if
(
shDatatype
!=
null
)
{
...
...
@@ -265,8 +265,9 @@ namespace Coscine.Api.Tree.Controllers
return
Json
(
jObject
);
}
catch
(
Exception
)
catch
(
Exception
e
)
{
_coscineLogger
.
Log
(
LogType
.
Critical
,
e
);
return
BadRequest
(
"Error in communication with the resource"
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/Tree/Tree.csproj
+
1
−
1
View file @
84b4f45a
...
...
@@ -5,7 +5,7 @@
<AssemblyName>Coscine.Api.Tree</AssemblyName>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TargetFramework>net6.0</TargetFramework>
<Version>2.8.
8
</Version>
<Version>2.8.
15
</Version>
</PropertyGroup>
<PropertyGroup>
<Authors>RWTH Aachen University</Authors>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment