repo
stringclasses
1k values
file_url
stringlengths
96
373
file_path
stringlengths
11
294
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
6 values
commit_sha
stringclasses
1k values
retrieved_at
stringdate
2026-01-04 14:45:56
2026-01-04 18:30:23
truncated
bool
2 classes
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-springdoc/src/main/java/com/baeldung/swaggerresponseapi/model/Product.java
spring-boot-modules/spring-boot-springdoc/src/main/java/com/baeldung/swaggerresponseapi/model/Product.java
package com.baeldung.swaggerresponseapi.model; public class Product { String code; String name; public Product(String code, String name) { this.code = code; this.name = name; } public String getCode() { return code; } public void setCode(String code) { thi...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-artifacts-2/src/test/java/com/baeldung/webjar/WebjarsdemoApplicationIntegrationTest.java
spring-boot-modules/spring-boot-artifacts-2/src/test/java/com/baeldung/webjar/WebjarsdemoApplicationIntegrationTest.java
package com.baeldung.webjar; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.web.WebAppConfiguration; @RunWith(SpringJUnit4ClassRunner.cl...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-artifacts-2/src/test/java/com/baeldung/git/CommitIdIntegrationTest.java
spring-boot-modules/spring-boot-artifacts-2/src/test/java/com/baeldung/git/CommitIdIntegrationTest.java
package com.baeldung.git; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.test.context.ContextConfiguration; ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-artifacts-2/src/main/java/com/baeldung/webjar/TestController.java
spring-boot-modules/spring-boot-artifacts-2/src/main/java/com/baeldung/webjar/TestController.java
package com.baeldung.webjar; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; @Controller public class TestController { @GetMapping(value = "/") public String welcome(Model model) { return "index"; } ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-artifacts-2/src/main/java/com/baeldung/webjar/WebjarsdemoApplication.java
spring-boot-modules/spring-boot-artifacts-2/src/main/java/com/baeldung/webjar/WebjarsdemoApplication.java
package com.baeldung.webjar; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class WebjarsdemoApplication { public static void main(String[] args) { SpringApplication.run(WebjarsdemoApplication.class, ar...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-artifacts-2/src/main/java/com/baeldung/git/CommitIdApplication.java
spring-boot-modules/spring-boot-artifacts-2/src/main/java/com/baeldung/git/CommitIdApplication.java
package com.baeldung.git; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.context.support.PropertySourcesPlaceholderConfigurer; import org.springframework.core.io.Class...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-artifacts-2/src/main/java/com/baeldung/git/CommitInfoController.java
spring-boot-modules/spring-boot-artifacts-2/src/main/java/com/baeldung/git/CommitInfoController.java
package com.baeldung.git; import java.util.HashMap; import java.util.Map; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class CommitInfoController { @Valu...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-keycloak/spring-boot-resource-server/src/test/java/com/baeldung/boot/keycloak/resourceserver/ApplicationIntegrationTests.java
spring-boot-modules/spring-boot-keycloak/spring-boot-resource-server/src/test/java/com/baeldung/boot/keycloak/resourceserver/ApplicationIntegrationTests.java
package com.baeldung.boot.keycloak.resourceserver; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowi...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-keycloak/spring-boot-resource-server/src/test/java/com/baeldung/boot/keycloak/resourceserver/MeControllerUnitTests.java
spring-boot-modules/spring-boot-keycloak/spring-boot-resource-server/src/test/java/com/baeldung/boot/keycloak/resourceserver/MeControllerUnitTests.java
package com.baeldung.boot.keycloak.resourceserver; import static org.hamcrest.CoreMatchers.hasItem; import static org.hamcrest.CoreMatchers.is; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-keycloak/spring-boot-resource-server/src/main/java/com/baeldung/boot/keycloak/resourceserver/SecurityConfig.java
spring-boot-modules/spring-boot-keycloak/spring-boot-resource-server/src/main/java/com/baeldung/boot/keycloak/resourceserver/SecurityConfig.java
package com.baeldung.boot.keycloak.resourceserver; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.stream.Stream; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springfram...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-keycloak/spring-boot-resource-server/src/main/java/com/baeldung/boot/keycloak/resourceserver/MeController.java
spring-boot-modules/spring-boot-keycloak/spring-boot-resource-server/src/main/java/com/baeldung/boot/keycloak/resourceserver/MeController.java
package com.baeldung.boot.keycloak.resourceserver; import java.util.List; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.oauth2.core.oidc.StandardClaimNames; import org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken; import org.spri...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-keycloak/spring-boot-resource-server/src/main/java/com/baeldung/boot/keycloak/resourceserver/Application.java
spring-boot-modules/spring-boot-keycloak/spring-boot-resource-server/src/main/java/com/baeldung/boot/keycloak/resourceserver/Application.java
package com.baeldung.boot.keycloak.resourceserver; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author ch4mp@c4-soft.com */ @SpringBootApplication public class Application { public static void main(String[] args) { Sp...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-keycloak/spring-boot-mvc-client/src/test/java/com/baeldung/boot/keycloak/client/ApplicationIntegrationTests.java
spring-boot-modules/spring-boot-keycloak/spring-boot-mvc-client/src/test/java/com/baeldung/boot/keycloak/client/ApplicationIntegrationTests.java
package com.baeldung.boot.keycloak.client; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; imp...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-keycloak/spring-boot-mvc-client/src/main/java/com/baeldung/boot/keycloak/client/UiController.java
spring-boot-modules/spring-boot-keycloak/spring-boot-mvc-client/src/main/java/com/baeldung/boot/keycloak/client/UiController.java
package com.baeldung.boot.keycloak.client; import java.util.Objects; import org.springframework.security.core.Authentication; import org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken; import org.springframework.security.oauth2.core.oidc.user.OidcUser; import org.springframework.stereo...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-keycloak/spring-boot-mvc-client/src/main/java/com/baeldung/boot/keycloak/client/SecurityConfig.java
spring-boot-modules/spring-boot-keycloak/spring-boot-mvc-client/src/main/java/com/baeldung/boot/keycloak/client/SecurityConfig.java
package com.baeldung.boot.keycloak.client; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.stream.Collectors; import java.util.stream.Stream; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configur...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-keycloak/spring-boot-mvc-client/src/main/java/com/baeldung/boot/keycloak/client/Application.java
spring-boot-modules/spring-boot-keycloak/spring-boot-mvc-client/src/main/java/com/baeldung/boot/keycloak/client/Application.java
package com.baeldung.boot.keycloak.client; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author ch4mp@c4-soft.com */ @SpringBootApplication public class Application { public static void main(String[] args) { SpringAppl...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/TestContainersInitializer.java
spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/TestContainersInitializer.java
package com.baeldung.embeddedpostgresql; import org.junit.jupiter.api.extension.AfterAllCallback; import org.junit.jupiter.api.extension.ExtensionContext; import org.springframework.boot.test.util.TestPropertyValues; import org.springframework.context.ApplicationContextInitializer; import org.springframework.context.C...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/EmbeddedPostgresLiveTest.java
spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/EmbeddedPostgresLiveTest.java
package com.baeldung.embeddedpostgresql; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.beans.factory.annotation.Autowired; impor...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/TestContainersPostgresLiveTest.java
spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/TestContainersPostgresLiveTest.java
package com.baeldung.embeddedpostgresql; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.beans.factory.annotation.Autowired; impor...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/ZonkyEmbeddedPostgresLiveTest.java
spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/ZonkyEmbeddedPostgresLiveTest.java
package com.baeldung.embeddedpostgresql; import static io.zonky.test.db.AutoConfigureEmbeddedDatabase.DatabaseProvider.ZONKY; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; import org.springframework.beans.f...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/EmbeddedPostgresConfiguration.java
spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/EmbeddedPostgresConfiguration.java
package com.baeldung.embeddedpostgresql; import java.io.IOException; import javax.sql.DataSource; import org.junit.jupiter.api.extension.AfterAllCallback; import org.junit.jupiter.api.extension.ExtensionContext; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.context.annot...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/EmbeddedPostgresWithFlywayLiveTest.java
spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/EmbeddedPostgresWithFlywayLiveTest.java
package com.baeldung.embeddedpostgresql; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import java.util.List; import org.assertj.core.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; impo...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/EmbeddedPostgresWithFlywayConfiguration.java
spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/embeddedpostgresql/EmbeddedPostgresWithFlywayConfiguration.java
package com.baeldung.embeddedpostgresql; import java.sql.SQLException; import javax.sql.DataSource; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.jpa.rep...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/mockmvcresponse/ArticleControllerUnitTest.java
spring-boot-modules/spring-boot-testing-3/src/test/java/com/baeldung/mockmvcresponse/ArticleControllerUnitTest.java
package com.baeldung.mockmvcresponse; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.type.CollectionType; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import org.junit.jupiter.api.Test; import org...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/main/java/com/baeldung/Application.java
spring-boot-modules/spring-boot-testing-3/src/main/java/com/baeldung/Application.java
package com.baeldung; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/main/java/com/baeldung/embeddedpostgresql/Person.java
spring-boot-modules/spring-boot-testing-3/src/main/java/com/baeldung/embeddedpostgresql/Person.java
package com.baeldung.embeddedpostgresql; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; import jakarta.persistence.GenerationType; import jakarta.persistence.Id; @Entity public class Person { @Id @GeneratedValue(strategy = GenerationType.AUTO)...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/main/java/com/baeldung/embeddedpostgresql/PersonRepository.java
spring-boot-modules/spring-boot-testing-3/src/main/java/com/baeldung/embeddedpostgresql/PersonRepository.java
package com.baeldung.embeddedpostgresql; import org.springframework.data.jpa.repository.JpaRepository; public interface PersonRepository extends JpaRepository<Person, Long> { }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/main/java/com/baeldung/mockmvcresponse/Article.java
spring-boot-modules/spring-boot-testing-3/src/main/java/com/baeldung/mockmvcresponse/Article.java
package com.baeldung.mockmvcresponse; public class Article { private Long id; private String title; public Article() { } public Article(Long id, String title) { this.id = id; this.title = title; } public Long getId() { return id; } public void setId(fin...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-testing-3/src/main/java/com/baeldung/mockmvcresponse/ArticleController.java
spring-boot-modules/spring-boot-testing-3/src/main/java/com/baeldung/mockmvcresponse/ArticleController.java
package com.baeldung.mockmvcresponse; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.List; @RestController @RequestMapping public class ArticleController { @...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-http2/src/test/java/com/baeldung/http2/Http2ApplicationIntegrationTest.java
spring-boot-modules/spring-boot-http2/src/test/java/com/baeldung/http2/Http2ApplicationIntegrationTest.java
package com.baeldung.http2; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.web.server.LocalServerPort; import javax.net.ssl.SSLContext; import javax.n...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-http2/src/test/java/com/baeldung/http2/AllCertsTrustManager.java
spring-boot-modules/spring-boot-http2/src/test/java/com/baeldung/http2/AllCertsTrustManager.java
package com.baeldung.http2; import javax.net.ssl.X509TrustManager; import java.security.cert.X509Certificate; public class AllCertsTrustManager implements X509TrustManager { public X509Certificate[] getAcceptedIssuers() { return null; } public void checkClientTrusted(X509Certificate[] certs, Str...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-http2/src/test/java/com/baeldung/http2/Http2ConfigClassApplicationIntegrationTest.java
spring-boot-modules/spring-boot-http2/src/test/java/com/baeldung/http2/Http2ConfigClassApplicationIntegrationTest.java
package com.baeldung.http2; import org.springframework.test.context.ActiveProfiles; // Integration test based on enabling HTTP/2 using the configuration class Http2Config @ActiveProfiles("config-class") class Http2ConfigClassApplicationIntegrationTest extends Http2ApplicationIntegrationTest { }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-http2/src/main/java/com/baeldung/http2/Http2Application.java
spring-boot-modules/spring-boot-http2/src/main/java/com/baeldung/http2/Http2Application.java
package com.baeldung.http2; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Http2Application { public static void main(String[] args) { SpringApplication.run(Http2Application.class, args); } }...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-http2/src/main/java/com/baeldung/http2/controller/Http2Controller.java
spring-boot-modules/spring-boot-http2/src/main/java/com/baeldung/http2/controller/Http2Controller.java
package com.baeldung.http2.controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; @RestController public class Http2Controller { @GetMapping("/http2/echo") public String...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-http2/src/main/java/com/baeldung/http2/config/Http2Config.java
spring-boot-modules/spring-boot-http2/src/main/java/com/baeldung/http2/config/Http2Config.java
package com.baeldung.http2.config; import org.apache.catalina.connector.Connector; import org.apache.coyote.http2.Http2Protocol; import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory; import org.springframework.boot.web.server.WebServerFactoryCustomizer; import org.springframework.context.a...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-process-automation/src/main/java/com/baeldung/camunda/CamundaApplication.java
spring-boot-modules/spring-boot-process-automation/src/main/java/com/baeldung/camunda/CamundaApplication.java
package com.baeldung.camunda; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class CamundaApplication { public static void main(String[] args) { SpringApplication.run(CamundaApplication.class, args); } }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-process-automation/src/main/java/com/baeldung/camunda/task/CalculateInterestService.java
spring-boot-modules/spring-boot-process-automation/src/main/java/com/baeldung/camunda/task/CalculateInterestService.java
package com.baeldung.camunda.task; import org.camunda.bpm.engine.delegate.DelegateExecution; import org.camunda.bpm.engine.delegate.JavaDelegate; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; @Component public class CalculateInterestService implements JavaDe...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-gradle/src/test/java/com/baeldung/DemoApplicationTests.java
spring-boot-modules/spring-boot-gradle/src/test/java/com/baeldung/DemoApplicationTests.java
package com.baeldung; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class DemoApplicationTests { @Test public void contextLoa...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-gradle/src/main/java/com/baeldung/DemoApplication.java
spring-boot-modules/spring-boot-gradle/src/main/java/com/baeldung/DemoApplication.java
package com.baeldung; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class DemoApplication { public static void main(String[] args) { SpringApplication.run(DemoApplication.class, args); } }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-property-exp/property-exp-default-config/src/test/java/com/baeldung/SpringContextTest.java
spring-boot-modules/spring-boot-property-exp/property-exp-default-config/src/test/java/com/baeldung/SpringContextTest.java
package com.baeldung; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import com.baeldung.propertyexpansion.SpringBootPropertyExpansionApp; @RunWith(SpringRunner.class) @SpringBootTest(cl...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-property-exp/property-exp-default-config/src/main/java/com/baeldung/propertyexpansion/SpringBootPropertyExpansionApp.java
spring-boot-modules/spring-boot-property-exp/property-exp-default-config/src/main/java/com/baeldung/propertyexpansion/SpringBootPropertyExpansionApp.java
package com.baeldung.propertyexpansion; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SpringBootPropertyExpansionApp { public static void main(String[] args) { SpringApplication.run(SpringBootPro...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-property-exp/property-exp-default-config/src/main/java/com/baeldung/propertyexpansion/components/PropertyLoggerBean.java
spring-boot-modules/spring-boot-property-exp/property-exp-default-config/src/main/java/com/baeldung/propertyexpansion/components/PropertyLoggerBean.java
package com.baeldung.propertyexpansion.components; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import jakarta.annotation.PostConstruct; @Component public class PropertyLoggerBean { private st...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-property-exp/property-exp-custom-config/src/test/java/com/baeldung/SpringContextTest.java
spring-boot-modules/spring-boot-property-exp/property-exp-custom-config/src/test/java/com/baeldung/SpringContextTest.java
package com.baeldung; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import com.baeldung.propertyexpansion.SpringBootPropertyExpansionApp; @RunWith(SpringRunner.class) @SpringBootTest(cl...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-property-exp/property-exp-custom-config/src/main/java/com/baeldung/propertyexpansion/SpringBootPropertyExpansionApp.java
spring-boot-modules/spring-boot-property-exp/property-exp-custom-config/src/main/java/com/baeldung/propertyexpansion/SpringBootPropertyExpansionApp.java
package com.baeldung.propertyexpansion; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SpringBootPropertyExpansionApp { public static void main(String[] args) { SpringApplication.run(SpringBootPro...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-property-exp/property-exp-custom-config/src/main/java/com/baeldung/propertyexpansion/components/PropertyLoggerBean.java
spring-boot-modules/spring-boot-property-exp/property-exp-custom-config/src/main/java/com/baeldung/propertyexpansion/components/PropertyLoggerBean.java
package com.baeldung.propertyexpansion.components; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import jakarta.annotation.PostConstruct; @Component public class PropertyLoggerBean { private st...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/starter/SpringBootApplicationIntegrationTest.java
spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/starter/SpringBootApplicationIntegrationTest.java
package com.baeldung.starter; import static org.hamcrest.Matchers.hasSize; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.sp...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/starter/SpringBootJPAIntegrationTest.java
spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/starter/SpringBootJPAIntegrationTest.java
package com.baeldung.starter; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import com.baeldung.starter.domain.GenericEntity; import com.baeldung.starter.repository.GenericEntityRepository; import org.junit.jupiter.api.Test; import org.spr...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/starter/SpringBootMailIntegrationTest.java
spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/starter/SpringBootMailIntegrationTest.java
package com.baeldung.starter; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.hasSize; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jakar...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/bootstrap/SpringContextTest.java
spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/bootstrap/SpringContextTest.java
package com.baeldung.bootstrap; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest public class SpringContextTest { @Test public void contextLoads() { } }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/bootstrap/SpringBootBootstrapLiveTest.java
spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/bootstrap/SpringBootBootstrapLiveTest.java
package com.baeldung.bootstrap; import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic; import static org.apache.commons.lang3.RandomStringUtils.randomNumeric; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import com.baeldung...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/boot/testing/EmployeeRestControllerIntegrationTest.java
spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/boot/testing/EmployeeRestControllerIntegrationTest.java
package com.baeldung.boot.testing; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.security.servlet.SecurityAuto...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/boot/testing/EmployeeServiceImplIntegrationTest.java
spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/boot/testing/EmployeeServiceImplIntegrationTest.java
package com.baeldung.boot.testing; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mockito; import org.mockito.internal.verification.VerificationModeFactory; import org.springframework.beans.factory.annotation.Autowired; ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/boot/testing/EmployeeControllerIntegrationTest.java
spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/boot/testing/EmployeeControllerIntegrationTest.java
package com.baeldung.boot.testing; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import org.mockito.internal.verification.VerificationModeFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.secur...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/boot/testing/JsonUtil.java
spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/boot/testing/JsonUtil.java
package com.baeldung.boot.testing; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; class JsonUtil { static byte[] toJson(Object object) throws IOException { ObjectMapper mapper = new ObjectMapper(); mapper.setSer...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/boot/testing/EmployeeRepositoryIntegrationTest.java
spring-boot-modules/spring-boot-simple/src/test/java/com/baeldung/boot/testing/EmployeeRepositoryIntegrationTest.java
package com.baeldung.boot.testing; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest; import org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityManager; import java.util.List; import stat...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/VehicleFactoryConfig.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/VehicleFactoryConfig.java
package com.baeldung.annotations; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annot...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/ConditionalBeanConfiguration.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/ConditionalBeanConfiguration.java
package com.baeldung.annotations; import java.util.Properties; import org.springframework.context.annotation.Conditional; import org.springframework.context.annotation.Configuration; @Configuration public class ConditionalBeanConfiguration { @Conditional(HibernateCondition.class) Properties additionalProper...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/WebApplicationSpecificConfiguration.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/WebApplicationSpecificConfiguration.java
package com.baeldung.annotations; import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication; import org.springframework.context.annotation.Configuration; @Configuration public class WebApplicationSpecificConfiguration { @ConditionalOnWebApplication HealthCheckController healthCheckC...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/Engine.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/Engine.java
package com.baeldung.annotations; import org.springframework.beans.factory.annotation.Value; public class Engine { @Value("8") private int cylinderCount; // @Value("${engine.fuelType}") // private String fuelType; public Engine() { this(8); } public Engine(@Value("8") int cylinde...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/VehicleFactoryApplication.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/VehicleFactoryApplication.java
package com.baeldung.annotations; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class VehicleFactoryApplication { public static void main(String[] args) { SpringApplication.run(VehicleFactoryApplication....
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/MySQLAutoconfiguration.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/MySQLAutoconfiguration.java
package com.baeldung.annotations; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import javax.sql.DataSource; import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springf...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/HibernateCondition.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/HibernateCondition.java
package com.baeldung.annotations; import org.springframework.context.annotation.Condition; import org.springframework.context.annotation.ConditionContext; import org.springframework.core.type.AnnotatedTypeMetadata; public class HibernateCondition implements Condition { @Override public boolean matches(Condit...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/HealthCheckController.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/annotations/HealthCheckController.java
package com.baeldung.annotations; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class HealthCheckController { private static final String STATUS = "UP"; @Get...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/starter/Application.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/starter/Application.java
package com.baeldung.starter; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); } }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/starter/controller/GenericEntityController.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/starter/controller/GenericEntityController.java
package com.baeldung.starter.controller; import com.baeldung.starter.domain.GenericEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.R...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/starter/domain/GenericEntity.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/starter/domain/GenericEntity.java
package com.baeldung.starter.domain; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; import jakarta.persistence.GenerationType; import jakarta.persistence.Id; @Entity public class GenericEntity { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/starter/repository/GenericEntityRepository.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/starter/repository/GenericEntityRepository.java
package com.baeldung.starter.repository; import com.baeldung.starter.domain.GenericEntity; import org.springframework.data.jpa.repository.JpaRepository; public interface GenericEntityRepository extends JpaRepository<GenericEntity, Long> { }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/Application.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/Application.java
package com.baeldung.bootstrap; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.data.jpa....
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/persistence/model/Book.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/persistence/model/Book.java
package com.baeldung.bootstrap.persistence.model; import jakarta.persistence.*; @Entity public class Book { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; @Column(nullable = false, unique = true) private String title; @Column(nullable = false) private String author...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/persistence/repo/BookRepository.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/persistence/repo/BookRepository.java
package com.baeldung.bootstrap.persistence.repo; import com.baeldung.bootstrap.persistence.model.Book; import org.springframework.data.repository.CrudRepository; import java.util.List; public interface BookRepository extends CrudRepository<Book, Long> { List<Book> findByTitle(String title); }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/config/SecurityConfig.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/config/SecurityConfig.java
package com.baeldung.bootstrap.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecur...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/web/SimpleController.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/web/SimpleController.java
package com.baeldung.bootstrap.web; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class SimpleController { @Value("${spring.applica...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/web/RestExceptionHandler.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/web/RestExceptionHandler.java
package com.baeldung.bootstrap.web; import com.baeldung.bootstrap.web.exception.BookIdMismatchException; import com.baeldung.bootstrap.web.exception.BookNotFoundException; import org.hibernate.exception.ConstraintViolationException; import org.springframework.dao.DataIntegrityViolationException; import org.springframe...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/web/BookController.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/web/BookController.java
package com.baeldung.bootstrap.web; import com.baeldung.bootstrap.persistence.model.Book; import com.baeldung.bootstrap.persistence.repo.BookRepository; import com.baeldung.bootstrap.web.exception.BookIdMismatchException; import com.baeldung.bootstrap.web.exception.BookNotFoundException; import org.springframework.bea...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/web/exception/BookNotFoundException.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/web/exception/BookNotFoundException.java
package com.baeldung.bootstrap.web.exception; public class BookNotFoundException extends RuntimeException { public BookNotFoundException() { super(); } public BookNotFoundException(final String message, final Throwable cause) { super(message, cause); } public BookNotFoundExceptio...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/web/exception/BookIdMismatchException.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/bootstrap/web/exception/BookIdMismatchException.java
package com.baeldung.bootstrap.web.exception; public class BookIdMismatchException extends RuntimeException { public BookIdMismatchException() { super(); } public BookIdMismatchException(final String message, final Throwable cause) { super(message, cause); } public BookIdMismatch...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/EmployeeServiceImpl.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/EmployeeServiceImpl.java
package com.baeldung.boot.testing; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.List; @Service @Transactional public class EmployeeServiceImpl implements EmployeeService ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/EmployeeRestController.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/EmployeeRestController.java
package com.baeldung.boot.testing; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import java.util.List; @RestController @RequestMapping("/api") public class E...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/Employee.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/Employee.java
package com.baeldung.boot.testing; import jakarta.persistence.*; import jakarta.validation.constraints.Size; import java.util.Date; @Entity @Table(name = "person") public class Employee { public Employee() { } public Employee(String name) { this.name = name; } @Id @GeneratedValue(s...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/SecurityConfig.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/SecurityConfig.java
package com.baeldung.boot.testing; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/EmployeeRepository.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/EmployeeRepository.java
package com.baeldung.boot.testing; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import java.util.List; @Repository @Transactional public interface EmployeeRepository extends JpaReposito...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/EmployeeService.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/EmployeeService.java
package com.baeldung.boot.testing; import java.util.List; public interface EmployeeService { public Employee getEmployeeById(Long id); public Employee getEmployeeByName(String name); public List<Employee> getAllEmployees(); public boolean exists(String email); public Employee save(Employee em...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/Application.java
spring-boot-modules/spring-boot-simple/src/main/java/com/baeldung/boot/testing/Application.java
package com.baeldung.boot.testing; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ApplicationContext; @SpringBootApplication public class Application { private static ApplicationContext applicationContext; ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/spring-boot-graalvm-docker/src/main/java/com/baeldung/graalvmdockerimage/GraalvmDockerImageApplication.java
spring-boot-modules/spring-boot-graalvm-docker/src/main/java/com/baeldung/graalvmdockerimage/GraalvmDockerImageApplication.java
package com.baeldung.graalvmdockerimage; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @SpringBootApplication public class...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/test/java/com/baeldung/jmix/expensetracker/user/UserUiTest.java
spring-boot-modules/jmix/src/test/java/com/baeldung/jmix/expensetracker/user/UserUiTest.java
package com.baeldung.jmix.expensetracker.user; import com.baeldung.jmix.expensetracker.ExpenseTrackerApplication; import com.baeldung.jmix.expensetracker.entity.User; import com.baeldung.jmix.expensetracker.view.user.UserDetailView; import com.baeldung.jmix.expensetracker.view.user.UserListView; import com.vaadin.flow...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/test/java/com/baeldung/jmix/expensetracker/user/UserTest.java
spring-boot-modules/jmix/src/test/java/com/baeldung/jmix/expensetracker/user/UserTest.java
package com.baeldung.jmix.expensetracker.user; import com.baeldung.jmix.expensetracker.entity.User; import com.baeldung.jmix.expensetracker.test_support.AuthenticatedAsAdmin; import io.jmix.core.DataManager; import io.jmix.core.security.UserRepository; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.a...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/test/java/com/baeldung/jmix/expensetracker/test_support/AuthenticatedAsAdmin.java
spring-boot-modules/jmix/src/test/java/com/baeldung/jmix/expensetracker/test_support/AuthenticatedAsAdmin.java
package com.baeldung.jmix.expensetracker.test_support; import io.jmix.core.security.SystemAuthenticator; import org.junit.jupiter.api.extension.AfterEachCallback; import org.junit.jupiter.api.extension.BeforeEachCallback; import org.junit.jupiter.api.extension.ExtensionContext; import org.springframework.context.Appli...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/ExpenseTrackerApplication.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/ExpenseTrackerApplication.java
package com.baeldung.jmix.expensetracker; import com.google.common.base.Strings; import com.vaadin.flow.component.page.AppShellConfigurator; import com.vaadin.flow.component.page.Push; import com.vaadin.flow.server.PWA; import com.vaadin.flow.theme.Theme; import org.slf4j.LoggerFactory; import org.springframework.bean...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/entity/Expense.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/entity/Expense.java
package com.baeldung.jmix.expensetracker.entity; import io.jmix.core.entity.annotation.JmixGeneratedValue; import io.jmix.core.metamodel.annotation.InstanceName; import io.jmix.core.metamodel.annotation.JmixEntity; import jakarta.persistence.*; import jakarta.validation.constraints.NotNull; import java.util.UUID; @J...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/entity/UserExpense.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/entity/UserExpense.java
package com.baeldung.jmix.expensetracker.entity; import io.jmix.core.entity.annotation.JmixGeneratedValue; import io.jmix.core.metamodel.annotation.JmixEntity; import jakarta.persistence.*; import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.PastOrPresent; import java.time.LocalDate; ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/entity/ExpenseCategory.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/entity/ExpenseCategory.java
package com.baeldung.jmix.expensetracker.entity; import io.jmix.core.metamodel.datatype.EnumClass; import org.springframework.lang.Nullable; public enum ExpenseCategory implements EnumClass<String> { EDUCATION("E"), FOOD("F"), HEALTH("H"), HOUSING("HO"), TRANSPORTATION("T"); private final ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/entity/User.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/entity/User.java
package com.baeldung.jmix.expensetracker.entity; import io.jmix.core.HasTimeZone; import io.jmix.core.annotation.Secret; import io.jmix.core.entity.annotation.JmixGeneratedValue; import io.jmix.core.entity.annotation.SystemLevel; import io.jmix.core.metamodel.annotation.Composition; import io.jmix.core.metamodel.annot...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/login/LoginView.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/login/LoginView.java
package com.baeldung.jmix.expensetracker.view.login; import com.vaadin.flow.component.UI; import com.vaadin.flow.component.login.AbstractLogin.LoginEvent; import com.vaadin.flow.component.login.LoginI18n; import com.vaadin.flow.i18n.LocaleChangeEvent; import com.vaadin.flow.i18n.LocaleChangeObserver; import com.vaadin...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/user/UserDetailView.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/user/UserDetailView.java
package com.baeldung.jmix.expensetracker.view.user; import com.baeldung.jmix.expensetracker.entity.User; import com.baeldung.jmix.expensetracker.view.main.MainView; import com.vaadin.flow.component.combobox.ComboBox; import com.vaadin.flow.component.textfield.PasswordField; import com.vaadin.flow.router.Route; import ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/user/UserListView.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/user/UserListView.java
package com.baeldung.jmix.expensetracker.view.user; import com.baeldung.jmix.expensetracker.entity.User; import com.baeldung.jmix.expensetracker.view.main.MainView; import com.vaadin.flow.router.Route; import io.jmix.flowui.view.*; @Route(value = "users", layout = MainView.class) @ViewController("User.list") @ViewDes...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/expense/ExpenseListView.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/expense/ExpenseListView.java
package com.baeldung.jmix.expensetracker.view.expense; import com.baeldung.jmix.expensetracker.entity.Expense; import com.baeldung.jmix.expensetracker.view.main.MainView; import com.vaadin.flow.router.Route; import io.jmix.flowui.view.*; @Route(value = "expenses", layout = MainView.class) @ViewController("Expense.li...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/expense/ExpenseDetailView.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/expense/ExpenseDetailView.java
package com.baeldung.jmix.expensetracker.view.expense; import com.baeldung.jmix.expensetracker.entity.Expense; import com.baeldung.jmix.expensetracker.view.main.MainView; import com.vaadin.flow.router.Route; import io.jmix.flowui.view.EditedEntityContainer; import io.jmix.flowui.view.StandardDetailView; import io.jmix...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/userexpense/UserExpenseListView.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/userexpense/UserExpenseListView.java
package com.baeldung.jmix.expensetracker.view.userexpense; import com.baeldung.jmix.expensetracker.entity.UserExpense; import com.baeldung.jmix.expensetracker.view.main.MainView; import com.vaadin.flow.component.ClickEvent; import com.vaadin.flow.component.HasValueAndElement; import com.vaadin.flow.component.formlayou...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/main/MainView.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/view/main/MainView.java
package com.baeldung.jmix.expensetracker.view.main; import com.vaadin.flow.router.Route; import io.jmix.flowui.app.main.StandardMainView; import io.jmix.flowui.view.ViewController; import io.jmix.flowui.view.ViewDescriptor; @Route("") @ViewController("MainView") @ViewDescriptor("main-view.xml") public class MainView ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/security/FullAccessRole.java
spring-boot-modules/jmix/src/main/java/com/baeldung/jmix/expensetracker/security/FullAccessRole.java
package com.baeldung.jmix.expensetracker.security; import io.jmix.security.model.EntityAttributePolicyAction; import io.jmix.security.model.EntityPolicyAction; import io.jmix.security.role.annotation.EntityAttributePolicy; import io.jmix.security.role.annotation.EntityPolicy; import io.jmix.security.role.annotation.Re...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false