Skip to content

Refactoring RemoteDatabase API #1327

@lvca

Description

@lvca

With ArcadeDB 23.10.1, the RemoteDatabase API has 2 use cases:

  • manage the server
  • being a BasicDatabase implementation to emulate most of the EmbeddedDatabase API

The ideal would be splitting the class in 2:

  • RemoteDatabase as only a BasicDatabase implementation that works with a remote server and
  • RemoteServer, as a new class that allows to control the server, namely: create/drop databases, create/drop users, list for available databases and in the future more operations with the server. This class doesn't need the database name

This would break the current API for whom is using RemoteDatabase to manage server users, list the available databases and create new databases.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions