kolchagov/java-crud-api

Startup parameters

matteobaccan opened this issue · 1 comments

Hi

I have seen that CrudApiHandler manages the startup of the project.
At the moment all the parameters are hardcoded inside the code of the project.
To have a new startup I need to write an alternative Handler with different driver/parameters/: this is not a problem

But I think that a configurable startup may help to have a better product
For example

java -jar server.jar -host 10.10.7.14 -port 1234 -datasource ORACLE -user foo -password bar

Can I produce a PR with this modification to default CrudApiHandler ?

ciao
matteo