@gravitee/ui-policy-studio-angular 1.5.0 → 1.6.0

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.
Files changed (183) hide show
  1. package/bundles/gravitee-ui-policy-studio-angular-testing.umd.js +5728 -0
  2. package/bundles/gravitee-ui-policy-studio-angular-testing.umd.js.map +1 -0
  3. package/bundles/gravitee-ui-policy-studio-angular.umd.js +4586 -36
  4. package/bundles/gravitee-ui-policy-studio-angular.umd.js.map +1 -1
  5. package/esm2015/lib/gio-policy-studio.component.js +155 -0
  6. package/esm2015/lib/gio-policy-studio.module.js +60 -0
  7. package/esm2015/lib/models/flow/ConfigurationSchema.fixture.js +25 -0
  8. package/esm2015/lib/models/flow/ConfigurationSchema.js +2 -0
  9. package/esm2015/lib/models/flow/OrganizationFlowConfiguration.fixture.js +7 -0
  10. package/esm2015/lib/models/flow/OrganizationFlowConfiguration.js +2 -0
  11. package/esm2015/lib/models/flow/PlatformFlowSchema.fixture.js +69 -0
  12. package/esm2015/lib/models/flow/PlatformFlowSchema.js +17 -0
  13. package/esm2015/lib/models/flow/index-testing.js +19 -0
  14. package/esm2015/lib/models/flow/index.js +19 -0
  15. package/esm2015/lib/models/index.js +21 -0
  16. package/esm2015/lib/models/json.js +2 -0
  17. package/esm2015/lib/models/policy/PolicyDocumentation.fixture.js +218 -0
  18. package/esm2015/lib/models/policy/PolicyDocumentation.js +2 -0
  19. package/esm2015/lib/models/policy/PolicyListItem.fixture.js +15 -0
  20. package/esm2015/lib/models/policy/PolicyListItem.js +2 -0
  21. package/esm2015/lib/models/policy/PolicySchema.fixture.js +5 -0
  22. package/esm2015/lib/models/policy/PolicySchema.js +2 -0
  23. package/esm2015/lib/models/policy/index-testing.js +19 -0
  24. package/esm2015/lib/models/policy/index.js +19 -0
  25. package/esm2015/lib/models/resource/ResourceDocumentation.fixture.js +70 -0
  26. package/esm2015/lib/models/resource/ResourceDocumentation.js +2 -0
  27. package/esm2015/lib/models/resource/ResourceListItem.fixture.js +12 -0
  28. package/esm2015/lib/models/resource/ResourceListItem.js +2 -0
  29. package/esm2015/lib/models/resource/index-testing.js +18 -0
  30. package/esm2015/lib/models/resource/index.js +18 -0
  31. package/esm2015/lib/models/spel/Grammar.fixture.js +3693 -0
  32. package/esm2015/lib/models/spel/Grammar.js +17 -0
  33. package/esm2015/lib/models/spel/index-testing.js +17 -0
  34. package/esm2015/lib/models/spel/index.js +17 -0
  35. package/esm2015/lib/services/flow.abstract.service.js +3 -0
  36. package/esm2015/lib/services/flow.service.fixture.js +37 -0
  37. package/esm2015/lib/services/index.js +20 -0
  38. package/esm2015/lib/services/policy.abstract.service.js +3 -0
  39. package/esm2015/lib/services/policy.service.fixture.js +41 -0
  40. package/esm2015/lib/services/resource.abstract.service.js +3 -0
  41. package/esm2015/lib/services/resource.service.fixture.js +34 -0
  42. package/esm2015/lib/services/spel.abstract.service.js +3 -0
  43. package/esm2015/lib/services/spel.service.fixture.js +34 -0
  44. package/esm2015/public-api.js +5 -4
  45. package/esm2015/testing/gravitee-ui-policy-studio-angular-testing.js +5 -0
  46. package/esm2015/testing/lib/models/flow/ConfigurationSchema.fixture.js +25 -0
  47. package/esm2015/testing/lib/models/flow/ConfigurationSchema.js +2 -0
  48. package/esm2015/testing/lib/models/flow/OrganizationFlowConfiguration.fixture.js +7 -0
  49. package/esm2015/testing/lib/models/flow/OrganizationFlowConfiguration.js +2 -0
  50. package/esm2015/testing/lib/models/flow/PlatformFlowSchema.fixture.js +69 -0
  51. package/esm2015/testing/lib/models/flow/PlatformFlowSchema.js +17 -0
  52. package/esm2015/testing/lib/models/flow/index-testing.js +19 -0
  53. package/esm2015/testing/lib/models/flow/index.js +19 -0
  54. package/esm2015/testing/lib/models/index-testing.js +20 -0
  55. package/esm2015/testing/lib/models/json.js +2 -0
  56. package/esm2015/testing/lib/models/policy/PolicyDocumentation.fixture.js +218 -0
  57. package/esm2015/testing/lib/models/policy/PolicyDocumentation.js +2 -0
  58. package/esm2015/testing/lib/models/policy/PolicyListItem.fixture.js +15 -0
  59. package/esm2015/testing/lib/models/policy/PolicyListItem.js +2 -0
  60. package/esm2015/testing/lib/models/policy/PolicySchema.fixture.js +5 -0
  61. package/esm2015/testing/lib/models/policy/PolicySchema.js +2 -0
  62. package/esm2015/testing/lib/models/policy/index-testing.js +19 -0
  63. package/esm2015/testing/lib/models/policy/index.js +19 -0
  64. package/esm2015/testing/lib/models/resource/ResourceDocumentation.fixture.js +70 -0
  65. package/esm2015/testing/lib/models/resource/ResourceDocumentation.js +2 -0
  66. package/esm2015/testing/lib/models/resource/ResourceListItem.fixture.js +12 -0
  67. package/esm2015/testing/lib/models/resource/ResourceListItem.js +2 -0
  68. package/esm2015/testing/lib/models/resource/index-testing.js +18 -0
  69. package/esm2015/testing/lib/models/resource/index.js +18 -0
  70. package/esm2015/testing/lib/models/spel/Grammar.fixture.js +3693 -0
  71. package/esm2015/testing/lib/models/spel/Grammar.js +17 -0
  72. package/esm2015/testing/lib/models/spel/index-testing.js +17 -0
  73. package/esm2015/testing/lib/models/spel/index.js +17 -0
  74. package/esm2015/testing/lib/services/flow.abstract.service.js +3 -0
  75. package/esm2015/testing/lib/services/flow.service.fixture.js +37 -0
  76. package/esm2015/testing/lib/services/index-testing.js +20 -0
  77. package/esm2015/testing/lib/services/policy.abstract.service.js +3 -0
  78. package/esm2015/testing/lib/services/policy.service.fixture.js +41 -0
  79. package/esm2015/testing/lib/services/resource.abstract.service.js +3 -0
  80. package/esm2015/testing/lib/services/resource.service.fixture.js +34 -0
  81. package/esm2015/testing/lib/services/spel.abstract.service.js +3 -0
  82. package/esm2015/testing/lib/services/spel.service.fixture.js +34 -0
  83. package/esm2015/testing/public-testing-api.js +19 -0
  84. package/esm2015/testing/testing/index.js +17 -0
  85. package/esm2015/testing/testing/stories-resources/apim-definition.json +405 -0
  86. package/esm2015/testing/testing/stories-resources/apim-flow.json +54 -0
  87. package/esm2015/testing/testing/stories-resources/apim-policies.json +486 -0
  88. package/esm2015/testing/testing/stories-resources/apim-property-providers.json +39 -0
  89. package/esm2015/testing/testing/stories-resources/apim-resource-types.json +187 -0
  90. package/esm2015/testing/testing/stories-resources/index.js +26 -0
  91. package/fesm2015/gravitee-ui-policy-studio-angular-testing.js +5699 -0
  92. package/fesm2015/gravitee-ui-policy-studio-angular-testing.js.map +1 -0
  93. package/fesm2015/gravitee-ui-policy-studio-angular.js +4586 -25
  94. package/fesm2015/gravitee-ui-policy-studio-angular.js.map +1 -1
  95. package/lib/gio-policy-studio.component.d.ts +79 -0
  96. package/lib/gio-policy-studio.module.d.ts +8 -0
  97. package/lib/models/flow/ConfigurationSchema.d.ts +2 -0
  98. package/lib/models/flow/ConfigurationSchema.fixture.d.ts +2 -0
  99. package/lib/models/flow/OrganizationFlowConfiguration.d.ts +3 -0
  100. package/lib/models/flow/OrganizationFlowConfiguration.fixture.d.ts +2 -0
  101. package/lib/models/flow/PlatformFlowSchema.d.ts +2 -0
  102. package/lib/models/flow/PlatformFlowSchema.fixture.d.ts +2 -0
  103. package/lib/models/flow/index-testing.d.ts +3 -0
  104. package/lib/models/flow/index.d.ts +3 -0
  105. package/lib/models/index.d.ts +5 -0
  106. package/lib/models/json.d.ts +3 -0
  107. package/lib/models/policy/PolicyDocumentation.d.ts +1 -0
  108. package/lib/models/policy/PolicyDocumentation.fixture.d.ts +2 -0
  109. package/lib/models/policy/PolicyListItem.d.ts +13 -0
  110. package/lib/models/policy/PolicyListItem.fixture.d.ts +2 -0
  111. package/lib/models/policy/PolicySchema.d.ts +1 -0
  112. package/lib/models/policy/PolicySchema.fixture.d.ts +2 -0
  113. package/lib/models/policy/index-testing.d.ts +3 -0
  114. package/lib/models/policy/index.d.ts +3 -0
  115. package/lib/models/resource/ResourceDocumentation.d.ts +1 -0
  116. package/lib/models/resource/ResourceDocumentation.fixture.d.ts +2 -0
  117. package/lib/models/resource/ResourceListItem.d.ts +8 -0
  118. package/lib/models/resource/ResourceListItem.fixture.d.ts +2 -0
  119. package/lib/models/resource/index-testing.d.ts +2 -0
  120. package/lib/models/resource/index.d.ts +2 -0
  121. package/lib/models/spel/Grammar.d.ts +2 -0
  122. package/lib/models/spel/Grammar.fixture.d.ts +2 -0
  123. package/lib/models/spel/index-testing.d.ts +1 -0
  124. package/lib/models/spel/index.d.ts +1 -0
  125. package/lib/services/flow.abstract.service.d.ts +7 -0
  126. package/lib/services/flow.service.fixture.d.ts +11 -0
  127. package/lib/services/index.d.ts +4 -0
  128. package/lib/services/policy.abstract.service.d.ts +14 -0
  129. package/lib/services/policy.service.fixture.d.ts +13 -0
  130. package/lib/services/resource.abstract.service.d.ts +11 -0
  131. package/lib/services/resource.service.fixture.d.ts +10 -0
  132. package/lib/services/spel.abstract.service.d.ts +5 -0
  133. package/lib/services/spel.service.fixture.d.ts +9 -0
  134. package/package.json +5 -2
  135. package/public-api.d.ts +4 -3
  136. package/testing/gravitee-ui-policy-studio-angular-testing.d.ts +5 -0
  137. package/testing/lib/models/flow/ConfigurationSchema.d.ts +2 -0
  138. package/testing/lib/models/flow/ConfigurationSchema.fixture.d.ts +2 -0
  139. package/testing/lib/models/flow/OrganizationFlowConfiguration.d.ts +3 -0
  140. package/testing/lib/models/flow/OrganizationFlowConfiguration.fixture.d.ts +2 -0
  141. package/testing/lib/models/flow/PlatformFlowSchema.d.ts +2 -0
  142. package/testing/lib/models/flow/PlatformFlowSchema.fixture.d.ts +2 -0
  143. package/testing/lib/models/flow/index-testing.d.ts +3 -0
  144. package/testing/lib/models/flow/index.d.ts +3 -0
  145. package/testing/lib/models/index-testing.d.ts +4 -0
  146. package/testing/lib/models/json.d.ts +3 -0
  147. package/testing/lib/models/policy/PolicyDocumentation.d.ts +1 -0
  148. package/testing/lib/models/policy/PolicyDocumentation.fixture.d.ts +2 -0
  149. package/testing/lib/models/policy/PolicyListItem.d.ts +13 -0
  150. package/testing/lib/models/policy/PolicyListItem.fixture.d.ts +2 -0
  151. package/testing/lib/models/policy/PolicySchema.d.ts +1 -0
  152. package/testing/lib/models/policy/PolicySchema.fixture.d.ts +2 -0
  153. package/testing/lib/models/policy/index-testing.d.ts +3 -0
  154. package/testing/lib/models/policy/index.d.ts +3 -0
  155. package/testing/lib/models/resource/ResourceDocumentation.d.ts +1 -0
  156. package/testing/lib/models/resource/ResourceDocumentation.fixture.d.ts +2 -0
  157. package/testing/lib/models/resource/ResourceListItem.d.ts +8 -0
  158. package/testing/lib/models/resource/ResourceListItem.fixture.d.ts +2 -0
  159. package/testing/lib/models/resource/index-testing.d.ts +2 -0
  160. package/testing/lib/models/resource/index.d.ts +2 -0
  161. package/testing/lib/models/spel/Grammar.d.ts +2 -0
  162. package/testing/lib/models/spel/Grammar.fixture.d.ts +2 -0
  163. package/testing/lib/models/spel/index-testing.d.ts +1 -0
  164. package/testing/lib/models/spel/index.d.ts +1 -0
  165. package/testing/lib/services/flow.abstract.service.d.ts +7 -0
  166. package/testing/lib/services/flow.service.fixture.d.ts +11 -0
  167. package/testing/lib/services/index-testing.d.ts +4 -0
  168. package/testing/lib/services/policy.abstract.service.d.ts +14 -0
  169. package/testing/lib/services/policy.service.fixture.d.ts +13 -0
  170. package/testing/lib/services/resource.abstract.service.d.ts +11 -0
  171. package/testing/lib/services/resource.service.fixture.d.ts +10 -0
  172. package/testing/lib/services/spel.abstract.service.d.ts +5 -0
  173. package/testing/lib/services/spel.service.fixture.d.ts +9 -0
  174. package/testing/package.json +10 -0
  175. package/testing/public-testing-api.d.ts +3 -0
  176. package/testing/testing/index.d.ts +1 -0
  177. package/testing/testing/stories-resources/index.d.ts +592 -0
  178. package/esm2015/lib/ui-policy-studio-angular.component.js +0 -30
  179. package/esm2015/lib/ui-policy-studio-angular.module.js +0 -32
  180. package/esm2015/lib/ui-policy-studio-angular.service.js +0 -29
  181. package/lib/ui-policy-studio-angular.component.d.ts +0 -5
  182. package/lib/ui-policy-studio-angular.module.d.ts +0 -7
  183. package/lib/ui-policy-studio-angular.service.d.ts +0 -6
