@gravitee/ui-policy-studio-angular 5.23.0 → 6.0.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 (189) hide show
  1. package/esm2020/lib/components/flow-details/gio-ps-flow-details.component.mjs +26 -0
  2. package/esm2020/lib/components/flows-menu/gio-ps-flows-menu.component.mjs +26 -0
  3. package/esm2020/lib/gio-policy-studio.component.mjs +10 -161
  4. package/esm2020/lib/gio-policy-studio.module.mjs +10 -34
  5. package/esm2020/lib/models/flow/Flow.mjs +2 -0
  6. package/esm2020/lib/models/flow/FlowExecution.mjs +17 -0
  7. package/esm2020/lib/models/flow/HttpMethod.mjs +17 -0
  8. package/esm2020/lib/models/flow/Selector.mjs +2 -0
  9. package/esm2020/lib/models/flow/Step.mjs +2 -0
  10. package/esm2020/lib/models/flow/index.mjs +6 -4
  11. package/esm2020/lib/models/index.mjs +1 -5
  12. package/esm2020/public-api.mjs +1 -2
  13. package/esm2020/testing/lib/models/flow/Flow.fixture.mjs +42 -0
  14. package/esm2020/testing/lib/models/flow/Flow.mjs +2 -0
  15. package/esm2020/testing/lib/models/flow/HttpMethod.mjs +17 -0
  16. package/esm2020/testing/lib/models/flow/Selector.mjs +2 -0
  17. package/esm2020/testing/lib/models/flow/Step.mjs +2 -0
  18. package/esm2020/testing/lib/models/flow/index-testing.mjs +2 -4
  19. package/esm2020/testing/lib/models/index-testing.mjs +1 -4
  20. package/esm2020/testing/public-testing-api.mjs +1 -2
  21. package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs +21 -4301
  22. package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
  23. package/fesm2015/gravitee-ui-policy-studio-angular.mjs +27 -4531
  24. package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -1
  25. package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs +21 -4310
  26. package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
  27. package/fesm2020/gravitee-ui-policy-studio-angular.mjs +28 -4542
  28. package/fesm2020/gravitee-ui-policy-studio-angular.mjs.map +1 -1
  29. package/lib/components/flow-details/gio-ps-flow-details.component.d.ts +5 -0
  30. package/lib/components/flows-menu/gio-ps-flows-menu.component.d.ts +5 -0
  31. package/lib/gio-policy-studio.component.d.ts +2 -84
  32. package/lib/gio-policy-studio.module.d.ts +5 -2
  33. package/lib/models/flow/Flow.d.ts +21 -0
  34. package/lib/models/flow/FlowExecution.d.ts +11 -0
  35. package/lib/models/flow/HttpMethod.d.ts +1 -0
  36. package/lib/models/flow/Selector.d.ts +37 -0
  37. package/lib/models/flow/Step.d.ts +30 -0
  38. package/lib/models/flow/index.d.ts +5 -3
  39. package/lib/models/index.d.ts +0 -4
  40. package/package.json +2 -2
  41. package/public-api.d.ts +0 -1
  42. package/testing/lib/models/flow/Flow.d.ts +21 -0
  43. package/testing/lib/models/flow/Flow.fixture.d.ts +2 -0
  44. package/testing/lib/models/flow/HttpMethod.d.ts +1 -0
  45. package/testing/lib/models/flow/Selector.d.ts +37 -0
  46. package/testing/lib/models/flow/Step.d.ts +30 -0
  47. package/testing/lib/models/flow/index-testing.d.ts +1 -3
  48. package/testing/lib/models/index-testing.d.ts +0 -3
  49. package/testing/public-testing-api.d.ts +0 -1
  50. package/esm2020/lib/models/flow/ConfigurationSchema.fixture.mjs +0 -25
  51. package/esm2020/lib/models/flow/ConfigurationSchema.mjs +0 -2
  52. package/esm2020/lib/models/flow/OrganizationFlowConfiguration.fixture.mjs +0 -10
  53. package/esm2020/lib/models/flow/OrganizationFlowConfiguration.mjs +0 -2
  54. package/esm2020/lib/models/flow/PlatformFlowSchema.fixture.mjs +0 -69
  55. package/esm2020/lib/models/flow/PlatformFlowSchema.mjs +0 -17
  56. package/esm2020/lib/models/flow/index-testing.mjs +0 -19
  57. package/esm2020/lib/models/json.mjs +0 -2
  58. package/esm2020/lib/models/policy/PolicyDocumentation.fixture.mjs +0 -218
  59. package/esm2020/lib/models/policy/PolicyDocumentation.mjs +0 -2
  60. package/esm2020/lib/models/policy/PolicyListItem.fixture.mjs +0 -18
  61. package/esm2020/lib/models/policy/PolicyListItem.mjs +0 -2
  62. package/esm2020/lib/models/policy/PolicySchema.fixture.mjs +0 -5
  63. package/esm2020/lib/models/policy/PolicySchema.mjs +0 -2
  64. package/esm2020/lib/models/policy/index-testing.mjs +0 -19
  65. package/esm2020/lib/models/policy/index.mjs +0 -19
  66. package/esm2020/lib/models/resource/ResourceDocumentation.fixture.mjs +0 -70
  67. package/esm2020/lib/models/resource/ResourceDocumentation.mjs +0 -2
  68. package/esm2020/lib/models/resource/ResourceListItem.fixture.mjs +0 -15
  69. package/esm2020/lib/models/resource/ResourceListItem.mjs +0 -2
  70. package/esm2020/lib/models/resource/index-testing.mjs +0 -18
  71. package/esm2020/lib/models/resource/index.mjs +0 -18
  72. package/esm2020/lib/models/spel/Grammar.fixture.mjs +0 -3696
  73. package/esm2020/lib/models/spel/Grammar.mjs +0 -17
  74. package/esm2020/lib/models/spel/index-testing.mjs +0 -17
  75. package/esm2020/lib/models/spel/index.mjs +0 -17
  76. package/esm2020/lib/services/flow.abstract.service.mjs +0 -3
  77. package/esm2020/lib/services/flow.service.fixture.mjs +0 -37
  78. package/esm2020/lib/services/index.mjs +0 -20
  79. package/esm2020/lib/services/policy.abstract.service.mjs +0 -3
  80. package/esm2020/lib/services/policy.service.fixture.mjs +0 -41
  81. package/esm2020/lib/services/resource.abstract.service.mjs +0 -3
  82. package/esm2020/lib/services/resource.service.fixture.mjs +0 -34
  83. package/esm2020/lib/services/spel.abstract.service.mjs +0 -3
  84. package/esm2020/lib/services/spel.service.fixture.mjs +0 -34
  85. package/esm2020/testing/lib/models/flow/ConfigurationSchema.fixture.mjs +0 -25
  86. package/esm2020/testing/lib/models/flow/ConfigurationSchema.mjs +0 -2
  87. package/esm2020/testing/lib/models/flow/OrganizationFlowConfiguration.fixture.mjs +0 -10
  88. package/esm2020/testing/lib/models/flow/OrganizationFlowConfiguration.mjs +0 -2
  89. package/esm2020/testing/lib/models/flow/PlatformFlowSchema.fixture.mjs +0 -69
  90. package/esm2020/testing/lib/models/flow/PlatformFlowSchema.mjs +0 -17
  91. package/esm2020/testing/lib/models/flow/index.mjs +0 -19
  92. package/esm2020/testing/lib/models/json.mjs +0 -2
  93. package/esm2020/testing/lib/models/policy/PolicyDocumentation.fixture.mjs +0 -218
  94. package/esm2020/testing/lib/models/policy/PolicyDocumentation.mjs +0 -2
  95. package/esm2020/testing/lib/models/policy/PolicyListItem.fixture.mjs +0 -18
  96. package/esm2020/testing/lib/models/policy/PolicyListItem.mjs +0 -2
  97. package/esm2020/testing/lib/models/policy/PolicySchema.fixture.mjs +0 -5
  98. package/esm2020/testing/lib/models/policy/PolicySchema.mjs +0 -2
  99. package/esm2020/testing/lib/models/policy/index-testing.mjs +0 -19
  100. package/esm2020/testing/lib/models/policy/index.mjs +0 -19
  101. package/esm2020/testing/lib/models/resource/ResourceDocumentation.fixture.mjs +0 -70
  102. package/esm2020/testing/lib/models/resource/ResourceDocumentation.mjs +0 -2
  103. package/esm2020/testing/lib/models/resource/ResourceListItem.fixture.mjs +0 -15
  104. package/esm2020/testing/lib/models/resource/ResourceListItem.mjs +0 -2
  105. package/esm2020/testing/lib/models/resource/index-testing.mjs +0 -18
  106. package/esm2020/testing/lib/models/resource/index.mjs +0 -18
  107. package/esm2020/testing/lib/models/spel/Grammar.fixture.mjs +0 -3696
  108. package/esm2020/testing/lib/models/spel/Grammar.mjs +0 -17
  109. package/esm2020/testing/lib/models/spel/index-testing.mjs +0 -17
  110. package/esm2020/testing/lib/models/spel/index.mjs +0 -17
  111. package/esm2020/testing/lib/services/flow.abstract.service.mjs +0 -3
  112. package/esm2020/testing/lib/services/flow.service.fixture.mjs +0 -37
  113. package/esm2020/testing/lib/services/index-testing.mjs +0 -20
  114. package/esm2020/testing/lib/services/policy.abstract.service.mjs +0 -3
  115. package/esm2020/testing/lib/services/policy.service.fixture.mjs +0 -41
  116. package/esm2020/testing/lib/services/resource.abstract.service.mjs +0 -3
  117. package/esm2020/testing/lib/services/resource.service.fixture.mjs +0 -34
  118. package/esm2020/testing/lib/services/spel.abstract.service.mjs +0 -3
  119. package/esm2020/testing/lib/services/spel.service.fixture.mjs +0 -34
  120. package/lib/models/flow/ConfigurationSchema.d.ts +0 -2
  121. package/lib/models/flow/ConfigurationSchema.fixture.d.ts +0 -2
  122. package/lib/models/flow/OrganizationFlowConfiguration.d.ts +0 -3
  123. package/lib/models/flow/OrganizationFlowConfiguration.fixture.d.ts +0 -2
  124. package/lib/models/flow/PlatformFlowSchema.d.ts +0 -2
  125. package/lib/models/flow/PlatformFlowSchema.fixture.d.ts +0 -2
  126. package/lib/models/flow/index-testing.d.ts +0 -3
  127. package/lib/models/json.d.ts +0 -3
  128. package/lib/models/policy/PolicyDocumentation.d.ts +0 -1
  129. package/lib/models/policy/PolicyDocumentation.fixture.d.ts +0 -2
  130. package/lib/models/policy/PolicyListItem.d.ts +0 -13
  131. package/lib/models/policy/PolicyListItem.fixture.d.ts +0 -2
  132. package/lib/models/policy/PolicySchema.d.ts +0 -1
  133. package/lib/models/policy/PolicySchema.fixture.d.ts +0 -2
  134. package/lib/models/policy/index-testing.d.ts +0 -3
  135. package/lib/models/policy/index.d.ts +0 -3
  136. package/lib/models/resource/ResourceDocumentation.d.ts +0 -1
  137. package/lib/models/resource/ResourceDocumentation.fixture.d.ts +0 -2
  138. package/lib/models/resource/ResourceListItem.d.ts +0 -8
  139. package/lib/models/resource/ResourceListItem.fixture.d.ts +0 -2
  140. package/lib/models/resource/index-testing.d.ts +0 -2
  141. package/lib/models/resource/index.d.ts +0 -2
  142. package/lib/models/spel/Grammar.d.ts +0 -2
  143. package/lib/models/spel/Grammar.fixture.d.ts +0 -2
  144. package/lib/models/spel/index-testing.d.ts +0 -1
  145. package/lib/models/spel/index.d.ts +0 -1
  146. package/lib/services/flow.abstract.service.d.ts +0 -7
  147. package/lib/services/flow.service.fixture.d.ts +0 -11
  148. package/lib/services/index.d.ts +0 -4
  149. package/lib/services/policy.abstract.service.d.ts +0 -14
  150. package/lib/services/policy.service.fixture.d.ts +0 -13
  151. package/lib/services/resource.abstract.service.d.ts +0 -11
  152. package/lib/services/resource.service.fixture.d.ts +0 -10
  153. package/lib/services/spel.abstract.service.d.ts +0 -5
  154. package/lib/services/spel.service.fixture.d.ts +0 -9
  155. package/testing/lib/models/flow/ConfigurationSchema.d.ts +0 -2
  156. package/testing/lib/models/flow/ConfigurationSchema.fixture.d.ts +0 -2
  157. package/testing/lib/models/flow/OrganizationFlowConfiguration.d.ts +0 -3
  158. package/testing/lib/models/flow/OrganizationFlowConfiguration.fixture.d.ts +0 -2
  159. package/testing/lib/models/flow/PlatformFlowSchema.d.ts +0 -2
  160. package/testing/lib/models/flow/PlatformFlowSchema.fixture.d.ts +0 -2
  161. package/testing/lib/models/flow/index.d.ts +0 -3
  162. package/testing/lib/models/json.d.ts +0 -3
  163. package/testing/lib/models/policy/PolicyDocumentation.d.ts +0 -1
  164. package/testing/lib/models/policy/PolicyDocumentation.fixture.d.ts +0 -2
  165. package/testing/lib/models/policy/PolicyListItem.d.ts +0 -13
  166. package/testing/lib/models/policy/PolicyListItem.fixture.d.ts +0 -2
  167. package/testing/lib/models/policy/PolicySchema.d.ts +0 -1
  168. package/testing/lib/models/policy/PolicySchema.fixture.d.ts +0 -2
  169. package/testing/lib/models/policy/index-testing.d.ts +0 -3
  170. package/testing/lib/models/policy/index.d.ts +0 -3
  171. package/testing/lib/models/resource/ResourceDocumentation.d.ts +0 -1
  172. package/testing/lib/models/resource/ResourceDocumentation.fixture.d.ts +0 -2
  173. package/testing/lib/models/resource/ResourceListItem.d.ts +0 -8
  174. package/testing/lib/models/resource/ResourceListItem.fixture.d.ts +0 -2
  175. package/testing/lib/models/resource/index-testing.d.ts +0 -2
  176. package/testing/lib/models/resource/index.d.ts +0 -2
  177. package/testing/lib/models/spel/Grammar.d.ts +0 -2
  178. package/testing/lib/models/spel/Grammar.fixture.d.ts +0 -2
  179. package/testing/lib/models/spel/index-testing.d.ts +0 -1
  180. package/testing/lib/models/spel/index.d.ts +0 -1
  181. package/testing/lib/services/flow.abstract.service.d.ts +0 -7
  182. package/testing/lib/services/flow.service.fixture.d.ts +0 -11
  183. package/testing/lib/services/index-testing.d.ts +0 -4
  184. package/testing/lib/services/policy.abstract.service.d.ts +0 -14
  185. package/testing/lib/services/policy.service.fixture.d.ts +0 -13
  186. package/testing/lib/services/resource.abstract.service.d.ts +0 -11
  187. package/testing/lib/services/resource.service.fixture.d.ts +0 -10
  188. package/testing/lib/services/spel.abstract.service.d.ts +0 -5
  189. package/testing/lib/services/spel.service.fixture.d.ts +0 -9
@@ -1,29 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, Inject, Input, Output, Injectable, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
3
- import { chain, isNil } from 'lodash';
4
- import { tap, catchError, map } from 'rxjs/operators';
5
- import { EMPTY, of } from 'rxjs';
6
- import '@gravitee/ui-components/wc/gv-policy-studio';
7
- import * as i1 from '@angular/common';
2
+ import { Component, NgModule } from '@angular/core';
3
+ import * as i2 from '@angular/material/button';
4
+ import { MatButtonModule } from '@angular/material/button';
5
+ import { GioIconsModule } from '@gravitee/ui-particles-angular';
6
+ import * as i1 from '@angular/material/icon';
8
7
 
9
8
  /*
10
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
11
- *
12
- * Licensed under the Apache License, Version 2.0 (the "License");
13
- * you may not use this file except in compliance with the License.
14
- * You may obtain a copy of the License at
15
- *
16
- * http://www.apache.org/licenses/LICENSE-2.0
17
- *
18
- * Unless required by applicable law or agreed to in writing, software
19
- * distributed under the License is distributed on an "AS IS" BASIS,
20
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
- * See the License for the specific language governing permissions and
22
- * limitations under the License.
23
- */
24
-
25
- /*
26
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
9
+ * Copyright (C) 2023 The Gravitee team (http://gravitee.io)
27
10
  *
28
11
  * Licensed under the Apache License, Version 2.0 (the "License");
29
12
  * you may not use this file except in compliance with the License.
@@ -70,22 +53,6 @@ import * as i1 from '@angular/common';
70
53
  * limitations under the License.
71
54
  */
72
55
 
73
- /*
74
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
75
- *
76
- * Licensed under the Apache License, Version 2.0 (the "License");
77
- * you may not use this file except in compliance with the License.
78
- * You may obtain a copy of the License at
79
- *
80
- * http://www.apache.org/licenses/LICENSE-2.0
81
- *
82
- * Unless required by applicable law or agreed to in writing, software
83
- * distributed under the License is distributed on an "AS IS" BASIS,
84
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
85
- * See the License for the specific language governing permissions and
86
- * limitations under the License.
87
- */
88
-
89
56
  /*
90
57
  * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
91
58
  *
@@ -117,734 +84,15 @@ import * as i1 from '@angular/common';
117
84
  * See the License for the specific language governing permissions and
118
85
  * limitations under the License.
119
86
  */
120
-
121
- class FlowServiceAbstract {
87
+ class GioPolicyStudioFlowsMenuComponent {
122
88
  }
123
-
124
- class PolicyServiceAbstract {
125
- }
126
-
127
- class ResourceServiceAbstract {
128
- }
129
-
130
- class SpelServiceAbstract {
131
- }
132
-
133
- /*
134
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
135
- *
136
- * Licensed under the Apache License, Version 2.0 (the "License");
137
- * you may not use this file except in compliance with the License.
138
- * You may obtain a copy of the License at
139
- *
140
- * http://www.apache.org/licenses/LICENSE-2.0
141
- *
142
- * Unless required by applicable law or agreed to in writing, software
143
- * distributed under the License is distributed on an "AS IS" BASIS,
144
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
145
- * See the License for the specific language governing permissions and
146
- * limitations under the License.
147
- */
148
-
149
- /*
150
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
151
- *
152
- * Licensed under the Apache License, Version 2.0 (the "License");
153
- * you may not use this file except in compliance with the License.
154
- * You may obtain a copy of the License at
155
- *
156
- * http://www.apache.org/licenses/LICENSE-2.0
157
- *
158
- * Unless required by applicable law or agreed to in writing, software
159
- * distributed under the License is distributed on an "AS IS" BASIS,
160
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
161
- * See the License for the specific language governing permissions and
162
- * limitations under the License.
163
- */
164
- class GioPolicyStudioComponent {
165
- constructor(location, flowService, policyService, resourceService, spelService) {
166
- this.location = location;
167
- this.flowService = flowService;
168
- this.policyService = policyService;
169
- this.resourceService = resourceService;
170
- this.spelService = spelService;
171
- this.hasPlans = false;
172
- this.services = {};
173
- this.dynamicPropertySchema = {};
174
- this.configurationInformation = 'By default, the selection of a flow is based on the operator defined in the flow itself. This operator allows either to select a flow when the path matches exactly, or when the start of the path matches. The "Best match" option allows you to select the flow from the path that is closest.';
175
- this.hideTab = false;
176
- this.save = new EventEmitter();
177
- this.debug = new EventEmitter();
178
- this.unknownPolicyCategory = 'others';
179
- this.policyCategoriesOrder = ['security', 'performance', 'transformation', this.unknownPolicyCategory];
180
- }
181
- set policies(policies) {
182
- this._policies = chain(policies)
183
- .map(policy => (!isNil(policy.category) ? policy : { ...policy, category: this.unknownPolicyCategory }))
184
- // First sort by category (based on category order) and then by name
185
- .sortBy([policy => this.policyCategoriesOrder.indexOf(policy.category ?? ''), policy => policy.name])
186
- .value();
187
- }
188
- get policies() {
189
- return this._policies;
190
- }
191
- ngOnInit() {
192
- this.flowService
193
- .getConfigurationSchemaForm()
194
- .pipe(tap(configurationSchema => {
195
- this.configurationSchema = configurationSchema;
196
- }))
197
- .subscribe();
198
- const { tabId, flowsIds } = this.parseUrl();
199
- if (!this.hideTab) {
200
- this.tabId = tabId;
201
- }
202
- this.selectedFlowsIds = JSON.stringify(flowsIds);
203
- }
204
- onTabChanged(tabId) {
205
- this.updateUrl({ ...this.parseUrl(), tabId });
206
- }
207
- onFlowSelectionChanged({ flows }) {
208
- this.updateUrl({ ...this.parseUrl(), flowsIds: flows });
209
- }
210
- fetchPolicyDocumentation({ policy }) {
211
- this.policyService
212
- .getDocumentation(policy.id)
213
- .pipe(tap(documentation => (this.policyDocumentation = { id: policy.id, image: policy.icon, content: documentation })))
214
- .subscribe();
215
- }
216
- fetchResourceDocumentation({ resourceType, target, }) {
217
- this.resourceService
218
- .getDocumentation(resourceType.id)
219
- .pipe(tap(documentation => (target.documentation = { image: resourceType.icon, content: documentation })), catchError(() => {
220
- target.documentation = null;
221
- return EMPTY;
222
- }))
223
- .subscribe();
224
- }
225
- fetchSpelGrammar({ currentTarget }) {
226
- this.spelService
227
- .getGrammar()
228
- .pipe(tap(grammar => (currentTarget.grammar = grammar)))
229
- .subscribe();
230
- }
231
- parseUrl() {
232
- // TODO: Improve this with Angular Router
233
- // Hack to add the tab as Fragment part of the URL
234
- const [path, tabId] = this.location.path(true).split(/#(\w*)$/);
235
- const [basePath, ...flowsIds] = path.split('flows');
236
- const cleanedPath = basePath.replace('?', '');
237
- const cleanedFlows = (flowsIds ?? []).map(flow => flow.replace('=', ''));
238
- return {
239
- path: cleanedPath,
240
- tabId: tabId ?? '',
241
- flowsIds: cleanedFlows,
242
- };
243
- }
244
- updateUrl({ path, tabId, flowsIds }) {
245
- // TODO: Improve this with Angular Router
246
- // Hack to add the tab as Fragment part of the URL
247
- const flowsQueryParams = (flowsIds ?? []).map(value => `flows=${value}`).join('&');
248
- const queryParams = flowsQueryParams.length > 0 ? `?${flowsQueryParams}` : '';
249
- this.location.go(`${path}${queryParams}#${tabId}`);
250
- }
251
- }
252
- GioPolicyStudioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioComponent, deps: [{ token: i1.Location }, { token: 'FlowService' }, { token: 'PolicyService' }, { token: 'ResourceService' }, { token: 'SpelService' }], target: i0.ɵɵFactoryTarget.Component });
253
- GioPolicyStudioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioPolicyStudioComponent, selector: "gio-policy-studio", inputs: { readonly: "readonly", canAdd: "canAdd", canDebug: "canDebug", hasResources: "hasResources", hasProperties: "hasProperties", hasPolicyFilter: "hasPolicyFilter", hasConditionalSteps: "hasConditionalSteps", hasPlans: "hasPlans", sortable: "sortable", policies: "policies", definition: "definition", services: "services", flowSchema: "flowSchema", resourceTypes: "resourceTypes", propertyProviders: "propertyProviders", readonlyPlans: "readonlyPlans", dynamicPropertySchema: "dynamicPropertySchema", debugResponse: "debugResponse", flowsTitle: "flowsTitle", configurationInformation: "configurationInformation", hideTab: "hideTab", tabId: "tabId" }, outputs: { save: "save", debug: "debug" }, ngImport: i0, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"policy-studio-wrapper\">\n <gv-policy-studio\n [policies]=\"policies\"\n [services]=\"services\"\n [resourceTypes]=\"resourceTypes\"\n [propertyProviders]=\"propertyProviders\"\n [dynamicPropertySchema]=\"dynamicPropertySchema\"\n [definition]=\"definition\"\n [flowSchema]=\"flowSchema\"\n [configurationSchema]=\"configurationSchema\"\n [configurationInformation]=\"configurationInformation\"\n [attr.readonly]=\"readonly ? readonly : null\"\n [attr.can-add]=\"canAdd ? canAdd : null\"\n [attr.can-debug]=\"canDebug ? canDebug : null\"\n [attr.has-resources]=\"hasResources ? hasResources : null\"\n [attr.has-properties]=\"hasProperties ? hasProperties : null\"\n [attr.has-policy-filter]=\"hasPolicyFilter ? hasPolicyFilter : null\"\n [attr.has-plans]=\"hasPlans ? hasPlans : null\"\n [attr.sortable]=\"sortable ? sortable : null\"\n [attr.readonly-plans]=\"readonlyPlans ? readonlyPlans : null\"\n [attr.flows-title]=\"flowsTitle\"\n [attr.has-conditional-steps]=\"hasConditionalSteps\"\n [debugResponse]=\"debugResponse\"\n [tabId]=\"tabId\"\n (:gv-policy-studio:change-tab)=\"onTabChanged($any($event).detail)\"\n [documentation]=\"policyDocumentation\"\n (:gv-policy-studio:fetch-documentation)=\"fetchPolicyDocumentation($any($event).detail)\"\n (:gv-resources:fetch-documentation)=\"fetchResourceDocumentation($any($event).detail)\"\n (:gv-expression-language:ready)=\"fetchSpelGrammar($any($event).detail)\"\n [attr.selected-flows-id]=\"selectedFlowsIds ? selectedFlowsIds : null\"\n (:gv-policy-studio:select-flows)=\"onFlowSelectionChanged($any($event).detail)\"\n (:gv-policy-studio:save)=\"save.emit($any($event).detail)\"\n (:gv-policy-studio:debug)=\"debug.emit($any($event).detail)\"\n >\n </gv-policy-studio>\n</div>\n", styles: [".policy-studio-wrapper{background-color:#fff}gv-policy-studio{overflow:hidden;margin:2rem 0 1rem 1rem}\n"] });
254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioComponent, decorators: [{
89
+ GioPolicyStudioFlowsMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioFlowsMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
90
+ GioPolicyStudioFlowsMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioPolicyStudioFlowsMenuComponent, selector: "gio-ps-flows-menu", ngImport: i0, template: "<!--\n\n Copyright (C) 2023 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"header\">\n <div class=\"mat-h4\">Flows</div>\n</div>\n\n<div class=\"content\">\uD83D\uDEA7 Work in progress \uD83D\uDEA7</div>\n", styles: [""] });
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioFlowsMenuComponent, decorators: [{
255
92
  type: Component,
256
- args: [{ selector: 'gio-policy-studio', template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"policy-studio-wrapper\">\n <gv-policy-studio\n [policies]=\"policies\"\n [services]=\"services\"\n [resourceTypes]=\"resourceTypes\"\n [propertyProviders]=\"propertyProviders\"\n [dynamicPropertySchema]=\"dynamicPropertySchema\"\n [definition]=\"definition\"\n [flowSchema]=\"flowSchema\"\n [configurationSchema]=\"configurationSchema\"\n [configurationInformation]=\"configurationInformation\"\n [attr.readonly]=\"readonly ? readonly : null\"\n [attr.can-add]=\"canAdd ? canAdd : null\"\n [attr.can-debug]=\"canDebug ? canDebug : null\"\n [attr.has-resources]=\"hasResources ? hasResources : null\"\n [attr.has-properties]=\"hasProperties ? hasProperties : null\"\n [attr.has-policy-filter]=\"hasPolicyFilter ? hasPolicyFilter : null\"\n [attr.has-plans]=\"hasPlans ? hasPlans : null\"\n [attr.sortable]=\"sortable ? sortable : null\"\n [attr.readonly-plans]=\"readonlyPlans ? readonlyPlans : null\"\n [attr.flows-title]=\"flowsTitle\"\n [attr.has-conditional-steps]=\"hasConditionalSteps\"\n [debugResponse]=\"debugResponse\"\n [tabId]=\"tabId\"\n (:gv-policy-studio:change-tab)=\"onTabChanged($any($event).detail)\"\n [documentation]=\"policyDocumentation\"\n (:gv-policy-studio:fetch-documentation)=\"fetchPolicyDocumentation($any($event).detail)\"\n (:gv-resources:fetch-documentation)=\"fetchResourceDocumentation($any($event).detail)\"\n (:gv-expression-language:ready)=\"fetchSpelGrammar($any($event).detail)\"\n [attr.selected-flows-id]=\"selectedFlowsIds ? selectedFlowsIds : null\"\n (:gv-policy-studio:select-flows)=\"onFlowSelectionChanged($any($event).detail)\"\n (:gv-policy-studio:save)=\"save.emit($any($event).detail)\"\n (:gv-policy-studio:debug)=\"debug.emit($any($event).detail)\"\n >\n </gv-policy-studio>\n</div>\n", styles: [".policy-studio-wrapper{background-color:#fff}gv-policy-studio{overflow:hidden;margin:2rem 0 1rem 1rem}\n"] }]
257
- }], ctorParameters: function () { return [{ type: i1.Location }, { type: FlowServiceAbstract, decorators: [{
258
- type: Inject,
259
- args: ['FlowService']
260
- }] }, { type: PolicyServiceAbstract, decorators: [{
261
- type: Inject,
262
- args: ['PolicyService']
263
- }] }, { type: ResourceServiceAbstract, decorators: [{
264
- type: Inject,
265
- args: ['ResourceService']
266
- }] }, { type: SpelServiceAbstract, decorators: [{
267
- type: Inject,
268
- args: ['SpelService']
269
- }] }]; }, propDecorators: { readonly: [{
270
- type: Input
271
- }], canAdd: [{
272
- type: Input
273
- }], canDebug: [{
274
- type: Input
275
- }], hasResources: [{
276
- type: Input
277
- }], hasProperties: [{
278
- type: Input
279
- }], hasPolicyFilter: [{
280
- type: Input
281
- }], hasConditionalSteps: [{
282
- type: Input
283
- }], hasPlans: [{
284
- type: Input
285
- }], sortable: [{
286
- type: Input
287
- }], policies: [{
288
- type: Input
289
- }], definition: [{
290
- type: Input
291
- }], services: [{
292
- type: Input
293
- }], flowSchema: [{
294
- type: Input
295
- }], resourceTypes: [{
296
- type: Input
297
- }], propertyProviders: [{
298
- type: Input
299
- }], readonlyPlans: [{
300
- type: Input
301
- }], dynamicPropertySchema: [{
302
- type: Input
303
- }], debugResponse: [{
304
- type: Input
305
- }], flowsTitle: [{
306
- type: Input
307
- }], configurationInformation: [{
308
- type: Input
309
- }], hideTab: [{
310
- type: Input
311
- }], tabId: [{
312
- type: Input
313
- }], save: [{
314
- type: Output
315
- }], debug: [{
316
- type: Output
317
- }] } });
318
-
319
- function fakeFlowConfigurationSchema(attributes) {
320
- const base = {
321
- type: 'object',
322
- id: 'apim',
323
- properties: {
324
- flow_mode: {
325
- title: 'Flow Mode',
326
- description: 'The flow mode',
327
- type: 'string',
328
- enum: ['DEFAULT', 'BEST_MATCH'],
329
- default: 'DEFAULT',
330
- 'x-schema-form': {
331
- titleMap: {
332
- DEFAULT: 'Default',
333
- BEST_MATCH: 'Best match',
334
- },
335
- },
336
- },
337
- },
338
- required: [],
339
- disabled: [],
340
- };
341
- return { ...base, ...attributes };
342
- }
343
-
344
- function fakeOrganizationFlowConfiguration(attributes) {
345
- const base = {
346
- has_policies: true,
347
- };
348
- return {
349
- ...base,
350
- ...attributes,
351
- };
352
- }
353
-
354
- function fakePlatformFlowSchema(attributes) {
355
- const base = {
356
- type: 'object',
357
- id: 'apim',
358
- properties: {
359
- name: {
360
- title: 'Name',
361
- description: 'The name of flow. If empty, the name will be generated with the path and methods',
362
- type: 'string',
363
- },
364
- 'path-operator': {
365
- type: 'object',
366
- properties: {
367
- operator: {
368
- title: 'Operator path',
369
- description: 'The operator path',
370
- type: 'string',
371
- enum: ['EQUALS', 'STARTS_WITH'],
372
- default: 'STARTS_WITH',
373
- 'x-schema-form': {
374
- titleMap: {
375
- EQUALS: 'Equals',
376
- STARTS_WITH: 'Starts with',
377
- },
378
- },
379
- },
380
- path: {
381
- title: 'Path',
382
- description: 'The path of flow (must start by /)',
383
- type: 'string',
384
- pattern: '^/',
385
- default: '/',
386
- },
387
- },
388
- required: ['path', 'operator'],
389
- },
390
- methods: {
391
- title: 'Methods',
392
- description: 'The HTTP methods of flow (ALL if empty)',
393
- type: 'array',
394
- items: {
395
- type: 'string',
396
- enum: ['CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', 'TRACE'],
397
- },
398
- },
399
- consumers: {
400
- title: 'Tags',
401
- description: 'The tags of flow.',
402
- type: 'array',
403
- items: {
404
- type: 'string',
405
- enum: [],
406
- },
407
- },
408
- condition: {
409
- title: 'Condition',
410
- description: 'The condition of the flow. Supports EL.',
411
- type: 'string',
412
- 'x-schema-form': {
413
- 'expression-language': true,
414
- },
415
- },
416
- },
417
- required: [],
418
- disabled: [],
419
- };
420
- return { ...base, ...attributes };
421
- }
422
-
423
- /*
424
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
425
- *
426
- * Licensed under the Apache License, Version 2.0 (the "License");
427
- * you may not use this file except in compliance with the License.
428
- * You may obtain a copy of the License at
429
- *
430
- * http://www.apache.org/licenses/LICENSE-2.0
431
- *
432
- * Unless required by applicable law or agreed to in writing, software
433
- * distributed under the License is distributed on an "AS IS" BASIS,
434
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
435
- * See the License for the specific language governing permissions and
436
- * limitations under the License.
437
- */
438
-
439
- /*
440
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
441
- *
442
- * Licensed under the Apache License, Version 2.0 (the "License");
443
- * you may not use this file except in compliance with the License.
444
- * You may obtain a copy of the License at
445
- *
446
- * http://www.apache.org/licenses/LICENSE-2.0
447
- *
448
- * Unless required by applicable law or agreed to in writing, software
449
- * distributed under the License is distributed on an "AS IS" BASIS,
450
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
451
- * See the License for the specific language governing permissions and
452
- * limitations under the License.
453
- */
454
- class FlowService extends FlowServiceAbstract {
455
- getConfigurationSchemaForm() {
456
- return of(fakeFlowConfigurationSchema());
457
- }
458
- getPlatformFlowSchemaForm() {
459
- return of(fakePlatformFlowSchema());
460
- }
461
- getConfiguration() {
462
- return of(fakeOrganizationFlowConfiguration());
463
- }
464
- }
465
- FlowService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FlowService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
466
- FlowService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FlowService });
467
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FlowService, decorators: [{
468
- type: Injectable
93
+ args: [{ selector: 'gio-ps-flows-menu', template: "<!--\n\n Copyright (C) 2023 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"header\">\n <div class=\"mat-h4\">Flows</div>\n</div>\n\n<div class=\"content\">\uD83D\uDEA7 Work in progress \uD83D\uDEA7</div>\n", styles: [""] }]
469
94
  }] });
470
95
 
