Commit e6ed832c authored by François-Xavier Lebastard's avatar François-Xavier Lebastard
Browse files

Merge branch 'feature/tabs' into 'develop'

UNOTOPLYS-210 : Mise en place de la navigation par onglet.

See merge request !53
parents 8d7a5b82 004b1962
......@@ -21,6 +21,7 @@ import tech.jhipster.config.JHipsterConstants;
@SpringBootApplication
@EnableConfigurationProperties({ LiquibaseProperties.class, ApplicationProperties.class })
public class OrientactiveApp {
private static final Logger log = LoggerFactory.getLogger(OrientactiveApp.class);
private final Environment env;
......
......@@ -20,6 +20,7 @@ import tech.jhipster.config.JHipsterConstants;
*/
@Aspect
public class LoggingAspect {
private final Environment env;
public LoggingAspect(Environment env) {
......
......@@ -11,6 +11,7 @@ import org.springframework.core.io.Resource;
*/
@ConfigurationProperties(prefix = "application", ignoreUnknownFields = false)
public class ApplicationProperties {
/**
* Fichier de base de données GeoIP.
*/
......
......@@ -18,6 +18,7 @@ import tech.jhipster.async.ExceptionHandlingAsyncTaskExecutor;
@EnableAsync
@EnableScheduling
public class AsyncConfiguration implements AsyncConfigurer {
private final Logger log = LoggerFactory.getLogger(AsyncConfiguration.class);
private final TaskExecutionProperties taskExecutionProperties;
......
......@@ -18,6 +18,7 @@ import tech.jhipster.config.cache.PrefixedKeyGenerator;
@Configuration
@EnableCaching
public class CacheConfiguration {
private GitProperties gitProperties;
private BuildProperties buildProperties;
private final javax.cache.configuration.Configuration<Object, Object> jcacheConfiguration;
......
......@@ -19,6 +19,7 @@ import tech.jhipster.config.liquibase.SpringLiquibaseUtil;
@Configuration
public class LiquibaseConfiguration {
private final Logger log = LoggerFactory.getLogger(LiquibaseConfiguration.class);
private final Environment env;
......
......@@ -23,8 +23,7 @@ public class LoggingConfiguration {
@Value("${server.port}") String serverPort,
JHipsterProperties jHipsterProperties,
ObjectMapper mapper
)
throws JsonProcessingException {
) throws JsonProcessingException {
LoggerContext context = (LoggerContext) LoggerFactory.getILoggerFactory();
Map<String, String> map = new HashMap<>();
......
......@@ -22,6 +22,7 @@ import org.zalando.problem.spring.web.advice.security.SecurityProblemSupport;
@EnableGlobalMethodSecurity(prePostEnabled = true, securedEnabled = true)
@Import(SecurityProblemSupport.class)
public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
private final TokenProvider tokenProvider;
private final CorsFilter corsFilter;
......
......@@ -13,6 +13,7 @@ import tech.jhipster.config.JHipsterProperties;
@Configuration
@Profile({ JHipsterConstants.SPRING_PROFILE_PRODUCTION })
public class StaticResourcesWebConfiguration implements WebMvcConfigurer {
protected static final String[] RESOURCE_LOCATIONS = new String[] {
"classpath:/static/app/",
"classpath:/static/content/",
......
......@@ -29,6 +29,7 @@ import tech.jhipster.config.JHipsterProperties;
*/
@Configuration
public class WebConfigurer implements ServletContextInitializer, WebServerFactoryCustomizer<WebServerFactory> {
private final Logger log = LoggerFactory.getLogger(WebConfigurer.class);
private final Environment env;
......
......@@ -19,6 +19,7 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener;
@MappedSuperclass
@EntityListeners(AuditingEntityListener.class)
public abstract class AbstractAuditingEntity implements Serializable {
private static final long serialVersionUID = 1L;
@CreatedBy
......
......@@ -31,6 +31,7 @@ import org.hibernate.annotations.Type;
@Table(name = "answer")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Answer implements Serializable {
private static final long serialVersionUID = 1L;
@Id
......
......@@ -18,6 +18,7 @@ import org.hibernate.annotations.CacheConcurrencyStrategy;
@Table(name = "jhi_authority")
@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class Authority implements Serializable {
private static final long serialVersionUID = 1L;
@NotNull
......
......@@ -19,6 +19,7 @@ import org.hibernate.annotations.Type;
@Table(name = "form")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Form implements Serializable {
private static final long serialVersionUID = 1L;
@Id
......
......@@ -24,6 +24,7 @@ import org.hibernate.annotations.CacheConcurrencyStrategy;
@Table(name = "jhi_user")
@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class User extends AbstractAuditingEntity implements Serializable {
private static final long serialVersionUID = 1L;
@Id
......
......@@ -16,6 +16,7 @@ import org.hibernate.annotations.CacheConcurrencyStrategy;
@Table(name = "user_action")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class UserAction implements Serializable {
private static final long serialVersionUID = 1L;
@Id
......
......@@ -17,6 +17,7 @@ import org.hibernate.annotations.Type;
@Table(name = "variable")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Variable implements Serializable {
private static final long serialVersionUID = 1L;
@Id
......
......@@ -17,6 +17,7 @@ import org.hibernate.annotations.Type;
@Table(name = "workspace")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Workspace implements Serializable {
private static final long serialVersionUID = 1L;
@Id
......
......@@ -20,6 +20,7 @@ import org.springframework.transaction.annotation.Transactional;
*/
@Component("userDetailsService")
public class DomainUserDetailsService implements UserDetailsService {
private final Logger log = LoggerFactory.getLogger(DomainUserDetailsService.class);
private final UserRepository userRepository;
......
......@@ -16,6 +16,7 @@ import org.springframework.web.filter.GenericFilterBean;
* found.
*/
public class JWTFilter extends GenericFilterBean {
public static final String AUTHORIZATION_HEADER = "Authorization";
private final TokenProvider tokenProvider;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment