@balena/open-balena-api 31.2.11-build-fix-double-task-on-move-574e94de83973b421771c0bf7b36c344e0d95d82-2 → 31.2.11
Sign up to get free protection for your applications and to get access to all the features.
package/dist/balena-model.d.ts
CHANGED
@@ -596,13 +596,13 @@ export interface Service {
|
|
596
596
|
device__installs__application__has__service_name?: Array<ServiceInstall['Read']>;
|
597
597
|
device__installs__service?: Array<ServiceInstall['Read']>;
|
598
598
|
service_install?: Array<ServiceInstall['Read']>;
|
599
|
+
device__installs__application__has__service_name__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
600
|
+
device__installs__service__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
601
|
+
device__installs__service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
602
|
+
service_install__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
603
|
+
device_service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
599
604
|
is_installed_on__device?: Array<ServiceInstall['Read']>;
|
600
605
|
is_built_by__image?: Array<Image['Read']>;
|
601
|
-
is_of__device__installs__application__has__service_name__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
602
|
-
is_of__device__installs__service__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
603
|
-
is_of__device__installs__service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
604
|
-
is_of__service_install__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
605
|
-
is_of__device_service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
606
606
|
};
|
607
607
|
Write: {
|
608
608
|
created_at: Types['Date Time']['Write'];
|
@@ -759,14 +759,14 @@ export interface Device {
|
|
759
759
|
device__installs__application__has__service_name?: Array<ServiceInstall['Read']>;
|
760
760
|
device__installs__service?: Array<ServiceInstall['Read']>;
|
761
761
|
service_install?: Array<ServiceInstall['Read']>;
|
762
|
+
device__installs__application__has__service_name__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
763
|
+
device__installs__service__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
764
|
+
device__installs__service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
765
|
+
service_install__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
766
|
+
device_service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
762
767
|
installs__image?: Array<ImageInstall['Read']>;
|
763
768
|
installs__application__has__service_name?: Array<ServiceInstall['Read']>;
|
764
769
|
installs__service?: Array<ServiceInstall['Read']>;
|
765
|
-
is_of__device__installs__application__has__service_name__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
766
|
-
is_of__device__installs__service__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
767
|
-
is_of__device__installs__service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
768
|
-
is_of__service_install__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
769
|
-
is_of__device_service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
770
770
|
};
|
771
771
|
Write: {
|
772
772
|
created_at: Types['Date Time']['Write'];
|
package/dist/balena.sbvr
CHANGED
@@ -395,6 +395,8 @@ Term: device
|
|
395
395
|
Term Form: service install
|
396
396
|
Database Table Name: service install
|
397
397
|
|
398
|
+
-- Target form for this table is:
|
399
|
+
-- Fact type: device has service has env var name
|
398
400
|
Fact type: service install has name (Auth)
|
399
401
|
Term Form: device service environment variable
|
400
402
|
Database Table Name: device service environment variable
|
@@ -813,8 +815,14 @@ Fact type: image environment variable has value
|
|
813
815
|
Fact type: device service environment variable has value
|
814
816
|
Necessity: each device service environment variable has exactly one value.
|
815
817
|
Fact type: device service environment variable has service
|
818
|
+
-- This is the default name that will be given to the synonymous form
|
819
|
+
-- once the device service environment variable origin fact type changes
|
820
|
+
Synonymous form: service has device service environment variable
|
816
821
|
Necessity: each device service environment variable has exactly one service.
|
817
822
|
Fact type: device service environment variable has device
|
823
|
+
-- This is the default name that will be given to the synonymous form
|
824
|
+
-- once the device service environment variable origin fact type changes
|
825
|
+
Synonymous form: device has device service environment variable
|
818
826
|
Necessity: each device service environment variable has exactly one device.
|
819
827
|
|
820
828
|
|
@@ -214,25 +214,15 @@ hooks.addPureHook('PATCH', 'resin', 'device', {
|
|
214
214
|
const affectedIds = await sbvrUtils.getAffectedIds(args);
|
215
215
|
if (affectedIds.length !== 0) {
|
216
216
|
await deleteServiceInstallsForCurrentApp(args.api, newAppId, affectedIds);
|
217
|
+
await createAppServiceInstalls(args.api, newAppId, affectedIds, args.tx);
|
217
218
|
}
|
218
219
|
},
|
220
|
+
});
|
221
|
+
hooks.addPureHook('PATCH', 'resin', 'device', {
|
219
222
|
POSTRUN: async ({ api, request, tx }) => {
|
220
223
|
const affectedIds = request.affectedIds;
|
221
|
-
if (
|
222
|
-
|
223
|
-
}
|
224
|
-
const newAppId = request.values.belongs_to__application;
|
225
|
-
if (newAppId != null) {
|
226
|
-
// We could also have an optimization for the case that `values.is_pinned_on__release != null`
|
227
|
-
// to make the part that finds the target release faster, but chose to keep this simpler since:
|
228
|
-
// a) We expect that in the majority of device move requests users will not be also be pinning
|
229
|
-
// the device at the same time.
|
230
|
-
// b) Only the sync approach would benefit from it, since creating the service installs via tasks
|
231
|
-
// (which is going to be the default), only accepts the deviceIds as a parameter,
|
232
|
-
await createAppServiceInstalls(api, newAppId, affectedIds, tx);
|
233
|
-
return;
|
234
|
-
}
|
235
|
-
if (request.values.is_pinned_on__release !== undefined) {
|
224
|
+
if (request.values.is_pinned_on__release !== undefined &&
|
225
|
+
affectedIds.length !== 0) {
|
236
226
|
// If the device was preloaded, and then pinned, service_installs do not exist
|
237
227
|
// for this device+release combination. We need to create these
|
238
228
|
if (request.values.is_pinned_on__release != null) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service-installs.js","sourceRoot":"","sources":["../../../../src/features/ci-cd/hooks/service-installs.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC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O,IAAI,IAAI,EAAE,CAAC;YACrB,MAAM,4BAA4B,CACjC,GAAG,EACH,CAAC,QAAQ,CAAC,EACV;gBACC,EAAE,EAAE,OAAO;aACX,EACD,EAAE,CACF,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC,CAAC;AAEH,KAAK,CAAC,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;IAC7C,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;QACtB,uFAAuF;QACvF,oFAAoF;QACpF,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,uBAAuB,CAAC;QAC7D,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;YACtB,OAAO;QACR,CAAC;QACD,MAAM,WAAW,GAAG,MAAM,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC9B,MAAM,kCAAkC,CAAC,IAAI,CAAC,GAAG,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"service-installs.js","sourceRoot":"","sources":["../../../../src/features/ci-cd/hooks/service-installs.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI/D,OAAO,EACN,wBAAwB,EACxB,6CAA6C,EAC7C,0CAA0C,EAC1C,mBAAmB,GACnB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,0BAA0B,GAAG,KAAK,EACvC,GAA+B,EAC/B,iBAAuD,EACvD,EAAM,EACU,EAAE;IAClB,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC;QACjD,CAAC,CAAC,iBAAiB;QACnB,CAAC,CAAC,CACA,MAAM,GAAG,CAAC,GAAG,CAAC;YACb,QAAQ,EAAE,QAAQ;YA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;KACD,CAAC,CAAC;IAEH,KAAK,CAAC,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;QAC7C,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE;YACvC,MAAM,WAAW,GAAG,OAAO,CAAC,WAAY,CAAC;YACzC,MAAM,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YAC5C,oGAAoG;YACpG,IAAI,SAAS,IAAI,IAAI,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACnD,MAAM,4BAA4B,CACjC,GAAG,EACH,WAAW,EACX;oBACC,EAAE,EAAE,SAAS;iBACb,EACD,EAAE,CACF,CAAC;YACH,CAAC;QACF,CAAC;KACD,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,KAAK,MAAM,SAAS,IAAI;IACvB,+BAA+B;IAC/B,gCAAgC;CACvB,EAAE,CAAC;IACZ,+BAA+B,CAAC,SAAS,CAAC,CAAC;AAC5C,CAAC"}
|
@@ -186,14 +186,14 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
186
186
|
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
187
187
|
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
188
188
|
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
189
|
+
device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
190
|
+
device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
191
|
+
device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
192
|
+
service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
193
|
+
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
189
194
|
installs__image?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
190
195
|
installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
191
196
|
installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
192
|
-
is_of__device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
193
|
-
is_of__device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
194
|
-
is_of__device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
195
|
-
is_of__service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
196
|
-
is_of__device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
197
197
|
}, "id" | "status" | "created_at" | "modified_at" | "api_heartbeat_state" | "changed_api_heartbeat_state_on__date" | "uuid" | "local_id" | "device_name" | "note" | "is_online" | "last_connectivity_event" | "is_connected_to_vpn" | "last_vpn_event" | "is_locked_until__date" | "public_address" | "ip_address" | "mac_address" | "memory_usage" | "memory_total" | "storage_block_device" | "storage_usage" | "storage_total" | "cpu_usage" | "cpu_temp" | "is_undervolted" | "cpu_id" | "download_progress" | "os_version" | "os_variant" | "supervisor_version" | "provisioning_progress" | "provisioning_state" | "api_port" | "api_secret" | "update_status" | "last_update_status_event" | "is_web_accessible" | "is_frozen" | "overall_status" | "overall_progress"> & {
|
198
198
|
readonly device_config_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
199
199
|
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
@@ -335,13 +335,13 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
335
335
|
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
336
336
|
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
337
337
|
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
338
|
+
device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
339
|
+
device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
340
|
+
device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
341
|
+
service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
342
|
+
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
338
343
|
is_installed_on__device?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
339
344
|
is_built_by__image?: Array<import("../../../balena-model.js").Image["Read"]>;
|
340
|
-
is_of__device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
341
|
-
is_of__device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
342
|
-
is_of__device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
343
|
-
is_of__service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
344
|
-
is_of__device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
345
345
|
}, "id" | "service_name"> & {
|
346
346
|
readonly service_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
347
347
|
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
@@ -683,13 +683,13 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
683
683
|
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
684
684
|
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
685
685
|
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
686
|
+
device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
687
|
+
device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
688
|
+
device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
689
|
+
service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
690
|
+
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
686
691
|
is_installed_on__device?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
687
692
|
is_built_by__image?: Array<import("../../../balena-model.js").Image["Read"]>;
|
688
|
-
is_of__device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
689
|
-
is_of__device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
690
|
-
is_of__device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
691
|
-
is_of__service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
692
|
-
is_of__device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
693
693
|
}, "id" | "service_name"> & {
|
694
694
|
readonly service_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
695
695
|
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
@@ -917,13 +917,13 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
917
917
|
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
918
918
|
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
919
919
|
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
920
|
+
device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
921
|
+
device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
922
|
+
device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
923
|
+
service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
924
|
+
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
920
925
|
is_installed_on__device?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
921
926
|
is_built_by__image?: Array<import("../../../balena-model.js").Image["Read"]>;
|
922
|
-
is_of__device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
923
|
-
is_of__device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
924
|
-
is_of__device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
925
|
-
is_of__service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
926
|
-
is_of__device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
927
927
|
}, "id" | "service_name"> & {
|
928
928
|
readonly service_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
929
929
|
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@balena/open-balena-api",
|
3
3
|
"description": "Internet of things, Made Simple",
|
4
|
-
"version": "31.2.11
|
4
|
+
"version": "31.2.11",
|
5
5
|
"license": "AGPL-3.0",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
@@ -166,6 +166,6 @@
|
|
166
166
|
"loader": "ts-node/esm/transpile-only"
|
167
167
|
},
|
168
168
|
"versionist": {
|
169
|
-
"publishedAt": "2024-11-22T17:
|
169
|
+
"publishedAt": "2024-11-22T17:41:10.808Z"
|
170
170
|
}
|
171
171
|
}
|