diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index b76431fc63..65c79b839b 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -22,6 +22,13 @@ include::content/docs/variables.adoc-include[] * The `html` field type will be removed in the future. Instead the `string` type will be used in combination with an additional configuration property for this field in the schema. Of course, your existing schemas will be migrated for you. +[[v1.10.6]] +== 1.10.6 (TBD) + +icon:check[] OrientDB: The included OrientDB version has been updated to version `3.2.18`. + +icon:check[] OrientDB: The included OrientDB Studio has been updated to version `3.2.18`. + [[v1.10.5]] == 1.10.5 (19.04.2023) diff --git a/bom/pom.xml b/bom/pom.xml index d3d6ff5a38..fa0287148a 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -25,7 +25,7 @@ 5.5.7 ${project.version} 1.1.1 - 3.2.10 + 3.2.18 3.12.8 2.13.2 2.13.2 @@ -502,6 +502,12 @@ mesh-orientdb ${project.version} + + com.orientechnologies + orientdb-studio + ${orientdb.version} + zip + com.tinkerpop.gremlin gremlin-java diff --git a/databases/orientdb/pom.xml b/databases/orientdb/pom.xml index 2656c4e82d..c97879ee94 100644 --- a/databases/orientdb/pom.xml +++ b/databases/orientdb/pom.xml @@ -114,6 +114,32 @@ + + org.apache.maven.plugins + maven-dependency-plugin + + + + copy-plugin-dependencies + process-resources + + copy + + + + + com.orientechnologies + orientdb-studio + zip + true + ${project.build.directory}/classes/plugins + orientdb-studio.zip + + + + + + diff --git a/databases/orientdb/src/main/java/com/gentics/mesh/graphdb/OrientDBDatabase.java b/databases/orientdb/src/main/java/com/gentics/mesh/graphdb/OrientDBDatabase.java index d597b8c80b..556af7df01 100644 --- a/databases/orientdb/src/main/java/com/gentics/mesh/graphdb/OrientDBDatabase.java +++ b/databases/orientdb/src/main/java/com/gentics/mesh/graphdb/OrientDBDatabase.java @@ -649,7 +649,7 @@ public void setToMaster() { ROLES newORole = isSelf ? ROLES.MASTER : ROLES.REPLICA; newCfg.setServerRole(server, newORole); } - plugin.updateCachedDatabaseConfiguration(GraphStorage.DB_NAME, newCfg, true); + plugin.updateCachedDatabaseConfiguration(GraphStorage.DB_NAME, newCfg); } @Override @@ -693,7 +693,7 @@ public void updateClusterConfig(ClusterConfigRequest request) { // the plugin won't detect them // see https://github.com/orientechnologies/orientdb/blob/3.1.x/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/ODistributedAbstractPlugin.java#L441 newCfg.override(newCfg.getDocument()); - plugin.updateCachedDatabaseConfiguration(GraphStorage.DB_NAME, newCfg, true); + plugin.updateCachedDatabaseConfiguration(GraphStorage.DB_NAME, newCfg); } else { throw error(BAD_REQUEST, "error_cluster_status_only_available_in_cluster_mode"); } diff --git a/databases/orientdb/src/main/java/com/gentics/mesh/graphdb/cluster/OrientDBClusterManagerImpl.java b/databases/orientdb/src/main/java/com/gentics/mesh/graphdb/cluster/OrientDBClusterManagerImpl.java index 1b40191ab0..1ecc19a484 100644 --- a/databases/orientdb/src/main/java/com/gentics/mesh/graphdb/cluster/OrientDBClusterManagerImpl.java +++ b/databases/orientdb/src/main/java/com/gentics/mesh/graphdb/cluster/OrientDBClusterManagerImpl.java @@ -73,7 +73,7 @@ public class OrientDBClusterManagerImpl implements OrientDBClusterManager { private static final String ORIENTDB_PLUGIN_FOLDERNAME = "orientdb-plugins"; - private static final String ORIENTDB_STUDIO_ZIP = "orientdb-studio-3.1.6.zip"; + private static final String ORIENTDB_STUDIO_ZIP = "orientdb-studio.zip"; private static final String ORIENTDB_DISTRIBUTED_CONFIG = "default-distributed-db-config.json"; @@ -347,7 +347,7 @@ public ClusterStatusResponse getClusterStatus() { ClusterStatusResponse response = new ClusterStatusResponse(); if (hazelcastPlugin != null) { ODocument distribCfg = hazelcastPlugin.getClusterConfiguration(); - ODocument dbConfig = (ODocument) hazelcastPlugin.getConfigurationMap().get("database.storage"); + ODocument dbConfig = (ODocument) hazelcastPlugin.getOnlineDatabaseConfiguration("storage"); ODocument serverConfig = dbConfig.field("servers"); Collection members = distribCfg.field("members"); diff --git a/databases/orientdb/src/main/resources/plugins/orientdb-studio-3.1.6.zip b/databases/orientdb/src/main/resources/plugins/orientdb-studio-3.1.6.zip deleted file mode 100644 index 4e9cd4d7c8..0000000000 Binary files a/databases/orientdb/src/main/resources/plugins/orientdb-studio-3.1.6.zip and /dev/null differ