Skip to content

Commit

Permalink
fixes #2249 merge token-config to router-config (#2250)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu authored May 17, 2024
1 parent 39acee5 commit 405b391
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ public void testErrorStatus() throws IOException {
TokenResponse tokenResponse = Config.getInstance().getMapper().readValue(s, TokenResponse.class);
}


@Test(expected = UnrecognizedPropertyException.class)
@Test
public void testExtraFields() throws IOException {
String s = "{\"access_token\":\"access_token\",\"token_type\":\"token_type\",\"expires_in\":3600,\"scope\":\"scope\",\"state\":\"state\",\"refresh_token\":\"refresh_token\",\"example_parameter\":\"example_parameter\",\"extra\":\"extra\"}";
TokenResponse tokenResponse = Config.getInstance().getMapper().readValue(s, TokenResponse.class);
Expand Down
4 changes: 0 additions & 4 deletions egress-router/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@
<groupId>com.networknt</groupId>
<artifactId>proxy-handler</artifactId>
</dependency>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>token-config</artifactId>
</dependency>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>router-config</artifactId>
Expand Down
8 changes: 1 addition & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<version.jsr305>3.0.2</version.jsr305>
<version.json-schema-validator>1.0.65</version.json-schema-validator>
<version.yaml-rule>1.0.3</version.yaml-rule>
<version.http-client>1.0.10</version.http-client>
<version.http-client>1.0.11</version.http-client>
<version.snakeyaml>2.2</version.snakeyaml>
<version.caffeine>3.1.5</version.caffeine>
<version.prometheus>0.16.0</version.prometheus>
Expand Down Expand Up @@ -175,7 +175,6 @@
<module>logger-config</module>
<module>logger-handler</module>
<module>http-entity</module>
<module>token-config</module>
<module>router-config</module>
<module>egress-router</module>
<module>ingress-proxy</module>
Expand Down Expand Up @@ -497,11 +496,6 @@
<artifactId>http-entity</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>token-config</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.networknt</groupId>
<artifactId>router-config</artifactId>
Expand Down

0 comments on commit 405b391

Please sign in to comment.