471
- function fakePolicyListItem(attributes) {
472
- const base = {
473
- category: 'transformation',
474
- description: 'Description of the JSON to JSON Transformation Gravitee Policy',
475
- icon: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAuNzEgMTEyLjgyIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6Izg2YzNkMDt9LmNscy0ye2ZpbGw6I2ZmZjt9LmNscy0ze2ZvbnQtc2l6ZToxMnB4O2ZpbGw6IzFkMWQxYjtmb250LWZhbWlseTpNeXJpYWRQcm8tUmVndWxhciwgTXlyaWFkIFBybzt9LmNscy00e2xldHRlci1zcGFjaW5nOi0wLjAxZW07fTwvc3R5bGU+PC9kZWZzPjxnIGlkPSJBUEkiPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTUwLjM1LDEzLjM3YTQzLDQzLDAsMSwwLDQzLjA1LDQzQTQzLDQzLDAsMCwwLDUwLjM1LDEzLjM3WiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTYzLjgsNzcuMDlhNC44Myw0LjgzLDAsMSwxLDMuNjktNy45Miw0Ljc0LDQuNzQsMCwwLDEsMS4xMywzLjA5QTQuODMsNC44MywwLDAsMSw2My44LDc3LjA5Wm0wLTcuOTNhMy4xMSwzLjExLDAsMSwwLDIuMzgsMS4xMkEzLjEsMy4xLDAsMCwwLDYzLjgsNjkuMTZaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNNTEuNSw0My42OGE0Ljg1LDQuODUsMCwwLDEtNC43Ny00LjE0LDUsNSwwLDAsMSwwLS42OSw0LjgzLDQuODMsMCwwLDEsOS42NSwwLDMuNDUsMy40NSwwLDAsMS0uMDcuNzRBNC44MSw0LjgxLDAsMCwxLDUxLjUsNDMuNjhabTAtNy45M2EzLjEsMy4xLDAsMCwwLTMuMSwzLjEsMy4yNSwzLjI1LDAsMCwwLDAsLjQ0LDMuMSwzLjEsMCwwLDAsNi4xNCwwLDIuNjYsMi42NiwwLDAsMCwwLS40NUEzLjExLDMuMTEsMCwwLDAsNTEuNSwzNS43NVoiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0zMy42NCw3MC4xNWE0LjgzLDQuODMsMCwwLDEtMS4zNy05LjQ2LDUsNSwwLDAsMSwxLjM3LS4xOSw0LjgyLDQuODIsMCwwLDEsNC44Miw0LjgyLDQuODcsNC44NywwLDAsMS0yLjcxLDQuMzVBNC43Myw0LjczLDAsMCwxLDMzLjY0LDcwLjE1Wm0wLTcuOTNhMywzLDAsMCwwLS44OS4xMywzLjEsMy4xLDAsMCwwLC44OSw2LjA4QTMsMywwLDAsMCwzNSw2OC4xMmEzLjExLDMuMTEsMCwwLDAtMS4zNS01LjlaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNMzIuMTgsNTYuMzVoLS4xMmEuODcuODcsMCwwLDEtLjczLTFBMjAuNDcsMjAuNDcsMCwwLDEsNDIsNDAuMzNhLjg2Ljg2LDAsMSwxLC44LDEuNTJBMTguNzcsMTguNzcsMCwwLDAsMzMsNTUuNjEuODYuODYsMCwwLDEsMzIuMTgsNTYuMzVaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNNTEuNSw3OC43OWEyMC4xNywyMC4xNywwLDAsMS0xMi4yNy00LjExLjg2Ljg2LDAsMCwxLS4xNy0xLjIxLjg1Ljg1LDAsMCwxLDEuMi0uMTZBMTguNTIsMTguNTIsMCwwLDAsNTEuNSw3Ny4wNywxOC4yMywxOC4yMywwLDAsMCw1NSw3Ni43M2EuODcuODcsMCwwLDEsLjMzLDEuN0EyMC44NywyMC44NywwLDAsMSw1MS41LDc4Ljc5WiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTcwLDY1LjQyYS44NC44NCwwLDAsMS0uMjcsMCwuODYuODYsMCwwLDEtLjU0LTEuMDksMTguNzEsMTguNzEsMCwwLDAtOC41NS0yMi4xNy44Ni44NiwwLDEsMSwuODUtMS41LDIwLjQyLDIwLjQyLDAsMCwxLDkuMzMsMjQuMjFBLjg3Ljg3LDAsMCwxLDcwLDY1LjQyWiIvPjwvZz48ZyBpZD0iSE9TVElORyI+PHRleHQgY2xhc3M9ImNscy0zIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNy45MyAtNC45OCkiPkpTT04gPHRzcGFuIGNsYXNzPSJjbHMtNCIgeD0iMjkuMDYiIHk9IjAiPnQ8L3RzcGFuPjx0c3BhbiB4PSIzMi45NiIgeT0iMCI+byBKU09OPC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==',
476
- id: 'json-to-json',
477
- name: 'JSON to JSON Transformation',
478
- onRequest: true,
479
- onResponse: true,
480
- schema: '{\n "type" : "object",\n "id" : "urn:jsonschema:io:gravitee:policy:json2json:configuration:JsonToJsonTransformationPolicyConfiguration",\n "properties" : {\n "scope" : {\n "title": "Scope",\n "description": "Execute policy on <strong>request</strong> or <strong>response</strong> phase.",\n "type" : "string",\n "default": "REQUEST",\n "enum" : [ "REQUEST", "RESPONSE" ],\n "deprecated": "true"\n },\n "overrideContentType" : {\n "title": "Override the Content-Type",\n "description": "Enforce the Content-Type: application/json",\n "type" : "boolean",\n "default": true\n },\n "specification" : {\n "title": "JOLT specification",\n "type" : "string",\n "x-schema-form": {\n "type": "codemirror",\n "codemirrorOptions": {\n "placeholder": "Place your JOLT specification here or drag\'n\'drop your JOLT specification file",\n "lineWrapping": true,\n "lineNumbers": true,\n "allowDropFileTypes": true,\n "autoCloseTags": true,\n "mode": "javascript"\n },\n "expression-language": true\n }\n }\n },\n "required": [\n "specification"\n ]\n}\n',
481
- version: '1.6.0',
482
- };
483
- return {
484
- ...base,
485
- ...attributes,
486
- };
487
- }
488
-
489
- function fakePolicyDocumentation(attributes) {
490
- const base = `
491
- = RateLimit policy
492
-
493
-
494
- ifdef::env-github[]
495
- image:https://ci.gravitee.io/buildStatus/icon?job=gravitee-io/gravitee-policy-ratelimit/master["Build status", link="https://ci.gravitee.io/job/gravitee-io/job/gravitee-policy-ratelimit/"]
496
- image:https://badges.gitter.im/Join Chat.svg["Gitter", link="https://gitter.im/gravitee-io/gravitee-io?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]
497
- endif::[]
498
-
499
- == Phase
500
-
501
- |===
502
- |onRequest |onResponse
503
-
504
- | X
505
- |
506
-
507
- |===
508
-
509
- == Description
510
-
511
- There are three \`rate-limit\` policies:
512
-
513
- * Quota: configures the number of requests allowed over a period of time (hours, days, weeks, months)
514
- * Rate-Limit: configures the number of requests allowed over a limited period of time (seconds, minutes)
515
- * Spike-Arrest: throttles the number of requests processed and sends them to the backend to avoid a spike
516
-
517
- == Configuration
518
-
519
- You can configure the policies with the following options:
520
-
521
- === Quota
522
-
523
- The Quota policy configures the number of requests allowed over a large period of time (from hours to months).
524
- This policy does not prevent request spikes.
525
-
526
- |===
527
- |Property |Required |Description |Type |Default
528
-
529
- |key
530
- |No
531
- |Key to identify a consumer to apply the quota against. Leave it empty to apply the default behavior (plan/subscription pair). Supports Expression Language.
532
- |String
533
- |null
534
-
535
- |limit
536
- |No
537
- |Static limit on the number of requests that can be sent (this limit is used if the value > 0).
538
- |integer
539
- |0
540
-
541
- |dynamicLimit
542
- |No
543
- |Dynamic limit on the number of requests that can be sent (this limit is used if static limit = 0). The dynamic value is based on Expression Language expressions.
544
- |string
545
- |null
546
-
547
- |periodTime
548
- |Yes
549
- |Time duration
550
- |Integer
551
- |1
552
-
553
- |periodTimeUnit
554
- |Yes
555
- |Time unit (\`HOURS\`, \`DAYS\`, \`WEEKS\`, \`MONTHS\`)
556
- |String
557
- |MONTHS
558
-
559
- |===
560
-
561
- ==== Configuration example
562
-
563
- [source, json]
564
- ----
565
- "quota": {
566
- "limit": "1000",
567
- "periodTime": 1,
568
- "periodTimeUnit": "MONTHS"
569
- }
570
- ----
571
-
572
- === Rate-Limit
573
-
574
- The Rate-Limit policy configures the number of requests allow over a limited period of time (from seconds to minutes).
575
- This policy does not prevent request spikes.
576
-
577
- |===
578
- |Property |Required |Description |Type |Default
579
-
580
- |key
581
- |No
582
- |Key to identify a consumer to apply rate-limiting against. Leave it empty to use the default behavior (plan/subscription pair). Supports Expression Language.
583
- |String
584
- |null
585
-
586
- |limit
587
- |No
588
- |Static limit on the number of requests that can be sent (this limit is used if the value > 0).
589
- |integer
590
- |0
591
-
592
- |dynamicLimit
593
- |No
594
- |Dynamic limit on the number of requests that can be sent (this limit is used if static limit = 0). The dynamic value is based on Expression Language expressions.
595
- |string
596
- |null
597
-
598
- |periodTime
599
- |Yes
600
- |Time duration
601
- |Integer
602
- |1
603
-
604
- |periodTimeUnit
605
- |Yes
606
- |Time unit ("SECONDS", "MINUTES" )
607
- |String
608
- |SECONDS
609
-
610
- |===
611
-
612
- ==== Configuration example
613
-
614
- [source, json]
615
- ----
616
- "rate": {
617
- "limit": "10",
618
- "periodTime": 10,
619
- "periodTimeUnit": "MINUTES"
620
- }
621
- ----
622
-
623
- === Spike Arrest
624
-
625
- The Spike-Arrest policy configures the number of requests allow over a limited period of time (from seconds to minutes).
626
- This policy prevents request spikes by throttling incoming requests.
627
- For example, a SpikeArrest policy configured to 2000 requests/second will limit the execution of simultaneous requests to 200 requests per 100ms.
628
-
629
- By default, the SpikeArrest policy is applied to a plan, not a consumer. To apply a spike arrest to a consumer, you need to use the \`key\` attribute, which supports Expression Language.
630
-
631
- |===
632
- |Property |Required |Description |Type |Default
633
-
634
- |key
635
- |No
636
- |Key to identify a consumer to apply spike arresting against. Leave it empty to use the default behavior. Supports Expression Language (example: \`{#request.headers['x-consumer-id']}\`).
637
- |String
638
- |null
639
-
640
- |limit
641
- |No
642
- |Static limit on the number of requests that can be sent (this limit is used if the value > 0).
643
- |integer
644
- |0
645
-
646
- |dynamicLimit
647
- |No
648
- |Dynamic limit on the number of requests that can be sent (this limit is used if static limit = 0). The dynamic value is based on Expression Language expressions.
649
- |string
650
- |null
651
-
652
- |periodTime
653
- |Yes
654
- |Time duration
655
- |Integer
656
- |1
657
-
658
- |periodTimeUnit
659
- |Yes
660
- |Time unit (\`SECONDS\`, \`MINUTES\`)
661
- |String
662
- |SECONDS
663
-
664
- |===
665
-
666
- ==== Configuration example
667
-
668
- [source, json]
669
- ----
670
- "spike": {
671
- "limit": "10",
672
- "periodTime": 10,
673
- "periodTimeUnit": "MINUTES"
674
- }
675
- ----
676
-
677
- == Errors
678
-
679
- === Default response override
680
-
681
- You can use the response template feature to override the default response provided by the policies. These templates must be defined at the API level (see the API Console *Response Templates*
682
- option in the API *Proxy* menu).
683
-
684
- === Error keys
685
-
686
- The error keys sent by these policies are as follows:
687
-
688
- [cols="2*", options="header"]
689
- |===
690
- ^|Key
691
- ^|Parameters
692
-
693
- .^|RATE_LIMIT_TOO_MANY_REQUESTS
694
- ^.^|limit - period_time - period_unit
695
-
696
- .^|QUOTA_TOO_MANY_REQUESTS
697
- ^.^|limit - period_time - period_unit
698
-
699
- .^|SPIKE_ARREST_TOO_MANY_REQUESTS
700
- ^.^|limit - period_time - period_unit - slice_limit - slice_period_time - slice_limit_period_unit
701
-
702
- |===
703
- `;
704
- return attributes ?? base;
705
- }
706
-
707
- function fakePolicySchema(attributes) {
708
- const base = 'A policy schema';
709
- return attributes ?? base;
710
- }
711
-
712
- /*
713
- * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
714
- *
715
- * Licensed under the Apache License, Version 2.0 (the "License");
716
- * you may not use this file except in compliance with the License.
717
- * You may obtain a copy of the License at
718
- *
719
- * http://www.apache.org/licenses/LICENSE-2.0
720
- *
721
- * Unless required by applicable law or agreed to in writing, software
722
- * distributed under the License is distributed on an "AS IS" BASIS,
723
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
724
- * See the License for the specific language governing permissions and
725
- * limitations under the License.
726
- */
727
-
728
- /*
729
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
730
- *
731
- * Licensed under the Apache License, Version 2.0 (the "License");
732
- * you may not use this file except in compliance with the License.
733
- * You may obtain a copy of the License at
734
- *
735
- * http://www.apache.org/licenses/LICENSE-2.0
736
- *
737
- * Unless required by applicable law or agreed to in writing, software
738
- * distributed under the License is distributed on an "AS IS" BASIS,
739
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
740
- * See the License for the specific language governing permissions and
741
- * limitations under the License.
742
- */
743
- class PolicyService extends PolicyServiceAbstract {
744
- list(_params) {
745
- return of([fakePolicyListItem()]);
746
- }
747
- listSwaggerPolicies() {
748
- return of([fakePolicyListItem()]);
749
- }
750
- getSchema(_policyId) {
751
- return of(fakePolicySchema());
752
- }
753
- getDocumentation(_policyId) {
754
- return of(fakePolicyDocumentation()).pipe(map(buffer => buffer.toString()));
755
- }
756
- }
757
- PolicyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PolicyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
758
- PolicyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PolicyService });
759
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PolicyService, decorators: [{
760
- type: Injectable
761
- }] });
762
-
763
- function fakeResourceDocumentation(attributes) {
764
- const base = `
765
- = Cache Resource
766
-
767
- ifdef::env-github[]
768
- image:https://ci.gravitee.io/buildStatus/icon?job=gravitee-io/gravitee-resource-cache/master["Build status", link="https://ci.gravitee.io/job/gravitee-io/job/gravitee-resource-cache/"]
769
- image:https://badges.gitter.im/Join Chat.svg["Gitter", link="https://gitter.im/gravitee-io/gravitee-io?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]
770
- endif::[]
771
-
772
- == Description
773
-
774
- The cache resource is used to maintain a cache and link it to the API lifecycle.
775
- It means that the cache is initialized when the API is starting and released when API is stopped.
776
-
777
- This cache is responsible to store HTTP response from the backend to avoid subsequent calls.
778
-
779
- Current implementation of the cache resource is based on https://hazelcast.com/[Hazelcast].
780
-
781
- == Configuration
782
-
783
- You can configure the resource with the following options :
784
-
785
- |===
786
- |Property |Required |Description |Type |Default
787
-
788
- .^|name
789
- ^.^|X
790
- |The name of the cache.
791
- ^.^|string
792
- ^.^|my-cache
793
-
794
- .^|timeToIdleSeconds
795
- ^.^|X
796
- |The maximum number of seconds an element can exist in the cache without being accessed. The element expires at this limit and will no longer be returned from the cache. The default value is 0, which means no timeToIdle (TTI) eviction takes place (infinite lifetime).
797
- ^.^|integer
798
- ^.^|0
799
-
800
- .^|timeToLiveSeconds
801
- ^.^|X
802
- |The maximum number of seconds an element can exist in the cache regardless of use. The element expires at this limit and will no longer be returned from the cache. The default value is 0, which means no timeToLive (TTL) eviction takes place (infinite lifetime).
803
- ^.^|integer
804
- ^.^|0
805
-
806
- .^|maxEntriesLocalHeap
807
- ^.^|X
808
- |The maximum objects to be held in local heap memory (0 = no limit).
809
- ^.^|integer
810
- ^.^|1000
811
-
812
- |===
813
-
814
-
815
- [source, json]
816
- .Configuration example
817
- ----
818
- {
819
- "name" : "cache",
820
- "type" : "cache",
821
- "enabled" : true,
822
- "configuration" : {
823
- "name": "my-cache",
824
- "timeToIdleSeconds":0,
825
- "timeToLiveSeconds":0,
826
- "maxEntriesLocalHeap":1000
827
- }
828
- }
829
- ----`;
830
- return attributes ?? base;
831
- }
832
-
833
- function fakeResourceListItem(attributes) {
834
- const base = {
835
- description: 'The resource is used to maintain a cache and link it to the API lifecycle. It means that the cache is initialized when the API is starting and released when API is stopped.',
836
- icon: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAuNzEgMTEyLjgyIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZvbnQtc2l6ZToxMnB4O2ZpbGw6IzFkMWQxYjtmb250LWZhbWlseTpNeXJpYWRQcm8tUmVndWxhciwgTXlyaWFkIFBybzt9LmNscy0ye2xldHRlci1zcGFjaW5nOi0wLjAxZW07fS5jbHMtM3tmaWxsOiM4NmMzZDA7fS5jbHMtNHtmaWxsOiNmZmY7c3Ryb2tlOiNmZmY7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fTwvc3R5bGU+PC9kZWZzPjxnIGlkPSJIT1NUSU5HIj48dGV4dCBjbGFzcz0iY2xzLTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE3LjkzIC00Ljk4KSI+PHRzcGFuIGNsYXNzPSJjbHMtMiI+QzwvdHNwYW4+PHRzcGFuIHg9IjYuODgiIHk9IjAiPmFjaGU8L3RzcGFuPjwvdGV4dD48cmVjdCBjbGFzcz0iY2xzLTMiIHg9IjUiIHk9IjExIiB3aWR0aD0iOTAiIGhlaWdodD0iOTAiIGZpbGw9InRyYW5zcGFyZW50IiBzdHJva2Utd2lkdGg9IjUiLz48cGF0aCBjbGFzcz0iY2xzLTQiIGQ9Ik00Ny40NSw3Ny41OEEyMy4zLDIzLjMsMCwwLDEsNDIsNzYuOTNMNDIuNDYsNzVhMjEuMzQsMjEuMzQsMCwxLDAtMTEtMzQuODNsLTEuNS0xLjMyQTIzLjM0LDIzLjM0LDAsMSwxLDQ3LjQ1LDc3LjU4WiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtNCIgcG9pbnRzPSI0Ni4yOCA3MC44OSAzNC40MSA3Mi4zNyA0MS42MyA4MS45MSA0Ni4yOCA3MC44OSIvPjwvZz48L3N2Zz4K',
837
- id: 'cache',
838
- name: 'Cache',
839
- schema: '{\n "type" : "object",\n "id" : "urn:jsonschema:io:gravitee:resource:cache:configuration:CacheResourceConfiguration",\n "properties" : {\n "name" : {\n "title": "Cache name",\n "description": "The name of the cache.",\n "type" : "string",\n "default": "my-cache"\n },\n "timeToIdleSeconds" : {\n "title": "Time to idle (in seconds)",\n "type" : "integer",\n "description": "The maximum number of seconds an element can exist in the cache without being accessed. The element expires at this limit and will no longer be returned from the cache. The default value is 0, which means no timeToIdle (TTI) eviction takes place (infinite lifetime).",\n "default": 0,\n "minimum": 0\n },\n "timeToLiveSeconds" : {\n "title": "Time to live (in seconds)",\n "type" : "integer",\n "description": "The maximum number of seconds an element can exist in the cache regardless of use. The element expires at this limit and will no longer be returned from the cache. The default value is 0, which means no timeToLive (TTL) eviction takes place (infinite lifetime).",\n "default": 0,\n "minimum": 0\n },\n "maxEntriesLocalHeap" : {\n "title": "Max entries on heap",\n "description": "The maximum objects to be held in local heap memory (0 = no limit).",\n "type" : "integer",\n "default": 1000,\n "minimum": 0\n }\n },\n "required": [\n "name",\n "timeToIdleSeconds",\n "timeToLiveSeconds",\n "maxEntriesLocalHeap",\n "timeToLiveSeconds"\n ]\n}\n',
840
- version: '1.6.1',
841
- };
842
- return {
843
- ...base,
844
- ...attributes,
845
- };
846
- }
847
-
848
96
  /*
849
97
  * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
850
98
  *
@@ -860,3732 +108,15 @@ function fakeResourceListItem(attributes) {
860
108
  * See the License for the specific language governing permissions and
861
109
  * limitations under the License.
862
110
  */
