Ticket #362. Got connection create working.
This commit is contained in:
1 parent
feb03b87c5
commit
8b2acc99b6
3 files changed
+8
No files matched your search
+3
@@ -180,6 +180,9 @@ public class ConnectionDirectory implements Directory<String, Connection>{
|
||||
// Create connection
|
||||
MySQLConnection connection = connectionService.createConnection(
|
||||
name, object.getConfiguration().getProtocol(), user_id, parentID);
|
||||
|
||||
// Set the connection ID
|
||||
object.setIdentifier(connection.getIdentifier());
|
||||
|
||||
// Add connection parameters
|
||||
createConfigurationValues(connection.getConnectionID(),
|
||||
|
||||
+3
@@ -168,6 +168,9 @@ public class ConnectionGroupDirectory implements Directory<String, ConnectionGro
|
||||
// Create connection group
|
||||
MySQLConnectionGroup connectionGroup = connectionGroupService
|
||||
.createConnectionGroup(name, user_id, parentID, mySQLType);
|
||||
|
||||
// Set the connection group ID
|
||||
object.setIdentifier(connectionGroup.getIdentifier());
|
||||
|
||||
// Finally, give the current user full access to the newly created
|
||||
// connection group.
|
||||
|
||||
Reference in new issue
Block a user