From 1ea5e346b9415fd935d46671faeab82575cd0b2c Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Wed, 7 Jul 2021 09:02:51 +0100 Subject: [PATCH] Fix links in sample README's --- samples/README.md | 9 ++++----- samples/webflux-security/README.md | 2 +- samples/webmvc-http-security/README.md | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/samples/README.md b/samples/README.md index 2cdc109d..c1e93e93 100644 --- a/samples/README.md +++ b/samples/README.md @@ -1,9 +1,8 @@ -This directory contains samples we test scenarios and features with. +This directory contains samples to test scenarios and features with. -All samples use the Boot starter, have integration tests you can run or debug, and expose a GraphiQL page to try queries with. Simply start the `main` application class and go to http://localhost:8080/graphiql. +All samples have integration tests you can run or debug, and expose a GraphiQL page at "/graphiql". -To run from the command line, use: +To run a sample from the command line: ```shell script $ ./gradlew :samples:{sample-directory-name}:bootRun -``` - +``` \ No newline at end of file diff --git a/samples/webflux-security/README.md b/samples/webflux-security/README.md index 9c9ee12e..3c2540c8 100644 --- a/samples/webflux-security/README.md +++ b/samples/webflux-security/README.md @@ -2,5 +2,5 @@ - Spring Security [config](src/main/java/io/spring/sample/graphql/SecurityConfig.java) secures GraphQL HTTP endpoint. - Fine-grained, method-level security on [SalaryService](src/main/java/io/spring/sample/graphql/SalaryService.java). - - `AuthenticationException` and `AccessDeniedException` [resolved](src/main/java/io/spring/sample/graphql/SecurityDataFetcherExceptionResolver.java) to GraphQL errors. + - `AuthenticationException` and `AccessDeniedException` resolved to GraphQL errors. - [Tests](src/test/java/io/spring/sample/graphql/SampleApplicationTests.java) with `WebGraphQlTester` and WebFlux without a server. \ No newline at end of file diff --git a/samples/webmvc-http-security/README.md b/samples/webmvc-http-security/README.md index 677eff76..dad97507 100644 --- a/samples/webmvc-http-security/README.md +++ b/samples/webmvc-http-security/README.md @@ -2,5 +2,5 @@ - Spring Security [config](src/main/java/io/spring/sample/graphql/SecurityConfig.java) secures GraphQL HTTP endpoint. - Fine-grained, method-level security on [SalaryService](src/main/java/io/spring/sample/graphql/SalaryService.java). - - `AuthenticationException` and `AccessDeniedException` [resolved](src/test/java/io/spring/sample/graphql/SampleApplicationTests.java) to GraphQL errors. + - `AuthenticationException` and `AccessDeniedException` resolved to GraphQL errors. - [Tests](src/test/java/io/spring/sample/graphql/SampleApplicationTests.java) with `WebGraphQlTester` and WebFlux without a server. \ No newline at end of file