Skip to content

Update 'How to Expose a Datasource as a Service' guide #1538

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

Merged
merged 4 commits into from
Apr 30, 2025

Conversation

SanojPunchihewa
Copy link
Contributor

@SanojPunchihewa SanojPunchihewa commented Apr 24, 2025

Purpose

Update 'How to Expose a Datasource as a Service' guide with detailed explanations.

Screenshot 2025-04-24 at 08 13 54

Fixes: #1542

Related Issue

#1526

@@ -1,43 +1,50 @@
# How to Expose a Datasource as a Service
# Build your first Data Service
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it better to have How to Expose a Datasource as a Service. As that explains why you need to create a dataservice.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we have another example as How to Expose an RDBMS Datasource and this guide aims new users changed this to Build your first Data Service

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, my concern is by looking at the topic, the need for creating a dataservice is not addressed. The question is why I should create my first dataservice.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed with 37951df


4. Create a user and grant the user access to the Database.
2. Connect to the MySQL server using a MySQL client to create and populate the necessary database for this tutorial. Follow the steps below to create the `Employees` database, a new user named `wso2mi`, and the `Employee` table.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we change the database name here? As both the table and db name are same, and it is not the usual case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed with dfc9462

@SanojPunchihewa SanojPunchihewa merged commit 893abbd into wso2:main Apr 30, 2025
1 check passed
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.

How to Expose a Datasource as a Service
2 participants