@devkong/cli 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/python-install.sh +1 -1
- package/package.json +1 -1
- package/assets/kong-json-schema.json +0 -136
package/assets/python-install.sh
CHANGED
package/package.json
CHANGED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"id": {
|
|
6
|
-
"type": "string"
|
|
7
|
-
},
|
|
8
|
-
"name": {
|
|
9
|
-
"type": "string"
|
|
10
|
-
},
|
|
11
|
-
"ownership": {
|
|
12
|
-
"type": "array",
|
|
13
|
-
"items": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"sdk": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"enum": ["python", "kotlin"]
|
|
20
|
-
},
|
|
21
|
-
"alias": {
|
|
22
|
-
"type": "object",
|
|
23
|
-
"properties": {
|
|
24
|
-
"env": {
|
|
25
|
-
"type": "object",
|
|
26
|
-
"additionalProperties": true
|
|
27
|
-
},
|
|
28
|
-
"input": {
|
|
29
|
-
"type": "object",
|
|
30
|
-
"properties": {
|
|
31
|
-
"filter": {
|
|
32
|
-
"type": "string"
|
|
33
|
-
},
|
|
34
|
-
"schema": {
|
|
35
|
-
"$ref": "https://json-schema.org/draft-07/schema#"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"required": ["schema", "filter"]
|
|
39
|
-
},
|
|
40
|
-
"output": {
|
|
41
|
-
"type": "object",
|
|
42
|
-
"properties": {
|
|
43
|
-
"filter": {
|
|
44
|
-
"type": "string"
|
|
45
|
-
},
|
|
46
|
-
"schema": {
|
|
47
|
-
"$ref": "https://json-schema.org/draft-07/schema#"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"required": ["schema", "filter"]
|
|
51
|
-
},
|
|
52
|
-
"invoke": {
|
|
53
|
-
"type": "object",
|
|
54
|
-
"properties": {
|
|
55
|
-
"prefix": {
|
|
56
|
-
"type": "string"
|
|
57
|
-
},
|
|
58
|
-
"cache": {
|
|
59
|
-
"type": "object",
|
|
60
|
-
"properties": {
|
|
61
|
-
"enabled": {
|
|
62
|
-
"type": "boolean"
|
|
63
|
-
},
|
|
64
|
-
"key": {
|
|
65
|
-
"type": ["string"]
|
|
66
|
-
},
|
|
67
|
-
"ttl": {
|
|
68
|
-
"type": "string"
|
|
69
|
-
},
|
|
70
|
-
"onFailure": {
|
|
71
|
-
"type": "string",
|
|
72
|
-
"enum": ["skip", "retry"]
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"required": ["enabled", "key", "ttl", "onFailure"]
|
|
76
|
-
},
|
|
77
|
-
"retry": {
|
|
78
|
-
"type": "object",
|
|
79
|
-
"properties": {
|
|
80
|
-
"maxAttempts": {
|
|
81
|
-
"type": "number"
|
|
82
|
-
},
|
|
83
|
-
"attemptDelay": {
|
|
84
|
-
"type": "string"
|
|
85
|
-
},
|
|
86
|
-
"attemptTimeout": {
|
|
87
|
-
"type": "string"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"required": ["maxAttempts", "attemptDelay", "attemptTimeout"]
|
|
91
|
-
},
|
|
92
|
-
"circuitBreaker": {
|
|
93
|
-
"type": "object",
|
|
94
|
-
"properties": {
|
|
95
|
-
"enabled": {
|
|
96
|
-
"type": "boolean"
|
|
97
|
-
},
|
|
98
|
-
"requestVolumeThreshold": {
|
|
99
|
-
"type": "number"
|
|
100
|
-
},
|
|
101
|
-
"failureRatio": {
|
|
102
|
-
"type": "number"
|
|
103
|
-
},
|
|
104
|
-
"successThreshold": {
|
|
105
|
-
"type": "number"
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
"required": ["enabled", "requestVolumeThreshold", "failureRatio", "successThreshold"]
|
|
109
|
-
},
|
|
110
|
-
"rateLimiter": {
|
|
111
|
-
"type": "object",
|
|
112
|
-
"properties": {
|
|
113
|
-
"enabled": {
|
|
114
|
-
"type": "boolean"
|
|
115
|
-
},
|
|
116
|
-
"value": {
|
|
117
|
-
"type": "number"
|
|
118
|
-
},
|
|
119
|
-
"window": {
|
|
120
|
-
"type": "string"
|
|
121
|
-
},
|
|
122
|
-
"minSpacing": {
|
|
123
|
-
"type": "string"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
"required": ["enabled", "value", "window", "minSpacing"]
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"additionalProperties": false
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
"additionalProperties": false,
|
|
135
|
-
"required": ["id", "name", "ownership", "sdk"]
|
|
136
|
-
}
|