Skip to content

Commit 75d92d3

Browse files
authored
Merge pull request #343 from overture-stack/develop
2.2.1
2 parents 6536c6e + ae0b4aa commit 75d92d3

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

Dockerfile.prod

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
1-
FROM maven:3.6-jdk-8
2-
1+
FROM java:8
32
WORKDIR /usr/src/app
4-
53
ADD . .
6-
7-
RUN mvn package -Dmaven.test.skip=true
4+
RUN ./mvnw package -Dmaven.test.skip=true
85

96
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
148
ENTRYPOINT ["java", "-jar", "/usr/bin/ego.jar"]
15-
169
EXPOSE 8081/tcp

pom.xml

+12-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>bio.overture</groupId>
77
<artifactId>ego</artifactId>
8-
<version>2.1.0</version>
8+
<version>2.2.1</version>
99

1010
<name>ego</name>
1111
<description>OAuth 2.0 Authorization service that supports multiple OpenID Connect Providers</description>
@@ -29,6 +29,10 @@
2929
<groupId>org.springframework.boot</groupId>
3030
<artifactId>spring-boot-starter-web</artifactId>
3131
</dependency>
32+
<dependency>
33+
<groupId>org.springframework.boot</groupId>
34+
<artifactId>spring-boot-starter-actuator</artifactId>
35+
</dependency>
3236
<dependency>
3337
<groupId>org.springframework.security.oauth</groupId>
3438
<artifactId>spring-security-oauth2</artifactId>
@@ -240,6 +244,13 @@
240244
<artifactId>spring-boot-devtools</artifactId>
241245
<optional>true</optional>
242246
</dependency>
247+
248+
<dependency>
249+
<groupId>javax.interceptor</groupId>
250+
<artifactId>javax.interceptor-api</artifactId>
251+
<version>1.2</version>
252+
</dependency>
253+
243254
</dependencies>
244255

245256
<build>

src/main/java/bio/overture/ego/config/SecureServerConfig.java

+1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ protected void configure(HttpSecurity http) throws Exception {
142142
"/configuration/**",
143143
"/v2/api**",
144144
"/webjars/**",
145+
"/actuator/**",
145146
"/oauth/token/verify",
146147
"/oauth/token/public_key")
147148
.permitAll()

src/main/java/bio/overture/ego/model/dto/CreateUserRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ public class CreateUserRequest {
4141

4242
private String lastName;
4343

44-
@NotNull private LanguageType preferredLanguage;
44+
private LanguageType preferredLanguage;
4545
}

0 commit comments

Comments
 (0)