@itentialopensource/adapter-gcp_compute 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CALLS.md CHANGED
@@ -19,7 +19,7 @@ These are adapter methods that IAP or you might use. There are some other method
19
19
  </tr>
20
20
  <tr>
21
21
  <td style="padding:15px">healthCheck(callback)</td>
22
- <td style="padding:15px">This call ensures that the adapter can communicate with GcpCompute. The actual call that is used is defined in the adapter properties and .system entities action.json file.</td>
22
+ <td style="padding:15px">This call ensures that the adapter can communicate with Adapter for Google Cloud Platform Compute. The actual call that is used is defined in the adapter properties and .system entities action.json file.</td>
23
23
  <td style="padding:15px">No</td>
24
24
  </tr>
25
25
  <tr>
@@ -29,7 +29,7 @@ These are adapter methods that IAP or you might use. There are some other method
29
29
  </tr>
30
30
  <tr>
31
31
  <td style="padding:15px">encryptProperty(property, technique, callback)</td>
32
- <td style="padding:15px">This call will take the provided property and technique, and return the property encrypted with the technique. This allows the property to be used in the adapterProps section for the credential password so that the password does not have to be in clear text. The adapter will decrypt the property as needed for communications with GcpCompute.</td>
32
+ <td style="padding:15px">This call will take the provided property and technique, and return the property encrypted with the technique. This allows the property to be used in the adapterProps section for the credential password so that the password does not have to be in clear text. The adapter will decrypt the property as needed for communications with Adapter for Google Cloud Platform Compute.</td>
33
33
  <td style="padding:15px">No</td>
34
34
  </tr>
35
35
  <tr>
@@ -37,11 +37,6 @@ These are adapter methods that IAP or you might use. There are some other method
37
37
  <td style="padding:15px">This call provides the ability to update the adapter configuration from IAP - includes actions, schema, mockdata and other configurations.</td>
38
38
  <td style="padding:15px">Yes</td>
39
39
  </tr>
40
- <tr>
41
- <td style="padding:15px">iapFindAdapterPath(apiPath, callback)</td>
42
- <td style="padding:15px">This call provides the ability to see if a particular API path is supported by the adapter.</td>
43
- <td style="padding:15px">Yes</td>
44
- </tr>
45
40
  <tr>
46
41
  <td style="padding:15px">iapSuspendAdapter(mode, callback)</td>
47
42
  <td style="padding:15px">This call provides the ability to suspend the adapter and either have requests rejected or put into a queue to be processed after the adapter is resumed.</td>
@@ -57,12 +52,16 @@ These are adapter methods that IAP or you might use. There are some other method
57
52
  <td style="padding:15px">This call will return the requests that are waiting in the queue if throttling is enabled.</td>
58
53
  <td style="padding:15px">Yes</td>
59
54
  </tr>
55
+ <tr>
56
+ <td style="padding:15px">iapFindAdapterPath(apiPath, callback)</td>
57
+ <td style="padding:15px">This call provides the ability to see if a particular API path is supported by the adapter.</td>
58
+ <td style="padding:15px">Yes</td>
59
+ </tr>
60
60
  <tr>
61
61
  <td style="padding:15px">iapTroubleshootAdapter(props, persistFlag, adapter, callback)</td>
62
62
  <td style="padding:15px">This call can be used to check on the performance of the adapter - it checks connectivity, healthcheck and basic get calls.</td>
63
63
  <td style="padding:15px">Yes</td>
64
64
  </tr>
65
-
66
65
  <tr>
67
66
  <td style="padding:15px">iapRunAdapterHealthcheck(adapter, callback)</td>
68
67
  <td style="padding:15px">This call will return the results of a healthcheck.</td>
@@ -83,6 +82,21 @@ These are adapter methods that IAP or you might use. There are some other method
83
82
  <td style="padding:15px">This call will push the adapter configuration from the entities directory into the Adapter or IAP Database.</td>
84
83
  <td style="padding:15px">Yes</td>
85
84
  </tr>
