Fix links in sample README's

This commit is contained in:
Rossen Stoyanchev
2021-07-07 09:02:51 +01:00
parent 27e883164f
commit 1ea5e346b9
3 changed files with 6 additions and 7 deletions

View File

@@ -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
```
```

View File

@@ -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.

View File

@@ -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.