feature/implement-external-login-api #30
@@ -9,5 +9,4 @@ public class Application {
|
|||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(Application.class, args);
|
SpringApplication.run(Application.class, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,5 +3,4 @@ package com.vaessl.app.dto;
|
|||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
|
|
||||||
public record ConnectionResponse(String token, String attachmentToken, Instant expiresAt) {
|
public record ConnectionResponse(String token, String attachmentToken, Instant expiresAt) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,5 +36,4 @@ public class GlobalExceptionHandler {
|
|||||||
.forStatusAndDetail(e.getStatusCode(),
|
.forStatusAndDetail(e.getStatusCode(),
|
||||||
"The external app returned a server error: " + e.getStatusText());
|
"The external app returned a server error: " + e.getStatusText());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,6 +24,5 @@ class ApplicationTests {
|
|||||||
try (Connection connection = dataSource.getConnection()) {
|
try (Connection connection = dataSource.getConnection()) {
|
||||||
assertThat(connection.getMetaData().getURL()).contains("vaessl_test");
|
assertThat(connection.getMetaData().getURL()).contains("vaessl_test");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user