863
-
864
- /*
865
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
866
- *
867
- * Licensed under the Apache License, Version 2.0 (the "License");
868
- * you may not use this file except in compliance with the License.
869
- * You may obtain a copy of the License at
870
- *
871
- * http://www.apache.org/licenses/LICENSE-2.0
872
- *
873
- * Unless required by applicable law or agreed to in writing, software
874
- * distributed under the License is distributed on an "AS IS" BASIS,
875
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
876
- * See the License for the specific language governing permissions and
877
- * limitations under the License.
878
- */
879
- class ResourceService extends ResourceServiceAbstract {
880
- list(_params) {
881
- return of([fakeResourceListItem()]);
882
- }
883
- getDocumentation(_resourceId) {
884
- return of(fakeResourceDocumentation());
885
- }
111
+ class GioPolicyStudioDetailsMenuComponent {
886
112
  }
887
- ResourceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ResourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
888
- ResourceServiceprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ResourceService });
889
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ResourceService, decorators: [{
890
- type: Injectable
113
+ GioPolicyStudioDetailsMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioDetailsMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
114
+ GioPolicyStudioDetailsMenuComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioPolicyStudioDetailsMenuComponent, selector: "gio-ps-flow-details", ngImport: i0, template: "<!--\n\n Copyright (C) 2023 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"header\">\n <div class=\"mat-h4\">Flow details</div>\n</div>\n\n<div class=\"content\">\uD83D\uDEA7 Work in progress \uD83D\uDEA7</div>\n", styles: [""] });
115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioDetailsMenuComponent, decorators: [{
116
+ type: Component,
117
+ args: [{ selector: 'gio-ps-flow-details', template: "<!--\n\n Copyright (C) 2023 The Gravitee team (http://gravitee.io)\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"header\">\n <div class=\"mat-h4\">Flow details</div>\n</div>\n\n<div class=\"content\">\uD83D\uDEA7 Work in progress \uD83D\uDEA7</div>\n", styles: [""] }]
891
118
  }] });
892
119
 
