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