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