@@ -0,0 +1,592 @@
1
+ export declare const apimPolicies: {
2
+ data: ({
3
+ id: string;
4
+ name: string;
5
+ description: string;
6
+ version: string;
7
+ schema: string;
8
+ icon: string;
9
+ category: string;
10
+ onRequest: boolean;
11
+ onResponse: boolean;
12
+ } | {
13
+ id: string;
14
+ name: string;
15
+ description: string;
16
+ version: string;
17
+ icon: string;
18
+ category: string;
19
+ onRequest: boolean;
20
+ onResponse: boolean;
21
+ schema?: undefined;
22
+ } | {
23
+ id: string;
24
+ name: string;
25
+ description: string;
26
+ version: string;
27
+ schema: string;
28
+ icon: string;
29
+ onRequest: boolean;
30
+ onResponse: boolean;
31
+ category?: undefined;
32
+ })[];
33
+ };
34
+ export declare const apimResourceTypes: {
35
+ data: ({
36
+ id: string;
37
+ name: string;
38
+ description: string;
39
+ version: string;
40
+ schema: {
41
+ type: string;
42
+ id: string;
43
+ properties: {
44
+ name: {
45
+ title: string;
46
+ description: string;
47
+ type: string;
48
+ default: string;
49
+ };
50
+ timeToIdleSeconds: {
51
+ title: string;
52
+ type: string;
53
+ description: string;
54
+ default: number;
55
+ minimum: number;
56
+ };
57
+ timeToLiveSeconds: {
58
+ title: string;
59
+ type: string;
60
+ description: string;
61
+ default: number;
62
+ minimum: number;
63
+ };
64
+ maxEntriesLocalHeap: {
65
+ title: string;
66
+ description: string;
67
+ type: string;
68
+ default: number;
69
+ minimum: number;
70
+ };
71
+ serverURL?: undefined;
72
+ version?: undefined;
73
+ securityDomain?: undefined;
74
+ clientId?: undefined;
75
+ clientSecret?: undefined;
76
+ userClaim?: undefined;
77
+ oauthResource?: undefined;
78
+ extractPayload?: undefined;
79
+ checkRequiredScopes?: undefined;
80
+ requiredScopes?: undefined;
81
+ modeStrict?: undefined;
82
+ propagateAuthHeader?: undefined;
83
+ url?: undefined;
84
+ authUrl?: undefined;
85
+ secrets?: undefined;
86
+ };
87
+ required: string[];
88
+ };
89
+ } | {
90
+ id: string;
91
+ name: string;
92
+ description: string;
93
+ version: string;
94
+ schema: {
95
+ type: string;
96
+ id: string;
97
+ properties: {
98
+ serverURL: {
99
+ title: string;
100
+ description: string;
101
+ type: string;
102
+ };
103
+ version: {
104
+ title: string;
105
+ description: string;
106
+ type: string;
107
+ default: string;
108
+ enum: string[];
109
+ };
110
+ securityDomain: {
111
+ title: string;
112
+ description: string;
113
+ type: string;
114
+ };
115
+ clientId: {
116
+ title: string;
117
+ description: string;
118
+ type: string;
119
+ default?: undefined;
120
+ };
121
+ clientSecret: {
122
+ title: string;
123
+ description: string;
124
+ type: string;
125
+ };
126
+ userClaim: {
127
+ title: string;
128
+ description: string;
129
+ type: string;
130
+ default: string;
131
+ };
132
+ name?: undefined;
133
+ timeToIdleSeconds?: undefined;
134
+ timeToLiveSeconds?: undefined;
135
+ maxEntriesLocalHeap?: undefined;
136
+ oauthResource?: undefined;
137
+ extractPayload?: undefined;
138
+ checkRequiredScopes?: undefined;
139
+ requiredScopes?: undefined;
140
+ modeStrict?: undefined;
141
+ propagateAuthHeader?: undefined;
142
+ url?: undefined;
143
+ authUrl?: undefined;
144
+ secrets?: undefined;
145
+ };
146
+ required: string[];
147
+ };
148
+ } | {
149
+ id: string;
150
+ name: string;
151
+ description: string;
152
+ version: string;
153
+ schema: {
154
+ type: string;
155
+ id: string;
156
+ properties: {
157
+ oauthResource: {
158
+ title: string;
159
+ description: string;
160
+ type: string;
161
+ };
162
+ extractPayload: {
163
+ title: string;
164
+ description: string;
165
+ type: string;
166
+ default: boolean;
167
+ };
168
+ checkRequiredScopes: {
169
+ title: string;
170
+ description: string;
171
+ type: string;
172
+ default: boolean;
173
+ };
174
+ requiredScopes: {
175
+ type: string;
176
+ title: string;
177
+ description: string;
178
+ items: {
179
+ type: string;
180
+ title: string;
181
+ };
182
+ };
183
+ modeStrict: {
184
+ title: string;
185
+ description: string;
186
+ type: string;
187
+ default: boolean;
188
+ };
189
+ propagateAuthHeader: {
190
+ title: string;
191
+ description: string;
192
+ type: string;
193
+ default: boolean;
194
+ };
195
+ name?: undefined;
196
+ timeToIdleSeconds?: undefined;
197
+ timeToLiveSeconds?: undefined;
198
+ maxEntriesLocalHeap?: undefined;
199
+ serverURL?: undefined;
200
+ version?: undefined;
201
+ securityDomain?: undefined;
202
+ clientId?: undefined;
203
+ clientSecret?: undefined;
204
+ userClaim?: undefined;
205
+ url?: undefined;
206
+ authUrl?: undefined;
207
+ secrets?: undefined;
208
+ };
209
+ required: string[];
210
+ };
211
+ } | {
212
+ id: string;
213
+ name: string;
214
+ description: string;
215
+ version: string;
216
+ schema: {
217
+ type: string;
218
+ id: string;
219
+ properties: {
220
+ url: {
221
+ title: string;
222
+ description: string;
223
+ type: string;
224
+ default: string;
225
+ };
226
+ authUrl: {
227
+ title: string;
228
+ description: string;
229
+ type: string;
230
+ default: string;
231
+ };
232
+ clientId: {
233
+ title: string;
234
+ description: string;
235
+ type: string;
236
+ default: string;
237
+ };
238
+ secrets: {
239
+ title: string;
240
+ type: string;
241
+ "x-schema-form": {
242
+ type: string;
243
+ codemirrorOptions: {
244
+ placeholder: string;
245
+ lineWrapping: boolean;
246
+ lineNumbers: boolean;
247
+ allowDropFileTypes: boolean;
248
+ autoCloseTags: boolean;
249
+ mode: string;
250
+ };
251
+ };
252
+ };
253
+ name?: undefined;
254
+ timeToIdleSeconds?: undefined;
255
+ timeToLiveSeconds?: undefined;
256
+ maxEntriesLocalHeap?: undefined;
257
+ serverURL?: undefined;
258
+ version?: undefined;
259
+ securityDomain?: undefined;
260
+ clientSecret?: undefined;
261
+ userClaim?: undefined;
262
+ oauthResource?: undefined;
263
+ extractPayload?: undefined;
264
+ checkRequiredScopes?: undefined;
265
+ requiredScopes?: undefined;
266
+ modeStrict?: undefined;
267
+ propagateAuthHeader?: undefined;
268
+ };
269
+ required: string[];
270
+ };
271
+ })[];
272
+ };
273
+ export declare const apimDefinition: {
274
+ name: string;
275
+ version: string;
276
+ "flow-mode": string;
277
+ flows: {
278
+ name: string;
279
+ condition: string;
280
+ enabled: boolean;
281
+ methods: string[];
282
+ "path-operator": {
283
+ path: string;
284
+ operator: string;
285
+ };
286
+ pre: ({
287
+ policy: string;
288
+ name: string;
289
+ enabled: boolean;
290
+ description: string;
291
+ configuration: {
292
+ rate: {
293
+ limit: number;
294
+ periodTime: number;
295
+ periodTimeUnit: string;
296
+ };
297
+ propagateApiKey?: undefined;
298
+ };
299
+ } | {
300
+ policy: string;
301
+ name: string;
302
+ enabled: boolean;
303
+ description: string;
304
+ configuration: {
305
+ propagateApiKey: boolean;
306
+ rate?: undefined;
307
+ };
308
+ } | {
309
+ policy: string;
310
+ name: string;
311
+ enabled: boolean;
312
+ description: string;
313
+ configuration: {
314
+ rate?: undefined;
315
+ propagateApiKey?: undefined;
316
+ };
317
+ })[];
318
+ post: {
319
+ policy: string;
320
+ name: string;
321
+ enabled: boolean;
322
+ description: string;
323
+ configuration: {};
324
+ }[];
325
+ }[];
326
+ plans: ({
327
+ id: string;
328
+ name: string;
329
+ flows: ({
330
+ name: string;
331
+ enabled: boolean;
332
+ methods: string[];
333
+ "path-operator": {
334
+ path: string;
335
+ operator: string;
336
+ };
337
+ condition: string;
338
+ pre: ({
339
+ policy: string;
340
+ name: string;
341
+ enabled: boolean;
342
+ description: string;
343
+ configuration: {
344
+ rate: {
345
+ limit: number;
346
+ periodTime: number;
347
+ periodTimeUnit: string;
348
+ };
349
+ propagateApiKey?: undefined;
350
+ "add-headers"?: undefined;
351
+ };
352
+ } | {
353
+ policy: string;
354
+ name: string;
355
+ enabled: boolean;
356
+ description: string;
357
+ configuration: {
358
+ propagateApiKey: boolean;
359
+ rate?: undefined;
360
+ "add-headers"?: undefined;
361
+ };
362
+ } | {
363
+ policy: string;
364
+ name: string;
365
+ enabled: boolean;
366
+ description: string;
367
+ configuration: {
368
+ "add-headers": string;
369
+ rate?: undefined;
370
+ propagateApiKey?: undefined;
371
+ };
372
+ })[];
373
+ post: {
374
+ policy: string;
375
+ name: string;
376
+ enabled: boolean;
377
+ description: string;
378
+ configuration: {};
379
+ }[];
380
+ } | {
381
+ name: string;
382
+ "path-operator": {
383
+ path: string;
384
+ operator: string;
385
+ };
386
+ enabled: boolean;
387
+ methods: string[];
388
+ condition: string;
389
+ pre: {
390
+ policy: string;
391
+ name: string;
392
+ enabled: boolean;
393
+ description: string;
394
+ configuration: {};
395
+ }[];
396
+ post: {
397
+ policy: string;
398
+ name: string;
399
+ enabled: boolean;
400
+ description: string;
401
+ configuration: {};
402
+ }[];
403
+ })[];
404
+ } | {
405
+ id: string;
406
+ name: string;
407
+ flows: ({
408
+ name: string;
409
+ "path-operator": {
410
+ path: string;
411
+ operator: string;
412
+ };
413
+ methods: never[];
414
+ condition: string;
415
+ enabled: boolean;
416
+ pre: ({
417
+ policy: string;
418
+ name: string;
419
+ enabled: boolean;
420
+ description: string;
421
+ configuration: {
422
+ rate: {
423
+ limit: number;
424
+ periodTime: number;
425
+ periodTimeUnit: string;
426
+ };
427
+ propagateApiKey?: undefined;
428
+ "add-headers"?: undefined;
429
+ };
430
+ } | {
431
+ policy: string;
432
+ name: string;
433
+ enabled: boolean;
434
+ description: string;
435
+ configuration: {
436
+ propagateApiKey: boolean;
437
+ rate?: undefined;
438
+ "add-headers"?: undefined;
439
+ };
440
+ } | {
441
+ policy: string;
442
+ name: string;
443
+ enabled: boolean;
444
+ description: string;
445
+ configuration: {
446
+ "add-headers": string;
447
+ rate?: undefined;
448
+ propagateApiKey?: undefined;
449
+ };
450
+ })[];
451
+ post: {
452
+ policy: string;
453
+ name: string;
454
+ enabled: boolean;
455
+ description: string;
456
+ configuration: {};
457
+ }[];
458
+ } | {
459
+ name: string;
460
+ enabled: boolean;
461
+ methods: string[];
462
+ condition: string;
463
+ pre: {
464
+ policy: string;
465
+ name: string;
466
+ enabled: boolean;
467
+ description: string;
468
+ configuration: {};
469
+ }[];
470
+ post: {
471
+ policy: string;
472
+ name: string;
473
+ enabled: boolean;
474
+ description: string;
475
+ configuration: {};
476
+ }[];
477
+ "path-operator"?: undefined;
478
+ })[];
479
+ })[];
480
+ resources: {
481
+ type: string;
482
+ enabled: boolean;
483
+ name: string;
484
+ configuration: {
485
+ timeToIdleSeconds: number;
486
+ timeToLiveSeconds: number;
487
+ maxEntriesLocalHeap: number;
488
+ };
489
+ }[];
490
+ properties: ({
491
+ key: string;
492
+ value: string;
493
+ encryptable?: undefined;
494
+ encrypted?: undefined;
495
+ } | {
496
+ key: string;
497
+ value: string;
498
+ encryptable: boolean;
499
+ encrypted: boolean;
500
+ })[];
501
+ };
502
+ export declare const apimFlow: {
503
+ type: string;
504
+ id: string;
505
+ properties: {
506
+ name: {
507
+ title: string;
508
+ description: string;
509
+ type: string;
510
+ };
511
+ "path-operator": {
512
+ type: string;
513
+ title: string;
514
+ properties: {
515
+ operator: {
516
+ title: string;
517
+ description: string;
518
+ type: string;
519
+ enum: string[];
520
+ default: string;
521
+ "x-schema-form": {
522
+ titleMap: {
523
+ EQUALS: string;
524
+ STARTS_WITH: string;
525
+ };
526
+ };
527
+ };
528
+ path: {
529
+ title: string;
530
+ description: string;
531
+ type: string;
532
+ pattern: string;
533
+ default: string;
534
+ };
535
+ };
536
+ required: string[];
537
+ };
538
+ methods: {
539
+ title: string;
540
+ description: string;
541
+ type: string;
542
+ items: {
543
+ type: string;
544
+ enum: string[];
545
+ };
546
+ };
547
+ condition: {
548
+ title: string;
549
+ description: string;
550
+ type: string;
551
+ };
552
+ };
553
+ required: never[];
554
+ disabled: never[];
555
+ };
556
+ export declare const apimPropertyProviders: {
557
+ data: {
558
+ id: string;
559
+ name: string;
560
+ schema: {
561
+ type: string;
562
+ properties: {
563
+ url: {
564
+ title: string;
565
+ description: string;
566
+ type: string;
567
+ pattern: string;
568
+ };
569
+ transformation: {
570
+ title: string;
571
+ type: string;
572
+ "x-schema-form": {
573
+ type: string;
574
+ codemirrorOptions: {
575
+ lineWrapping: boolean;
576
+ lineNumbers: boolean;
577
+ allowDropFileTypes: boolean;
578
+ autoCloseTags: boolean;
579
+ mode: string;
580
+ };
581
+ help: {
582
+ title: string;
583
+ content: string;
584
+ };
585
+ };
586
+ };
587
+ };
588
+ required: string[];
589
+ };
590
+ documentation: string;
591
+ }[];
592
+ };
@@ -1,30 +0,0 @@
1
- /*
2
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { Component } from '@angular/core';
17
- import * as i0 from "@angular/core";
18
- export class UiPolicyStudioAngularComponent {
19
- }
20
- UiPolicyStudioAngularComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UiPolicyStudioAngularComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
- UiPolicyStudioAngularComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: UiPolicyStudioAngularComponent, selector: "gio-ui-policy-studio-angular", ngImport: i0, template: ` <p class="wow">ui-policy-studio-angular works!</p> `, isInline: true });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UiPolicyStudioAngularComponent, decorators: [{
23
- type: Component,
24
- args: [{
25
- selector: 'gio-ui-policy-studio-angular',
26
- template: ` <p class="wow">ui-policy-studio-angular works!</p> `,
27
- styles: [],
28
- }]
29
- }] });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWktcG9saWN5LXN0dWRpby1hbmd1bGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLXBvbGljeS1zdHVkaW8tYW5ndWxhci9zcmMv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VEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cbmltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdnaW8tdWktcG9saWN5LXN0dWRpby1hbmd1bGFyJyxcbiAgdGVtcGxhdGU6IGAgPHAgY2xhc3M9XCJ3b3dcIj51aS1wb2xpY3ktc3R1ZGlvLWFuZ3VsYXIgd29ya3MhPC9wPiBgLFxuICBzdHlsZXM6IFtdLFxufSlcbmV4cG9ydCBjbGFzcyBVaVBvbGljeVN0dWRpb0FuZ3VsYXJDb21wb25lbnQge31cbiJdfQ==
@@ -1,32 +0,0 @@
1
- /*
2
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { NgModule } from '@angular/core';
17
- import { UiPolicyStudioAngularComponent } from './ui-policy-studio-angular.component';
18
- import * as i0 from "@angular/core";
19
- export class UiPolicyStudioAngularModule {
20
- }
21
- UiPolicyStudioAngularModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UiPolicyStudioAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
22
- UiPolicyStudioAngularModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UiPolicyStudioAngularModule, declarations: [UiPolicyStudioAngularComponent], exports: [UiPolicyStudioAngularComponent] });
23
- UiPolicyStudioAngularModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UiPolicyStudioAngularModule, imports: [[]] });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UiPolicyStudioAngularModule, decorators: [{
25
- type: NgModule,
26
- args: [{
27
- declarations: [UiPolicyStudioAngularComponent],
28
- imports: [],
29
- exports: [UiPolicyStudioAngularComponent],
30
- }]
31
- }] });
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWktcG9saWN5LXN0dWRpby1hbmd1bGFyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLXBvbGljeS1zdHVkaW8tYW5ndWxhci9zcmMvbGliL3VpLXBvbGljeS1zdHVkaW8tYW5ndWxhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0dBY0c7QUFDSCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLHNDQUFzQyxDQUFDOztBQU90RixNQUFNLE9BQU8sMkJBQTJCOzt5SEFBM0IsMkJBQTJCOzBIQUEzQiwyQkFBMkIsaUJBSnZCLDhCQUE4QixhQUVuQyw4QkFBOEI7MEhBRTdCLDJCQUEyQixZQUg3QixFQUFFOzRGQUdBLDJCQUEyQjtrQkFMdkMs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H0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBVaVBvbGljeVN0dWRpb0FuZ3VsYXJDb21wb25lbnQgfSBmcm9tICcuL3VpLXBvbGljeS1zdHVkaW8tYW5ndWxhci5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtVaVBvbGljeVN0dWRpb0FuZ3VsYXJDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbXSxcbiAgZXhwb3J0czogW1VpUG9saWN5U3R1ZGlvQW5ndWxhckNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFVpUG9saWN5U3R1ZGlvQW5ndWxhck1vZHVsZSB7fVxuIl19
@@ -1,29 +0,0 @@
1
- /*
2
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { Injectable } from '@angular/core';
17
- import * as i0 from "@angular/core";
18
- export class UiPolicyStudioAngularService {
19
- constructor() { }
20
- }
21
- UiPolicyStudioAngularService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UiPolicyStudioAngularService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
22
- UiPolicyStudioAngularService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UiPolicyStudioAngularService, providedIn: 'root' });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: UiPolicyStudioAngularService, decorators: [{
24
- type: Injectable,
25
- args: [{
26
- providedIn: 'root',
27
- }]
28
- }], ctorParameters: function () { return []; } });
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWktcG9saWN5LXN0dWRpby1hbmd1bGFyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1wb2xpY3ktc3R1ZGlvLWFuZ3VsYXIvc3JjL2xpYi91aS1wb2xpY3ktc3R1ZGlvLWFuZ3VsYXIuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7R0FjRztBQUNILE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSzNDLE1BQU0sT0FBTyw0QkFBNEI7SUFDdkMsZ0JBQWUsQ0FBQzs7MEhBREwsNEJBQTRCOzhIQUE1Qiw0QkFBNEIsY0FGM0IsTUFBTTs0RkFFUCw0QkFBNEI7a0JBSHhDLFVBQVU7bUJBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAqIENvcHlyaWdodCAoQykgMjAyMiBUaGUgR3Jhdml0ZWUgdGVhbSAoaHR0cDovL2dyYXZpdGVlLmlvKVxuICpcbiAqIExpY2Vuc2VkIHVuZGVyIHRoZSBBcGFjaGUgTGljZW5zZSwgVmVyc2lvbiAyLjAgKHRoZSBcIkxpY2Vuc2VcIik7XG4gKiB5b3UgbWF5IG5vdCB1c2UgdGhpcyBmaWxlIGV4Y2VwdCBpbiBjb21wbGlhbmNlIHdpdGggdGhlIExpY2Vuc2UuXG4gKiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YgdGhlIExpY2Vuc2UgYXRcbiAqXG4gKiAgICAgICAgIGh0dHA6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMFxuICpcbiAqIFVubGVzcyByZXF1aXJlZCBieSBhcHBsaWNhYmxlIGxhdyBvciBhZ3JlZWQgdG8gaW4gd3JpdGluZywgc29mdHdhcmVcbiAqIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFuIFwiQVMgSVNcIiBCQVNJUyxcbiAqIFdJVEhPVVQgV0FSUkFOVElFUyBPUiBDT05ESVRJT05TIE9GIEFOWSBLSU5ELCBlaXRoZXIgZXhwcmVzcyBvciBpbXBsaWVkLlxuICogU2VlIHRoZSBMaWNlbnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZFxuICogbGltaXRhdGlvbnMgdW5kZXIgdGhlIExpY2Vuc2UuXG4gKi9cbmltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIFVpUG9saWN5U3R1ZGlvQW5ndWxhclNlcnZpY2Uge1xuICBjb25zdHJ1Y3RvcigpIHt9XG59XG4iXX0=
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class UiPolicyStudioAngularComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<UiPolicyStudioAngularComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<UiPolicyStudioAngularComponent, "gio-ui-policy-studio-angular", never, {}, {}, never, never>;
5
- }