85
+ <tr>
86
+ <td style="padding:15px">iapDeactivateTasks(tasks, callback)</td>
87
+ <td style="padding:15px">This call provides the ability to remove tasks from the adapter.</td>
88
+ <td style="padding:15px">Yes</td>
89
+ </tr>
90
+ <tr>
91
+ <td style="padding:15px">iapActivateTasks(tasks, callback)</td>
92
+ <td style="padding:15px">This call provides the ability to add deactivated tasks back into the adapter.</td>
93
+ <td style="padding:15px">Yes</td>
94
+ </tr>
95
+ <tr>
96
+ <td style="padding:15px">iapExpandedGenericAdapterRequest(metadata, uriPath, restMethod, pathVars, queryData, requestBody, addlHeaders, callback)</td>
97
+ <td style="padding:15px">This is an expanded Generic Call. The metadata object allows us to provide many new capabilities within the generic request.</td>
98
+ <td style="padding:15px">Yes</td>
99
+ </tr>
86
100
  <tr>
87
101
  <td style="padding:15px">genericAdapterRequest(uriPath, restMethod, queryData, requestBody, addlHeaders, callback)</td>
88
102
  <td style="padding:15px">This call allows you to provide the path to have the adapter call. It is an easy way to incorporate paths that have not been built into the adapter yet.</td>
@@ -94,19 +108,42 @@ These are adapter methods that IAP or you might use. There are some other method
94
108
  <td style="padding:15px">Yes</td>
95
109
  </tr>
96
110
  <tr>
97
- <td style="padding:15px">iapHasAdapterEntity(entityType, entityId, callback)</td>
98
- <td style="padding:15px">This call verifies the adapter has the specific entity.</td>
99
- <td style="padding:15px">No</td>
111
+ <td style="padding:15px">iapRunAdapterLint(callback)</td>
112
+ <td style="padding:15px">Runs lint on the addapter and provides the information back.</td>
113
+ <td style="padding:15px">Yes</td>
100
114
  </tr>
101
115
  <tr>
102
- <td style="padding:15px">iapVerifyAdapterCapability(entityType, actionType, entityId, callback)</td>
103
- <td style="padding:15px">This call verifies the adapter can perform the provided action on the specific entity.</td>
104
- <td style="padding:15px">No</td>
116
+ <td style="padding:15px">iapRunAdapterTests(callback)</td>
117
+ <td style="padding:15px">Runs baseunit and unit tests on the adapter and provides the information back.</td>
118
+ <td style="padding:15px">Yes</td>
105
119
  </tr>
106
120
  <tr>
107
- <td style="padding:15px">iapUpdateAdapterEntityCache()</td>
108
- <td style="padding:15px">This call will update the entity cache.</td>
109
- <td style="padding:15px">No</td>
121
+ <td style="padding:15px">iapGetAdapterInventory(callback)</td>
122
+ <td style="padding:15px">This call provides some inventory related information about the adapter.</td>
123
+ <td style="padding:15px">Yes</td>
124
+ </tr>
125
+ </table>
126
+ <br>
127
+
128
+ ### Adapter Cache Calls
129
+
130
+ These are adapter methods that are used for adapter caching. If configured, the adapter will cache based on the interval provided. However, you can force a population of the cache manually as well.
131
+
132
+ <table border="1" class="bordered-table">
133
+ <tr>
134
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Method Signature</span></th>
135
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
136
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
137
+ </tr>
138
+ <tr>
139
+ <td style="padding:15px">iapPopulateEntityCache(entityTypes, callback)</td>
140
+ <td style="padding:15px">This call populates the adapter cache.</td>
141
+ <td style="padding:15px">Yes</td>
142
+ </tr>
143
+ <tr>
144
+ <td style="padding:15px">iapRetrieveEntitiesCache(entityType, options, callback)</td>
145
+ <td style="padding:15px">This call retrieves the specific items from the adapter cache.</td>
146
+ <td style="padding:15px">Yes</td>
110
147
  </tr>
111
148
  </table>
112
149
  <br>
@@ -129,27 +166,27 @@ These are adapter methods that are used to integrate to IAP Brokers. This adapte
129
166
  <tr>
130
167
  <td style="padding:15px">getDevice(deviceName, callback)</td>
131
168
  <td style="padding:15px">This call returns the details of the requested device.</td>
132
- <td style="padding:15px">Yes</td>
169
+ <td style="padding:15px">No</td>
133
170
  </tr>
