Skip to content
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

Merge main into develop #63

Open
wants to merge 115 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
6bd8fff
GH-4920 SPARQLConnection.size() method should not fetch every stateme…
JervenBolleman May 5, 2024
9650d55
GH-4920 When sending the remote size query make sure we don't send null,
JervenBolleman May 11, 2024
a01fab9
GH-4920 Make the logic that distinguises between counting from the re…
JervenBolleman May 31, 2024
fc2b9b4
GH-5024 Fix 'nuclear' delete bug in RDF4JTemplate.delete(IRI, List<Pr…
fkleedorfer Jun 6, 2024
67ea4a5
next development iteration: 5.0.1-SNAPSHOT (#5044)
hmottestad Jun 20, 2024
6d37183
javadocs for 5.0.0 (#5046)
hmottestad Jun 20, 2024
8c90fd7
added info about shacl
hmottestad Jun 6, 2024
26cc22a
Update 5.0.0.md
JervenBolleman Jun 6, 2024
f6b6457
Update 5.0.0.md release notes for federation improvements
aschwarte10 Jun 18, 2024
c925822
updates to the release notes
hmottestad Jun 20, 2024
b449335
updates to the release notes
hmottestad Jun 20, 2024
8e9043b
5.0.0 Release Notes (#5025)
hmottestad Jun 20, 2024
5a6b5f2
GH-5048: updated spring dependency to fix CVEs
barthanssens Jun 23, 2024
52b4106
GH-4784 switched approach for deadlock prevention (#5001)
hmottestad Jun 28, 2024
935f515
GH-5059 remove calls to E(...) when the return value is already being…
hmottestad Jun 28, 2024
01b7798
GH-5055 make mapdb3 default for the FedX engine as well
JervenBolleman Jun 29, 2024
e0e9868
GH-5050: add netty dependency management to fix CVEs (#5051)
barthanssens Jun 30, 2024
81eb983
GH-5060: use more recent version of zookeeper to fix CVE (#5062)
barthanssens Jul 1, 2024
a9cc8ad
Un-deprecate RDFa parser setting
edwardsph Jul 5, 2024
3413423
GH-4779: Un-deprecate RDFa parser setting (#5069)
hmottestad Jul 6, 2024
9aab536
GH-5052: use more recent version of snappy to fix CVEs (#5065)
barthanssens Jul 9, 2024
e5faa2c
GH-5059 improve error handling and logging
hmottestad Jul 9, 2024
ae61579
GH-5048: updated spring dependency to fix CVEs (#5049)
hmottestad Jul 9, 2024
5ed5bad
GH-5059 remove calls to E(...) when the return value is already being…
hmottestad Jul 9, 2024
b2c2e30
GH-5024 Fix 'nuclear' delete bug in RDF4JTemplate.delete(IRI, List) (…
hmottestad Jul 9, 2024
8ed93eb
fix minor code formatting issues
hmottestad Jul 9, 2024
dd47bfc
GH-5024 Fix 'nuclear' delete bug in RDF4JTemplate.delete(IRI, List) …
hmottestad Jul 9, 2024
6bee96d
release 5.0.1
hmottestad Jul 9, 2024
e7081ed
next development iteration: 5.0.2-SNAPSHOT
hmottestad Jul 9, 2024
42b8912
javadocs for 5.0.1
hmottestad Jul 9, 2024
09c8013
news item and release-notes if relevant for 5.0.1
hmottestad Jul 9, 2024
3642ac8
update release notes
hmottestad Jul 9, 2024
097f568
next development iteration: 5.0.2-SNAPSHOT (#5071)
hmottestad Jul 9, 2024
845744b
update release notes
hmottestad Jul 10, 2024
809bf89
GH-5073: added note on CVEs
barthanssens Jul 10, 2024
33be23c
GH-5073: added note on CVEs (#5074)
hmottestad Jul 10, 2024
2a998c3
5.0.1-release-notes (#5073)
hmottestad Jul 10, 2024
bfa6b86
GH-5053: avoid log spam for configurations class with legacy settings
aschwarte10 Jul 18, 2024
6b277fe
GH-5095 add tests to verify that startRdf and endRdf are called at th…
hmottestad Aug 2, 2024
a01eeef
GH-5095 correctly call startRDF() and endRDF() when parsing json-ld
hmottestad Aug 2, 2024
d7fa13a
GH-5095 Correctly call startRDF() and endRDF*() when parsing JSON-LD …
hmottestad Aug 2, 2024
fea9b23
improve release script to delay calling jenkins until we know that th…
hmottestad Aug 2, 2024
8ab154d
Improve release script (#5097)
hmottestad Aug 2, 2024
23a5140
release 5.0.2
hmottestad Aug 2, 2024
610f064
next development iteration: 5.0.3-SNAPSHOT
hmottestad Aug 2, 2024
1e3979a
javadocs for 5.0.2
hmottestad Aug 2, 2024
022c0ac
news item and release-notes if relevant for 5.0.2
hmottestad Aug 2, 2024
a024547
next development iteration: 5.0.3-SNAPSHOT (#5098)
hmottestad Aug 2, 2024
0cc4c24
update release notes, news item and downloads file
hmottestad Aug 3, 2024
2dd9772
add release notes and javadocs for rdf4j 4.3.13
hmottestad Aug 3, 2024
ed0e817
update script
hmottestad Aug 3, 2024
59eba18
5.0.2-release-notes (#5102)
hmottestad Aug 3, 2024
1044c5c
GH-5053: avoid log spam for configurations class with legacy settings…
aschwarte10 Aug 12, 2024
ffde1ff
GH-5105: make MonitoringImpl in FedX thread safe
aschwarte10 Aug 12, 2024
20fb23f
GH-5105: make MonitoringImpl in FedX thread safe (#5106)
aschwarte10 Aug 13, 2024
356809a
GH-5108 add a java system property to modify the limit for when we ca…
hmottestad Aug 14, 2024
eab7272
GH-5108 add a java system property to modify the limit for when we ca…
hmottestad Aug 14, 2024
e9d9c40
GH-5112 add test cases
hmottestad Aug 26, 2024
302d4ef
GH-5112 fix for sh:pattern difference between SPARQL and transactiona…
hmottestad Aug 26, 2024
1d3fb90
closes GH-5113
hmottestad Aug 26, 2024
eae9e0a
closes GH-5114 fix for SPARQL constraint values being null
hmottestad Aug 26, 2024
2f0767c
closes GH-5115 fix for bug where sh:class could cause missing validat…
hmottestad Aug 26, 2024
235d3af
optimize imports
hmottestad Aug 27, 2024
5c956e1
GH-5112 various bugs related to the ShaclSail (#5117)
hmottestad Aug 27, 2024
8a0f374
wip
hmottestad Aug 29, 2024
10eb88e
wip
hmottestad Aug 29, 2024
89c9579
GH-5115 Fix for performance issues with ShaclSail after fix for compr…
hmottestad Sep 18, 2024
537ee67
Update merge_main_to_develop.yml
hmottestad Sep 18, 2024
a253fd5
Update merge_main_to_develop.yml (#5128)
hmottestad Sep 18, 2024
d73ca10
javadocs
hmottestad Oct 2, 2024
a2ce57a
news item and release-notes if relevant for 4.3.14
hmottestad Oct 2, 2024
b4978ec
updated download.md
hmottestad Oct 2, 2024
3ce724d
updated release notes
hmottestad Oct 2, 2024
bbc030c
Bump commons-io:commons-io from 2.11.0 to 2.14.0
dependabot[bot] Oct 3, 2024
d05b511
Bump commons-io:commons-io from 2.11.0 to 2.14.0 (#5146)
hmottestad Oct 3, 2024
475d09e
GH-5148 Introduce "soft fail" for corrupt ValueStore
ebner Oct 10, 2024
029df52
GH-5148 Fixed typo
ebner Oct 10, 2024
0963f6f
GH-5153 benchmarks
hmottestad Oct 18, 2024
09e98a3
GH-5153 reduced default threshold for using SPARQL based validation o…
hmottestad Oct 18, 2024
2377f88
GH-5153 early detection of object equality when comparing Values or g…
hmottestad Oct 21, 2024
4bd22e5
GH-5153 max count cut off for sparql based validation (#5154)
hmottestad Oct 21, 2024
755a631
4.3.14 release notes (#5144)
hmottestad Oct 22, 2024
34807e1
GH-5148 Introduce "soft fail" for corrupt ValueStore (#5150)
hmottestad Oct 23, 2024
cad4af9
GH-5148 fixes based on review
hmottestad Oct 23, 2024
196cf9d
GH-5148 add tests and extend corruption handling to more parts of the…
hmottestad Oct 23, 2024
0c58aac
GH-5148 corrupt data can be written as NQuads
hmottestad Oct 23, 2024
92f4fe4
GH-5148 add support for more files in the test cases and add a fix fo…
hmottestad Oct 24, 2024
b6215bb
GH-5148 improved soft fail on corruption for values.id and values.has…
hmottestad Oct 24, 2024
0076003
GH-5148 improved handling of corrupt spoc/posc/... indexes
hmottestad Oct 24, 2024
2e075d5
GH-5148 cleanup naming and docs
hmottestad Oct 24, 2024
590e658
GH-5148 better detection of non-empty b-tree
hmottestad Oct 25, 2024
384d1b5
GH-5159 close child of GroupIterator
frensjan Oct 28, 2024
e25913a
GH-5159 close child of GroupIterator (#5160)
hmottestad Nov 3, 2024
e18c817
GH-5167 test cases
hmottestad Nov 6, 2024
7c982dd
GH-5167 correctly handle rsx:targetShape with complex paths
hmottestad Nov 7, 2024
7a649f5
javadocs 4.3.15
hmottestad Nov 7, 2024
8e938df
news item and release-notes if relevant for 4.3.15
hmottestad Nov 7, 2024
f47ca24
update release notes and downloads
hmottestad Nov 7, 2024
2a24692
GH-5167 bug fix for exception with complex path in rsx:targetShape (#…
hmottestad Nov 7, 2024
08a518a
4.3.15 release notes 2 (#5187)
hmottestad Nov 8, 2024
517353e
GH-4920 SPARQLConnection.size() now uses count query (#4972)
hmottestad Nov 10, 2024
8fbb4ee
GH-5148 improved error message
hmottestad Nov 10, 2024
c47fe2b
improve javadocs and make some tests more robust
hmottestad Nov 10, 2024
136be9f
GH-5148 Introduce "soft fail" for corrupt ValueStore (#5157)
hmottestad Nov 10, 2024
f0de3ae
javadocs for 5.1.0-M1
hmottestad Nov 10, 2024
564e00a
news item and release-notes if relevant for 5.1.0-M1
hmottestad Nov 10, 2024
a63c50a
release 5.0.3
hmottestad Nov 10, 2024
eb50c89
next development iteration: 5.0.4-SNAPSHOT
hmottestad Nov 10, 2024
8562a0a
javadocs for 5.0.3
hmottestad Nov 10, 2024
ef667cf
news item and release-notes if relevant for 5.0.3
hmottestad Nov 10, 2024
1b252f2
next development iteration: 5.0.4-SNAPSHOT (#5193)
hmottestad Nov 10, 2024
67edecb
5.1.0-M1-release-notes (#5192)
hmottestad Nov 10, 2024
0203c44
update download.md
hmottestad Nov 11, 2024
166eac9
update release notes
hmottestad Nov 11, 2024
8fed00e
5.0.3 release notes (#5196)
hmottestad Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/merge_main_to_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
destination_branch: "develop" # If blank, default: main
pr_title: "Merge main into develop"
pr_body: "Automatically generated PR to keep develop in sync with main.\n\n **USE MERGE COMMIT TO MERGE THIS PR**.\n\nSee [merge_main_to_develop.yml](/eclipse/rdf4j/.github/workflows/merge_main_to_develop.yml)." # Full markdown support, requires pr_title to be set
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ github.token }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ org.eclipse.dash.licenses-1.0.2.jar
e2e/node_modules
e2e/playwright-report
e2e/test-results
.aider*
2 changes: 1 addition & 1 deletion assembly-descriptors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-assembly-descriptors</artifactId>
<name>RDF4J: Assembly Descriptors</name>
Expand Down
2 changes: 1 addition & 1 deletion assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-assembly</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-bom</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion compliance/elasticsearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-compliance</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-elasticsearch-compliance</artifactId>
<name>RDF4J: Elasticsearch Sail Tests</name>
Expand Down
2 changes: 1 addition & 1 deletion compliance/geosparql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-compliance</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-geosparql-compliance</artifactId>
<name>RDF4J: GeoSPARQL compliance tests</name>
Expand Down
2 changes: 1 addition & 1 deletion compliance/lucene/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-compliance</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-lucene-compliance</artifactId>
<name>RDF4J: Lucene Sail Tests</name>
Expand Down
2 changes: 1 addition & 1 deletion compliance/model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>rdf4j-compliance</artifactId>
<groupId>org.eclipse.rdf4j</groupId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>rdf4j-model-compliance</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion compliance/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-compliance</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion compliance/repository/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-compliance</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-repository-compliance</artifactId>
<packaging>war</packaging>
Expand Down
2 changes: 1 addition & 1 deletion compliance/rio/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-compliance</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-rio-compliance</artifactId>
<name>RDF4J: Rio compliance tests</name>
Expand Down
2 changes: 1 addition & 1 deletion compliance/solr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-compliance</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-solr-compliance</artifactId>
<name>RDF4J: Solr Sail Tests</name>
Expand Down
2 changes: 1 addition & 1 deletion compliance/sparql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-compliance</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-sparql-compliance</artifactId>
<packaging>war</packaging>
Expand Down
2 changes: 1 addition & 1 deletion core/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-core</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-client</artifactId>
<name>RDF4J: Client Libraries</name>
Expand Down
2 changes: 1 addition & 1 deletion core/collection-factory/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-collection-factory</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-collection-factory-api</artifactId>
<name>RDF4J: Collection Factory - API</name>
Expand Down
2 changes: 1 addition & 1 deletion core/collection-factory/mapdb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-collection-factory</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-collection-factory-mapdb</artifactId>
<name>RDF4J: Collection Factory - Map DB backed</name>
Expand Down
2 changes: 1 addition & 1 deletion core/collection-factory/mapdb3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-collection-factory</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-collection-factory-mapdb3</artifactId>
<name>RDF4J: Collection Factory - Map DB v3 backed</name>
Expand Down
2 changes: 1 addition & 1 deletion core/collection-factory/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-core</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-collection-factory</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion core/common/annotation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-common</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-common-annotation</artifactId>
<name>RDF4J: common annotation</name>
Expand Down
2 changes: 1 addition & 1 deletion core/common/exception/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-common</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-common-exception</artifactId>
<name>RDF4J: common exception</name>
Expand Down
2 changes: 1 addition & 1 deletion core/common/io/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-common</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-common-io</artifactId>
<name>RDF4J: common IO</name>
Expand Down
2 changes: 1 addition & 1 deletion core/common/iterator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-common</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-common-iterator</artifactId>
<name>RDF4J: common iterators</name>
Expand Down
2 changes: 1 addition & 1 deletion core/common/order/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-common</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-common-order</artifactId>
<name>RDF4J: common order</name>
Expand Down
2 changes: 1 addition & 1 deletion core/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-core</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-common</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion core/common/text/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-common</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-common-text</artifactId>
<name>RDF4J: common text</name>
Expand Down
2 changes: 1 addition & 1 deletion core/common/transaction/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-common</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-common-transaction</artifactId>
<name>RDF4J: common transaction</name>
Expand Down
2 changes: 1 addition & 1 deletion core/common/xml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-common</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-common-xml</artifactId>
<name>RDF4J: common XML</name>
Expand Down
2 changes: 1 addition & 1 deletion core/http/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-http</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-http-client</artifactId>
<name>RDF4J: HTTP client</name>
Expand Down
2 changes: 1 addition & 1 deletion core/http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-core</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-http</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion core/http/protocol/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-http</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-http-protocol</artifactId>
<name>RDF4J: HTTP protocol</name>
Expand Down
2 changes: 1 addition & 1 deletion core/model-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-core</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-model-api</artifactId>
<name>RDF4J: Model API</name>
Expand Down
2 changes: 1 addition & 1 deletion core/model-vocabulary/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-core</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-model-vocabulary</artifactId>
<name>RDF4J: RDF Vocabularies</name>
Expand Down
2 changes: 1 addition & 1 deletion core/model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-core</artifactId>
<version>5.0.1-SNAPSHOT</version>
<version>5.0.4-SNAPSHOT</version>
</parent>
<artifactId>rdf4j-model</artifactId>
<name>RDF4J: Model</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,13 @@ public static Set<Value> getPropertyValues(Model model, Resource subject, IRI pr
var fallbackObjects = model.filter(subject, fallbackProperty, null).objects();

if (!fallbackObjects.isEmpty() && !preferredObjects.equals(fallbackObjects)) {
logger.warn("Discrepancy between use of the old and new config vocabulary.");
var msg = "Discrepancy between use of the old and new config vocabulary.";
// depending on whether preferred is set, we log on warn or debug
if (preferredObjects.isEmpty()) {
logger.debug(msg);
} else {
logger.warn(msg);
}

if (preferredObjects.containsAll(fallbackObjects)) {
return preferredObjects;
Expand Down Expand Up @@ -235,7 +241,13 @@ public static Optional<Resource> getSubjectByType(Model model, IRI type, IRI leg
private static void logDiscrepancyWarning(Optional<? extends Value> preferred,
Optional<? extends Value> fallback) {
if (!fallback.isEmpty() && !preferred.equals(fallback)) {
logger.warn("Discrepancy between use of the old and new config vocabulary.");
var msg = "Discrepancy between use of the old and new config vocabulary.";
// depending on whether preferred is set, we log on warn or debug
if (preferred.isEmpty()) {
logger.debug(msg);
} else {
logger.warn(msg);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public void testGetLiteralValue_no_discrepancy() {
var result = Configurations.getLiteralValue(m, subject, RDFS.LABEL, RDFS.COMMENT);
assertThat(result).contains(literal("label"));
assertNotLogged("Discrepancy between use of the old and new config vocabulary.", Level.WARN);
assertNotLogged("Discrepancy between use of the old and new config vocabulary.", Level.DEBUG);
}

@Test
Expand All @@ -116,7 +117,21 @@ public void testGetLiteralValue_useLegacy_onlyNew() {
System.setProperty("org.eclipse.rdf4j.model.vocabulary.useLegacyConfig", "");

assertThat(result).contains(literal("label"));
assertLogged("Discrepancy between use of the old and new config vocabulary.", Level.WARN);
assertLogged("Discrepancy between use of the old and new config vocabulary.", Level.DEBUG);
}

@Test
public void testGetLiteralValue_onlyLegacy() {

var subject = bnode();
var m = new ModelBuilder().subject(subject)
.add(RDFS.COMMENT, "comment")
.build();

var result = Configurations.getLiteralValue(m, subject, RDFS.LABEL, RDFS.COMMENT);

assertThat(result).contains(literal("comment"));
assertLogged("Discrepancy between use of the old and new config vocabulary.", Level.DEBUG);
}

@Test
Expand Down Expand Up @@ -158,6 +173,7 @@ public void testGetResourceValue_no_discrepancy() {
var result = Configurations.getResourceValue(m, subject, RDFS.LABEL, RDFS.COMMENT);
assertThat(result).contains(iri("urn:label"));
assertNotLogged("Discrepancy between use of the old and new config vocabulary.", Level.WARN);
assertNotLogged("Discrepancy between use of the old and new config vocabulary.", Level.DEBUG);
}

@Test
Expand All @@ -183,6 +199,7 @@ public void testGetIRIValue_no_discrepancy() {
var result = Configurations.getIRIValue(m, subject, RDFS.LABEL, RDFS.COMMENT);
assertThat(result).contains(iri("urn:label"));
assertNotLogged("Discrepancy between use of the old and new config vocabulary.", Level.WARN);
assertNotLogged("Discrepancy between use of the old and new config vocabulary.", Level.DEBUG);
}

@Test
Expand All @@ -197,6 +214,7 @@ public void testGetPropertyValues_no_legacy() {
var result = Configurations.getPropertyValues(m, subject, RDFS.LABEL, RDFS.COMMENT);
assertThat(result).hasSize(2);
assertNotLogged("Discrepancy between use of the old and new config vocabulary.", Level.WARN);
assertNotLogged("Discrepancy between use of the old and new config vocabulary.", Level.DEBUG);
}

@Test
Expand All @@ -213,6 +231,7 @@ public void testGetPropertyValues_no_discrepancy() {
var result = Configurations.getPropertyValues(m, subject, RDFS.LABEL, RDFS.COMMENT);
assertThat(result).hasSize(2);
assertNotLogged("Discrepancy between use of the old and new config vocabulary.", Level.WARN);
assertNotLogged("Discrepancy between use of the old and new config vocabulary.", Level.DEBUG);
}

@Test
Expand All @@ -229,6 +248,7 @@ public void testGetPropertyValues_useLegacy_no_discrepancy() {
var result = Configurations.getPropertyValues(m, subject, RDFS.LABEL, RDFS.COMMENT);
assertThat(result).hasSize(2);
assertNotLogged("Discrepancy between use of the old and new config vocabulary.", Level.WARN);
assertNotLogged("Discrepancy between use of the old and new config vocabulary.", Level.DEBUG);
}

@Test
Expand Down
Loading
Loading