Skip to content

Commit

Permalink
fixes #59 update default validator.yml and security.yml to framework …
Browse files Browse the repository at this point in the history
…specific
  • Loading branch information
stevehu committed Oct 3, 2018
1 parent e54c80e commit 00d2804
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 98 deletions.
38 changes: 0 additions & 38 deletions openapi-security/src/main/resources/config/security.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void testWithRightScopeInIdToken() throws Exception {
final CountDownLatch latch = new CountDownLatch(1);
final ClientConnection connection;
try {
connection = client.connect(new URI("http://localhost:8080"), Http2Client.WORKER, Http2Client.SSL, Http2Client.POOL, OptionMap.EMPTY).get();
connection = client.connect(new URI("http://localhost:8080"), Http2Client.WORKER, Http2Client.SSL, Http2Client.BUFFER_POOL, OptionMap.EMPTY).get();
} catch (Exception e) {
throw new ClientException(e);
}
Expand Down Expand Up @@ -136,7 +136,7 @@ public void testUnmatchedScopeInIdToken() throws Exception {
final CountDownLatch latch = new CountDownLatch(1);
final ClientConnection connection;
try {
connection = client.connect(new URI("http://localhost:8080"), Http2Client.WORKER, Http2Client.SSL, Http2Client.POOL, OptionMap.EMPTY).get();
connection = client.connect(new URI("http://localhost:8080"), Http2Client.WORKER, Http2Client.SSL, Http2Client.BUFFER_POOL, OptionMap.EMPTY).get();
} catch (Exception e) {
throw new ClientException(e);
}
Expand Down
9 changes: 0 additions & 9 deletions openapi-validator/src/main/resources/config/validator.yml

This file was deleted.

38 changes: 0 additions & 38 deletions swagger-security/src/main/resources/config/security.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void testWithRightScopeInIdToken() throws Exception {
final CountDownLatch latch = new CountDownLatch(1);
final ClientConnection connection;
try {
connection = client.connect(new URI("http://localhost:8080"), Http2Client.WORKER, Http2Client.SSL, Http2Client.POOL, OptionMap.EMPTY).get();
connection = client.connect(new URI("http://localhost:8080"), Http2Client.WORKER, Http2Client.SSL, Http2Client.BUFFER_POOL, OptionMap.EMPTY).get();
} catch (Exception e) {
throw new ClientException(e);
}
Expand Down Expand Up @@ -137,7 +137,7 @@ public void testUnmatchedScopeInIdToken() throws Exception {
final CountDownLatch latch = new CountDownLatch(1);
final ClientConnection connection;
try {
connection = client.connect(new URI("http://localhost:8080"), Http2Client.WORKER, Http2Client.SSL, Http2Client.POOL, OptionMap.EMPTY).get();
connection = client.connect(new URI("http://localhost:8080"), Http2Client.WORKER, Http2Client.SSL, Http2Client.BUFFER_POOL, OptionMap.EMPTY).get();
} catch (Exception e) {
throw new ClientException(e);
}
Expand Down
9 changes: 0 additions & 9 deletions swagger-validator/src/main/resources/config/validator.yml

This file was deleted.

0 comments on commit 00d2804

Please sign in to comment.