You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the results above, we assume that this plugin and Kong is more reliable than AWS API Gateway, at least in the case when a lot uf users have to be served.
17
+
Based on the results above, we assume that this plugin and Kong is more reliable than AWS API Gateway, at least in the case when a lot of users have to be served.
18
18
19
19
### Plugin Development
20
20
Below you will find some actions you might want to perform during plugin development
21
21
22
22
*#### restarting dev env
23
-
```sh
24
-
pongo down && pongo run --no-cassandra && pongo shell
25
-
```
23
+
```sh
24
+
pongo down && pongo run --no-cassandra && pongo shell
25
+
```
26
26
27
27
*#### starting kong
28
-
```sh
29
-
kong migrations bootstrap --force && kong start
30
-
```
28
+
```sh
29
+
kong migrations bootstrap --force && kong start
30
+
```
31
31
32
32
*#### reloading kong
33
-
```sh
34
-
kong reload
35
-
```
33
+
```sh
34
+
kong reload
35
+
```
36
36
37
37
*#### exporting ENV var used below
38
-
```sh
39
-
export kong_proxf_url=http://localhost:8000
40
-
export kong_admin_url=http://localhost:8001
41
-
export service_name=echo
42
-
export plugin_name=aws-request-signing
43
-
export lambda_url=http://example.com
44
-
```
38
+
```sh
39
+
export kong_proxf_url=http://localhost:8000
40
+
export kong_admin_url=http://localhost:8001
41
+
export service_name=echo
42
+
export plugin_name=aws-request-signing
43
+
export lambda_url=http://example.com
44
+
```
45
45
46
46
*#### exporting Token used to AssumeRoleWithWebIdentity
47
-
```sh
48
-
export auth_token=
49
-
```
47
+
```sh
48
+
export auth_token=
49
+
```
50
50
51
51
*#### Simple service + route + plugin configuration
52
-
```sh
53
-
curl -i -X POST \
54
-
--url $kong_admin_url/services/ \
55
-
--data "name=$service_name" \
56
-
--data "url=https://$lambda_url/"&& curl -i -X POST \
0 commit comments