134
171
  <tr>
135
172
  <td style="padding:15px">getDevicesFiltered(options, callback)</td>
136
173
  <td style="padding:15px">This call returns the list of devices that match the criteria provided in the options filter.</td>
137
- <td style="padding:15px">Yes</td>
174
+ <td style="padding:15px">No</td>
138
175
  </tr>
139
176
  <tr>
140
177
  <td style="padding:15px">isAlive(deviceName, callback)</td>
141
178
  <td style="padding:15px">This call returns whether the device status is active</td>
142
- <td style="padding:15px">Yes</td>
179
+ <td style="padding:15px">No</td>
143
180
  </tr>
144
181
  <tr>
145
182
  <td style="padding:15px">getConfig(deviceName, format, callback)</td>
146
183
  <td style="padding:15px">This call returns the configuration for the selected device.</td>
147
- <td style="padding:15px">Yes</td>
184
+ <td style="padding:15px">No</td>
148
185
  </tr>
149
186
  <tr>
150
187
  <td style="padding:15px">iapGetDeviceCount(callback)</td>
151
188
  <td style="padding:15px">This call returns the count of devices.</td>
152
- <td style="padding:15px">Yes</td>
189
+ <td style="padding:15px">No</td>
153
190
  </tr>
154
191
  </table>
155
192
  <br>
package/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ## 1.5.1 [09-11-2023]
3
+
4
+ * more migration & metadata changes
5
+
6
+ See merge request itentialopensource/adapters/cloud/adapter-gcp_compute!11
7
+
8
+ ---
9
+
2
10
  ## 1.5.0 [08-16-2023]
3
11
 
4
12
  * 2023 Adapter Migration
package/README.md CHANGED
@@ -14,6 +14,7 @@ Some of the page links in this document and links to other GitLab files do not w
14
14
  - [Testing](#testing)
15
15
  - [Configuration](./PROPERTIES.md)
16
16
  - [Using this Adapter](./CALLS.md)
17
+ - [Authentication](./AUTH.md)
17
18
  - [Additional Information](#additional-information)
18
19
  - [Enhancements](./ENHANCE.md)
19
20
  - [Contributing](./CONTRIBUTING.md)
@@ -47,17 +48,20 @@ These instructions will help you get a copy of the project on your local machine
47
48
 
48
49
  ### Helpful Background Information
49
50
 
50
- There is adapter documentation available on the Itential Developer Site <a href="https://docs.itential.com/opensource/docs/adapters" target="_blank">HERE</a>. This documentation includes information and examples that are helpful for:
51
+ There is <a href="https://docs.itential.com/opensource/docs/adapters" target="_blank">Adapter documentation available on the Itential Documentation Site</a>. This documentation includes information and examples that are helpful for:
51
52
 
52
53
  ```text
53
54
  Authentication
54
- Properties
55
+ IAP Service Instance Configuration
55
56
  Code Files
56
- Action Files
57
- Schema Files
58
- Mock Data Files
57
+ Endpoint Configuration (Action & Schema)
58
+ Mock Data
59
+ Adapter Generic Methods
60
+ Headers
61
+ Security
59
62
  Linting and Testing
60
- Troubleshooting
63
+ Build an Adapter
64
+ Troubleshooting an Adapter
61
65
  ```
62
66
 
63
67
  Others will be added over time.
package/adapterBase.js CHANGED
@@ -1027,6 +1027,24 @@ class AdapterBase extends EventEmitterCl {
1027
1027
  return this.requestHandlerInst.hasEntities(entityType, entityList, callback);
1028
1028
  }
1029
1029
 
1030
+ /**
1031
+ * @summary Determines if this adapter supports any in a list of entities
1032
+ *
1033
+ * @function hasEntitiesAuth
1034
+ * @param {String} entityType - the entity type to check for
1035
+ * @param {Array} entityList - the list of entities we are looking for
1036
+ * @param {Object} callOptions - Additional options used to make request, including auth headers, AWS service, or datatypes
1037
+ *
1038
+ * @param {Callback} callback - A map where the entity is the key and the
1039
+ * value is true or false
1040
+ */
1041
+ hasEntitiesAuth(entityType, entityList, callOptions, callback) {
1042
+ const origin = `${this.id}-adapterBase-hasEntitiesAuth`;
1043
+ log.trace(origin);
1044
+
1045
+ return this.requestHandlerInst.hasEntitiesAuth(entityType, entityList, callOptions, callback);
1046
+ }
1047
+
1030
1048
  /**
1031
1049
  * @summary Get Appliance that match the deviceName
1032
1050
  *
@@ -1043,6 +1061,23 @@ class AdapterBase extends EventEmitterCl {
1043
1061
  return this.requestHandlerInst.getDevice(deviceName, callback);
1044
1062
  }
1045
1063
 
1064
+ /**
1065
+ * @summary Get Appliance that match the deviceName
1066
+ *
1067
+ * @function getDeviceAuth
1068
+ * @param {String} deviceName - the deviceName to find (required)
1069
+ * @param {Object} callOptions - Additional options used to make request, including auth headers, AWS service, or datatypes
1070
+ *
1071
+ * @param {getCallback} callback - a callback function to return the result
1072
+ * (appliance) or the error
1073
+ */
1074
+ getDeviceAuth(deviceName, callOptions, callback) {
1075
+ const origin = `${this.id}-adapterBase-getDeviceAuth`;
1076
+ log.trace(origin);
1077
+
1078
+ return this.requestHandlerInst.getDeviceAuth(deviceName, callOptions, callback);
1079
+ }
1080
+
1046
1081
  /**
1047
1082
  * @summary Get Appliances that match the filter
1048
1083
  *
@@ -1059,6 +1094,23 @@ class AdapterBase extends EventEmitterCl {
1059
1094
  return this.requestHandlerInst.getDevicesFiltered(options, callback);
1060
1095
  }
1061
1096
 
1097
+ /**
1098
+ * @summary Get Appliances that match the filter
1099
+ *
1100
+ * @function getDevicesFilteredAuth
1101
+ * @param {Object} options - the data to use to filter the appliances (optional)
1102
+ * @param {Object} callOptions - Additional options used to make request, including auth headers, AWS service, or datatypes
1103
+ *
1104
+ * @param {getCallback} callback - a callback function to return the result
1105
+ * (appliances) or the error
1106
+ */
1107
+ getDevicesFilteredAuth(options, callOptions, callback) {
1108
+ const origin = `${this.id}-adapterBase-getDevicesFilteredAuth`;
1109
+ log.trace(origin);
1110
+
1111
+ return this.requestHandlerInst.getDevicesFilteredAuth(options, callOptions, callback);
1112
+ }
1113
+
1062
1114
  /**
1063
1115
  * @summary Gets the status for the provided appliance
1064
1116
  *
@@ -1075,6 +1127,23 @@ class AdapterBase extends EventEmitterCl {
1075
1127
  return this.requestHandlerInst.isAlive(deviceName, callback);
1076
1128
  }
1077
1129
 
1130
+ /**
1131
+ * @summary Gets the status for the provided appliance
1132
+ *
1133
+ * @function isAliveAuth
1134
+ * @param {String} deviceName - the deviceName of the appliance. (required)
1135
+ * @param {Object} callOptions - Additional options used to make request, including auth headers, AWS service, or datatypes
1136
+ *
1137
+ * @param {configCallback} callback - callback function to return the result
1138
+ * (appliance isAliveAuth) or the error
1139
+ */
1140
+ isAliveAuth(deviceName, callOptions, callback) {
1141
+ const origin = `${this.id}-adapterBase-isAliveAuth`;
1142
+ log.trace(origin);
1143
+
1144
+ return this.requestHandlerInst.isAliveAuth(deviceName, callOptions, callback);
1145
+ }
1146
+
1078
1147
  /**
1079
1148
  * @summary Gets a config for the provided Appliance
1080
1149
  *
@@ -1092,6 +1161,24 @@ class AdapterBase extends EventEmitterCl {
1092
1161
  return this.requestHandlerInst.getConfig(deviceName, format, callback);
1093
1162
  }
1094
1163
 
1164
+ /**
1165
+ * @summary Gets a config for the provided Appliance
1166
+ *
1167
+ * @function getConfigAuth
1168
+ * @param {String} deviceName - the deviceName of the appliance. (required)
1169
+ * @param {String} format - the desired format of the config. (optional)
1170
+ * @param {Object} callOptions - Additional options used to make request, including auth headers, AWS service, or datatypes
1171
+ *
1172
+ * @param {configCallback} callback - callback function to return the result
1173
+ * (appliance config) or the error
1174
+ */
1175
+ getConfigAuth(deviceName, format, callOptions, callback) {
1176
+ const origin = `${this.id}-adapterBase-getConfigAuth`;
1177
+ log.trace(origin);
1178
+
1179
+ return this.requestHandlerInst.getConfigAuth(deviceName, format, callOptions, callback);
1180
+ }
1181
+
1095
1182
  /**
1096
1183
  * @summary Gets the device count from the system
1097
1184
  *
@@ -1107,6 +1194,22 @@ class AdapterBase extends EventEmitterCl {
1107
1194
  return this.requestHandlerInst.iapGetDeviceCount(callback);
1108
1195
  }
1109
1196
 
1197
+ /**
1198
+ * @summary Gets the device count from the system
1199
+ *
1200
+ * @function iapGetDeviceCountAuth
1201
+ * @param {Object} callOptions - Additional options used to make request, including auth headers, AWS service, or datatypes
1202
+ *
1203
+ * @param {getCallback} callback - callback function to return the result
1204
+ * (count) or the error
1205
+ */
1206
+ iapGetDeviceCountAuth(callOptions, callback) {
1207
+ const origin = `${this.id}-adapterBase-iapGetDeviceCountAuth`;
1208
+ log.trace(origin);
1209
+
1210
+ return this.requestHandlerInst.iapGetDeviceCountAuth(callOptions, callback);
1211
+ }
1212
+
1110
1213
  /* ********************************************** */
1111
1214
  /* */
1112
1215
  /* EXPOSES GENERIC HANDLER */
package/metadata.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "adapter-gcp_compute",
3
+ "webName": "Adapter for Integration to Google Cloud Platform Compute",
3
4
  "vendor": "Google",
4
5
  "product": "Cloud Platform Compute",
5
6
  "osVersion": [],
@@ -12,9 +13,8 @@
12
13
  "2022.1.x",
13
14
  "2023.1.x"
14
15
  ],
15
- "method": "REST API",
16
+ "method": "REST",
16
17
  "type": "Adapter",
17
- "example": "",
18
18
  "domains": [
19
19
  "Cloud",
20
20
  "Inventory"
@@ -22,6 +22,9 @@
22
22
  "tags": [
23
23
  "Virtual Compute"
24
24
  ],
25
+ "useCases": [
26
+ "Create Virtual Server"
27
+ ],
25
28
  "deprecated": {
26
29
  "isDeprecated": false
27
30
  },
@@ -31,6 +34,10 @@
31
34
  "npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-gcp_compute",
32
35
  "repoLink": "https://gitlab.com/itentialopensource/adapters/cloud/adapter-gcp_compute",
33
36
  "docLink": "https://docs.itential.com/opensource/docs/google-cloud-compute",
37
+ "demoLinks": [
38
+ "https://www.itential.com/automations/sd-wan-branch-management",
39
+ "https://www.itential.com/solutions/sdwan-automation-orchestration/"
40
+ ],
34
41
  "faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
35
42
  "contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
36
43
  "issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
@@ -42,11 +49,14 @@
42
49
  "https://cloud.google.com/vision/docs/reference/rest/?apix=true"
43
50
  ]
44
51
  },
52
+ "assets": [],
45
53
  "relatedItems": {
46
54
  "adapters": [
47
55
  {
48
56
  "name": "adapter-google_drive",
57
+ "webName": "Adapter for Integration to Google Drive",
49
58
  "overview": "This adapter is used to integrate the Itential Automation Platform (IAP) with the Google Drive System.",
59
+ "isDependency": false,
50
60
  "versions": [],
51
61
  "repoLink": "https://gitlab.com/itentialopensource/adapters/persistence/adapter-google_drive",
52
62
  "docLink": "https://docs.itential.com/opensource/docs/google-drive",
@@ -55,8 +65,8 @@
55
65
  ],
56
66
  "integrations": [],
57
67
  "ecosystemApplications": [],
58
- "automations": [],
59
- "transformations": [],
60
- "useCases": []
68
+ "workflowProjects": [],
69
+ "transformationProjects": [],
70
+ "exampleProjects": []
61
71
  }
62
72
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-gcp_compute",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "This adapter integrates with system described as: computeEngineApi.",
5
5
  "main": "adapter.js",
6
6
  "systemName": "Google Cloud Platform Compute",
7
7
  "wizardVersion": "2.44.7",
8
- "engineVersion": "1.67.5",
8
+ "engineVersion": "1.67.8",
9
9
  "adapterType": "http",
10
10
  "scripts": {
11
11
  "artifactize": "npm i && node utils/packModificationScript.js",
@@ -56,12 +56,12 @@
56
56
  "author": "Itential",
57
57
  "homepage": "https://gitlab.com/itentialopensource/adapters/cloud/adapter-gcp_compute#readme",
58
58
  "dependencies": {
59
- "@itentialopensource/adapter-utils": "^5.1.0",
59
+ "@itentialopensource/adapter-utils": "^5.1.7",
60
+ "acorn": "^8.10.0",
60
61
  "ajv": "^8.12.0",
61
62
  "axios": "^1.4.0",
62
63
  "commander": "^11.0.0",
63
64
  "dns-lookup-promise": "^1.0.4",
64
- "esprima": "^4.0.1",
65
65
  "fs-extra": "^11.1.1",
66
66
  "gtoken": "^5.2.1",
67
67
  "json-query": "^2.2.2",
@@ -1109,6 +1109,38 @@
1109
1109
  "description": "The method of the call to getDevicesFiltered",
1110
1110
  "default": "GET"
1111
1111
  },
1112
+ "pagination": {
1113
+ "type": "object",
1114
+ "description": "todo",
1115
+ "properties": {
1116
+ "offsetVar": {
1117
+ "type": "string",
1118
+ "description": "Name of variable that defines how to go to next set of results"
1119
+ },
1120
+ "limitVar": {
1121
+ "type": "string",
1122
+ "description": "Name of variable that defines the max results returned in a request"
1123
+ },
1124
+ "incrementBy": {
1125
+ "type": "string",
1126
+ "enum": [
1127
+ "limit",
1128
+ "page"
1129
+ ],
1130
+ "description": "How to incremenet offset. Default limit",
1131
+ "default": "limit"
1132
+ },
1133
+ "requestLocation": {
1134
+ "type": "string",
1135
+ "enum": [
1136
+ "query",
1137
+ "body"
1138
+ ],
1139
+ "description": "Where in request the pagination data goes",
1140
+ "default": "query"
1141
+ }
1142
+ }
1143
+ },
1112
1144
  "query": {
1113
1145
  "type": "object",
1114
1146
  "description": "The json object with query parameters of the call to getDevicesFiltered",
@@ -1533,6 +1565,38 @@
1533
1565
  "description": "The method of the call to getDevice",
1534
1566
  "default": "GET"
1535
1567
  },
1568
+ "pagination": {
1569
+ "type": "object",
1570
+ "description": "todo",
1571
+ "properties": {
1572
+ "offsetVar": {
1573
+ "type": "string",
1574
+ "description": "Name of variable that defines how to go to next set of results"
1575
+ },
1576
+ "limitVar": {
1577
+ "type": "string",
1578
+ "description": "Name of variable that defines the max results returned in a request"
1579
+ },
1580
+ "incrementBy": {
1581
+ "type": "string",
1582
+ "enum": [
1583
+ "limit",
1584
+ "page"
1585
+ ],
1586
+ "description": "How to incremenet offset. Default limit",
1587
+ "default": "limit"
1588
+ },
1589
+ "requestLocation": {
1590
+ "type": "string",
1591
+ "enum": [
1592
+ "query",
1593
+ "body"
1594
+ ],
1595
+ "description": "Where in request the pagination data goes",
1596
+ "default": "query"
1597
+ }
1598
+ }
1599
+ },
1536
1600
  "query": {
1537
1601
  "type": "object",
1538
1602
  "description": "The json object with query parameters of the call to getDevice",
Binary file