@@ -114,11 +114,11 @@ Now head over to the *frontend* served under **http://localhost:8070/** (routed
114
114
115
115
** KeyCloak:** 8060 (optional)
116
116
117
- ### Test with other tools
117
+ ## Test with other tools
118
118
119
119
All values in * doubled curly brackets ({{})* must be replaced with the actual value, including the brackets!
120
120
121
- #### RSocket
121
+ ### RSocket
122
122
123
123
For RSocket development I used [ RSC] ( https://github.com/making/rsc ) installed using:
124
124
@@ -128,7 +128,7 @@ brew install making/tap/rsc
128
128
129
129
** Note:** When using this tool whole frames sent are visible and also check out the server logs.
130
130
131
- ##### SpringSecurity
131
+ #### SpringSecurity
132
132
133
133
``` shell
134
134
# Basic
@@ -143,7 +143,7 @@ $ rsc --stream --route=orders.all --sm simple:{{user}}:{{password}} --smmt MESSA
143
143
$ 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
144
144
```
145
145
146
- ##### KeyCloak
146
+ #### KeyCloak
147
147
148
148
First we need to get an * access_token* for * bearer auth* , [ see this] ( #get-access-token )
149
149
@@ -160,11 +160,11 @@ $ rsc --stream --route=orders.all --sm "bearer:{{access_token}}" --smmt MESSAGE_
160
160
$ 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
161
161
```
162
162
163
- #### HTTP
163
+ ### HTTP
164
164
165
165
To retrieve the stream using * HTTP* I used [ HTTPIE] ( https://httpie.io/ ) using:
166
166
167
- ##### SpringSecurity
167
+ #### SpringSecurity
168
168
169
169
Retrieve orders:
170
170
@@ -184,7 +184,7 @@ http :8070/server/orders/new kind==got --auth "{{user}}:{{password}}"
184
184
185
185
http --stream :8070/server/orders Authorization:"Bearer {{access_token}}"
186
186
187
- ##### KeyCloak
187
+ #### KeyCloak
188
188
189
189
First we need to get an * access_token* for * bearer auth* , [ see this] ( #get-access-token )
190
190
0 commit comments