Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add remote database integration #926

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nirzaf
Copy link

@nirzaf nirzaf commented Aug 13, 2024

Fixes #907

Add support for remote database connections when importing an existing database.

  • backend/database/manager.ts
    • Add connectToRemoteDatabase method to support remote database connections.
    • Update connectToDatabase method to handle both local and remote database connections based on the provided configuration.
    • Add _connectRemote method to handle remote database connections.
  • backend/database/core.ts
    • Add connectToRemoteDatabase method to support remote database connections.
  • README.md
    • Add instructions for configuring and using the remote database connection feature.
  • src/pages/DatabaseConnections.vue
    • Add a new user interface to configure remote database details.
    • Include fields for database type, authentication method, connection string, connection timeout, and request timeout.
    • Add buttons for testing the connection, saving, and canceling.

Fixes frappe#907

Add support for remote database connections when importing an existing database.

* **backend/database/manager.ts**
  - Add `connectToRemoteDatabase` method to support remote database connections.
  - Update `connectToDatabase` method to handle both local and remote database connections based on the provided configuration.
  - Add `_connectRemote` method to handle remote database connections.
* **backend/database/core.ts**
  - Add `connectToRemoteDatabase` method to support remote database connections.
* **README.md**
  - Add instructions for configuring and using the remote database connection feature.
* **src/pages/DatabaseConnections.vue**
  - Add a new user interface to configure remote database details.
  - Include fields for database type, authentication method, connection string, connection timeout, and request timeout.
  - Add buttons for testing the connection, saving, and canceling.
@wolono
Copy link

wolono commented Sep 5, 2024

Where is the page to set up the remote database, it has not been

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

💡 [Feature Request] - Remote DB integration
2 participants