893
- function fakeGrammar(attributes) {
894
- return {
895
- ...base,
896
- ...attributes,
897
- };
898
- }
899
- const base = {
900
- request: {
901
- content: {
902
- _type: 'String',
903
- },
904
- contextPath: {
905
- _type: 'String',
906
- },
907
- headers: {
908
- _type: 'HttpHeaders',
909
- },
910
- id: {
911
- _type: 'String',
912
- },
913
- localAddress: {
914
- _type: 'String',
915
- },
916
- params: {
917
- _type: 'MultiValueMap',
918
- },
919
- path: {
920
- _type: 'String',
921
- },
922
- pathInfo: {
923
- _type: 'String',
924
- },
925
- pathInfos: {
926
- _type: 'String[]',
927
- },
928
- pathParams: {
929
- _type: 'MultiValueMap',
930
- },
931
- paths: {
932
- _type: 'String[]',
933
- },
934
- remoteAddress: {
935
- _type: 'String',
936
- },
937
- scheme: {
938
- _type: 'String',
939
- },
940
- ssl: {
941
- client: {
942
- attributes: {
943
- _type: 'MultiValueMap',
944
- },
945
- businessCategory: {
946
- _type: 'String',
947
- },
948
- c: {
949
- _type: 'String',
950
- },
951
- cn: {
952
- _type: 'String',
953
- },
954
- countryOfCitizenship: {
955
- _type: 'String',
956
- },
957
- countryOfResidence: {
958
- _type: 'String',
959
- },
960
- dateOfBirth: {
961
- _type: 'String',
962
- },
963
- dc: {
964
- _type: 'String',
965
- },
966
- defined: {
967
- _type: 'boolean',
968
- },
969
- description: {
970
- _type: 'String',
971
- },
972
- dmdName: {
973
- _type: 'String',
974
- },
975
- dn: {
976
- _type: 'String',
977
- },
978
- dnQualifier: {
979
- _type: 'String',
980
- },
981
- e: {
982
- _type: 'String',
983
- },
984
- emailAddress: {
985
- _type: 'String',
986
- },
987
- gender: {
988
- _type: 'String',
989
- },
990
- generation: {
991
- _type: 'String',
992
- },
993
- givenname: {
994
- _type: 'String',
995
- },
996
- initials: {
997
- _type: 'String',
998
- },
999
- l: {
1000
- _type: 'String',
1001
- },
1002
- name: {
1003
- _type: 'String',
1004
- },
1005
- nameAtBirth: {
1006
- _type: 'String',
1007
- },
1008
- o: {
1009
- _type: 'String',
1010
- },
1011
- organizationIdentifier: {
1012
- _type: 'String',
1013
- },
1014
- ou: {
1015
- _type: 'String',
1016
- },
1017
- placeOfBirth: {
1018
- _type: 'String',
1019
- },
1020
- postalAddress: {
1021
- _type: 'String',
1022
- },
1023
- postalCode: {
1024
- _type: 'String',
1025
- },
1026
- pseudonym: {
1027
- _type: 'String',
1028
- },
1029
- role: {
1030
- _type: 'String',
1031
- },
1032
- serialnumber: {
1033
- _type: 'String',
1034
- },
1035
- st: {
1036
- _type: 'String',
1037
- },
1038
- street: {
1039
- _type: 'String',
1040
- },
1041
- surname: {
1042
- _type: 'String',
1043
- },
1044
- t: {
1045
- _type: 'String',
1046
- },
1047
- telephoneNumber: {
1048
- _type: 'String',
1049
- },
1050
- uid: {
1051
- _type: 'String',
1052
- },
1053
- uniqueIdentifier: {
1054
- _type: 'String',
1055
- },
1056
- unstructuredAddress: {
1057
- _type: 'String',
1058
- },
1059
- },
1060
- clientHost: {
1061
- _type: 'String',
1062
- },
1063
- clientPort: {
1064
- _type: 'Integer',
1065
- },
1066
- server: {
1067
- attributes: {
1068
- _type: 'MultiValueMap',
1069
- },
1070
- businessCategory: {
1071
- _type: 'String',
1072
- },
1073
- c: {
1074
- _type: 'String',
1075
- },
1076
- cn: {
1077
- _type: 'String',
1078
- },
1079
- countryOfCitizenship: {
1080
- _type: 'String',
1081
- },
1082
- countryOfResidence: {
1083
- _type: 'String',
1084
- },
1085
- dateOfBirth: {
1086
- _type: 'String',
1087
- },
1088
- dc: {
1089
- _type: 'String',
1090
- },
1091
- defined: {
1092
- _type: 'boolean',
1093
- },
1094
- description: {
1095
- _type: 'String',
1096
- },
1097
- dmdName: {
1098
- _type: 'String',
1099
- },
1100
- dn: {
1101
- _type: 'String',
1102
- },
1103
- dnQualifier: {
1104
- _type: 'String',
1105
- },
1106
- e: {
1107
- _type: 'String',
1108
- },
1109
- emailAddress: {
1110
- _type: 'String',
1111
- },
1112
- gender: {
1113
- _type: 'String',
1114
- },
1115
- generation: {
1116
- _type: 'String',
1117
- },
1118
- givenname: {
1119
- _type: 'String',
1120
- },
1121
- initials: {
1122
- _type: 'String',
1123
- },
1124
- l: {
1125
- _type: 'String',
1126
- },
1127
- name: {
1128
- _type: 'String',
1129
- },
1130
- nameAtBirth: {
1131
- _type: 'String',
1132
- },
1133
- o: {
1134
- _type: 'String',
1135
- },
1136
- organizationIdentifier: {
1137
- _type: 'String',
1138
- },
1139
- ou: {
1140
- _type: 'String',
1141
- },
1142
- placeOfBirth: {
1143
- _type: 'String',
1144
- },
1145
- postalAddress: {
1146
- _type: 'String',
1147
- },
1148
- postalCode: {
1149
- _type: 'String',
1150
- },
1151
- pseudonym: {
1152
- _type: 'String',
1153
- },
1154
- role: {
1155
- _type: 'String',
1156
- },
1157
- serialnumber: {
1158
- _type: 'String',
1159
- },
1160
- st: {
1161
- _type: 'String',
1162
- },
1163
- street: {
1164
- _type: 'String',
1165
- },
1166
- surname: {
1167
- _type: 'String',
1168
- },
1169
- t: {
1170
- _type: 'String',
1171
- },
1172
- telephoneNumber: {
1173
- _type: 'String',
1174
- },
1175
- uid: {
1176
- _type: 'String',
1177
- },
1178
- uniqueIdentifier: {
1179
- _type: 'String',
1180
- },
1181
- unstructuredAddress: {
1182
- _type: 'String',
1183
- },
1184
- },
1185
- },
1186
- timestamp: {
1187
- _type: 'long',
1188
- },
1189
- transactionId: {
1190
- _type: 'String',
1191
- },
1192
- uri: {
1193
- _type: 'String',
1194
- },
1195
- version: {
1196
- _type: 'String',
1197
- },
1198
- },
1199
- endpoints: {
1200
- _type: 'String[]',
1201
- },
1202
- response: {
1203
- headers: {
1204
- _type: 'HttpHeaders',
1205
- },
1206
- content: {
1207
- _type: 'String',
1208
- },
1209
- status: {
1210
- _type: 'int',
1211
- },
1212
- },
1213
- context: {
1214
- attributes: {
1215
- 'context-path': {
1216
- _type: 'String',
1217
- },
1218
- application: {
1219
- _type: 'String',
1220
- },
1221
- 'api-key': {
1222
- _type: 'String',
1223
- },
1224
- 'user-id': {
1225
- _type: 'String',
1226
- },
1227
- api: {
1228
- _type: 'String',
1229
- },
1230
- plan: {
1231
- _type: 'String',
1232
- },
1233
- 'resolved-path': {
1234
- _type: 'String',
1235
- },
1236
- },
1237
- },
1238
- _enums: {
1239
- HttpHeaders: [
1240
- 'Accept',
1241
- 'Accept-Charset',
1242
- 'Accept-Encoding',
1243
- 'Accept-Language',
1244
- 'Accept-Ranges',
1245
- 'Access-Control-Allow-Credentials',
1246
- 'Access-Control-Allow-Headers',
1247
- 'Access-Control-Allow-Methods',
1248
- 'Access-Control-Allow-Origin',
1249
- 'Access-Control-Expose-Headers',
1250
- 'Access-Control-Max-Age',
1251
- 'Access-Control-Request-Headers',
1252
- 'Access-Control-Request-Method',
1253
- 'Age',
1254
- 'Allow',
1255
- 'Authorization',
1256
- 'Cache-Control',
1257
- 'Connection',
1258
- 'Content-Disposition',
1259
- 'Content-Encoding',
1260
- 'Content-ID',
1261
- 'Content-Language',
1262
- 'Content-Length',
1263
- 'Content-Location',
1264
- 'Content-MD5',
1265
- 'Content-Range',
1266
- 'Content-Type',
1267
- 'Cookie',
1268
- 'Date',
1269
- 'ETag',
1270
- 'Expires',
1271
- 'Expect',
1272
- 'Forwarded',
1273
- 'From',
1274
- 'Host',
1275
- 'If-Match',
1276
- 'If-Modified-Since',
1277
- 'If-None-Match',
1278
- 'If-Unmodified-Since',
1279
- 'Keep-Alive',
1280
- 'Last-Modified',
1281
- 'Location',
1282
- 'Link',
1283
- 'Max-Forwards',
1284
- 'MIME-Version',
1285
- 'Origin',
1286
- 'Pragma',
1287
- 'Proxy-Authenticate',
1288
- 'Proxy-Authorization',
1289
- 'Proxy-Connection',
1290
- 'Range',
1291
- 'Referer',
1292
- 'Retry-After',
1293
- 'Server',
1294
- 'Set-Cookie',
1295
- 'Set-Cookie2',
1296
- 'TE',
1297
- 'Trailer',
1298
- 'Transfer-Encoding',
1299
- 'Upgrade',
1300
- 'User-Agent',
1301
- 'Vary',
1302
- 'Via',
1303
- 'Warning',
1304
- 'WWW-Authenticate',
1305
- 'X-Forwarded-For',
1306
- 'X-Forwarded-Proto',
1307
- 'X-Forwarded-Server',
1308
- 'X-Forwarded-Host',
1309
- 'X-Forwarded-Port',
1310
- 'X-Forwarded-Prefix',
1311
- ],
1312
- },
1313
- properties: {
1314
- _type: 'String[]',
1315
- },
1316
- dictionaries: {
1317
- _type: 'String[]',
1318
- },
1319
- _types: {
1320
- MultiValueMap: {
1321
- methods: [
1322
- {
1323
- name: 'containsKey',
1324
- returnType: 'boolean',
1325
- params: [
1326
- {
1327
- name: 'arg0',
1328
- type: 'Object',
1329
- },
1330
- ],
1331
- },
1332
- {
1333
- name: 'containsValue',
1334
- returnType: 'boolean',
1335
- params: [
1336
- {
1337
- name: 'arg0',
1338
- type: 'Object',
1339
- },
1340
- ],
1341
- },
1342
- {
1343
- name: 'entrySet',
1344
- returnType: 'Set',
1345
- },
1346
- {
1347
- name: 'get',
1348
- returnType: 'Object',
1349
- params: [
1350
- {
1351
- name: 'arg0',
1352
- type: 'Object',
1353
- },
1354
- ],
1355
- },
1356
- {
1357
- name: 'getOrDefault',
1358
- returnType: 'Object',
1359
- params: [
1360
- {
1361
- name: 'arg0',
1362
- type: 'Object',
1363
- },
1364
- {
1365
- name: 'arg1',
1366
- type: 'Object',
1367
- },
1368
- ],
1369
- },
1370
- {
1371
- name: 'isEmpty',
1372
- returnType: 'boolean',
1373
- },
1374
- {
1375
- name: 'keySet',
1376
- returnType: 'Set',
1377
- },
1378
- {
1379
- name: 'size',
1380
- returnType: 'int',
1381
- },
1382
- {
1383
- name: 'values',
1384
- returnType: 'Collection',
1385
- },
1386
- ],
1387
- },
1388
- HttpHeaders: {
1389
- methods: [
1390
- {
1391
- name: 'equals',
1392
- returnType: 'boolean',
1393
- params: [
1394
- {
1395
- name: 'arg0',
1396
- type: 'Object',
1397
- },
1398
- ],
1399
- },
1400
- {
1401
- name: 'hashCode',
1402
- returnType: 'int',
1403
- },
1404
- {
1405
- name: 'toString',
1406
- returnType: 'String',
1407
- },
1408
- {
1409
- name: 'containsKey',
1410
- returnType: 'boolean',
1411
- params: [
1412
- {
1413
- name: 'arg0',
1414
- type: 'Object',
1415
- },
1416
- ],
1417
- },
1418
- {
1419
- name: 'containsValue',
1420
- returnType: 'boolean',
1421
- params: [
1422
- {
1423
- name: 'arg0',
1424
- type: 'Object',
1425
- },
1426
- ],
1427
- },
1428
- {
1429
- name: 'entrySet',
1430
- returnType: 'Set',
1431
- },
1432
- {
1433
- name: 'get',
1434
- returnType: 'Object',
1435
- params: [
1436
- {
1437
- name: 'arg0',
1438
- type: 'Object',
1439
- },
1440
- ],
1441
- },
1442
- {
1443
- name: 'getOrDefault',
1444
- returnType: 'Object',
1445
- params: [
1446
- {
1447
- name: 'arg0',
1448
- type: 'Object',
1449
- },
1450
- {
1451
- name: 'arg1',
1452
- type: 'Object',
1453
- },
1454
- ],
1455
- },
1456
- {
1457
- name: 'isEmpty',
1458
- returnType: 'boolean',
1459
- },
1460
- {
1461
- name: 'keySet',
1462
- returnType: 'Set',
1463
- },
1464
- {
1465
- name: 'size',
1466
- returnType: 'int',
1467
- },
1468
- {
1469
- name: 'values',
1470
- returnType: 'Collection',
1471
- },
1472
- ],
1473
- },
1474
- Map: {
1475
- methods: [
1476
- {
1477
- name: 'containsKey',
1478
- returnType: 'boolean',
1479
- params: [
1480
- {
1481
- name: 'arg0',
1482
- type: 'Object',
1483
- },
1484
- ],
1485
- },
1486
- {
1487
- name: 'containsValue',
1488
- returnType: 'boolean',
1489
- params: [
1490
- {
1491
- name: 'arg0',
1492
- type: 'Object',
1493
- },
1494
- ],
1495
- },
1496
- {
1497
- name: 'entrySet',
1498
- returnType: 'Set',
1499
- },
1500
- {
1501
- name: 'get',
1502
- returnType: 'Object',
1503
- params: [
1504
- {
1505
- name: 'arg0',
1506
- type: 'Object',
1507
- },
1508
- ],
1509
- },
1510
- {
1511
- name: 'getOrDefault',
1512
- returnType: 'Object',
1513
- params: [
1514
- {
1515
- name: 'arg0',
1516
- type: 'Object',
1517
- },
1518
- {
1519
- name: 'arg1',
1520
- type: 'Object',
1521
- },
1522
- ],
1523
- },
1524
- {
1525
- name: 'isEmpty',
1526
- returnType: 'boolean',
1527
- },
1528
- {
1529
- name: 'keySet',
1530
- returnType: 'Set',
1531
- },
1532
- {
1533
- name: 'size',
1534
- returnType: 'int',
1535
- },
1536
- {
1537
- name: 'values',
1538
- returnType: 'Collection',
1539
- },
1540
- ],
1541
- },
1542
- Boolean: {
1543
- methods: [
1544
- {
1545
- name: 'equals',
1546
- returnType: 'boolean',
1547
- params: [
1548
- {
1549
- name: 'arg0',
1550
- type: 'Object',
1551
- },
1552
- ],
1553
- },
1554
- {
1555
- name: 'hashCode',
1556
- returnType: 'int',
1557
- },
1558
- {
1559
- name: 'toString',
1560
- returnType: 'String',
1561
- },
1562
- ],
1563
- },
1564
- Integer: {
1565
- methods: [
1566
- {
1567
- name: 'numberOfLeadingZeros',
1568
- returnType: 'int',
1569
- params: [
1570
- {
1571
- name: 'arg0',
1572
- type: 'int',
1573
- },
1574
- ],
1575
- },
1576
- {
1577
- name: 'numberOfTrailingZeros',
1578
- returnType: 'int',
1579
- params: [
1580
- {
1581
- name: 'arg0',
1582
- type: 'int',
1583
- },
1584
- ],
1585
- },
1586
- {
1587
- name: 'bitCount',
1588
- returnType: 'int',
1589
- params: [
1590
- {
1591
- name: 'arg0',
1592
- type: 'int',
1593
- },
1594
- ],
1595
- },
1596
- {
1597
- name: 'equals',
1598
- returnType: 'boolean',
1599
- params: [
1600
- {
1601
- name: 'arg0',
1602
- type: 'Object',
1603
- },
1604
- ],
1605
- },
1606
- {
1607
- name: 'toString',
1608
- returnType: 'String',
1609
- params: [
1610
- {
1611
- name: 'arg0',
1612
- type: 'int',
1613
- },
1614
- ],
1615
- },
1616
- {
1617
- name: 'toString',
1618
- returnType: 'String',
1619
- params: [
1620
- {
1621
- name: 'arg0',
1622
- type: 'int',
1623
- },
1624
- {
1625
- name: 'arg1',
1626
- type: 'int',
1627
- },
1628
- ],
1629
- },
1630
- {
1631
- name: 'toString',
1632
- returnType: 'String',
1633
- },
1634
- {
1635
- name: 'hashCode',
1636
- returnType: 'int',
1637
- params: [
1638
- {
1639
- name: 'arg0',
1640
- type: 'int',
1641
- },
1642
- ],
1643
- },
1644
- {
1645
- name: 'hashCode',
1646
- returnType: 'int',
1647
- },
1648
- {
1649
- name: 'min',
1650
- returnType: 'int',
1651
- params: [
1652
- {
1653
- name: 'arg0',
1654
- type: 'int',
1655
- },
1656
- {
1657
- name: 'arg1',
1658
- type: 'int',
1659
- },
1660
- ],
1661
- },
1662
- {
1663
- name: 'max',
1664
- returnType: 'int',
1665
- params: [
1666
- {
1667
- name: 'arg0',
1668
- type: 'int',
1669
- },
1670
- {
1671
- name: 'arg1',
1672
- type: 'int',
1673
- },
1674
- ],
1675
- },
1676
- {
1677
- name: 'signum',
1678
- returnType: 'int',
1679
- params: [
1680
- {
1681
- name: 'arg0',
1682
- type: 'int',
1683
- },
1684
- ],
1685
- },
1686
- {
1687
- name: 'reverseBytes',
1688
- returnType: 'int',
1689
- params: [
1690
- {
1691
- name: 'arg0',
1692
- type: 'int',
1693
- },
1694
- ],
1695
- },
1696
- {
1697
- name: 'compareTo',
1698
- returnType: 'int',
1699
- params: [
1700
- {
1701
- name: 'arg0',
1702
- type: 'Object',
1703
- },
1704
- ],
1705
- },
1706
- {
1707
- name: 'compareTo',
1708
- returnType: 'int',
1709
- params: [
1710
- {
1711
- name: 'arg0',
1712
- type: 'Integer',
1713
- },
1714
- ],
1715
- },
1716
- {
1717
- name: 'byteValue',
1718
- returnType: 'byte',
1719
- },
1720
- {
1721
- name: 'shortValue',
1722
- returnType: 'short',
1723
- },
1724
- {
1725
- name: 'intValue',
1726
- returnType: 'int',
1727
- },
1728
- {
1729
- name: 'longValue',
1730
- returnType: 'long',
1731
- },
1732
- {
1733
- name: 'floatValue',
1734
- returnType: 'float',
1735
- },
1736
- {
1737
- name: 'doubleValue',
1738
- returnType: 'double',
1739
- },
1740
- {
1741
- name: 'valueOf',
1742
- returnType: 'Integer',
1743
- params: [
1744
- {
1745
- name: 'arg0',
1746
- type: 'String',
1747
- },
1748
- ],
1749
- },
1750
- {
1751
- name: 'valueOf',
1752
- returnType: 'Integer',
1753
- params: [
1754
- {
1755
- name: 'arg0',
1756
- type: 'int',
1757
- },
1758
- ],
1759
- },
1760
- {
1761
- name: 'valueOf',
1762
- returnType: 'Integer',
1763
- params: [
1764
- {
1765
- name: 'arg0',
1766
- type: 'String',
1767
- },
1768
- {
1769
- name: 'arg1',
1770
- type: 'int',
1771
- },
1772
- ],
1773
- },
1774
- {
1775
- name: 'toHexString',
1776
- returnType: 'String',
1777
- params: [
1778
- {
1779
- name: 'arg0',
1780
- type: 'int',
1781
- },
1782
- ],
1783
- },
1784
- {
1785
- name: 'decode',
1786
- returnType: 'Integer',
1787
- params: [
1788
- {
1789
- name: 'arg0',
1790
- type: 'String',
1791
- },
1792
- ],
1793
- },
1794
- {
1795
- name: 'compare',
1796
- returnType: 'int',
1797
- params: [
1798
- {
1799
- name: 'arg0',
1800
- type: 'int',
1801
- },
1802
- {
1803
- name: 'arg1',
1804
- type: 'int',
1805
- },
1806
- ],
1807
- },
1808
- {
1809
- name: 'reverse',
1810
- returnType: 'int',
1811
- params: [
1812
- {
1813
- name: 'arg0',
1814
- type: 'int',
1815
- },
1816
- ],
1817
- },
1818
- {
1819
- name: 'toUnsignedLong',
1820
- returnType: 'long',
1821
- params: [
1822
- {
1823
- name: 'arg0',
1824
- type: 'int',
1825
- },
1826
- ],
1827
- },
1828
- {
1829
- name: 'parseInt',
1830
- returnType: 'int',
1831
- params: [
1832
- {
1833
- name: 'arg0',
1834
- type: 'String',
1835
- },
1836
- {
1837
- name: 'arg1',
1838
- type: 'int',
1839
- },
1840
- ],
1841
- },
1842
- {
1843
- name: 'parseInt',
1844
- returnType: 'int',
1845
- params: [
1846
- {
1847
- name: 'arg0',
1848
- type: 'String',
1849
- },
1850
- ],
1851
- },
1852
- {
1853
- name: 'parseInt',
1854
- returnType: 'int',
1855
- params: [
1856
- {
1857
- name: 'arg0',
1858
- type: 'CharSequence',
1859
- },
1860
- {
1861
- name: 'arg1',
1862
- type: 'int',
1863
- },
1864
- {
1865
- name: 'arg2',
1866
- type: 'int',
1867
- },
1868
- {
1869
- name: 'arg3',
1870
- type: 'int',
1871
- },
1872
- ],
1873
- },
1874
- {
1875
- name: 'sum',
1876
- returnType: 'int',
1877
- params: [
1878
- {
1879
- name: 'arg0',
1880
- type: 'int',
1881
- },
1882
- {
1883
- name: 'arg1',
1884
- type: 'int',
1885
- },
1886
- ],
1887
- },
1888
- {
1889
- name: 'compareUnsigned',
1890
- returnType: 'int',
1891
- params: [
1892
- {
1893
- name: 'arg0',
1894
- type: 'int',
1895
- },
1896
- {
1897
- name: 'arg1',
1898
- type: 'int',
1899
- },
1900
- ],
1901
- },
1902
- {
1903
- name: 'toUnsignedString',
1904
- returnType: 'String',
1905
- params: [
1906
- {
1907
- name: 'arg0',
1908
- type: 'int',
1909
- },
1910
- {
1911
- name: 'arg1',
1912
- type: 'int',
1913
- },
1914
- ],
1915
- },
1916
- {
1917
- name: 'toUnsignedString',
1918
- returnType: 'String',
1919
- params: [
1920
- {
1921
- name: 'arg0',
1922
- type: 'int',
1923
- },
1924
- ],
1925
- },
1926
- {
1927
- name: 'toOctalString',
1928
- returnType: 'String',
1929
- params: [
1930
- {
1931
- name: 'arg0',
1932
- type: 'int',
1933
- },
1934
- ],
1935
- },
1936
- {
1937
- name: 'toBinaryString',
1938
- returnType: 'String',
1939
- params: [
1940
- {
1941
- name: 'arg0',
1942
- type: 'int',
1943
- },
1944
- ],
1945
- },
1946
- {
1947
- name: 'parseUnsignedInt',
1948
- returnType: 'int',
1949
- params: [
1950
- {
1951
- name: 'arg0',
1952
- type: 'String',
1953
- },
1954
- {
1955
- name: 'arg1',
1956
- type: 'int',
1957
- },
1958
- ],
1959
- },
1960
- {
1961
- name: 'parseUnsignedInt',
1962
- returnType: 'int',
1963
- params: [
1964
- {
1965
- name: 'arg0',
1966
- type: 'String',
1967
- },
1968
- ],
1969
- },
1970
- {
1971
- name: 'parseUnsignedInt',
1972
- returnType: 'int',
1973
- params: [
1974
- {
1975
- name: 'arg0',
1976
- type: 'CharSequence',
1977
- },
1978
- {
1979
- name: 'arg1',
1980
- type: 'int',
1981
- },
1982
- {
1983
- name: 'arg2',
1984
- type: 'int',
1985
- },
1986
- {
1987
- name: 'arg3',
1988
- type: 'int',
1989
- },
1990
- ],
1991
- },
1992
- {
1993
- name: 'getInteger',
1994
- returnType: 'Integer',
1995
- params: [
1996
- {
1997
- name: 'arg0',
1998
- type: 'String',
1999
- },
2000
- {
2001
- name: 'arg1',
2002
- type: 'int',
2003
- },
2004
- ],
2005
- },
2006
- {
2007
- name: 'getInteger',
2008
- returnType: 'Integer',
2009
- params: [
2010
- {
2011
- name: 'arg0',
2012
- type: 'String',
2013
- },
2014
- ],
2015
- },
2016
- {
2017
- name: 'getInteger',
2018
- returnType: 'Integer',
2019
- params: [
2020
- {
2021
- name: 'arg0',
2022
- type: 'String',
2023
- },
2024
- {
2025
- name: 'arg1',
2026
- type: 'Integer',
2027
- },
2028
- ],
2029
- },
2030
- {
2031
- name: 'divideUnsigned',
2032
- returnType: 'int',
2033
- params: [
2034
- {
2035
- name: 'arg0',
2036
- type: 'int',
2037
- },
2038
- {
2039
- name: 'arg1',
2040
- type: 'int',
2041
- },
2042
- ],
2043
- },
2044
- {
2045
- name: 'remainderUnsigned',
2046
- returnType: 'int',
2047
- params: [
2048
- {
2049
- name: 'arg0',
2050
- type: 'int',
2051
- },
2052
- {
2053
- name: 'arg1',
2054
- type: 'int',
2055
- },
2056
- ],
2057
- },
2058
- {
2059
- name: 'highestOneBit',
2060
- returnType: 'int',
2061
- params: [
2062
- {
2063
- name: 'arg0',
2064
- type: 'int',
2065
- },
2066
- ],
2067
- },
2068
- {
2069
- name: 'lowestOneBit',
2070
- returnType: 'int',
2071
- params: [
2072
- {
2073
- name: 'arg0',
2074
- type: 'int',
2075
- },
2076
- ],
2077
- },
2078
- {
2079
- name: 'rotateLeft',
2080
- returnType: 'int',
2081
- params: [
2082
- {
2083
- name: 'arg0',
2084
- type: 'int',
2085
- },
2086
- {
2087
- name: 'arg1',
2088
- type: 'int',
2089
- },
2090
- ],
2091
- },
2092
- {
2093
- name: 'rotateRight',
2094
- returnType: 'int',
2095
- params: [
2096
- {
2097
- name: 'arg0',
2098
- type: 'int',
2099
- },
2100
- {
2101
- name: 'arg1',
2102
- type: 'int',
2103
- },
2104
- ],
2105
- },
2106
- {
2107
- name: 'equals',
2108
- returnType: 'boolean',
2109
- params: [
2110
- {
2111
- name: 'arg0',
2112
- type: 'Object',
2113
- },
2114
- ],
2115
- },
2116
- {
2117
- name: 'hashCode',
2118
- returnType: 'int',
2119
- },
2120
- {
2121
- name: 'toString',
2122
- returnType: 'String',
2123
- },
2124
- ],
2125
- },
2126
- Long: {
2127
- methods: [
2128
- {
2129
- name: 'numberOfLeadingZeros',
2130
- returnType: 'int',
2131
- params: [
2132
- {
2133
- name: 'arg0',
2134
- type: 'long',
2135
- },
2136
- ],
2137
- },
2138
- {
2139
- name: 'numberOfTrailingZeros',
2140
- returnType: 'int',
2141
- params: [
2142
- {
2143
- name: 'arg0',
2144
- type: 'long',
2145
- },
2146
- ],
2147
- },
2148
- {
2149
- name: 'bitCount',
2150
- returnType: 'int',
2151
- params: [
2152
- {
2153
- name: 'arg0',
2154
- type: 'long',
2155
- },
2156
- ],
2157
- },
2158
- {
2159
- name: 'equals',
2160
- returnType: 'boolean',
2161
- params: [
2162
- {
2163
- name: 'arg0',
2164
- type: 'Object',
2165
- },
2166
- ],
2167
- },
2168
- {
2169
- name: 'toString',
2170
- returnType: 'String',
2171
- params: [
2172
- {
2173
- name: 'arg0',
2174
- type: 'long',
2175
- },
2176
- ],
2177
- },
2178
- {
2179
- name: 'toString',
2180
- returnType: 'String',
2181
- params: [
2182
- {
2183
- name: 'arg0',
2184
- type: 'long',
2185
- },
2186
- {
2187
- name: 'arg1',
2188
- type: 'int',
2189
- },
2190
- ],
2191
- },
2192
- {
2193
- name: 'toString',
2194
- returnType: 'String',
2195
- },
2196
- {
2197
- name: 'hashCode',
2198
- returnType: 'int',
2199
- params: [
2200
- {
2201
- name: 'arg0',
2202
- type: 'long',
2203
- },
2204
- ],
2205
- },
2206
- {
2207
- name: 'hashCode',
2208
- returnType: 'int',
2209
- },
2210
- {
2211
- name: 'min',
2212
- returnType: 'long',
2213
- params: [
2214
- {
2215
- name: 'arg0',
2216
- type: 'long',
2217
- },
2218
- {
2219
- name: 'arg1',
2220
- type: 'long',
2221
- },
2222
- ],
2223
- },
2224
- {
2225
- name: 'max',
2226
- returnType: 'long',
2227
- params: [
2228
- {
2229
- name: 'arg0',
2230
- type: 'long',
2231
- },
2232
- {
2233
- name: 'arg1',
2234
- type: 'long',
2235
- },
2236
- ],
2237
- },
2238
- {
2239
- name: 'signum',
2240
- returnType: 'int',
2241
- params: [
2242
- {
2243
- name: 'arg0',
2244
- type: 'long',
2245
- },
2246
- ],
2247
- },
2248
- {
2249
- name: 'reverseBytes',
2250
- returnType: 'long',
2251
- params: [
2252
- {
2253
- name: 'arg0',
2254
- type: 'long',
2255
- },
2256
- ],
2257
- },
2258
- {
2259
- name: 'compareTo',
2260
- returnType: 'int',
2261
- params: [
2262
- {
2263
- name: 'arg0',
2264
- type: 'Object',
2265
- },
2266
- ],
2267
- },
2268
- {
2269
- name: 'compareTo',
2270
- returnType: 'int',
2271
- params: [
2272
- {
2273
- name: 'arg0',
2274
- type: 'Long',
2275
- },
2276
- ],
2277
- },
2278
- {
2279
- name: 'getLong',
2280
- returnType: 'Long',
2281
- params: [
2282
- {
2283
- name: 'arg0',
2284
- type: 'String',
2285
- },
2286
- ],
2287
- },
2288
- {
2289
- name: 'getLong',
2290
- returnType: 'Long',
2291
- params: [
2292
- {
2293
- name: 'arg0',
2294
- type: 'String',
2295
- },
2296
- {
2297
- name: 'arg1',
2298
- type: 'long',
2299
- },
2300
- ],
2301
- },
2302
- {
2303
- name: 'getLong',
2304
- returnType: 'Long',
2305
- params: [
2306
- {
2307
- name: 'arg0',
2308
- type: 'String',
2309
- },
2310
- {
2311
- name: 'arg1',
2312
- type: 'Long',
2313
- },
2314
- ],
2315
- },
2316
- {
2317
- name: 'byteValue',
2318
- returnType: 'byte',
2319
- },
2320
- {
2321
- name: 'shortValue',
2322
- returnType: 'short',
2323
- },
2324
- {
2325
- name: 'intValue',
2326
- returnType: 'int',
2327
- },
2328
- {
2329
- name: 'longValue',
2330
- returnType: 'long',
2331
- },
2332
- {
2333
- name: 'floatValue',
2334
- returnType: 'float',
2335
- },
2336
- {
2337
- name: 'doubleValue',
2338
- returnType: 'double',
2339
- },
2340
- {
2341
- name: 'valueOf',
2342
- returnType: 'Long',
2343
- params: [
2344
- {
2345
- name: 'arg0',
2346
- type: 'long',
2347
- },
2348
- ],
2349
- },
2350
- {
2351
- name: 'valueOf',
2352
- returnType: 'Long',
2353
- params: [
2354
- {
2355
- name: 'arg0',
2356
- type: 'String',
2357
- },
2358
- {
2359
- name: 'arg1',
2360
- type: 'int',
2361
- },
2362
- ],
2363
- },
2364
- {
2365
- name: 'valueOf',
2366
- returnType: 'Long',
2367
- params: [
2368
- {
2369
- name: 'arg0',
2370
- type: 'String',
2371
- },
2372
- ],
2373
- },
2374
- {
2375
- name: 'toHexString',
2376
- returnType: 'String',
2377
- params: [
2378
- {
2379
- name: 'arg0',
2380
- type: 'long',
2381
- },
2382
- ],
2383
- },
2384
- {
2385
- name: 'decode',
2386
- returnType: 'Long',
2387
- params: [
2388
- {
2389
- name: 'arg0',
2390
- type: 'String',
2391
- },
2392
- ],
2393
- },
2394
- {
2395
- name: 'compare',
2396
- returnType: 'int',
2397
- params: [
2398
- {
2399
- name: 'arg0',
2400
- type: 'long',
2401
- },
2402
- {
2403
- name: 'arg1',
2404
- type: 'long',
2405
- },
2406
- ],
2407
- },
2408
- {
2409
- name: 'reverse',
2410
- returnType: 'long',
2411
- params: [
2412
- {
2413
- name: 'arg0',
2414
- type: 'long',
2415
- },
2416
- ],
2417
- },
2418
- {
2419
- name: 'sum',
2420
- returnType: 'long',
2421
- params: [
2422
- {
2423
- name: 'arg0',
2424
- type: 'long',
2425
- },
2426
- {
2427
- name: 'arg1',
2428
- type: 'long',
2429
- },
2430
- ],
2431
- },
2432
- {
2433
- name: 'compareUnsigned',
2434
- returnType: 'int',
2435
- params: [
2436
- {
2437
- name: 'arg0',
2438
- type: 'long',
2439
- },
2440
- {
2441
- name: 'arg1',
2442
- type: 'long',
2443
- },
2444
- ],
2445
- },
2446
- {
2447
- name: 'toUnsignedString',
2448
- returnType: 'String',
2449
- params: [
2450
- {
2451
- name: 'arg0',
2452
- type: 'long',
2453
- },
2454
- {
2455
- name: 'arg1',
2456
- type: 'int',
2457
- },
2458
- ],
2459
- },
2460
- {
2461
- name: 'toUnsignedString',
2462
- returnType: 'String',
2463
- params: [
2464
- {
2465
- name: 'arg0',
2466
- type: 'long',
2467
- },
2468
- ],
2469
- },
2470
- {
2471
- name: 'toOctalString',
2472
- returnType: 'String',
2473
- params: [
2474
- {
2475
- name: 'arg0',
2476
- type: 'long',
2477
- },
2478
- ],
2479
- },
2480
- {
2481
- name: 'toBinaryString',
2482
- returnType: 'String',
2483
- params: [
2484
- {
2485
- name: 'arg0',
2486
- type: 'long',
2487
- },
2488
- ],
2489
- },
2490
- {
2491
- name: 'parseLong',
2492
- returnType: 'long',
2493
- params: [
2494
- {
2495
- name: 'arg0',
2496
- type: 'String',
2497
- },
2498
- {
2499
- name: 'arg1',
2500
- type: 'int',
2501
- },
2502
- ],
2503
- },
2504
- {
2505
- name: 'parseLong',
2506
- returnType: 'long',
2507
- params: [
2508
- {
2509
- name: 'arg0',
2510
- type: 'CharSequence',
2511
- },
2512
- {
2513
- name: 'arg1',
2514
- type: 'int',
2515
- },
2516
- {
2517
- name: 'arg2',
2518
- type: 'int',
2519
- },
2520
- {
2521
- name: 'arg3',
2522
- type: 'int',
2523
- },
2524
- ],
2525
- },
2526
- {
2527
- name: 'parseLong',
2528
- returnType: 'long',
2529
- params: [
2530
- {
2531
- name: 'arg0',
2532
- type: 'String',
2533
- },
2534
- ],
2535
- },
2536
- {
2537
- name: 'divideUnsigned',
2538
- returnType: 'long',
2539
- params: [
2540
- {
2541
- name: 'arg0',
2542
- type: 'long',
2543
- },
2544
- {
2545
- name: 'arg1',
2546
- type: 'long',
2547
- },
2548
- ],
2549
- },
2550
- {
2551
- name: 'remainderUnsigned',
2552
- returnType: 'long',
2553
- params: [
2554
- {
2555
- name: 'arg0',
2556
- type: 'long',
2557
- },
2558
- {
2559
- name: 'arg1',
2560
- type: 'long',
2561
- },
2562
- ],
2563
- },
2564
- {
2565
- name: 'highestOneBit',
2566
- returnType: 'long',
2567
- params: [
2568
- {
2569
- name: 'arg0',
2570
- type: 'long',
2571
- },
2572
- ],
2573
- },
2574
- {
2575
- name: 'lowestOneBit',
2576
- returnType: 'long',
2577
- params: [
2578
- {
2579
- name: 'arg0',
2580
- type: 'long',
2581
- },
2582
- ],
2583
- },
2584
- {
2585
- name: 'rotateLeft',
2586
- returnType: 'long',
2587
- params: [
2588
- {
2589
- name: 'arg0',
2590
- type: 'long',
2591
- },
2592
- {
2593
- name: 'arg1',
2594
- type: 'int',
2595
- },
2596
- ],
2597
- },
2598
- {
2599
- name: 'rotateRight',
2600
- returnType: 'long',
2601
- params: [
2602
- {
2603
- name: 'arg0',
2604
- type: 'long',
2605
- },
2606
- {
2607
- name: 'arg1',
2608
- type: 'int',
2609
- },
2610
- ],
2611
- },
2612
- {
2613
- name: 'parseUnsignedLong',
2614
- returnType: 'long',
2615
- params: [
2616
- {
2617
- name: 'arg0',
2618
- type: 'String',
2619
- },
2620
- ],
2621
- },
2622
- {
2623
- name: 'parseUnsignedLong',
2624
- returnType: 'long',
2625
- params: [
2626
- {
2627
- name: 'arg0',
2628
- type: 'CharSequence',
2629
- },
2630
- {
2631
- name: 'arg1',
2632
- type: 'int',
2633
- },
2634
- {
2635
- name: 'arg2',
2636
- type: 'int',
2637
- },
2638
- {
2639
- name: 'arg3',
2640
- type: 'int',
2641
- },
2642
- ],
2643
- },
2644
- {
2645
- name: 'parseUnsignedLong',
2646
- returnType: 'long',
2647
- params: [
2648
- {
2649
- name: 'arg0',
2650
- type: 'String',
2651
- },
2652
- {
2653
- name: 'arg1',
2654
- type: 'int',
2655
- },
2656
- ],
2657
- },
2658
- {
2659
- name: 'equals',
2660
- returnType: 'boolean',
2661
- params: [
2662
- {
2663
- name: 'arg0',
2664
- type: 'Object',
2665
- },
2666
- ],
2667
- },
2668
- {
2669
- name: 'hashCode',
2670
- returnType: 'int',
2671
- },
2672
- {
2673
- name: 'toString',
2674
- returnType: 'String',
2675
- },
2676
- ],
2677
- },
2678
- Math: {
2679
- methods: [
2680
- {
2681
- name: 'abs',
2682
- returnType: 'long',
2683
- params: [
2684
- {
2685
- name: 'arg0',
2686
- type: 'long',
2687
- },
2688
- ],
2689
- },
2690
- {
2691
- name: 'abs',
2692
- returnType: 'double',
2693
- params: [
2694
- {
2695
- name: 'arg0',
2696
- type: 'double',
2697
- },
2698
- ],
2699
- },
2700
- {
2701
- name: 'abs',
2702
- returnType: 'int',
2703
- params: [
2704
- {
2705
- name: 'arg0',
2706
- type: 'int',
2707
- },
2708
- ],
2709
- },
2710
- {
2711
- name: 'abs',
2712
- returnType: 'float',
2713
- params: [
2714
- {
2715
- name: 'arg0',
2716
- type: 'float',
2717
- },
2718
- ],
2719
- },
2720
- {
2721
- name: 'sin',
2722
- returnType: 'double',
2723
- params: [
2724
- {
2725
- name: 'arg0',
2726
- type: 'double',
2727
- },
2728
- ],
2729
- },
2730
- {
2731
- name: 'cos',
2732
- returnType: 'double',
2733
- params: [
2734
- {
2735
- name: 'arg0',
2736
- type: 'double',
2737
- },
2738
- ],
2739
- },
2740
- {
2741
- name: 'tan',
2742
- returnType: 'double',
2743
- params: [
2744
- {
2745
- name: 'arg0',
2746
- type: 'double',
2747
- },
2748
- ],
2749
- },
2750
- {
2751
- name: 'atan2',
2752
- returnType: 'double',
2753
- params: [
2754
- {
2755
- name: 'arg0',
2756
- type: 'double',
2757
- },
2758
- {
2759
- name: 'arg1',
2760
- type: 'double',
2761
- },
2762
- ],
2763
- },
2764
- {
2765
- name: 'sqrt',
2766
- returnType: 'double',
2767
- params: [
2768
- {
2769
- name: 'arg0',
2770
- type: 'double',
2771
- },
2772
- ],
2773
- },
2774
- {
2775
- name: 'log',
2776
- returnType: 'double',
2777
- params: [
2778
- {
2779
- name: 'arg0',
2780
- type: 'double',
2781
- },
2782
- ],
2783
- },
2784
- {
2785
- name: 'log10',
2786
- returnType: 'double',
2787
- params: [
2788
- {
2789
- name: 'arg0',
2790
- type: 'double',
2791
- },
2792
- ],
2793
- },
2794
- {
2795
- name: 'pow',
2796
- returnType: 'double',
2797
- params: [
2798
- {
2799
- name: 'arg0',
2800
- type: 'double',
2801
- },
2802
- {
2803
- name: 'arg1',
2804
- type: 'double',
2805
- },
2806
- ],
2807
- },
2808
- {
2809
- name: 'exp',
2810
- returnType: 'double',
2811
- params: [
2812
- {
2813
- name: 'arg0',
2814
- type: 'double',
2815
- },
2816
- ],
2817
- },
2818
- {
2819
- name: 'min',
2820
- returnType: 'long',
2821
- params: [
2822
- {
2823
- name: 'arg0',
2824
- type: 'long',
2825
- },
2826
- {
2827
- name: 'arg1',
2828
- type: 'long',
2829
- },
2830
- ],
2831
- },
2832
- {
2833
- name: 'min',
2834
- returnType: 'float',
2835
- params: [
2836
- {
2837
- name: 'arg0',
2838
- type: 'float',
2839
- },
2840
- {
2841
- name: 'arg1',
2842
- type: 'float',
2843
- },
2844
- ],
2845
- },
2846
- {
2847
- name: 'min',
2848
- returnType: 'double',
2849
- params: [
2850
- {
2851
- name: 'arg0',
2852
- type: 'double',
2853
- },
2854
- {
2855
- name: 'arg1',
2856
- type: 'double',
2857
- },
2858
- ],
2859
- },
2860
- {
2861
- name: 'min',
2862
- returnType: 'int',
2863
- params: [
2864
- {
2865
- name: 'arg0',
2866
- type: 'int',
2867
- },
2868
- {
2869
- name: 'arg1',
2870
- type: 'int',
2871
- },
2872
- ],
2873
- },
2874
- {
2875
- name: 'max',
2876
- returnType: 'long',
2877
- params: [
2878
- {
2879
- name: 'arg0',
2880
- type: 'long',
2881
- },
2882
- {
2883
- name: 'arg1',
2884
- type: 'long',
2885
- },
2886
- ],
2887
- },
2888
- {
2889
- name: 'max',
2890
- returnType: 'float',
2891
- params: [
2892
- {
2893
- name: 'arg0',
2894
- type: 'float',
2895
- },
2896
- {
2897
- name: 'arg1',
2898
- type: 'float',
2899
- },
2900
- ],
2901
- },
2902
- {
2903
- name: 'max',
2904
- returnType: 'double',
2905
- params: [
2906
- {
2907
- name: 'arg0',
2908
- type: 'double',
2909
- },
2910
- {
2911
- name: 'arg1',
2912
- type: 'double',
2913
- },
2914
- ],
2915
- },
2916
- {
2917
- name: 'max',
2918
- returnType: 'int',
2919
- params: [
2920
- {
2921
- name: 'arg0',
2922
- type: 'int',
2923
- },
2924
- {
2925
- name: 'arg1',
2926
- type: 'int',
2927
- },
2928
- ],
2929
- },
2930
- {
2931
- name: 'floor',
2932
- returnType: 'double',
2933
- params: [
2934
- {
2935
- name: 'arg0',
2936
- type: 'double',
2937
- },
2938
- ],
2939
- },
2940
- {
2941
- name: 'ceil',
2942
- returnType: 'double',
2943
- params: [
2944
- {
2945
- name: 'arg0',
2946
- type: 'double',
2947
- },
2948
- ],
2949
- },
2950
- {
2951
- name: 'rint',
2952
- returnType: 'double',
2953
- params: [
2954
- {
2955
- name: 'arg0',
2956
- type: 'double',
2957
- },
2958
- ],
2959
- },
2960
- {
2961
- name: 'addExact',
2962
- returnType: 'int',
2963
- params: [
2964
- {
2965
- name: 'arg0',
2966
- type: 'int',
2967
- },
2968
- {
2969
- name: 'arg1',
2970
- type: 'int',
2971
- },
2972
- ],
2973
- },
2974
- {
2975
- name: 'addExact',
2976
- returnType: 'long',
2977
- params: [
2978
- {
2979
- name: 'arg0',
2980
- type: 'long',
2981
- },
2982
- {
2983
- name: 'arg1',
2984
- type: 'long',
2985
- },
2986
- ],
2987
- },
2988
- {
2989
- name: 'decrementExact',
2990
- returnType: 'int',
2991
- params: [
2992
- {
2993
- name: 'arg0',
2994
- type: 'int',
2995
- },
2996
- ],
2997
- },
2998
- {
2999
- name: 'decrementExact',
3000
- returnType: 'long',
3001
- params: [
3002
- {
3003
- name: 'arg0',
3004
- type: 'long',
3005
- },
3006
- ],
3007
- },
3008
- {
3009
- name: 'incrementExact',
3010
- returnType: 'long',
3011
- params: [
3012
- {
3013
- name: 'arg0',
3014
- type: 'long',
3015
- },
3016
- ],
3017
- },
3018
- {
3019
- name: 'incrementExact',
3020
- returnType: 'int',
3021
- params: [
3022
- {
3023
- name: 'arg0',
3024
- type: 'int',
3025
- },
3026
- ],
3027
- },
3028
- {
3029
- name: 'multiplyExact',
3030
- returnType: 'int',
3031
- params: [
3032
- {
3033
- name: 'arg0',
3034
- type: 'int',
3035
- },
3036
- {
3037
- name: 'arg1',
3038
- type: 'int',
3039
- },
3040
- ],
3041
- },
3042
- {
3043
- name: 'multiplyExact',
3044
- returnType: 'long',
3045
- params: [
3046
- {
3047
- name: 'arg0',
3048
- type: 'long',
3049
- },
3050
- {
3051
- name: 'arg1',
3052
- type: 'int',
3053
- },
3054
- ],
3055
- },
3056
- {
3057
- name: 'multiplyExact',
3058
- returnType: 'long',
3059
- params: [
3060
- {
3061
- name: 'arg0',
3062
- type: 'long',
3063
- },
3064
- {
3065
- name: 'arg1',
3066
- type: 'long',
3067
- },
3068
- ],
3069
- },
3070
- {
3071
- name: 'multiplyHigh',
3072
- returnType: 'long',
3073
- params: [
3074
- {
3075
- name: 'arg0',
3076
- type: 'long',
3077
- },
3078
- {
3079
- name: 'arg1',
3080
- type: 'long',
3081
- },
3082
- ],
3083
- },
3084
- {
3085
- name: 'negateExact',
3086
- returnType: 'long',
3087
- params: [
3088
- {
3089
- name: 'arg0',
3090
- type: 'long',
3091
- },
3092
- ],
3093
- },
3094
- {
3095
- name: 'negateExact',
3096
- returnType: 'int',
3097
- params: [
3098
- {
3099
- name: 'arg0',
3100
- type: 'int',
3101
- },
3102
- ],
3103
- },
3104
- {
3105
- name: 'subtractExact',
3106
- returnType: 'long',
3107
- params: [
3108
- {
3109
- name: 'arg0',
3110
- type: 'long',
3111
- },
3112
- {
3113
- name: 'arg1',
3114
- type: 'long',
3115
- },
3116
- ],
3117
- },
3118
- {
3119
- name: 'subtractExact',
3120
- returnType: 'int',
3121
- params: [
3122
- {
3123
- name: 'arg0',
3124
- type: 'int',
3125
- },
3126
- {
3127
- name: 'arg1',
3128
- type: 'int',
3129
- },
3130
- ],
3131
- },
3132
- {
3133
- name: 'fma',
3134
- returnType: 'float',
3135
- params: [
3136
- {
3137
- name: 'arg0',
3138
- type: 'float',
3139
- },
3140
- {
3141
- name: 'arg1',
3142
- type: 'float',
3143
- },
3144
- {
3145
- name: 'arg2',
3146
- type: 'float',
3147
- },
3148
- ],
3149
- },
3150
- {
3151
- name: 'fma',
3152
- returnType: 'double',
3153
- params: [
3154
- {
3155
- name: 'arg0',
3156
- type: 'double',
3157
- },
3158
- {
3159
- name: 'arg1',
3160
- type: 'double',
3161
- },
3162
- {
3163
- name: 'arg2',
3164
- type: 'double',
3165
- },
3166
- ],
3167
- },
3168
- {
3169
- name: 'copySign',
3170
- returnType: 'float',
3171
- params: [
3172
- {
3173
- name: 'arg0',
3174
- type: 'float',
3175
- },
3176
- {
3177
- name: 'arg1',
3178
- type: 'float',
3179
- },
3180
- ],
3181
- },
3182
- {
3183
- name: 'copySign',
3184
- returnType: 'double',
3185
- params: [
3186
- {
3187
- name: 'arg0',
3188
- type: 'double',
3189
- },
3190
- {
3191
- name: 'arg1',
3192
- type: 'double',
3193
- },
3194
- ],
3195
- },
3196
- {
3197
- name: 'signum',
3198
- returnType: 'double',
3199
- params: [
3200
- {
3201
- name: 'arg0',
3202
- type: 'double',
3203
- },
3204
- ],
3205
- },
3206
- {
3207
- name: 'signum',
3208
- returnType: 'float',
3209
- params: [
3210
- {
3211
- name: 'arg0',
3212
- type: 'float',
3213
- },
3214
- ],
3215
- },
3216
- {
3217
- name: 'scalb',
3218
- returnType: 'double',
3219
- params: [
3220
- {
3221
- name: 'arg0',
3222
- type: 'double',
3223
- },
3224
- {
3225
- name: 'arg1',
3226
- type: 'int',
3227
- },
3228
- ],
3229
- },
3230
- {
3231
- name: 'scalb',
3232
- returnType: 'float',
3233
- params: [
3234
- {
3235
- name: 'arg0',
3236
- type: 'float',
3237
- },
3238
- {
3239
- name: 'arg1',
3240
- type: 'int',
3241
- },
3242
- ],
3243
- },
3244
- {
3245
- name: 'getExponent',
3246
- returnType: 'int',
3247
- params: [
3248
- {
3249
- name: 'arg0',
3250
- type: 'float',
3251
- },
3252
- ],
3253
- },
3254
- {
3255
- name: 'getExponent',
3256
- returnType: 'int',
3257
- params: [
3258
- {
3259
- name: 'arg0',
3260
- type: 'double',
3261
- },
3262
- ],
3263
- },
3264
- {
3265
- name: 'floorMod',
3266
- returnType: 'int',
3267
- params: [
3268
- {
3269
- name: 'arg0',
3270
- type: 'int',
3271
- },
3272
- {
3273
- name: 'arg1',
3274
- type: 'int',
3275
- },
3276
- ],
3277
- },
3278
- {
3279
- name: 'floorMod',
3280
- returnType: 'long',
3281
- params: [
3282
- {
3283
- name: 'arg0',
3284
- type: 'long',
3285
- },
3286
- {
3287
- name: 'arg1',
3288
- type: 'long',
3289
- },
3290
- ],
3291
- },
3292
- {
3293
- name: 'floorMod',
3294
- returnType: 'int',
3295
- params: [
3296
- {
3297
- name: 'arg0',
3298
- type: 'long',
3299
- },
3300
- {
3301
- name: 'arg1',
3302
- type: 'int',
3303
- },
3304
- ],
3305
- },
3306
- {
3307
- name: 'asin',
3308
- returnType: 'double',
3309
- params: [
3310
- {
3311
- name: 'arg0',
3312
- type: 'double',
3313
- },
3314
- ],
3315
- },
3316
- {
3317
- name: 'acos',
3318
- returnType: 'double',
3319
- params: [
3320
- {
3321
- name: 'arg0',
3322
- type: 'double',
3323
- },
3324
- ],
3325
- },
3326
- {
3327
- name: 'atan',
3328
- returnType: 'double',
3329
- params: [
3330
- {
3331
- name: 'arg0',
3332
- type: 'double',
3333
- },
3334
- ],
3335
- },
3336
- {
3337
- name: 'toRadians',
3338
- returnType: 'double',
3339
- params: [
3340
- {
3341
- name: 'arg0',
3342
- type: 'double',
3343
- },
3344
- ],
3345
- },
3346
- {
3347
- name: 'toDegrees',
3348
- returnType: 'double',
3349
- params: [
3350
- {
3351
- name: 'arg0',
3352
- type: 'double',
3353
- },
3354
- ],
3355
- },
3356
- {
3357
- name: 'cbrt',
3358
- returnType: 'double',
3359
- params: [
3360
- {
3361
- name: 'arg0',
3362
- type: 'double',
3363
- },
3364
- ],
3365
- },
3366
- {
3367
- name: 'IEEEremainder',
3368
- returnType: 'double',
3369
- params: [
3370
- {
3371
- name: 'arg0',
3372
- type: 'double',
3373
- },
3374
- {
3375
- name: 'arg1',
3376
- type: 'double',
3377
- },
3378
- ],
3379
- },
3380
- {
3381
- name: 'round',
3382
- returnType: 'int',
3383
- params: [
3384
- {
3385
- name: 'arg0',
3386
- type: 'float',
3387
- },
3388
- ],
3389
- },
3390
- {
3391
- name: 'round',
3392
- returnType: 'long',
3393
- params: [
3394
- {
3395
- name: 'arg0',
3396
- type: 'double',
3397
- },
3398
- ],
3399
- },
3400
- {
3401
- name: 'random',
3402
- returnType: 'double',
3403
- },
3404
- {
3405
- name: 'toIntExact',
3406
- returnType: 'int',
3407
- params: [
3408
- {
3409
- name: 'arg0',
3410
- type: 'long',
3411
- },
3412
- ],
3413
- },
3414
- {
3415
- name: 'multiplyFull',
3416
- returnType: 'long',
3417
- params: [
3418
- {
3419
- name: 'arg0',
3420
- type: 'int',
3421
- },
3422
- {
3423
- name: 'arg1',
3424
- type: 'int',
3425
- },
3426
- ],
3427
- },
3428
- {
3429
- name: 'floorDiv',
3430
- returnType: 'long',
3431
- params: [
3432
- {
3433
- name: 'arg0',
3434
- type: 'long',
3435
- },
3436
- {
3437
- name: 'arg1',
3438
- type: 'int',
3439
- },
3440
- ],
3441
- },
3442
- {
3443
- name: 'floorDiv',
3444
- returnType: 'long',
3445
- params: [
3446
- {
3447
- name: 'arg0',
3448
- type: 'long',
3449
- },
3450
- {
3451
- name: 'arg1',
3452
- type: 'long',
3453
- },
3454
- ],
3455
- },
3456
- {
3457
- name: 'floorDiv',
3458
- returnType: 'int',
3459
- params: [
3460
- {
3461
- name: 'arg0',
3462
- type: 'int',
3463
- },
3464
- {
3465
- name: 'arg1',
3466
- type: 'int',
3467
- },
3468
- ],
3469
- },
3470
- {
3471
- name: 'ulp',
3472
- returnType: 'float',
3473
- params: [
3474
- {
3475
- name: 'arg0',
3476
- type: 'float',
3477
- },
3478
- ],
3479
- },
3480
- {
3481
- name: 'ulp',
3482
- returnType: 'double',
3483
- params: [
3484
- {
3485
- name: 'arg0',
3486
- type: 'double',
3487
- },
3488
- ],
3489
- },
3490
- {
3491
- name: 'sinh',
3492
- returnType: 'double',
3493
- params: [
3494
- {
3495
- name: 'arg0',
3496
- type: 'double',
3497
- },
3498
- ],
3499
- },
3500
- {
3501
- name: 'cosh',
3502
- returnType: 'double',
3503
- params: [
3504
- {
3505
- name: 'arg0',
3506
- type: 'double',
3507
- },
3508
- ],
3509
- },
3510
- {
3511
- name: 'tanh',
3512
- returnType: 'double',
3513
- params: [
3514
- {
3515
- name: 'arg0',
3516
- type: 'double',
3517
- },
3518
- ],
3519
- },
3520
- {
3521
- name: 'hypot',
3522
- returnType: 'double',
3523
- params: [
3524
- {
3525
- name: 'arg0',
3526
- type: 'double',
3527
- },
3528
- {
3529
- name: 'arg1',
3530
- type: 'double',
3531
- },
3532
- ],
3533
- },
3534
- {
3535
- name: 'expm1',
3536
- returnType: 'double',
3537
- params: [
3538
- {
3539
- name: 'arg0',
3540
- type: 'double',
3541
- },
3542
- ],
3543
- },
3544
- {
3545
- name: 'log1p',
3546
- returnType: 'double',
3547
- params: [
3548
- {
3549
- name: 'arg0',
3550
- type: 'double',
3551
- },
3552
- ],
3553
- },
3554
- {
3555
- name: 'nextAfter',
3556
- returnType: 'double',
3557
- params: [
3558
- {
3559
- name: 'arg0',
3560
- type: 'double',
3561
- },
3562
- {
3563
- name: 'arg1',
3564
- type: 'double',
3565
- },
3566
- ],
3567
- },
3568
- {
3569
- name: 'nextAfter',
3570
- returnType: 'float',
3571
- params: [
3572
- {
3573
- name: 'arg0',
3574
- type: 'float',
3575
- },
3576
- {
3577
- name: 'arg1',
3578
- type: 'double',
3579
- },
3580
- ],
3581
- },
3582
- {
3583
- name: 'nextUp',
3584
- returnType: 'double',
3585
- params: [
3586
- {
3587
- name: 'arg0',
3588
- type: 'double',
3589
- },
3590
- ],
3591
- },
3592
- {
3593
- name: 'nextUp',
3594
- returnType: 'float',
3595
- params: [
3596
- {
3597
- name: 'arg0',
3598
- type: 'float',
3599
- },
3600
- ],
3601
- },
3602
- {
3603
- name: 'nextDown',
3604
- returnType: 'float',
3605
- params: [
3606
- {
3607
- name: 'arg0',
3608
- type: 'float',
3609
- },
3610
- ],
3611
- },
3612
- {
3613
- name: 'nextDown',
3614
- returnType: 'double',
3615
- params: [
3616
- {
3617
- name: 'arg0',
3618
- type: 'double',
3619
- },
3620
- ],
3621
- },
3622
- {
3623
- name: 'equals',
3624
- returnType: 'boolean',
3625
- params: [
3626
- {
3627
- name: 'arg0',
3628
- type: 'Object',
3629
- },
3630
- ],
3631
- },
3632
- {
3633
- name: 'hashCode',
3634
- returnType: 'int',
3635
- },
3636
- {
3637
- name: 'toString',
3638
- returnType: 'String',
3639
- },
3640
- ],
3641
- },
3642
- Object: {
3643
- methods: [
3644
- {
3645
- name: 'equals',
3646
- returnType: 'boolean',
3647
- params: [
3648
- {
3649
- name: 'arg0',
3650
- type: 'Object',
3651
- },
3652
- ],
3653
- },
3654
- {
3655
- name: 'hashCode',
3656
- returnType: 'int',
3657
- },
3658
- {
3659
- name: 'toString',
3660
- returnType: 'String',
3661
- },
3662
- ],
3663
- },
3664
- List: {
3665
- methods: [
3666
- {
3667
- name: 'get',
3668
- returnType: 'Object',
3669
- params: [
3670
- {
3671
- name: 'arg0',
3672
- type: 'int',
3673
- },
3674
- ],
3675
- },
3676
- {
3677
- name: 'contains',
3678
- returnType: 'boolean',
3679
- params: [
3680
- {
3681
- name: 'arg0',
3682
- type: 'Object',
3683
- },
3684
- ],
3685
- },
3686
- {
3687
- name: 'isEmpty',
3688
- returnType: 'boolean',
3689
- },
3690
- {
3691
- name: 'size',
3692
- returnType: 'int',
3693
- },
3694
- ],
3695
- },
3696
- Collection: {
3697
- methods: [
3698
- {
3699
- name: 'contains',
3700
- returnType: 'boolean',
3701
- params: [
3702
- {
3703
- name: 'arg0',
3704
- type: 'Object',
3705
- },
3706
- ],
3707
- },
3708
- {
3709
- name: 'isEmpty',
3710
- returnType: 'boolean',
3711
- },
3712
- {
3713
- name: 'size',
3714
- returnType: 'int',
3715
- },
3716
- ],
3717
- },
3718
- Set: {
3719
- methods: [
3720
- {
3721
- name: 'contains',
3722
- returnType: 'boolean',
3723
- params: [
3724
- {
3725
- name: 'arg0',
3726
- type: 'Object',
3727
- },
3728
- ],
3729
- },
3730
- {
3731
- name: 'isEmpty',
3732
- returnType: 'boolean',
3733
- },
3734
- {
3735
- name: 'size',
3736
- returnType: 'int',
3737
- },
3738
- ],
3739
- },
3740
- String: {
3741
- methods: [
3742
- {
3743
- name: 'equals',
3744
- returnType: 'boolean',
3745
- params: [
3746
- {
3747
- name: 'arg0',
3748
- type: 'Object',
3749
- },
3750
- ],
3751
- },
3752
- {
3753
- name: 'length',
3754
- returnType: 'int',
3755
- },
3756
- {
3757
- name: 'toString',
3758
- returnType: 'String',
3759
- },
3760
- {
3761
- name: 'hashCode',
3762
- returnType: 'int',
3763
- },
3764
- {
3765
- name: 'getChars',
3766
- returnType: 'void',
3767
- params: [
3768
- {
3769
- name: 'arg0',
3770
- type: 'int',
3771
- },
3772
- {
3773
- name: 'arg1',
3774
- type: 'int',
3775
- },
3776
- {
3777
- name: 'arg2',
3778
- type: 'char[]',
3779
- },
3780
- {
3781
- name: 'arg3',
3782
- type: 'int',
3783
- },
3784
- ],
3785
- },
3786
- {
3787
- name: 'compareTo',
3788
- returnType: 'int',
3789
- params: [
3790
- {
3791
- name: 'arg0',
3792
- type: 'String',
3793
- },
3794
- ],
3795
- },
3796
- {
3797
- name: 'compareTo',
3798
- returnType: 'int',
3799
- params: [
3800
- {
3801
- name: 'arg0',
3802
- type: 'Object',
3803
- },
3804
- ],
3805
- },
3806
- {
3807
- name: 'indexOf',
3808
- returnType: 'int',
3809
- params: [
3810
- {
3811
- name: 'arg0',
3812
- type: 'String',
3813
- },
3814
- {
3815
- name: 'arg1',
3816
- type: 'int',
3817
- },
3818
- ],
3819
- },
3820
- {
3821
- name: 'indexOf',
3822
- returnType: 'int',
3823
- params: [
3824
- {
3825
- name: 'arg0',
3826
- type: 'int',
3827
- },
3828
- ],
3829
- },
3830
- {
3831
- name: 'indexOf',
3832
- returnType: 'int',
3833
- params: [
3834
- {
3835
- name: 'arg0',
3836
- type: 'int',
3837
- },
3838
- {
3839
- name: 'arg1',
3840
- type: 'int',
3841
- },
3842
- ],
3843
- },
3844
- {
3845
- name: 'indexOf',
3846
- returnType: 'int',
3847
- params: [
3848
- {
3849
- name: 'arg0',
3850
- type: 'String',
3851
- },
3852
- ],
3853
- },
3854
- {
3855
- name: 'valueOf',
3856
- returnType: 'String',
3857
- params: [
3858
- {
3859
- name: 'arg0',
3860
- type: 'long',
3861
- },
3862
- ],
3863
- },
3864
- {
3865
- name: 'valueOf',
3866
- returnType: 'String',
3867
- params: [
3868
- {
3869
- name: 'arg0',
3870
- type: 'int',
3871
- },
3872
- ],
3873
- },
3874
- {
3875
- name: 'valueOf',
3876
- returnType: 'String',
3877
- params: [
3878
- {
3879
- name: 'arg0',
3880
- type: 'char',
3881
- },
3882
- ],
3883
- },
3884
- {
3885
- name: 'valueOf',
3886
- returnType: 'String',
3887
- params: [
3888
- {
3889
- name: 'arg0',
3890
- type: 'double',
3891
- },
3892
- ],
3893
- },
3894
- {
3895
- name: 'valueOf',
3896
- returnType: 'String',
3897
- params: [
3898
- {
3899
- name: 'arg0',
3900
- type: 'float',
3901
- },
3902
- ],
3903
- },
3904
- {
3905
- name: 'valueOf',
3906
- returnType: 'String',
3907
- params: [
3908
- {
3909
- name: 'arg0',
3910
- type: 'Object',
3911
- },
3912
- ],
3913
- },
3914
- {
3915
- name: 'valueOf',
3916
- returnType: 'String',
3917
- params: [
3918
- {
3919
- name: 'arg0',
3920
- type: 'char[]',
3921
- },
3922
- ],
3923
- },
3924
- {
3925
- name: 'valueOf',
3926
- returnType: 'String',
3927
- params: [
3928
- {
3929
- name: 'arg0',
3930
- type: 'boolean',
3931
- },
3932
- ],
3933
- },
3934
- {
3935
- name: 'valueOf',
3936
- returnType: 'String',
3937
- params: [
3938
- {
3939
- name: 'arg0',
3940
- type: 'char[]',
3941
- },
3942
- {
3943
- name: 'arg1',
3944
- type: 'int',
3945
- },
3946
- {
3947
- name: 'arg2',
3948
- type: 'int',
3949
- },
3950
- ],
3951
- },
3952
- {
3953
- name: 'isEmpty',
3954
- returnType: 'boolean',
3955
- },
3956
- {
3957
- name: 'charAt',
3958
- returnType: 'char',
3959
- params: [
3960
- {
3961
- name: 'arg0',
3962
- type: 'int',
3963
- },
3964
- ],
3965
- },
3966
- {
3967
- name: 'codePointAt',
3968
- returnType: 'int',
3969
- params: [
3970
- {
3971
- name: 'arg0',
3972
- type: 'int',
3973
- },
3974
- ],
3975
- },
3976
- {
3977
- name: 'codePointBefore',
3978
- returnType: 'int',
3979
- params: [
3980
- {
3981
- name: 'arg0',
3982
- type: 'int',
3983
- },
3984
- ],
3985
- },
3986
- {
3987
- name: 'codePointCount',
3988
- returnType: 'int',
3989
- params: [
3990
- {
3991
- name: 'arg0',
3992
- type: 'int',
3993
- },
3994
- {
3995
- name: 'arg1',
3996
- type: 'int',
3997
- },
3998
- ],
3999
- },
4000
- {
4001
- name: 'offsetByCodePoints',
4002
- returnType: 'int',
4003
- params: [
4004
- {
4005
- name: 'arg0',
4006
- type: 'int',
4007
- },
4008
- {
4009
- name: 'arg1',
4010
- type: 'int',
4011
- },
4012
- ],
4013
- },
4014
- {
4015
- name: 'getBytes',
4016
- returnType: 'byte[]',
4017
- params: [
4018
- {
4019
- name: 'arg0',
4020
- type: 'Charset',
4021
- },
4022
- ],
4023
- },
4024
- {
4025
- name: 'getBytes',
4026
- returnType: 'void',
4027
- params: [
4028
- {
4029
- name: 'arg0',
4030
- type: 'int',
4031
- },
4032
- {
4033
- name: 'arg1',
4034
- type: 'int',
4035
- },
4036
- {
4037
- name: 'arg2',
4038
- type: 'byte[]',
4039
- },
4040
- {
4041
- name: 'arg3',
4042
- type: 'int',
4043
- },
4044
- ],
4045
- },
4046
- {
4047
- name: 'getBytes',
4048
- returnType: 'byte[]',
4049
- params: [
4050
- {
4051
- name: 'arg0',
4052
- type: 'String',
4053
- },
4054
- ],
4055
- },
4056
- {
4057
- name: 'getBytes',
4058
- returnType: 'byte[]',
4059
- },
4060
- {
4061
- name: 'contentEquals',
4062
- returnType: 'boolean',
4063
- params: [
4064
- {
4065
- name: 'arg0',
4066
- type: 'StringBuffer',
4067
- },
4068
- ],
4069
- },
4070
- {
4071
- name: 'contentEquals',
4072
- returnType: 'boolean',
4073
- params: [
4074
- {
4075
- name: 'arg0',
4076
- type: 'CharSequence',
4077
- },
4078
- ],
4079
- },
4080
- {
4081
- name: 'equalsIgnoreCase',
4082
- returnType: 'boolean',
4083
- params: [
4084
- {
4085
- name: 'arg0',
4086
- type: 'String',
4087
- },
4088
- ],
4089
- },
4090
- {
4091
- name: 'regionMatches',
4092
- returnType: 'boolean',
4093
- params: [
4094
- {
4095
- name: 'arg0',
4096
- type: 'boolean',
4097
- },
4098
- {
4099
- name: 'arg1',
4100
- type: 'int',
4101
- },
4102
- {
4103
- name: 'arg2',
4104
- type: 'String',
4105
- },
4106
- {
4107
- name: 'arg3',
4108
- type: 'int',
4109
- },
4110
- {
4111
- name: 'arg4',
4112
- type: 'int',
4113
- },
4114
- ],
4115
- },
4116
- {
4117
- name: 'regionMatches',
4118
- returnType: 'boolean',
4119
- params: [
4120
- {
4121
- name: 'arg0',
4122
- type: 'int',
4123
- },
4124
- {
4125
- name: 'arg1',
4126
- type: 'String',
4127
- },
4128
- {
4129
- name: 'arg2',
4130
- type: 'int',
4131
- },
4132
- {
4133
- name: 'arg3',
4134
- type: 'int',
4135
- },
4136
- ],
4137
- },
4138
- {
4139
- name: 'compareToIgnoreCase',
4140
- returnType: 'int',
4141
- params: [
4142
- {
4143
- name: 'arg0',
4144
- type: 'String',
4145
- },
4146
- ],
4147
- },
4148
- {
4149
- name: 'startsWith',
4150
- returnType: 'boolean',
4151
- params: [
4152
- {
4153
- name: 'arg0',
4154
- type: 'String',
4155
- },
4156
- {
4157
- name: 'arg1',
4158
- type: 'int',
4159
- },
4160
- ],
4161
- },
4162
- {
4163
- name: 'startsWith',
4164
- returnType: 'boolean',
4165
- params: [
4166
- {
4167
- name: 'arg0',
4168
- type: 'String',
4169
- },
4170
- ],
4171
- },
4172
- {
4173
- name: 'endsWith',
4174
- returnType: 'boolean',
4175
- params: [
4176
- {
4177
- name: 'arg0',
4178
- type: 'String',
4179
- },
4180
- ],
4181
- },
4182
- {
4183
- name: 'lastIndexOf',
4184
- returnType: 'int',
4185
- params: [
4186
- {
4187
- name: 'arg0',
4188
- type: 'String',
4189
- },
4190
- {
4191
- name: 'arg1',
4192
- type: 'int',
4193
- },
4194
- ],
4195
- },
4196
- {
4197
- name: 'lastIndexOf',
4198
- returnType: 'int',
4199
- params: [
4200
- {
4201
- name: 'arg0',
4202
- type: 'String',
4203
- },
4204
- ],
4205
- },
4206
- {
4207
- name: 'lastIndexOf',
4208
- returnType: 'int',
4209
- params: [
4210
- {
4211
- name: 'arg0',
4212
- type: 'int',
4213
- },
4214
- {
4215
- name: 'arg1',
4216
- type: 'int',
4217
- },
4218
- ],
4219
- },
4220
- {
4221
- name: 'lastIndexOf',
4222
- returnType: 'int',
4223
- params: [
4224
- {
4225
- name: 'arg0',
4226
- type: 'int',
4227
- },
4228
- ],
4229
- },
4230
- {
4231
- name: 'substring',
4232
- returnType: 'String',
4233
- params: [
4234
- {
4235
- name: 'arg0',
4236
- type: 'int',
4237
- },
4238
- ],
4239
- },
4240
- {
4241
- name: 'substring',
4242
- returnType: 'String',
4243
- params: [
4244
- {
4245
- name: 'arg0',
4246
- type: 'int',
4247
- },
4248
- {
4249
- name: 'arg1',
4250
- type: 'int',
4251
- },
4252
- ],
4253
- },
4254
- {
4255
- name: 'subSequence',
4256
- returnType: 'CharSequence',
4257
- params: [
4258
- {
4259
- name: 'arg0',
4260
- type: 'int',
4261
- },
4262
- {
4263
- name: 'arg1',
4264
- type: 'int',
4265
- },
4266
- ],
4267
- },
4268
- {
4269
- name: 'concat',
4270
- returnType: 'String',
4271
- params: [
4272
- {
4273
- name: 'arg0',
4274
- type: 'String',
4275
- },
4276
- ],
4277
- },
4278
- {
4279
- name: 'replace',
4280
- returnType: 'String',
4281
- params: [
4282
- {
4283
- name: 'arg0',
4284
- type: 'CharSequence',
4285
- },
4286
- {
4287
- name: 'arg1',
4288
- type: 'CharSequence',
4289
- },
4290
- ],
4291
- },
4292
- {
4293
- name: 'replace',
4294
- returnType: 'String',
4295
- params: [
4296
- {
4297
- name: 'arg0',
4298
- type: 'char',
4299
- },
4300
- {
4301
- name: 'arg1',
4302
- type: 'char',
4303
- },
4304
- ],
4305
- },
4306
- {
4307
- name: 'matches',
4308
- returnType: 'boolean',
4309
- params: [
4310
- {
4311
- name: 'arg0',
4312
- type: 'String',
4313
- },
4314
- ],
4315
- },
4316
- {
4317
- name: 'contains',
4318
- returnType: 'boolean',
4319
- params: [
4320
- {
4321
- name: 'arg0',
4322
- type: 'CharSequence',
4323
- },
4324
- ],
4325
- },
4326
- {
4327
- name: 'replaceFirst',
4328
- returnType: 'String',
4329
- params: [
4330
- {
4331
- name: 'arg0',
4332
- type: 'String',
4333
- },
4334
- {
4335
- name: 'arg1',
4336
- type: 'String',
4337
- },
4338
- ],
4339
- },
4340
- {
4341
- name: 'replaceAll',
4342
- returnType: 'String',
4343
- params: [
4344
- {
4345
- name: 'arg0',
4346
- type: 'String',
4347
- },
4348
- {
4349
- name: 'arg1',
4350
- type: 'String',
4351
- },
4352
- ],
4353
- },
4354
- {
4355
- name: 'split',
4356
- returnType: 'String[]',
4357
- params: [
4358
- {
4359
- name: 'arg0',
4360
- type: 'String',
4361
- },
4362
- ],
4363
- },
4364
- {
4365
- name: 'split',
4366
- returnType: 'String[]',
4367
- params: [
4368
- {
4369
- name: 'arg0',
4370
- type: 'String',
4371
- },
4372
- {
4373
- name: 'arg1',
4374
- type: 'int',
4375
- },
4376
- ],
4377
- },
4378
- {
4379
- name: 'join',
4380
- returnType: 'String',
4381
- params: [
4382
- {
4383
- name: 'arg0',
4384
- type: 'CharSequence',
4385
- },
4386
- {
4387
- name: 'arg1',
4388
- type: 'CharSequence[]',
4389
- },
4390
- ],
4391
- },
4392
- {
4393
- name: 'join',
4394
- returnType: 'String',
4395
- params: [
4396
- {
4397
- name: 'arg0',
4398
- type: 'CharSequence',
4399
- },
4400
- {
4401
- name: 'arg1',
4402
- type: 'Iterable',
4403
- },
4404
- ],
4405
- },
4406
- {
4407
- name: 'toLowerCase',
4408
- returnType: 'String',
4409
- params: [
4410
- {
4411
- name: 'arg0',
4412
- type: 'Locale',
4413
- },
4414
- ],
4415
- },
4416
- {
4417
- name: 'toLowerCase',
4418
- returnType: 'String',
4419
- },
4420
- {
4421
- name: 'toUpperCase',
4422
- returnType: 'String',
4423
- params: [
4424
- {
4425
- name: 'arg0',
4426
- type: 'Locale',
4427
- },
4428
- ],
4429
- },
4430
- {
4431
- name: 'toUpperCase',
4432
- returnType: 'String',
4433
- },
4434
- {
4435
- name: 'trim',
4436
- returnType: 'String',
4437
- },
4438
- {
4439
- name: 'strip',
4440
- returnType: 'String',
4441
- },
4442
- {
4443
- name: 'stripLeading',
4444
- returnType: 'String',
4445
- },
4446
- {
4447
- name: 'stripTrailing',
4448
- returnType: 'String',
4449
- },
4450
- {
4451
- name: 'isBlank',
4452
- returnType: 'boolean',
4453
- },
4454
- {
4455
- name: 'lines',
4456
- returnType: 'Stream',
4457
- },
4458
- {
4459
- name: 'chars',
4460
- returnType: 'IntStream',
4461
- },
4462
- {
4463
- name: 'codePoints',
4464
- returnType: 'IntStream',
4465
- },
4466
- {
4467
- name: 'toCharArray',
4468
- returnType: 'char[]',
4469
- },
4470
- {
4471
- name: 'format',
4472
- returnType: 'String',
4473
- params: [
4474
- {
4475
- name: 'arg0',
4476
- type: 'String',
4477
- },
4478
- {
4479
- name: 'arg1',
4480
- type: 'Object[]',
4481
- },
4482
- ],
4483
- },
4484
- {
4485
- name: 'format',
4486
- returnType: 'String',
4487
- params: [
4488
- {
4489
- name: 'arg0',
4490
- type: 'Locale',
4491
- },
4492
- {
4493
- name: 'arg1',
4494
- type: 'String',
4495
- },
4496
- {
4497
- name: 'arg2',
4498
- type: 'Object[]',
4499
- },
4500
- ],
4501
- },
4502
- {
4503
- name: 'copyValueOf',
4504
- returnType: 'String',
4505
- params: [
4506
- {
4507
- name: 'arg0',
4508
- type: 'char[]',
4509
- },
4510
- {
4511
- name: 'arg1',
4512
- type: 'int',
4513
- },
4514
- {
4515
- name: 'arg2',
4516
- type: 'int',
4517
- },
4518
- ],
4519
- },
4520
- {
4521
- name: 'copyValueOf',
4522
- returnType: 'String',
4523
- params: [
4524
- {
4525
- name: 'arg0',
4526
- type: 'char[]',
4527
- },
4528
- ],
4529
- },
4530
- {
4531
- name: 'intern',
4532
- returnType: 'String',
4533
- },
4534
- {
4535
- name: 'repeat',
4536
- returnType: 'String',
4537
- params: [
4538
- {
4539
- name: 'arg0',
4540
- type: 'int',
4541
- },
4542
- ],
4543
- },
4544
- {
4545
- name: 'equals',
4546
- returnType: 'boolean',
4547
- params: [
4548
- {
4549
- name: 'arg0',
4550
- type: 'Object',
4551
- },
4552
- ],
4553
- },
4554
- {
4555
- name: 'hashCode',
4556
- returnType: 'int',
4557
- },
4558
- {
4559
- name: 'toString',
4560
- returnType: 'String',
4561
- },
4562
- ],
4563
- },
4564
- 'String[]': {
4565
- methods: [
4566
- {
4567
- name: 'equals',
4568
- returnType: 'boolean',
4569
- params: [
4570
- {
4571
- name: 'arg0',
4572
- type: 'Object',
4573
- },
4574
- ],
4575
- },
4576
- {
4577
- name: 'hashCode',
4578
- returnType: 'int',
4579
- },
4580
- {
4581
- name: 'toString',
4582
- returnType: 'String',
4583
- },
4584
- ],
4585
- },
4586
- },
4587
- };
4588
-
4589
120
  /*
4590
121
  * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
4591
122
  *
@@ -4601,34 +132,13 @@ const base = {
4601
132
  * See the License for the specific language governing permissions and
4602
133
  * limitations under the License.
4603
134
  */
