@kong-ui-public/entities-plugins 2.17.2 → 2.17.3
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/dist/endpoints/plugins-endpoints.d.ts.map +1 -1
- package/dist/endpoints/plugins-endpoints.js +32 -30
- package/dist/entities-plugins.es.js +3548 -3548
- package/dist/entities-plugins.umd.js +46 -46
- package/dist/style.css +1 -1
- package/dist/types/plugins-endpoints.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins-endpoints.d.ts","sourceRoot":"","sources":["../../src/plugins-endpoints.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"plugins-endpoints.d.ts","sourceRoot":"","sources":["../../src/plugins-endpoints.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAwEC"}
|
|
@@ -1,73 +1,75 @@
|
|
|
1
|
+
var konnectBaseApiUrl = '/v2/control-planes/{controlPlaneId}/core-entities';
|
|
2
|
+
var KMBaseApiUrl = '/{workspace}';
|
|
1
3
|
export default {
|
|
2
4
|
list: {
|
|
3
5
|
konnect: {
|
|
4
|
-
all:
|
|
5
|
-
forEntity:
|
|
6
|
+
all: "".concat(konnectBaseApiUrl, "/plugins"),
|
|
7
|
+
forEntity: "".concat(konnectBaseApiUrl, "/{entityType}/{entityId}/plugins"),
|
|
6
8
|
},
|
|
7
9
|
kongManager: {
|
|
8
|
-
all:
|
|
9
|
-
forEntity:
|
|
10
|
+
all: "".concat(KMBaseApiUrl, "/plugins"),
|
|
11
|
+
forEntity: "".concat(KMBaseApiUrl, "/{entityType}/{entityId}/plugins"),
|
|
10
12
|
},
|
|
11
13
|
},
|
|
12
14
|
select: {
|
|
13
15
|
konnect: {
|
|
14
|
-
availablePlugins:
|
|
16
|
+
availablePlugins: "".concat(konnectBaseApiUrl, "/v1/available-plugins"),
|
|
15
17
|
},
|
|
16
18
|
kongManager: {
|
|
17
|
-
availablePlugins:
|
|
19
|
+
availablePlugins: "".concat(KMBaseApiUrl, "/kong"),
|
|
18
20
|
availablePluginsForOss: '/',
|
|
19
21
|
},
|
|
20
22
|
},
|
|
21
23
|
form: {
|
|
22
24
|
konnect: {
|
|
23
25
|
create: {
|
|
24
|
-
all:
|
|
25
|
-
forEntity:
|
|
26
|
+
all: "".concat(konnectBaseApiUrl, "/plugins"),
|
|
27
|
+
forEntity: "".concat(konnectBaseApiUrl, "/{entityType}/{entityId}/plugins"),
|
|
26
28
|
},
|
|
27
29
|
edit: {
|
|
28
|
-
all:
|
|
29
|
-
forEntity:
|
|
30
|
+
all: "".concat(konnectBaseApiUrl, "/plugins/{id}"),
|
|
31
|
+
forEntity: "".concat(konnectBaseApiUrl, "/{entityType}/{entityId}/plugins/{id}"),
|
|
30
32
|
},
|
|
31
33
|
pluginSchema: '/v2/control-planes/{controlPlaneId}/schemas/core-entities/plugins/{plugin}',
|
|
32
34
|
credential: {
|
|
33
|
-
create:
|
|
34
|
-
edit:
|
|
35
|
+
create: "".concat(konnectBaseApiUrl, "/{resourceEndpoint}"),
|
|
36
|
+
edit: "".concat(konnectBaseApiUrl, "/{resourceEndpoint}/{id}"),
|
|
35
37
|
},
|
|
36
38
|
credentialSchema: '/v2/control-planes/{controlPlaneId}/schemas/core-entities/{plugin}',
|
|
37
|
-
validate:
|
|
39
|
+
validate: "".concat(konnectBaseApiUrl, "/v1/schemas/json/plugin/validate"),
|
|
38
40
|
// VFG endpoints24
|
|
39
|
-
entityGetOne:
|
|
40
|
-
entityGetAll:
|
|
41
|
+
entityGetOne: "".concat(konnectBaseApiUrl, "/{entity}/{id}"),
|
|
42
|
+
entityGetAll: "".concat(konnectBaseApiUrl, "/{entity}?size=1000"),
|
|
41
43
|
},
|
|
42
44
|
kongManager: {
|
|
43
45
|
create: {
|
|
44
|
-
all:
|
|
45
|
-
forEntity:
|
|
46
|
+
all: "".concat(KMBaseApiUrl, "/plugins"),
|
|
47
|
+
forEntity: "".concat(KMBaseApiUrl, "/{entityType}/{entityId}/plugins"),
|
|
46
48
|
},
|
|
47
49
|
edit: {
|
|
48
|
-
all:
|
|
49
|
-
forEntity:
|
|
50
|
+
all: "".concat(KMBaseApiUrl, "/plugins/{id}"),
|
|
51
|
+
forEntity: "".concat(KMBaseApiUrl, "/{entityType}/{entityId}/plugins/{id}"),
|
|
50
52
|
},
|
|
51
|
-
pluginSchema:
|
|
53
|
+
pluginSchema: "".concat(KMBaseApiUrl, "/schemas/plugins/{plugin}"),
|
|
52
54
|
credential: {
|
|
53
|
-
create:
|
|
54
|
-
edit:
|
|
55
|
+
create: "".concat(KMBaseApiUrl, "/{resourceEndpoint}"),
|
|
56
|
+
edit: "".concat(KMBaseApiUrl, "/{resourceEndpoint}/{id}"),
|
|
55
57
|
},
|
|
56
|
-
credentialSchema:
|
|
57
|
-
validate:
|
|
58
|
+
credentialSchema: "".concat(KMBaseApiUrl, "/schemas/{plugin}"),
|
|
59
|
+
validate: "".concat(KMBaseApiUrl, "/schemas/plugins/validate"),
|
|
58
60
|
// VFG endpoints
|
|
59
|
-
entityGetOne:
|
|
60
|
-
entityGetAll:
|
|
61
|
+
entityGetOne: "".concat(KMBaseApiUrl, "/{entity}/{id}"),
|
|
62
|
+
entityGetAll: "".concat(KMBaseApiUrl, "/{entity}"),
|
|
61
63
|
},
|
|
62
64
|
},
|
|
63
65
|
item: {
|
|
64
66
|
konnect: {
|
|
65
|
-
all:
|
|
66
|
-
forEntity:
|
|
67
|
+
all: "".concat(konnectBaseApiUrl, "/plugins/{id}"),
|
|
68
|
+
forEntity: "".concat(konnectBaseApiUrl, "/{entityType}/{entityId}/plugins/{id}"),
|
|
67
69
|
},
|
|
68
70
|
kongManager: {
|
|
69
|
-
all:
|
|
70
|
-
forEntity:
|
|
71
|
+
all: "".concat(KMBaseApiUrl, "/plugins/{id}"),
|
|
72
|
+
forEntity: "".concat(KMBaseApiUrl, "/{entityType}/{entityId}/plugins/{id}"),
|
|
71
73
|
},
|
|
72
74
|
},
|
|
73
75
|
};
|