Commit 334b62ca authored by Julien BOUYER's avatar Julien BOUYER
Browse files

Merge branch 'feature/front_backoffice' into 'develop'

Feature/front backoffice

See merge request !51
parents 4f5e49ec b9ef2355
......@@ -21,7 +21,6 @@ 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,7 +20,6 @@ import tech.jhipster.config.JHipsterConstants;
*/
@Aspect
public class LoggingAspect {
private final Environment env;
public LoggingAspect(Environment env) {
......
......@@ -11,7 +11,6 @@ import org.springframework.core.io.Resource;
*/
@ConfigurationProperties(prefix = "application", ignoreUnknownFields = false)
public class ApplicationProperties {
/**
* Fichier de base de données GeoIP.
*/
......
......@@ -18,7 +18,6 @@ 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,7 +18,6 @@ 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;
......
......@@ -9,7 +9,10 @@ public final class Constants {
public static final String LOGIN_REGEX = "^(?>[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)|(?>[_.@A-Za-z0-9-]+)$";
public static final String SYSTEM = "system";
public static final String DEFAULT_LANGUAGE = "fr";
public static final String ANONYMOUS_USER = "anonymoususer";
private Constants() {}
}
......@@ -19,7 +19,6 @@ import tech.jhipster.config.liquibase.SpringLiquibaseUtil;
@Configuration
public class LiquibaseConfiguration {
private final Logger log = LoggerFactory.getLogger(LiquibaseConfiguration.class);
private final Environment env;
......
......@@ -23,7 +23,8 @@ 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,7 +22,6 @@ 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,7 +13,6 @@ 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,7 +29,6 @@ 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,7 +19,6 @@ 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,7 +31,6 @@ 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,7 +18,6 @@ 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,7 +19,6 @@ 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
......
......@@ -18,7 +18,6 @@ import org.hibernate.annotations.Type;
@Table(name = "screen")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Screen implements Serializable {
private static final long serialVersionUID = 1L;
@Id
......
......@@ -24,7 +24,6 @@ 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,7 +16,6 @@ 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,7 +17,6 @@ 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,7 +17,6 @@ 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
......
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