4604
-
4605
- /*
4606
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
4607
- *
4608
- * Licensed under the Apache License, Version 2.0 (the "License");
4609
- * you may not use this file except in compliance with the License.
4610
- * You may obtain a copy of the License at
4611
- *
4612
- * http://www.apache.org/licenses/LICENSE-2.0
4613
- *
4614
- * Unless required by applicable law or agreed to in writing, software
4615
- * distributed under the License is distributed on an "AS IS" BASIS,
4616
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4617
- * See the License for the specific language governing permissions and
4618
- * limitations under the License.
4619
- */
4620
- class SpelService extends SpelServiceAbstract {
4621
- getGrammar() {
4622
- return of(fakeGrammar());
4623
- }
135
+ class GioPolicyStudioComponent {
4624
136
  }
4625
- SpelService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SpelService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4626
- SpelServiceprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SpelService, providedIn: 'root' });
4627
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SpelService, decorators: [{
4628
- type: Injectable,
4629
- args: [{
4630
- providedIn: 'root',
4631
- }]
137
+ GioPolicyStudioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
138
+ GioPolicyStudioComponentcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GioPolicyStudioComponent, selector: "gio-policy-studio", ngImport: i0, template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"header\">\n <div class=\"header__apiName\">\n <span class=\"mat-h4\">My API name</span><span class=\"gio-badge-neutral\"><mat-icon class=\"gio-left\" svgIcon=\"gio:lock\"></mat-icon></span>\n </div>\n\n <div class=\"header__btn\">\n <button mat-stroked-button color=\"primary\">Save</button>\n </div>\n</div>\n\n<div class=\"wrapper\">\n <div class=\"wrapper__flowsMenu\">\n <gio-ps-flows-menu></gio-ps-flows-menu>\n </div>\n\n <div class=\"wrapper__flowDetails\">\n <gio-ps-flow-details></gio-ps-flow-details>\n </div>\n</div>\n", styles: [":host{display:block;padding:8px;background-color:#fff}.header{display:flex;align-items:center;padding-bottom:16px}.header__apiName{flex:1 1 auto}.wrapper{display:flex;height:100%;flex-direction:row;gap:16px}.wrapper__flowsMenu{flex:0 1 400px;padding:16px;border:1px solid #d3d5dc;border-radius:8px}.wrapper__flowDetails{flex:1 1 auto;padding:16px;border:1px solid #d3d5dc;border-radius:8px}\n"], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: GioPolicyStudioFlowsMenuComponent, selector: "gio-ps-flows-menu" }, { type: GioPolicyStudioDetailsMenuComponent, selector: "gio-ps-flow-details" }] });
139
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioComponent, decorators: [{
140
+ type: Component,
141
+ args: [{ selector: 'gio-policy-studio', template: "<!--\n\n Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n\n<div class=\"header\">\n <div class=\"header__apiName\">\n <span class=\"mat-h4\">My API name</span><span class=\"gio-badge-neutral\"><mat-icon class=\"gio-left\" svgIcon=\"gio:lock\"></mat-icon></span>\n </div>\n\n <div class=\"header__btn\">\n <button mat-stroked-button color=\"primary\">Save</button>\n </div>\n</div>\n\n<div class=\"wrapper\">\n <div class=\"wrapper__flowsMenu\">\n <gio-ps-flows-menu></gio-ps-flows-menu>\n </div>\n\n <div class=\"wrapper__flowDetails\">\n <gio-ps-flow-details></gio-ps-flow-details>\n </div>\n</div>\n", styles: [":host{display:block;padding:8px;background-color:#fff}.header{display:flex;align-items:center;padding-bottom:16px}.header__apiName{flex:1 1 auto}.wrapper{display:flex;height:100%;flex-direction:row;gap:16px}.wrapper__flowsMenu{flex:0 1 400px;padding:16px;border:1px solid #d3d5dc;border-radius:8px}.wrapper__flowDetails{flex:1 1 auto;padding:16px;border:1px solid #d3d5dc;border-radius:8px}\n"] }]
4632
142
  }] });
