Skip to content

Commit

Permalink
Merge pull request #168 from navikt/http_clients
Browse files Browse the repository at this point in the history
ta i bruk http client 5
  • Loading branch information
kenglxn authored Jan 3, 2024
2 parents 93bab7e + e5733f4 commit fd3d825
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 32 deletions.
17 changes: 6 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@
<artifactId>spring-retry</artifactId>
</dependency>

<!-- http client (used by spring resttemplate/restclient)-->
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
</dependency>


<!-- Prometheus -->
<dependency>
Expand All @@ -88,10 +94,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
</dependency>

<!-- OIDC Support -->
<dependency>
Expand All @@ -113,13 +115,6 @@
<version>7.4</version>
</dependency>

<!-- Swagger -->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.6.13</version>
</dependency>

<!-- Testing -->
<dependency>
<groupId>com.github.tomakehurst</groupId>
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ spring:
enable-statistics: true
cache-names: reportees

springdoc:
swagger-ui:
enabled: true
packagesToScan: no.nav.arbeidsgiver.altinnrettigheter.proxy

server:
port: 8080
max-http-request-header-size: 10KB
Expand Down

0 comments on commit fd3d825

Please sign in to comment.