Skip to content

Commit b6bbcf4

Browse files
authored
Merge pull request #300 from eclipse/update-graph-database
Update graph database
2 parents ad743dd + 823ee2a commit b6bbcf4

File tree

85 files changed

+194
-197
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+194
-197
lines changed

CHANGELOG.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version
88

99
== [Unreleased]
1010

11+
== Changes
12+
13+
- Update API using Apache Tinkerpop
14+
- Update package name of Graph to Tinkerpop
15+
1116
== [1.1.3] - 2024-10-24
1217

1318
=== Added

jnosql-tinkerpop/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1919
<modelVersion>4.0.0</modelVersion>
2020
<parent>
21-
<groupId>org.eclipse.jnosql.mapping</groupId>
22-
<artifactId>jnosql-mapping-parent</artifactId>
21+
<groupId>org.eclipse.jnosql.databases</groupId>
22+
<artifactId>jnosql-databases-parent</artifactId>
2323
<version>1.1.4-SNAPSHOT</version>
2424
</parent>
2525

26-
<artifactId>jnosql-mapping-graph</artifactId>
26+
<artifactId>jnosql-tinkerpop</artifactId>
2727

2828
<properties>
2929
<tinkerpop.version>3.7.3</tinkerpop.version>
@@ -36,7 +36,7 @@
3636

3737
<dependencies>
3838
<dependency>
39-
<groupId>${project.groupId}</groupId>
39+
<groupId>org.eclipse.jnosql.mapping</groupId>
4040
<artifactId>jnosql-mapping-semistructured</artifactId>
4141
<version>${project.version}</version>
4242
<exclusions>

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/communication/graph/CommunicationEntityConverter.java renamed to jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/communication/CommunicationEntityConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* Otavio Santana
1414
*/
15-
package org.eclipse.jnosql.communication.graph;
15+
package org.eclipse.jnosql.databases.tinkerpop.communication;
1616

1717
import org.apache.tinkerpop.gremlin.structure.Vertex;
1818
import org.eclipse.jnosql.communication.semistructured.CommunicationEntity;

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/communication/graph/DefaultGraphDatabaseManager.java renamed to jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/communication/DefaultGraphDatabaseManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* Otavio Santana
1414
*/
15-
package org.eclipse.jnosql.communication.graph;
15+
package org.eclipse.jnosql.databases.tinkerpop.communication;
1616

1717
import jakarta.data.exceptions.EmptyResultException;
1818
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal;

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/communication/graph/GraphConfiguration.java renamed to jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/communication/GraphConfiguration.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* Otavio Santana
1414
*/
15-
package org.eclipse.jnosql.communication.graph;
15+
package org.eclipse.jnosql.databases.tinkerpop.communication;
1616

1717
import org.apache.tinkerpop.gremlin.structure.Graph;
1818
import org.eclipse.jnosql.communication.CommunicationException;
@@ -33,6 +33,7 @@ public interface GraphConfiguration extends Function<Settings, Graph> {
3333
* @param <T> the configuration type
3434
* @return {@link GraphConfiguration} instance
3535
*/
36+
@SuppressWarnings("unchecked")
3637
static <T extends GraphConfiguration> T getConfiguration() {
3738
return (T) ServiceLoader.load(GraphConfiguration.class)
3839
.stream()
@@ -48,6 +49,7 @@ static <T extends GraphConfiguration> T getConfiguration() {
4849
* @param type the particular provider
4950
* @return {@link GraphConfiguration} instance
5051
*/
52+
@SuppressWarnings("unchecked")
5153
static <T extends GraphConfiguration> T getConfiguration(Class<T> type) {
5254
return (T) ServiceLoader.load(GraphConfiguration.class)
5355
.stream()

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/communication/graph/GraphDatabaseManager.java renamed to jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/communication/GraphDatabaseManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* Otavio Santana
1414
*/
15-
package org.eclipse.jnosql.communication.graph;
15+
package org.eclipse.jnosql.databases.tinkerpop.communication;
1616

1717
import org.apache.tinkerpop.gremlin.structure.Graph;
1818
import org.eclipse.jnosql.communication.semistructured.DatabaseManager;

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/communication/graph/GraphTransactionUtil.java renamed to jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/communication/GraphTransactionUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* Otavio Santana
1414
*/
15-
package org.eclipse.jnosql.communication.graph;
15+
package org.eclipse.jnosql.databases.tinkerpop.communication;
1616

1717
import org.apache.tinkerpop.gremlin.structure.Graph;
1818
import org.apache.tinkerpop.gremlin.structure.Transaction;

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/communication/graph/TraversalExecutor.java renamed to jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/communication/TraversalExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* Otavio Santana
1414
*/
15-
package org.eclipse.jnosql.communication.graph;
15+
package org.eclipse.jnosql.databases.tinkerpop.communication;
1616

1717
import org.apache.tinkerpop.gremlin.process.traversal.P;
1818
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal;

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/communication/graph/package-info.java renamed to jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/communication/package-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* in the JNoSQL project. It contains interfaces, classes, and utilities that enable developers to
1919
* communicate with and manage graph databases.
2020
* <p>
21-
* The core interface in this package is {@link org.eclipse.jnosql.communication.graph.GraphDatabaseManager},
21+
* The core interface in this package is {@link org.eclipse.jnosql.databases.tinkerpop.communication.GraphDatabaseManager},
2222
* which extends {@link org.eclipse.jnosql.communication.semistructured.DatabaseManager}
2323
* and acts as a specialized extension for managing graph databases. Implementations of this interface
2424
* provide methods for interacting with the underlying graph database, executing graph traversals,
@@ -28,4 +28,4 @@
2828
* for working with different graph database technologies supported by JNoSQL.
2929
* </p>
3030
*/
31-
package org.eclipse.jnosql.communication.graph;
31+
package org.eclipse.jnosql.databases.tinkerpop.communication;

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/mapping/graph/AbstractEdgeTraversal.java renamed to jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/mapping/AbstractEdgeTraversal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* Otavio Santana
1414
*/
15-
package org.eclipse.jnosql.mapping.graph;
15+
package org.eclipse.jnosql.databases.tinkerpop.mapping;
1616

1717
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal;
1818
import org.apache.tinkerpop.gremlin.structure.Edge;

0 commit comments

Comments
 (0)