Skip to content

Commit c1cd67a

Browse files
authored
RSDK-7230: add machine_id to cloud metadata (#277)
1 parent 626e11d commit c1cd67a

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

buf.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ deps:
99
- remote: buf.build
1010
owner: googleapis
1111
repository: googleapis
12-
commit: 7a6bc1e3207144b38e9066861e1de0ff
13-
digest: shake256:d646836485c34192401253703c4e7ce899c826fceec060bf4b2a62c4749bd9976dc960833e134a1f814725e1ffd60b1bb3cf0335a7e99ef0e8cec34b070ffb66
12+
commit: 4ed3bc159a8b4ac68fe253218760d035
13+
digest: shake256:7149cf5e9955c692d381e557830555d4e93f205a0f1b8e2dfdae46d029369aa3fc1980e35df0d310f7cc3b622f93e19ad276769a283a967dd3065ddfd3a40e13
1414
- remote: buf.build
1515
owner: viamrobotics
1616
repository: api
17-
commit: f1167844b03449c996f6df622e3acb0f
18-
digest: shake256:79a474cd634e6fb68f5e7b20bae6fa8f58fd23877f7bcb93232321e27a7f57e76fa62ad708d61bbd592ed2009d2c764408f38bbad9fa0bccb74c63d7fd93151a
17+
commit: 16d95cebecbb47dbba2df34d040bca50
18+
digest: shake256:6a3d4750df0de604c44f44d3bbb73ad78819bdff0ec8353e365eaa8bd6f8b955b304119accbbd66d095122233a1066e3e737e13663b3a7c1d34fb6df71381a96
1919
- remote: buf.build
2020
owner: viamrobotics
2121
repository: goutils

src/services/motion/client.test.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,12 @@ describe('moveOnGlobe', () => {
4343
type: 'component',
4444
subtype: 'base',
4545
name: 'myBase',
46-
machinePartId: '',
4746
};
4847
const expectedMovementSensorName = {
4948
namespace: 'viam',
5049
type: 'component',
5150
subtype: 'movementsensor',
5251
name: 'myMovementsensor',
53-
machinePartId: '',
5452
};
5553
const expectedMotionConfiguration = undefined;
5654
const expectedExtra = {};
@@ -91,14 +89,12 @@ describe('moveOnGlobe', () => {
9189
type: 'component',
9290
subtype: 'base',
9391
name: 'myBase',
94-
machinePartId: '',
9592
},
9693
{
9794
namespace: 'viam',
9895
type: 'component',
9996
subtype: 'movementsensor',
10097
name: 'myMovementsensor',
101-
machinePartId: '',
10298
}
10399
)
104100
).resolves.toStrictEqual(testExecutionId);
@@ -137,14 +133,12 @@ describe('moveOnGlobe', () => {
137133
type: 'component',
138134
subtype: 'base',
139135
name: 'myBase',
140-
machinePartId: '',
141136
};
142137
const expectedMovementSensorName = {
143138
namespace: 'viam',
144139
type: 'component',
145140
subtype: 'movementsensor',
146141
name: 'myMovementsensor',
147-
machinePartId: '',
148142
};
149143
const expectedMotionConfiguration = {
150144
obstacleDetectorsList: [
@@ -154,14 +148,12 @@ describe('moveOnGlobe', () => {
154148
type: 'service',
155149
subtype: 'vision',
156150
name: 'myVisionService',
157-
machinePartId: '',
158151
},
159152
camera: {
160153
namespace: 'viam',
161154
type: 'component',
162155
subtype: 'camera',
163156
name: 'myCamera',
164-
machinePartId: '',
165157
},
166158
},
167159
],
@@ -227,7 +219,6 @@ describe('stopPlan', () => {
227219
type: 'component',
228220
subtype: 'base',
229221
name: 'myBase',
230-
machinePartId: '',
231222
};
232223
const expectedExtra = {};
233224
const mock = vi
@@ -253,7 +244,6 @@ describe('stopPlan', () => {
253244
type: 'component',
254245
subtype: 'base',
255246
name: 'myBase',
256-
machinePartId: '',
257247
};
258248
const expectedExtra = { some: 'extra' };
259249
const mock = vi
@@ -320,7 +310,6 @@ describe('getPlan', () => {
320310
type: 'component',
321311
subtype: 'base',
322312
name: 'myBase',
323-
machinePartId: '',
324313
};
325314
const expectedLastPlanOnly = false;
326315
const expectedExecutionID = '';
@@ -351,7 +340,6 @@ describe('getPlan', () => {
351340
type: 'component',
352341
subtype: 'base',
353342
name: 'myBase',
354-
machinePartId: '',
355343
};
356344
const expectedLastPlanOnly = true;
357345
const expectedExecutionID = 'some specific executionID';

0 commit comments

Comments
 (0)