@itentialopensource/adapter-alkira 0.1.3 → 0.1.4

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/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ## 0.1.4 [04-12-2023]
3
+
4
+ * Patch/fixed get config and get count in adapterBase.json
5
+
6
+ See merge request itentialopensource/adapters/cloud/adapter-alkira!3
7
+
8
+ ---
9
+
2
10
  ## 0.1.3 [04-06-2023]
3
11
 
4
12
  * bug fix for getConfig and iapGetDeviceCount in adapterBase.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-alkira",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "This adapter integrates with system described as: alkiraApi.",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.15",
Binary file
@@ -102,87 +102,91 @@
102
102
  "devicebroker": {
103
103
  "getDevice": [
104
104
  {
105
- "path": "/get/devices/{id}",
105
+ "path": "/tenantnetworks/{tenantNetworkId}/connectors",
106
106
  "method": "GET",
107
107
  "query": {},
108
108
  "body": {},
109
109
  "headers": {},
110
110
  "handleFailure": "ignore",
111
111
  "requestFields": {
112
- "id": "name"
112
+ "tenantNetworkId": "port"
113
113
  },
114
- "responseDatakey": "",
115
114
  "responseFields": {
116
- "name": "host",
117
- "ostype": "os",
118
- "ostypePrefix": "system-",
119
- "ipaddress": "attributes.ipaddr",
120
- "port": "443"
115
+ "name": "name",
116
+ "ostype": "type",
117
+ "ostypePrefix": "connector-",
118
+ "port": "tenantNetworkId",
119
+ "ip": "id",
120
+ "ipaddress": "id"
121
121
  }
122
122
  }
123
123
  ],
124
124
  "getDevicesFiltered": [
125
125
  {
126
- "path": "/get/devices",
126
+ "path": "/tenantnetworks/{tenantNetworkId}/connectors",
127
127
  "method": "GET",
128
128
  "query": {},
129
129
  "body": {},
130
130
  "headers": {},
131
131
  "handleFailure": "ignore",
132
- "requestFields": {},
133
- "responseDatakey": "",
132
+ "requestFields": {
133
+ "tenantNetworkId": "170"
134
+ },
134
135
  "responseFields": {
135
- "name": "host",
136
- "ostype": "os",
137
- "ostypePrefix": "system-",
138
- "ipaddress": "attributes.ipaddr",
139
- "port": "443"
136
+ "name": "name",
137
+ "ostype": "type",
138
+ "ostypePrefix": "connector-",
139
+ "port": "tenantNetworkId",
140
+ "ip": "id",
141
+ "ipaddress": "id",
142
+ "connectorId": "id"
140
143
  }
141
144
  }
142
145
  ],
143
146
  "isAlive": [
144
147
  {
145
- "path": "/get/devices/{id}/status",
148
+ "path": "/tenantnetworks/{tenantNetworkId}/health/connector/{connectorId}",
146
149
  "method": "GET",
147
150
  "query": {},
148
151
  "body": {},
149
152
  "headers": {},
150
- "handleFailure": "ignore",
151
153
  "requestFields": {
152
- "id": "name"
154
+ "tenantNetworkId": "port",
155
+ "connectorId": "connectorId"
153
156
  },
154
- "responseDatakey": "",
157
+ "handleFailure": "ignore",
155
158
  "responseFields": {
156
- "status": "status",
157
- "statusValue": "online"
159
+ "status": "connectivityStatus",
160
+ "statusValue": "100"
158
161
  }
159
162
  }
160
163
  ],
161
164
  "getConfig": [
162
165
  {
163
- "path": "/get/devices/{id}/configPart1",
166
+ "path": "/tenantnetworks/{tenantNetworkId}/connectors/{connectorId}",
164
167
  "method": "GET",
165
168
  "query": {},
166
169
  "body": {},
167
170
  "headers": {},
168
- "handleFailure": "ignore",
169
171
  "requestFields": {
170
- "id": "name"
172
+ "tenantNetworkId": "port",
173
+ "connectorId": "connectorId"
171
174
  },
172
- "responseDatakey": "",
175
+ "handleFailure": "ignore",
173
176
  "responseFields": {}
174
177
  }
175
178
  ],
176
179
  "getCount": [
177
180
  {
178
- "path": "/get/devices",
181
+ "path": "/tenantnetworks/{tenantNetworkId}/connectors",
179
182
  "method": "GET",
180
183
  "query": {},
181
184
  "body": {},
182
185
  "headers": {},
186
+ "requestFields": {
187
+ "tenantNetworkId": "170"
188
+ },
183
189
  "handleFailure": "ignore",
184
- "requestFields": {},
185
- "responseDatakey": "",
186
190
  "responseFields": {}
187
191
  }
188
192
  ]