-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathocelotcodeexample.txt
More file actions
103 lines (102 loc) · 3.14 KB
/
ocelotcodeexample.txt
File metadata and controls
103 lines (102 loc) · 3.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"DownstreamPathTemplate": "/api/{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7072
}
],
"UpstreamPathTemplate": "/services/order/{everything}",
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
"UpstreamScheme": "http",
"AuthenticationOptions": {
"AuthenticationProviderKey": "OcelotAuthenticationScheme",
"AllowedScopes": [ "OrderFullPermission" ]
}
},
{
"DownstreamPathTemplate": "/api/{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7073
}
],
"UpstreamPathTemplate": "/services/cargo/{everything}",
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
"UpstreamScheme": "http",
"AuthenticationOptions": {
"AuthenticationProviderKey": "OcelotAuthenticationScheme",
"AllowedScopes": [ "CargoFullPermission" ]
}
},
{
"DownstreamPathTemplate": "/api/{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7074
}
],
"UpstreamPathTemplate": "/services/basket/{everything}",
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
"UpstreamScheme": "http",
"AuthenticationOptions": {
"AuthenticationProviderKey": "OcelotAuthenticationScheme",
"AllowedScopes": [ "BasketFullPermission" ]
}
},
{
"DownstreamPathTemplate": "/api/{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7075
}
],
"UpstreamPathTemplate": "/services/comment/{everything}",
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
"UpstreamScheme": "http",
"AuthenticationOptions": {
"AuthenticationProviderKey": "OcelotAuthenticationScheme",
"AllowedScopes": [ "CommentFullPermission" ]
}
},
{
"DownstreamPathTemplate": "/api/{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7076
}
],
"UpstreamPathTemplate": "/services/payment/{everything}",
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
"UpstreamScheme": "http",
"AuthenticationOptions": {
"AuthenticationProviderKey": "OcelotAuthenticationScheme",
"AllowedScopes": [ "PaymentFullPermission" ]
}
},
{
"DownstreamPathTemplate": "/api/{everything}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 7077
}
],
"UpstreamPathTemplate": "/services/images/{everything}",
"UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
"UpstreamScheme": "http",
"AuthenticationOptions": {
"AuthenticationProviderKey": "OcelotAuthenticationScheme",
"AllowedScopes": [ "ImagesFullPermission" ]
}
}