在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):spring-petclinic/spring-petclinic-kotlin开源软件地址(OpenSource Url):https://github.com/spring-petclinic/spring-petclinic-kotlin开源编程语言(OpenSource Language):Kotlin 74.2%开源软件介绍(OpenSource Introduction):Kotlin version of the Spring PetClinic Sample ApplicationThis is a Kotlin version of the spring-petclinic Application. Technologies used
Running petclinic locallyWith gradle command line
With Docke
You can then access petclinic here: http://localhost:8080/ Database configurationIn its default configuration, Petclinic uses an in-memory database (H2) which gets populated at startup with data.
The h2 console is automatically exposed at A similar setup is provided for MySql in case a persistent database configuration is needed. Note that whenever the database type is changed, the data-access.properties file needs to be updated and the mysql-connector-java artifact from the pom.xml needs to be uncommented. You could start a MySql database with docker:
Further documentation is provided here. Looking for something in particular?
Import and run the project in IntelliJ IDEA
Documentation
Publishing a Docker imageThis application uses Google Jib to build an optimized Docker image
into the Docker Hub
repository.
The build.gradle.kts has been configured to publish the image with a the Build and push the container image of Petclinic to the Docker Hub registry:
Interesting Spring Petclinic forksThe Spring Petclinic master branch in the main spring-projects GitHub org is the "canonical" implementation, currently based on Spring Boot and Thymeleaf. This [spring-petclinic-kotlin][] project is one of the several forks hosted in a special GitHub org: spring-petclinic. If you have a special interest in a different technology stack that could be used to implement the Pet Clinic then please join the community there. Interaction with other open source projectsOne of the best parts about working on the Spring Petclinic application is that we have the opportunity to work in direct contact with many Open Source projects. We found some bugs/suggested improvements on various topics such as Spring, Spring Data, Bean Validation and even Eclipse! In many cases, they've been fixed/implemented in just a few days. Here is a list of them:
ContributingThe issue tracker is the preferred channel for bug reports, features requests and submitting pull requests. For pull requests, editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论