A sample Spring Boot + Spring Data JPA Kotlin project.
./gradlew clean build
./gradlew clean bootRun
-
- Get all users - http://localhost:8080/
- User Count - http://localhost:8080/count
- Find by first name - http://localhost:8080/first/{name}
- Find by last name - http://localhost:8080/last/{name}
- Find by name - http://localhost:8080/last?name={name}
-
- Get all users - http://localhost:8080/mvc/users
- Get all users with filter - http://localhost:8080/mvc/users?filter={string}
-
- Get all scientists - http://localhost:8080/scientists
- Get scientist - http://localhost:8080/scientists/{id}
- Search scientist - http://localhost:8080/scientists/search/findBySurname?sn={surname}
- Get all scientists (paginated) http://localhost:8080/scientists?page=5&size=2
-
Monitoring
- Health - http://localhost:8080/admin/health
- Metrics - http://localhost:8080/admin/metrics
- Trace - http://localhost:8080/admin/trace
- ThreadDump - http://localhost:8080/admin/dump
- Env - http://localhost:8080/admin/env
- Beans - http://localhost:8080/admin/beans
- Http Mappings - http://localhost:8080/admin/mappings
-
Static
By default the remote shell will listen for connections on port 2000
. The default credential is oneops/oneops
.
$ ssh -p 2000 oneops@localhost