Skip to content

nes-examples/sample-spring-boot-2-7-gradle-4-5

Repository files navigation

NES for Spring Boot 2.7

Demonstrating Gradle 4.5 Integration

This sample application uses the HeroDevs NES for Spring Boot 2.7 trial application. This repository demonstrates how to use Gradle 4.5 with the HeroDevs NES for Spring Boot 2.7 trial version.

⚠️ Important: This is a trial version and is not intended for production use. Trial versions have zero CVE fixes included. The purpose of trial versions is to verify integration with HeroDevs repositories. To obtain fully secure, drop in replacements please contact sales.

🟡 Caution: This repository demonstrates a quick and simple way to integrate with the HeroDevs NES repository. Usernames and password values are hard coded in Gradle files. When moving to production, take care of your username and password values in a more secure way.

Pet Clinic Lite

This application stores Pet data in a local H2 database. The information is automatically loaded when the Spring Boot application starts and is exposed via REST endpoints.

This application uses:

  • Spring Boot 1.5
  • Spring Framework 4.3
  • Spring Security 4.2
  • Spring Data JPA 1.11

These versions are managed by Spring Boot.

Building with Gradle 4.5

If you run the command

./gradlew version

You should see that the Gradle wrapper is using Gradle 4.5.

user_name@mac trial-spring-boot-2-7-gradle-4-5 % ./gradlew --version

------------------------------------------------------------
Gradle 4.5
------------------------------------------------------------

Now build the application with:

./gradlew clean build

And you should get a successful build.

Next Steps

Congratulations! Your Spring project is ready to be secure. Contact HeroDevs for a registry token to get full access. Simply change the herodevs_nes_registry_token field in gradle.properties or the password in settings.xml to your specific token and the next build will use NES for Spring dependencies with zero CVEs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages