You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GETs for orgs, repos, branches, locks (primarily repos) are returning too much info that are already available via child ldp endpoints. Also to more align with ldp-dc spec, the construct query should include the ldp predicates that indicates org contain repo, repo contain branches, locks, commits. https://www.w3.org/TR/ldp/#ldpc
example:
desired result for org get (ldp:contains is from basic container, direct container gets more complicated...need more examples):
The GETs for orgs, repos, branches, locks (primarily repos) are returning too much info that are already available via child ldp endpoints. Also to more align with ldp-dc spec, the
construct
query should include the ldp predicates that indicates org contain repo, repo contain branches, locks, commits.https://www.w3.org/TR/ldp/#ldpc
example:
desired result for org get (ldp:contains is from basic container, direct container gets more complicated...need more examples):
orgs: https://github.com/Open-MBEE/flexo-mms-layer1-service/blob/feat/ldp/src/main/kotlin/org/openmbee/flexo/mms/routes/ldp/OrgRead.kt#L42
Orgs get is including all the orgs' repos' triples even though repos can be gotten via /orgs/{orgid}/repos
repos: https://github.com/Open-MBEE/flexo-mms-layer1-service/blob/feat/ldp/src/main/kotlin/org/openmbee/flexo/mms/routes/ldp/RepoRead.kt#L53
Same issue as orgs, plus it's returning the entire repo metadata graph, which /repos/{repoid}/branches, /repos/{repoid}/locks, /repos/{repoid}/commits should be used instead (commits endpoint is requested from #117 )
branches/locks: https://github.com/Open-MBEE/flexo-mms-layer1-service/blob/feat/ldp/src/main/kotlin/org/openmbee/flexo/mms/routes/ldp/BranchRead.kt#L36
I don't think there's actually anything that uses mms:branch and mms:lock as predicate
The text was updated successfully, but these errors were encountered: