Skip to content

Refactoring RemoteDatabase API #1327

Closed
Closed

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.

Activity

  1. added
    enhancement
    on Nov 16, 2023
  2. added this to the 23.11.1 milestone on Nov 16, 2023
  3. self-assigned this
    on Nov 16, 2023
  4. added a commit that references this issue on Nov 16, 2023
  5. lvca commented on Nov 16, 2023

    @lvca
    MemberAuthor

    Completed. @gramian, I moved the server methods in the new RemoteServer class for documentation purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions