Skip to content

Commit

Permalink
Merge pull request jhipster#494 from pascalgrimaud/uaa-remove-support
Browse files Browse the repository at this point in the history
Remove UAA
  • Loading branch information
juliensadaoui authored Jan 27, 2021
2 parents ad3cba6 + 1db5a37 commit e1ec53b
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 407 deletions.
9 changes: 5 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit-junit5-api</artifactId>
Expand Down Expand Up @@ -274,10 +279,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-jwt</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
public class Constants {

public static final String PROFILE_OAUTH2 = "oauth2";
public static final String PROFILE_UAA = "uaa";

private Constants() {
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public ResponseEntity<List<RouteVM>> getRoutes() {

return routeVM;
})
// we don't need the service sets. They come in as of eureka.fetch-registry=true, which is needed for requests against UAA
// we don't need the service sets. They come in as of eureka.fetch-registry=true
.filter(routeVM -> routeVM.getServiceInstances() == null || routeVM.getServiceInstances().isEmpty())
.forEach(route -> routeVMs.put(route.getServiceId(), route));

Expand Down
16 changes: 0 additions & 16 deletions src/main/resources/config/application-uaa.yml

This file was deleted.

This file was deleted.

Loading

0 comments on commit e1ec53b

Please sign in to comment.