Skip to content
This repository was archived by the owner on Jun 21, 2022. It is now read-only.

Commit 41deb7e

Browse files
committed
Adjusted headings
1 parent 760b560 commit 41deb7e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ Now head over to the *frontend* served under **http://localhost:8070/** (routed
114114

115115
**KeyCloak:** 8060 (optional)
116116

117-
### Test with other tools
117+
## Test with other tools
118118

119119
All values in *doubled curly brackets ({{})* must be replaced with the actual value, including the brackets!
120120

121-
#### RSocket
121+
### RSocket
122122

123123
For RSocket development I used [RSC](https://github.com/making/rsc) installed using:
124124

@@ -128,7 +128,7 @@ brew install making/tap/rsc
128128

129129
**Note:** When using this tool whole frames sent are visible and also check out the server logs.
130130

131-
##### SpringSecurity
131+
#### SpringSecurity
132132

133133
```shell
134134
# Basic
@@ -143,7 +143,7 @@ $ rsc --stream --route=orders.all --sm simple:{{user}}:{{password}} --smmt MESSA
143143
$ rsc --stream --route=orders.all --sm simple:{{user}}:{{password}} --smmt MESSAGE_RSOCKET_AUTHENTICATION --debug --metadata='{"data":"custom metadata value from rsc"}' ws://localhost:8070/server/rsocket
144144
```
145145

146-
##### KeyCloak
146+
#### KeyCloak
147147

148148
First we need to get an *access_token* for *bearer auth*, [see this](#get-access-token)
149149

@@ -160,11 +160,11 @@ $ rsc --stream --route=orders.all --sm "bearer:{{access_token}}" --smmt MESSAGE_
160160
$ rsc --stream --route=orders.all --sm "bearer:{{access_token}}" --smmt MESSAGE_RSOCKET_AUTHENTICATION --debug --metadata='{"data":"custom metadata value from rsc"}' ws://localhost:8070/server/rsocket
161161
```
162162

163-
#### HTTP
163+
### HTTP
164164

165165
To retrieve the stream using *HTTP* I used [HTTPIE](https://httpie.io/) using:
166166

167-
##### SpringSecurity
167+
#### SpringSecurity
168168

169169
Retrieve orders:
170170

@@ -184,7 +184,7 @@ http :8070/server/orders/new kind==got --auth "{{user}}:{{password}}"
184184

185185
http --stream :8070/server/orders Authorization:"Bearer {{access_token}}"
186186

187-
##### KeyCloak
187+
#### KeyCloak
188188

189189
First we need to get an *access_token* for *bearer auth*, [see this](#get-access-token)
190190

0 commit comments

Comments
 (0)