4633
143
 
4634
144
  /*
@@ -4647,40 +157,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
4647
157
  * limitations under the License.
4648
158
  */
4649
159
  class GioPolicyStudioModule {
4650
- static forSpecs() {
4651
- return {
4652
- ngModule: GioPolicyStudioModule,
4653
- providers: [
4654
- {
4655
- provide: 'FlowService',
4656
- useClass: FlowService,
4657
- },
4658
- {
4659
- provide: 'PolicyService',
4660
- useClass: PolicyService,
4661
- },
4662
- {
4663
- provide: 'ResourceService',
4664
- useClass: ResourceService,
4665
- },
4666
- {
4667
- provide: 'SpelService',
4668
- useClass: SpelService,
4669
- },
4670
- ],
4671
- };
4672
- }
4673
160
  }
4674
161
  GioPolicyStudioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4675
- GioPolicyStudioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioModule, declarations: [GioPolicyStudioComponent], exports: [GioPolicyStudioComponent] });
4676
- GioPolicyStudioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioModule, imports: [[]] });
162
+ GioPolicyStudioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioModule, declarations: [GioPolicyStudioComponent, GioPolicyStudioFlowsMenuComponent, GioPolicyStudioDetailsMenuComponent], imports: [MatButtonModule, GioIconsModule], exports: [GioPolicyStudioComponent] });
163
+ GioPolicyStudioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioModule, imports: [[MatButtonModule, GioIconsModule]] });
4677
164
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GioPolicyStudioModule, decorators: [{
4678
165
  type: NgModule,
4679
166
  args: [{
4680
- declarations: [GioPolicyStudioComponent],
4681
- imports: [],
167
+ declarations: [GioPolicyStudioComponent, GioPolicyStudioFlowsMenuComponent, GioPolicyStudioDetailsMenuComponent],
168
+ imports: [MatButtonModule, GioIconsModule],
4682
169
  exports: [GioPolicyStudioComponent],
4683
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
4684
170
  }]
4685
171
  }] });
4686
172
 
@@ -4704,5 +190,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
4704
190
  * Generated bundle index. Do not edit.
4705
191
  */
4706
192
 
4707
- export { FlowServiceAbstract, GioPolicyStudioComponent, GioPolicyStudioModule, PolicyServiceAbstract, ResourceServiceAbstract, SpelServiceAbstract };
193
+ export { GioPolicyStudioComponent, GioPolicyStudioModule };
4708
194
  //# sourceMappingURL=gravitee-ui-policy-studio-angular.mjs.map