File tree 4 files changed +17
-12
lines changed
src/main/java/bio/overture/ego
4 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 1
- FROM maven:3.6-jdk-8
2
-
1
+ FROM java:8
3
2
WORKDIR /usr/src/app
4
-
5
3
ADD . .
6
-
7
- RUN mvn package -Dmaven.test.skip=true
4
+ RUN ./mvnw package -Dmaven.test.skip=true
8
5
9
6
FROM java:8-alpine
10
-
11
- COPY --from=0 /usr/src/app/target/ego-*-SNAPSHOT-exec.jar /usr/bin/ego.jar
12
- COPY --from=0 /usr/src/app/src/main/resources/flyway/sql /usr/src/flyway-migration-sql
13
-
7
+ COPY --from=0 /usr/src/app/target/ego-*-exec.jar /usr/bin/ego.jar
14
8
ENTRYPOINT ["java", "-jar", "/usr/bin/ego.jar"]
15
-
16
9
EXPOSE 8081/tcp
Original file line number Diff line number Diff line change 5
5
6
6
<groupId >bio.overture</groupId >
7
7
<artifactId >ego</artifactId >
8
- <version >2.1.0 </version >
8
+ <version >2.2.1 </version >
9
9
10
10
<name >ego</name >
11
11
<description >OAuth 2.0 Authorization service that supports multiple OpenID Connect Providers</description >
29
29
<groupId >org.springframework.boot</groupId >
30
30
<artifactId >spring-boot-starter-web</artifactId >
31
31
</dependency >
32
+ <dependency >
33
+ <groupId >org.springframework.boot</groupId >
34
+ <artifactId >spring-boot-starter-actuator</artifactId >
35
+ </dependency >
32
36
<dependency >
33
37
<groupId >org.springframework.security.oauth</groupId >
34
38
<artifactId >spring-security-oauth2</artifactId >
240
244
<artifactId >spring-boot-devtools</artifactId >
241
245
<optional >true</optional >
242
246
</dependency >
247
+
248
+ <dependency >
249
+ <groupId >javax.interceptor</groupId >
250
+ <artifactId >javax.interceptor-api</artifactId >
251
+ <version >1.2</version >
252
+ </dependency >
253
+
243
254
</dependencies >
244
255
245
256
<build >
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ protected void configure(HttpSecurity http) throws Exception {
142
142
"/configuration/**" ,
143
143
"/v2/api**" ,
144
144
"/webjars/**" ,
145
+ "/actuator/**" ,
145
146
"/oauth/token/verify" ,
146
147
"/oauth/token/public_key" )
147
148
.permitAll ()
Original file line number Diff line number Diff line change @@ -41,5 +41,5 @@ public class CreateUserRequest {
41
41
42
42
private String lastName ;
43
43
44
- @ NotNull private LanguageType preferredLanguage ;
44
+ private LanguageType preferredLanguage ;
45
45
}
You can’t perform that action at this time.
0 commit comments