Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SIGPUBLIC
unantes-orientation-active
Commits
e6ed832c
Commit
e6ed832c
authored
Apr 15, 2021
by
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
Changes
110
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/unantes/orientactive/OrientactiveApp.java
View file @
e6ed832c
...
...
@@ -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
;
...
...
src/main/java/com/unantes/orientactive/aop/logging/LoggingAspect.java
View file @
e6ed832c
...
...
@@ -20,6 +20,7 @@ import tech.jhipster.config.JHipsterConstants;
*/
@Aspect
public
class
LoggingAspect
{
private
final
Environment
env
;
public
LoggingAspect
(
Environment
env
)
{
...
...
src/main/java/com/unantes/orientactive/config/ApplicationProperties.java
View file @
e6ed832c
...
...
@@ -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.
*/
...
...
src/main/java/com/unantes/orientactive/config/AsyncConfiguration.java
View file @
e6ed832c
...
...
@@ -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
;
...
...
src/main/java/com/unantes/orientactive/config/CacheConfiguration.java
View file @
e6ed832c
...
...
@@ -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
;
...
...
src/main/java/com/unantes/orientactive/config/LiquibaseConfiguration.java
View file @
e6ed832c
...
...
@@ -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
;
...
...
src/main/java/com/unantes/orientactive/config/LoggingConfiguration.java
View file @
e6ed832c
...
...
@@ -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
<>();
...
...
src/main/java/com/unantes/orientactive/config/SecurityConfiguration.java
View file @
e6ed832c
...
...
@@ -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
;
...
...
src/main/java/com/unantes/orientactive/config/StaticResourcesWebConfiguration.java
View file @
e6ed832c
...
...
@@ -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/"
,
...
...
src/main/java/com/unantes/orientactive/config/WebConfigurer.java
View file @
e6ed832c
...
...
@@ -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
;
...
...
src/main/java/com/unantes/orientactive/domain/AbstractAuditingEntity.java
View file @
e6ed832c
...
...
@@ -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
...
...
src/main/java/com/unantes/orientactive/domain/Answer.java
View file @
e6ed832c
...
...
@@ -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
...
...
src/main/java/com/unantes/orientactive/domain/Authority.java
View file @
e6ed832c
...
...
@@ -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
...
...
src/main/java/com/unantes/orientactive/domain/Form.java
View file @
e6ed832c
...
...
@@ -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
...
...
src/main/java/com/unantes/orientactive/domain/User.java
View file @
e6ed832c
...
...
@@ -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
...
...
src/main/java/com/unantes/orientactive/domain/UserAction.java
View file @
e6ed832c
...
...
@@ -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
...
...
src/main/java/com/unantes/orientactive/domain/Variable.java
View file @
e6ed832c
...
...
@@ -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
...
...
src/main/java/com/unantes/orientactive/domain/Workspace.java
View file @
e6ed832c
...
...
@@ -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
...
...
src/main/java/com/unantes/orientactive/security/DomainUserDetailsService.java
View file @
e6ed832c
...
...
@@ -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
;
...
...
src/main/java/com/unantes/orientactive/security/jwt/JWTFilter.java
View file @
e6ed832c
...
...
@@ -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
;
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment