-
-
Notifications
You must be signed in to change notification settings - Fork 47
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 support for multiple databases #554
Comments
kdhrubo
pushed a commit
that referenced
this issue
May 11, 2024
kdhrubo
pushed a commit
that referenced
this issue
May 11, 2024
kdhrubo
pushed a commit
that referenced
this issue
May 11, 2024
kdhrubo
pushed a commit
that referenced
this issue
May 11, 2024
kdhrubo
pushed a commit
that referenced
this issue
May 11, 2024
kdhrubo
pushed a commit
that referenced
this issue
May 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #458
Originally posted by MichalisDBA April 12, 2024
Hello.
I do not know if you have this on the roadmap. I'll just give you my idea on how i envision to work with multiple data sources running a single instance of db2rest.
Create a config file. Let's say
datasources.conf
Inside this configuration file have the following settings:
Then you can run db2rest like that:
java --config=datasources.conf -jar db2rest.jar
When the application starts you can query the different data sources like that
http://localhost:8090/db1/my_table/?
http://localhost:8090/db2/my_view/?
Something like that.
The text was updated successfully, but these errors were encountered: