Spring Boot 2 WebFlux and Reactive RDBMS Connection using Rx2Java JDBC, with CRUD as usecase.
- Kotlin 1.3.50
- Spring Boot 2.2.x
- Rx2Java JDBC v0.2.5, RxJava2 integration with JDBC including Non-blocking Connection Pools.
- Postgresql 10
- Gradle 5.6.2 + Kotlin DSL
- Vagrant + Ansible, for bootstrap & provisioning the development environment.
-
Provision dev env with Vagrant
# Starting vagrant vm and provision for first time vagrant up # Re-provisioning vagrant vagrant provision
-
Running application
./gradlew bootRun
Url is:
http://localhost:8084/
HTTP Method | Path | Description |
---|---|---|
GET | /persons | Get all existing person data. |
GET | /persons/{id} | Get existing person data by Id. |
POST | /persons | Insert new person data. |
PUT | /persons/{id} | Update existing person data by Id. |
DELETE | /persons/{id} | Delete existing person data by Id. |
GET | /ping | Testing endpoing. |
License under the MIT license. See LICENSE file.