-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Jena and Topbraid versions #4837
Conversation
@@ -109,7 +109,7 @@ lazy val fs2Aws = "io.laserdisc" %% "fs2- | |||
lazy val fs2AwsS3 = "io.laserdisc" %% "fs2-aws-s3" % fs2AwsVersion | |||
lazy val googleAuthClient = "com.google.oauth-client" % "google-oauth-client" % googleAuthClientVersion | |||
lazy val handleBars = "com.github.jknack" % "handlebars" % handleBarsVersion | |||
lazy val jenaArq = "org.apache.jena" % "jena-arq" % jenaVersion | |||
lazy val jenaArq = "org.apache.jena" % "jena-arq" % jenaVersion exclude ("com.apicatalog", "titanium-json-ld") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make sure we don't use Json-LD 1.1 for now
import java.util.regex.Pattern.quote | ||
import scala.concurrent.duration._ | ||
|
||
class SearchSparqlQuerySpec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failing useless test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me it would be great if you could also check the validation of something of type Dataset
, as it is also a complex shape, and most of our models will inherit it, including neuron morphologies. So using for example this resource as dataset would do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I will write a ticket about it as it can help defuse some regressions early.
If we integrate more of those in our tests, we will have to update those to follow the changes so some help will be appreciated :)
@@ -21,6 +21,6 @@ | |||
}, | |||
"value": "nxv:42" | |||
}, | |||
"targetedNodes": 417 | |||
"targetedNodes": 412 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this changing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not totally sure but we don't load the dash/tosh extensions provided by Topbraid anymore so my guess is there are fewer constraints and fewer nodes can get validated in the end.
targetedNodes
is also a Nexus thing and if a node validated by several constraints will be accounted several times.
@@ -57,7 +57,7 @@ val postgresJdbcVersion = "42.7.3" | |||
val pureconfigVersion = "0.17.6" | |||
val scalaTestVersion = "3.2.18" | |||
val scalaXmlVersion = "2.2.0" | |||
val topBraidVersion = "1.3.2" // 1.4.1 fails to validate some test schemas |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you encounter any particular issues with validation for some schemas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only when loading the extensions from topbraid where they added more constraints in 1.4.x and some were breaking.
As we don't rely on them, I made the change to only rely on those from shacl core.
There are still a few tests to be done though (via the validate endpoints) to make sure things are ok
Fixes #4683
Before:
After: