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/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/LoggingConfiguration.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/LoggingConfiguration.java | package com.cars.app.config;
import static tech.jhipster.config.logging.LoggingUtils.*;
import ch.qos.logback.classic.LoggerContext;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.LoggerFac... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/SecurityJwtConfiguration.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/SecurityJwtConfiguration.java | package com.cars.app.config;
import static com.cars.app.security.SecurityUtils.AUTHORITIES_KEY;
import static com.cars.app.security.SecurityUtils.JWT_ALGORITHM;
import com.cars.app.management.SecurityMetersService;
import com.nimbusds.jose.jwk.source.ImmutableSecret;
import com.nimbusds.jose.util.Base64;
import javax... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/LiquibaseConfiguration.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/LiquibaseConfiguration.java | package com.cars.app.config;
import java.util.concurrent.Executor;
import javax.sql.DataSource;
import liquibase.integration.spring.SpringLiquibase;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.ObjectProvider;
import org.springframework.beans.factory.annotation.Qual... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/OpenApiConfiguration.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/OpenApiConfiguration.java | package com.cars.app.config;
import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/EurekaWorkaroundConfiguration.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/EurekaWorkaroundConfiguration.java | // This is a workaround for
// https://github.com/jhipster/jhipster-registry/issues/537
// https://github.com/jhipster/generator-jhipster/issues/18533
// The original issue will be fixed with spring cloud 2021.0.4
// https://github.com/spring-cloud/spring-cloud-netflix/issues/3941
package com.cars.app.config;
import o... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/StaticResourcesWebConfiguration.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/StaticResourcesWebConfiguration.java | package com.cars.app.config;
import java.util.concurrent.TimeUnit;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.http.CacheControl;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration;
impo... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/Constants.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/Constants.java | package com.cars.app.config;
/**
* Application constants.
*/
public final class Constants {
public static final String SYSTEM = "system";
private Constants() {}
}
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/LoggingAspectConfiguration.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/config/LoggingAspectConfiguration.java | package com.cars.app.config;
import com.cars.app.aop.logging.LoggingAspect;
import org.springframework.context.annotation.*;
import org.springframework.core.env.Environment;
import tech.jhipster.config.JHipsterConstants;
@Configuration
@EnableAspectJAutoProxy
public class LoggingAspectConfiguration {
@Bean
@... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/filter/SpaWebFilter.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/filter/SpaWebFilter.java | package com.cars.app.web.filter;
import jakarta.servlet.FilterChain;
import jakarta.servlet.ServletException;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
import org.springframework.web.filter.OncePerRequestFilter;
public class SpaWebFilt... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/filter/package-info.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/filter/package-info.java | /**
* Request chain filters.
*/
package com.cars.app.web.filter;
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/package-info.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/package-info.java | /**
* Rest layer.
*/
package com.cars.app.web.rest;
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/CarResource.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/CarResource.java | package com.cars.app.web.rest;
import com.cars.app.domain.Car;
import com.cars.app.repository.CarRepository;
import com.cars.app.web.rest.errors.BadRequestAlertException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import org.slf4... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/errors/package-info.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/errors/package-info.java | /**
* Rest layer error handling.
*/
package com.cars.app.web.rest.errors;
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/errors/ErrorConstants.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/errors/ErrorConstants.java | package com.cars.app.web.rest.errors;
import java.net.URI;
public final class ErrorConstants {
public static final String ERR_CONCURRENCY_FAILURE = "error.concurrencyFailure";
public static final String ERR_VALIDATION = "error.validation";
public static final String PROBLEM_BASE_URL = "https://www.jhipst... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/errors/FieldErrorVM.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/errors/FieldErrorVM.java | package com.cars.app.web.rest.errors;
import java.io.Serializable;
public class FieldErrorVM implements Serializable {
private static final long serialVersionUID = 1L;
private final String objectName;
private final String field;
private final String message;
public FieldErrorVM(String dto, St... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/errors/BadRequestAlertException.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/errors/BadRequestAlertException.java | package com.cars.app.web.rest.errors;
import java.net.URI;
import org.springframework.http.HttpStatus;
import org.springframework.web.ErrorResponseException;
import tech.jhipster.web.rest.errors.ProblemDetailWithCause;
import tech.jhipster.web.rest.errors.ProblemDetailWithCause.ProblemDetailWithCauseBuilder;
@Suppres... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/errors/ExceptionTranslator.java | jhipster-8-modules/jhipster-8-microservice/car-app/src/main/java/com/cars/app/web/rest/errors/ExceptionTranslator.java | package com.cars.app.web.rest.errors;
import static org.springframework.core.annotation.AnnotatedElementUtils.findMergedAnnotation;
import jakarta.servlet.http.HttpServletRequest;
import java.net.URI;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.O... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/IntegrationTest.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/IntegrationTest.java | package com.dealers.app;
import com.dealers.app.config.AsyncSyncConfiguration;
import com.dealers.app.config.EmbeddedSQL;
import com.dealers.app.config.JacksonConfiguration;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.ann... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/TechnicalStructureTest.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/TechnicalStructureTest.java | package com.dealers.app;
import static com.tngtech.archunit.base.DescribedPredicate.alwaysTrue;
import static com.tngtech.archunit.core.domain.JavaClass.Predicates.belongToAnyOf;
import static com.tngtech.archunit.library.Architectures.layeredArchitecture;
import com.tngtech.archunit.core.importer.ImportOption.DoNotI... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/management/SecurityMetersServiceTests.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/management/SecurityMetersServiceTests.java | package com.dealers.app.management;
import static org.assertj.core.api.Assertions.assertThat;
import io.micrometer.core.instrument.Counter;
import io.micrometer.core.instrument.MeterRegistry;
import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
import java.util.Collection;
import org.junit.jupiter.api.Bef... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/domain/AssertUtils.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/domain/AssertUtils.java | package com.dealers.app.domain;
import java.math.BigDecimal;
import java.time.ZoneOffset;
import java.time.ZonedDateTime;
import java.util.Comparator;
public class AssertUtils {
public static Comparator<ZonedDateTime> zonedDataTimeSameInstant = Comparator.nullsFirst(
(e1, a2) -> e1.withZoneSameInstant(Zo... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/repository/timezone/DateTimeWrapper.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/repository/timezone/DateTimeWrapper.java | package com.dealers.app.repository.timezone;
import jakarta.persistence.*;
import java.io.Serializable;
import java.time.*;
import java.util.Objects;
@Entity
@Table(name = "jhi_date_time_wrapper")
public class DateTimeWrapper implements Serializable {
private static final long serialVersionUID = 1L;
@Id
... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/repository/timezone/DateTimeWrapperRepository.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/repository/timezone/DateTimeWrapperRepository.java | package com.dealers.app.repository.timezone;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
/**
* Spring Data JPA repository for the {@link DateTimeWrapper} entity.
*/
@Repository
public interface DateTimeWrapperRepository extends JpaRepository<DateTi... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/security/SecurityUtilsUnitTest.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/security/SecurityUtilsUnitTest.java | package com.dealers.app.security;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Optional;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/security/jwt/TestAuthenticationResource.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/security/jwt/TestAuthenticationResource.java | package com.dealers.app.security.jwt;
import org.springframework.web.bind.annotation.*;
/**
* REST controller for managing testing authentication token.
*/
@RestController
@RequestMapping("/api")
public class TestAuthenticationResource {
/**
* {@code GET /authenticate} : check if the authentication token... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/security/jwt/AuthenticationIntegrationTest.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/security/jwt/AuthenticationIntegrationTest.java | package com.dealers.app.security.jwt;
import com.dealers.app.config.SecurityConfiguration;
import com.dealers.app.config.SecurityJwtConfiguration;
import com.dealers.app.config.WebConfigurer;
import com.dealers.app.management.SecurityMetersService;
import java.lang.annotation.ElementType;
import java.lang.annotation.R... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/security/jwt/TokenAuthenticationSecurityMetersIT.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/security/jwt/TokenAuthenticationSecurityMetersIT.java | package com.dealers.app.security.jwt;
import static com.dealers.app.security.jwt.JwtAuthenticationTestUtils.*;
import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.http.HttpHeaders.AUTHORIZATION;
import io.micrometer.core.instrument.Counter;
import io.micrometer.core.instrument.... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/security/jwt/TokenAuthenticationIT.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/security/jwt/TokenAuthenticationIT.java | package com.dealers.app.security.jwt;
import static com.dealers.app.security.jwt.JwtAuthenticationTestUtils.*;
import static org.springframework.http.HttpHeaders.AUTHORIZATION;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
import org.junit.jupiter.api.Test;
import org.springframew... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/security/jwt/JwtAuthenticationTestUtils.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/security/jwt/JwtAuthenticationTestUtils.java | package com.dealers.app.security.jwt;
import static com.dealers.app.security.SecurityUtils.AUTHORITIES_KEY;
import static com.dealers.app.security.SecurityUtils.JWT_ALGORITHM;
import com.nimbusds.jose.jwk.source.ImmutableSecret;
import com.nimbusds.jose.util.Base64;
import io.micrometer.core.instrument.MeterRegistry;... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/PostgreSqlTestContainer.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/PostgreSqlTestContainer.java | package com.dealers.app.config;
import java.util.Collections;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testcontainers.containers.JdbcDatabaseContainer;
import org.testcontainers.containers.PostgreSQLContainer;
import org.testcontainers.containers.output.Slf4jLogConsumer;
public class Postgr... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/SqlTestContainer.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/SqlTestContainer.java | package com.dealers.app.config;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;
import org.testcontainers.containers.JdbcDatabaseContainer;
public interface SqlTestContainer extends InitializingBean, DisposableBean {
JdbcDatabaseContainer<?> getT... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/CRLFLogConverterTest.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/CRLFLogConverterTest.java | package com.dealers.app.config;
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
import static org.junit.jupiter.api.Assertions.*;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import ch.qos.logback.classic.spi.ILoggingEvent;
import java.util.Collections;
import... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/EmbeddedSQL.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/EmbeddedSQL.java | package com.dealers.app.config;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface EmbeddedSQL {
}
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/SqlTestContainersSpringContextCustomizerFactory.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/SqlTestContainersSpringContextCustomizerFactory.java | package com.dealers.app.config;
import java.util.Arrays;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.boot.test.util.TestPropertyValues;
import org.springframework.context.Conf... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/StaticResourcesWebConfigurerTest.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/StaticResourcesWebConfigurerTest.java | package com.dealers.app.config;
import static com.dealers.app.config.StaticResourcesWebConfiguration.*;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.*;
import java.util.concurrent.TimeUnit;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
impor... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/AsyncSyncConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/AsyncSyncConfiguration.java | package com.dealers.app.config;
import java.util.concurrent.Executor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.task.SyncTaskExecutor;
@Configuration
public class AsyncSyncConfiguration {
@Bean(name = "taskExec... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/WebConfigurerTestController.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/WebConfigurerTestController.java | package com.dealers.app.config;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class WebConfigurerTestController {
@GetMapping("/api/test-cors")
public void testCorsOnApiPath() {}
@GetMapping("/test/test-co... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/WebConfigurerTest.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/WebConfigurerTest.java | package com.dealers.app.config;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.*;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
imp... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/SpringBootTestClassOrderer.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/SpringBootTestClassOrderer.java | package com.dealers.app.config;
import com.dealers.app.IntegrationTest;
import java.util.Comparator;
import org.junit.jupiter.api.ClassDescriptor;
import org.junit.jupiter.api.ClassOrderer;
import org.junit.jupiter.api.ClassOrdererContext;
public class SpringBootTestClassOrderer implements ClassOrderer {
@Overri... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/timezone/HibernateTimeZoneIT.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/config/timezone/HibernateTimeZoneIT.java | package com.dealers.app.config.timezone;
import static java.lang.String.format;
import static org.assertj.core.api.Assertions.assertThat;
import com.dealers.app.IntegrationTest;
import com.dealers.app.repository.timezone.DateTimeWrapper;
import com.dealers.app.repository.timezone.DateTimeWrapperRepository;
import jav... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/web/filter/SpaWebFilterIT.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/web/filter/SpaWebFilterIT.java | package com.dealers.app.web.filter;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.forwardedUrl;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import com.de... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/web/rest/TestUtil.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/web/rest/TestUtil.java | package com.dealers.app.web.rest;
import static org.assertj.core.api.Assertions.assertThat;
import jakarta.persistence.EntityManager;
import jakarta.persistence.TypedQuery;
import jakarta.persistence.criteria.CriteriaBuilder;
import jakarta.persistence.criteria.CriteriaQuery;
import jakarta.persistence.criteria.Root;... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/web/rest/WithUnauthenticatedMockUser.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/web/rest/WithUnauthenticatedMockUser.java | package com.dealers.app.web.rest;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.security.core.context.SecurityContext;
import org.springframework.security.core.context.SecurityC... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/web/rest/errors/ExceptionTranslatorTestController.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/web/rest/errors/ExceptionTranslatorTestController.java | package com.dealers.app.web.rest.errors;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import org.springframework.dao.ConcurrencyFailureException;
import org.springframework.http.HttpStatus;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.s... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/web/rest/errors/ExceptionTranslatorIT.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/test/java/com/dealers/app/web/rest/errors/ExceptionTranslatorIT.java | package com.dealers.app.web.rest.errors;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
import static ... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/ApplicationWebXml.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/ApplicationWebXml.java | package com.dealers.app;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import tech.jhipster.config.DefaultProfileUtil;
/**
* This is a helper Java class that provides an alternative to creating a {@code web.xml}.
*... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/package-info.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/package-info.java | /**
* Application root.
*/
package com.dealers.app;
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/DealerApp.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/DealerApp.java | package com.dealers.app;
import com.dealers.app.config.ApplicationProperties;
import com.dealers.app.config.CRLFLogConverter;
import jakarta.annotation.PostConstruct;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.Collection;
import java.util.Optional;
impo... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/GeneratedByJHipster.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/GeneratedByJHipster.java | package com.dealers.app;
import jakarta.annotation.Generated;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Generated(value = "JHipster", comments = "Generated by JHipster 8.4.0")
@Retention(RetentionPo... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/management/package-info.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/management/package-info.java | /**
* Application management.
*/
package com.dealers.app.management;
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/management/SecurityMetersService.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/management/SecurityMetersService.java | package com.dealers.app.management;
import io.micrometer.core.instrument.Counter;
import io.micrometer.core.instrument.MeterRegistry;
import org.springframework.stereotype.Service;
@Service
public class SecurityMetersService {
public static final String INVALID_TOKENS_METER_NAME = "security.authentication.invali... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/aop/logging/package-info.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/aop/logging/package-info.java | /**
* Logging aspect.
*/
package com.dealers.app.aop.logging;
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/aop/logging/LoggingAspect.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/aop/logging/LoggingAspect.java | package com.dealers.app.aop.logging;
import java.util.Arrays;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.AfterThrowing;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointc... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/domain/package-info.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/domain/package-info.java | /**
* Domain objects.
*/
package com.dealers.app.domain;
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/domain/AbstractAuditingEntity.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/domain/AbstractAuditingEntity.java | package com.dealers.app.domain;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import jakarta.persistence.Column;
import jakarta.persistence.EntityListeners;
import jakarta.persistence.MappedSuperclass;
import java.io.Serializable;
import java.time.Instant;
import org.springframework.data.annotation.Cre... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/security/package-info.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/security/package-info.java | /**
* Application security utilities.
*/
package com.dealers.app.security;
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/security/SpringSecurityAuditorAware.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/security/SpringSecurityAuditorAware.java | package com.dealers.app.security;
import com.dealers.app.config.Constants;
import java.util.Optional;
import org.springframework.data.domain.AuditorAware;
import org.springframework.stereotype.Component;
/**
* Implementation of {@link AuditorAware} based on Spring Security.
*/
@Component
public class SpringSecurity... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/security/SecurityUtils.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/security/SecurityUtils.java | package com.dealers.app.security;
import java.util.Arrays;
import java.util.Optional;
import java.util.stream.Stream;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.context.SecurityContext;
import org.springfr... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/security/AuthoritiesConstants.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/security/AuthoritiesConstants.java | package com.dealers.app.security;
/**
* Constants for Spring Security authorities.
*/
public final class AuthoritiesConstants {
public static final String ADMIN = "ROLE_ADMIN";
public static final String USER = "ROLE_USER";
public static final String ANONYMOUS = "ROLE_ANONYMOUS";
private Authorit... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/SecurityConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/SecurityConfiguration.java | package com.dealers.app.config;
import static org.springframework.security.config.Customizer.withDefaults;
import static org.springframework.security.web.util.matcher.AntPathRequestMatcher.antMatcher;
import com.dealers.app.security.*;
import com.dealers.app.web.filter.SpaWebFilter;
import org.springframework.context... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/ApplicationProperties.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/ApplicationProperties.java | package com.dealers.app.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Properties specific to Dealer App.
* <p>
* Properties are configured in the {@code application.yml} file.
* See {@link tech.jhipster.config.JHipsterProperties} for a good example.
*/
@ConfigurationPr... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/DatabaseConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/DatabaseConfiguration.java | package com.dealers.app.config;
import java.sql.SQLException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.core.... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/CacheConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/CacheConfiguration.java | package com.dealers.app.config;
import com.hazelcast.config.*;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import jakarta.annotation.PreDestroy;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.sprin... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/package-info.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/package-info.java | /**
* Application configuration.
*/
package com.dealers.app.config;
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/DateTimeFormatConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/DateTimeFormatConfiguration.java | package com.dealers.app.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.format.FormatterRegistry;
import org.springframework.format.datetime.standard.DateTimeFormatterRegistrar;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
/**
* Configure ... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/CRLFLogConverter.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/CRLFLogConverter.java | package com.dealers.app.config;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.core.pattern.CompositeConverter;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Marker;
import org.slf4j.MarkerFactory;
import org.springframewor... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/AsyncConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/AsyncConfiguration.java | package com.dealers.app.config;
import java.util.concurrent.Executor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler;
import org.springframework.aop.interceptor.SimpleAsyncUncaughtExceptionHandler;
import org.springframework.boot.autoco... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/WebConfigurer.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/WebConfigurer.java | package com.dealers.app.config;
import static java.net.URLDecoder.decode;
import jakarta.servlet.*;
import java.io.File;
import java.nio.charset.StandardCharsets;
import java.nio.file.Paths;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.web.server.*;
import org.springframewo... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/JacksonConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/JacksonConfiguration.java | package com.dealers.app.config;
import com.fasterxml.jackson.datatype.hibernate6.Hibernate6Module;
import com.fasterxml.jackson.datatype.hibernate6.Hibernate6Module.Feature;
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import org.springframework.co... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/LoggingConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/LoggingConfiguration.java | package com.dealers.app.config;
import static tech.jhipster.config.logging.LoggingUtils.*;
import ch.qos.logback.classic.LoggerContext;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.Logger... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/SecurityJwtConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/SecurityJwtConfiguration.java | package com.dealers.app.config;
import static com.dealers.app.security.SecurityUtils.AUTHORITIES_KEY;
import static com.dealers.app.security.SecurityUtils.JWT_ALGORITHM;
import com.dealers.app.management.SecurityMetersService;
import com.nimbusds.jose.jwk.source.ImmutableSecret;
import com.nimbusds.jose.util.Base64;
... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/LiquibaseConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/LiquibaseConfiguration.java | package com.dealers.app.config;
import java.util.concurrent.Executor;
import javax.sql.DataSource;
import liquibase.integration.spring.SpringLiquibase;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.ObjectProvider;
import org.springframework.beans.factory.annotation.Q... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/OpenApiConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/OpenApiConfiguration.java | package com.dealers.app.config;
import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotati... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/EurekaWorkaroundConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/EurekaWorkaroundConfiguration.java | // This is a workaround for
// https://github.com/jhipster/jhipster-registry/issues/537
// https://github.com/jhipster/generator-jhipster/issues/18533
// The original issue will be fixed with spring cloud 2021.0.4
// https://github.com/spring-cloud/spring-cloud-netflix/issues/3941
package com.dealers.app.config;
impor... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/StaticResourcesWebConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/StaticResourcesWebConfiguration.java | package com.dealers.app.config;
import java.util.concurrent.TimeUnit;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.http.CacheControl;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration;
i... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/Constants.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/Constants.java | package com.dealers.app.config;
/**
* Application constants.
*/
public final class Constants {
public static final String SYSTEM = "system";
private Constants() {}
}
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/LoggingAspectConfiguration.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/config/LoggingAspectConfiguration.java | package com.dealers.app.config;
import com.dealers.app.aop.logging.LoggingAspect;
import org.springframework.context.annotation.*;
import org.springframework.core.env.Environment;
import tech.jhipster.config.JHipsterConstants;
@Configuration
@EnableAspectJAutoProxy
public class LoggingAspectConfiguration {
@Bean... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/filter/SpaWebFilter.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/filter/SpaWebFilter.java | package com.dealers.app.web.filter;
import jakarta.servlet.FilterChain;
import jakarta.servlet.ServletException;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
import org.springframework.web.filter.OncePerRequestFilter;
public class SpaWebF... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/filter/package-info.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/filter/package-info.java | /**
* Request chain filters.
*/
package com.dealers.app.web.filter;
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/rest/errors/package-info.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/rest/errors/package-info.java | /**
* Rest layer error handling.
*/
package com.dealers.app.web.rest.errors;
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/rest/errors/ErrorConstants.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/rest/errors/ErrorConstants.java | package com.dealers.app.web.rest.errors;
import java.net.URI;
public final class ErrorConstants {
public static final String ERR_CONCURRENCY_FAILURE = "error.concurrencyFailure";
public static final String ERR_VALIDATION = "error.validation";
public static final String PROBLEM_BASE_URL = "https://www.jhi... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/rest/errors/FieldErrorVM.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/rest/errors/FieldErrorVM.java | package com.dealers.app.web.rest.errors;
import java.io.Serializable;
public class FieldErrorVM implements Serializable {
private static final long serialVersionUID = 1L;
private final String objectName;
private final String field;
private final String message;
public FieldErrorVM(String dto,... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/rest/errors/BadRequestAlertException.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/rest/errors/BadRequestAlertException.java | package com.dealers.app.web.rest.errors;
import java.net.URI;
import org.springframework.http.HttpStatus;
import org.springframework.web.ErrorResponseException;
import tech.jhipster.web.rest.errors.ProblemDetailWithCause;
import tech.jhipster.web.rest.errors.ProblemDetailWithCause.ProblemDetailWithCauseBuilder;
@Supp... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/rest/errors/ExceptionTranslator.java | jhipster-8-modules/jhipster-8-microservice/dealer-app/src/main/java/com/dealers/app/web/rest/errors/ExceptionTranslator.java | package com.dealers.app.web.rest.errors;
import static org.springframework.core.annotation.AnnotatedElementUtils.findMergedAnnotation;
import jakarta.servlet.http.HttpServletRequest;
import java.net.URI;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.uti... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/IntegrationTest.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/IntegrationTest.java | package com.gateway;
import com.gateway.config.AsyncSyncConfiguration;
import com.gateway.config.EmbeddedSQL;
import com.gateway.config.JacksonConfiguration;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/TechnicalStructureTest.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/TechnicalStructureTest.java | package com.gateway;
import static com.tngtech.archunit.base.DescribedPredicate.alwaysTrue;
import static com.tngtech.archunit.core.domain.JavaClass.Predicates.belongToAnyOf;
import static com.tngtech.archunit.library.Architectures.layeredArchitecture;
import com.tngtech.archunit.core.importer.ImportOption.DoNotInclu... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/management/SecurityMetersServiceTests.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/management/SecurityMetersServiceTests.java | package com.gateway.management;
import static org.assertj.core.api.Assertions.assertThat;
import io.micrometer.core.instrument.Counter;
import io.micrometer.core.instrument.MeterRegistry;
import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
import java.util.Collection;
import org.junit.jupiter.api.BeforeE... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/service/MailServiceIT.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/service/MailServiceIT.java | package com.gateway.service;
import static org.assertj.core.api.Assertions.*;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.*;
import com.gateway.IntegrationTest;
import com.gateway.config.Constants;
import com.gateway.domain.User;
import jakarta.mail.Multipart;
import jakarta.mail... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/service/UserServiceIT.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/service/UserServiceIT.java | package com.gateway.service;
import static org.assertj.core.api.Assertions.assertThat;
import com.gateway.IntegrationTest;
import com.gateway.config.Constants;
import com.gateway.domain.User;
import com.gateway.repository.UserRepository;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneO... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/service/mapper/UserMapperTest.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/service/mapper/UserMapperTest.java | package com.gateway.service.mapper;
import static org.assertj.core.api.Assertions.assertThat;
import com.gateway.domain.User;
import com.gateway.service.dto.AdminUserDTO;
import com.gateway.service.dto.UserDTO;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import o... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/domain/AssertUtils.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/domain/AssertUtils.java | package com.gateway.domain;
import java.math.BigDecimal;
import java.time.ZoneOffset;
import java.time.ZonedDateTime;
import java.util.Comparator;
public class AssertUtils {
public static Comparator<ZonedDateTime> zonedDataTimeSameInstant = Comparator.nullsFirst(
(e1, a2) -> e1.withZoneSameInstant(ZoneOf... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/domain/AuthorityTest.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/domain/AuthorityTest.java | package com.gateway.domain;
import static com.gateway.domain.AuthorityTestSamples.*;
import static org.assertj.core.api.Assertions.assertThat;
import com.gateway.web.rest.TestUtil;
import org.junit.jupiter.api.Test;
class AuthorityTest {
@Test
void equalsVerifier() throws Exception {
TestUtil.equals... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/domain/AuthorityAsserts.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/domain/AuthorityAsserts.java | package com.gateway.domain;
import static org.assertj.core.api.Assertions.assertThat;
public class AuthorityAsserts {
/**
* Asserts that the entity has all properties (fields/relationships) set.
*
* @param expected the expected entity
* @param actual the actual entity
*/
public stati... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/domain/AuthorityTestSamples.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/domain/AuthorityTestSamples.java | package com.gateway.domain;
import java.util.UUID;
public class AuthorityTestSamples {
public static Authority getAuthoritySample1() {
return new Authority().name("name1");
}
public static Authority getAuthoritySample2() {
return new Authority().name("name2");
}
public static Au... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/security/DomainUserDetailsServiceIT.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/security/DomainUserDetailsServiceIT.java | package com.gateway.security;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import com.gateway.IntegrationTest;
import com.gateway.config.Constants;
import com.gateway.domain.User;
import com.gateway.repository.UserRepository;
import... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/security/SecurityUtilsUnitTest.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/security/SecurityUtilsUnitTest.java | package com.gateway.security;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.ArrayList;
import java.util.Collection;
import org.junit.jupiter.api.Test;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.GrantedAu... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/security/jwt/AuthenticationIntegrationTest.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/security/jwt/AuthenticationIntegrationTest.java | package com.gateway.security.jwt;
import com.gateway.config.SecurityConfiguration;
import com.gateway.config.SecurityJwtConfiguration;
import com.gateway.config.WebConfigurer;
import com.gateway.management.SecurityMetersService;
import com.gateway.web.rest.AuthenticateController;
import java.lang.annotation.ElementTyp... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenAuthenticationSecurityMetersIT.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenAuthenticationSecurityMetersIT.java | package com.gateway.security.jwt;
import static com.gateway.security.jwt.JwtAuthenticationTestUtils.*;
import static org.assertj.core.api.Assertions.assertThat;
import com.gateway.IntegrationTest;
import io.micrometer.core.instrument.Counter;
import io.micrometer.core.instrument.MeterRegistry;
import java.util.Collec... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenAuthenticationIT.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/security/jwt/TokenAuthenticationIT.java | package com.gateway.security.jwt;
import static com.gateway.security.jwt.JwtAuthenticationTestUtils.*;
import com.gateway.IntegrationTest;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframe... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/security/jwt/JwtAuthenticationTestUtils.java | jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/security/jwt/JwtAuthenticationTestUtils.java | package com.gateway.security.jwt;
import static com.gateway.security.SecurityUtils.AUTHORITIES_KEY;
import static com.gateway.security.SecurityUtils.JWT_ALGORITHM;
import com.gateway.repository.UserRepository;
import com.nimbusds.jose.jwk.source.ImmutableSecret;
import com.nimbusds.jose.util.Base64;
import io.microme... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.