diff --git a/application/src/test/java/org/thingsboard/server/service/integration/template/IntegrationPackageExportServiceTest.java b/application/src/test/java/org/thingsboard/server/service/integration/template/IntegrationPackageExportServiceTest.java index 664733f426..6b6b61a381 100644 --- a/application/src/test/java/org/thingsboard/server/service/integration/template/IntegrationPackageExportServiceTest.java +++ b/application/src/test/java/org/thingsboard/server/service/integration/template/IntegrationPackageExportServiceTest.java @@ -816,6 +816,11 @@ class IntegrationPackageExportServiceTest { assertThat(entry.get("secretSupport")).isEqualTo(true); assertThat(entry.get("defaultValue")).isEqualTo(""); } + + assertThat(result.formEntries()).filteredOn(e -> "tuyaAccessId".equals(e.get("key"))) + .extracting(e -> e.get("label")).containsExactly("Access ID"); + assertThat(result.formEntries()).filteredOn(e -> "tuyaAccessKey".equals(e.get("key"))) + .extracting(e -> e.get("label")).containsExactly("Access Secret"); } @Test diff --git a/common/integration/tuya-integrations/src/main/java/org/thingsboard/integration/tuya/TuyaIntegrationConfiguration.java b/common/integration/tuya-integrations/src/main/java/org/thingsboard/integration/tuya/TuyaIntegrationConfiguration.java index f7c6184128..710e8605f2 100644 --- a/common/integration/tuya-integrations/src/main/java/org/thingsboard/integration/tuya/TuyaIntegrationConfiguration.java +++ b/common/integration/tuya-integrations/src/main/java/org/thingsboard/integration/tuya/TuyaIntegrationConfiguration.java @@ -19,7 +19,7 @@ public class TuyaIntegrationConfiguration { secret = true, group = "Tuya Connection", required = true) private String accessId; - @TemplateField(key = "tuyaAccessKey", label = "Access key", + @TemplateField(key = "tuyaAccessKey", label = "Access Secret", type = FormFieldType.PASSWORD, secret = true, group = "Tuya Connection", required = true) private String accessKey; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index cf6e9d0cca..b171984760 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -90,9 +90,6 @@
{{ label }} - @if (plan.newDefaultConverter) { - {{ 'iot-hub.device-update-new-default-converter' | translate }} - } @if (plan.existing) { {{ 'iot-hub.device-install-conflict-exists' | translate:{ type: ('iot-hub.device-install-step-type-' + ep.step.type | translate), name: plan.existing.name } }} @@ -171,9 +168,6 @@
@if (ws.reviewing && plan?.confirmed) { - @if (plan.newDefaultConverter) { - {{ 'iot-hub.device-update-new-default-converter' | translate }} - } @if (plan.shared) { {{ 'iot-hub.device-update-shared' | translate }} } diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts index d36d47d3ff..7c91316a4b 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts @@ -37,7 +37,7 @@ import { getCurrentAuthState } from '@core/auth/auth.selectors'; import { ScriptLanguage } from '@shared/models/rule-node.models'; import { Integration, IntegrationType } from '@shared/models/integration.models'; import { HasVersion } from '@shared/models/entity.models'; -import { differsFromDefaultConverter, loadDefaultUplinkConverter, loadOwnDefaultConverterIds } from '@home/components/iot-hub/iot-hub-default-converter'; +import { loadDefaultUplinkConverter } from '@home/components/iot-hub/iot-hub-default-converter'; import { downloadEntityJson, readableMessage, requestFailureMessage, splitTextWithLink } from '@home/components/iot-hub/iot-hub-utils'; import { cleanFormFieldValue, @@ -103,8 +103,6 @@ interface EntityStepPlan { version?: number; // Modified: the entity as the check found it, which the user can download before it is overwritten current?: any; - // A step with "default": true whose converter differs from ThingsBoard's default converter now - newDefaultConverter?: boolean; } // Install: the conflict choice a Retry keeps while the existing entity is the same one @@ -403,8 +401,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent(); private previousPackageInfo: DevicePackageInfo | null = null; private entityPlans = new WeakMap(); - // Update: for each step with "default": true, whether its converter differs from ThingsBoard's default one now - private defaultConverterChanges = new Map(); // The check of the plan in progress; a way back meanwhile starts a new one, which drops this one's result private checkRun = 0; @@ -490,7 +486,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { const scriptLang = getCurrentAuthState(this.store).tbelEnabled ? ScriptLanguage.TBEL : ScriptLanguage.JS; @@ -2098,38 +2094,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - this.restoreInstallState(); - let ownDefaultConverterIds: Set | undefined; - try { - for (const step of this.packageInfo.installSteps[this.selectedInstallMethod] ?? []) { - const stored = step.default ? this.storedStateOf(step)?.state : undefined; - let id: string = stored?.entityOutput?.id; - // A converter taken as it was may be any converter with that name: only another package's default one is checked - if (id && stored.resolution === 'use-existing') { - ownDefaultConverterIds ??= await loadOwnDefaultConverterIds(this.iotHubApiService); - if (!ownDefaultConverterIds.has(id)) { - id = undefined; - } - } - const converter = id ? await firstValueFrom(this.converterService.getConverter(id, {ignoreErrors: true})).catch(() => null) : null; - if (converter) { - const defaultConverter = await loadDefaultUplinkConverter(this.resourcesService, converter.integrationType, - converter.configuration.scriptLang, converter.name); - this.defaultConverterChanges.set(step, !!defaultConverter && differsFromDefaultConverter(converter, defaultConverter)); - } - } - } finally { - this.formValues = {}; - this.entityOutputs.clear(); - } - } - /** Update: loads the installed version. Without it, every form and entity of the new version counts as changed. */ private async loadPreviousVersion(): Promise { try { @@ -2343,13 +2307,14 @@ export class TbDeviceInstallDialogComponent extends DialogComponent !isEqual( @@ -2450,13 +2415,6 @@ export class TbDeviceInstallDialogComponent extends DialogComponent { - return from(this.converterUpdateDialogData(update)).pipe( - switchMap(data => this.dialog.open( - TbIotHubConverterUpdateDialogComponent, { - panelClass: ['tb-dialog'], - disableClose: true, - autoFocus: false, - data - }).afterClosed()), - catchError(() => of(false)) - ); - } - - private async converterUpdateDialogData(update: DefaultConverterUpdate): Promise { - const installedItemId = update.installedItem.id.id; - const converterId = update.converter.id.id; - // The converter as it is now, not the table's copy: the dialog downloads it, and the update overwrites only this version - const [states, packages, converter] = await Promise.all([ - firstValueFrom(this.iotHubApiService.checkDeviceUpdate(installedItemId)), - loadInstalledDevicePackages(this.iotHubApiService), - firstValueFrom(this.converterService.getConverter(converterId)) as Promise - ]); - const state = states.find(s => s.stepName === update.stateKey); - // As the server decides what is shared: the converter is one of the entities another package tracks - const usedBy = packages - .filter(item => item.id.id !== installedItemId && - (item.descriptor as DeviceInstalledItemDescriptor)?.createdEntityIds?.some(id => id.id === converterId)) - .map(item => item.itemName); - return { update: { ...update, converter }, version: converter.version ?? state?.version, modified: state?.modified === true, usedBy }; - } - deleteItem(installedItem: IotHubInstalledItem): Observable { if (!installedItem) { return of(false); diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts index 99a2676c90..ea754e42f9 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-components.module.ts @@ -11,7 +11,6 @@ import { TbIotHubAddItemDialogComponent } from './iot-hub-add-item-dialog.compon import { TbIotHubInstallDialogComponent } from './iot-hub-install-dialog.component'; import { TbIotHubUpdateDialogComponent } from './iot-hub-update-dialog.component'; import { TbIotHubDeleteDialogComponent } from './iot-hub-delete-dialog.component'; -import { TbIotHubConverterUpdateDialogComponent } from './iot-hub-converter-update-dialog.component'; import { TbIotHubUnpublishedWarningDialogComponent } from './iot-hub-unpublished-warning-dialog.component'; import { TbDeviceInstallDialogComponent } from './device-install-dialog/device-install-dialog.component'; import { InstallFormRendererComponent } from './device-install-dialog/install-form-renderer/install-form-renderer.component'; @@ -28,7 +27,6 @@ import { IotHubItemLinkModule } from './iot-hub-item-link-card/iot-hub-item-link @NgModule({ declarations: [ - TbIotHubConverterUpdateDialogComponent, TbIotHubItemDetailDialogComponent, TbIotHubBrowseComponent, TbIotHubItemCardComponent, diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.html deleted file mode 100644 index 0a153045f3..0000000000 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.html +++ /dev/null @@ -1,55 +0,0 @@ - -
-

{{ 'iot-hub.converter-update-title' | translate }}

-

{{ 'iot-hub.device-update-new-default-converter' | translate }}

-
-
{{ data.update.converter.name }}
- @if (data.usedBy.length) { - {{ 'iot-hub.device-update-shared' | translate }} -
-
    - @for (name of usedByShown; track $index) { -
  • {{ name }}
  • - } -
- @if (usedByHidden.length) { -
-
    - @for (name of usedByHidden; track $index) { -
  • {{ name }}
  • - } -
-
- } -
- @if (usedByHidden.length) { - - } - } - @if (data.modified) { - - {{ modifiedHint.before }}{{ modifiedHint.link }}{{ modifiedHint.after }} - - } -
- @if (errorMessage) { - {{ errorMessage }} - } -
-
- - -
diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.scss deleted file mode 100644 index 926023ed3b..0000000000 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.scss +++ /dev/null @@ -1,97 +0,0 @@ -// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. -// SPDX-License-Identifier: BUSL-1.1 -:host { - display: block; - max-width: 600px; -} - -.tb-converter-update-title { - font-size: 20px; - font-weight: 600; - line-height: 24px; - letter-spacing: 0.1px; - color: rgba(0, 0, 0, 0.87); - margin: 0; -} - -.tb-converter-update-text { - font-size: 14px; - line-height: 20px; - letter-spacing: 0.2px; - color: rgba(0, 0, 0, 0.54); - margin: 0; -} - -.tb-converter-update-box { - padding: 12px 16px; - border: 1px solid rgba(0, 0, 0, 0.12); - border-radius: 8px; -} - -.tb-converter-update-name { - font-size: 14px; - font-weight: 500; - line-height: 20px; - color: rgba(0, 0, 0, 0.87); -} - -.tb-converter-update-packages { - margin: 0; - padding-left: 20px; - font-size: 12px; - line-height: 16px; - color: rgba(0, 0, 0, 0.54); -} - -// Material expansion-panel timing -.tb-converter-update-more { - display: grid; - grid-template-rows: 0fr; - transition: grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1); - > ul { - overflow: hidden; - min-height: 0; - } - &.expanded { - grid-template-rows: 1fr; - } - @media (prefers-reduced-motion: reduce) { - transition: none; - } -} - -.tb-converter-update-toggle { - padding: 0; - border: none; - background: none; - font-size: 12px; - font-weight: 500; - line-height: 16px; - color: var(--tb-primary-500); - cursor: pointer; - &:hover, - &:focus-visible { - text-decoration: underline; - } -} - -.tb-converter-update-link { - color: #305680; - text-decoration: underline; - cursor: pointer; -} - -.tb-progress-alert-msg { - font-size: 12px; - font-weight: 400; - line-height: 16px; - letter-spacing: 0.4px; - - &.tb-progress-alert-msg-warning { - color: #f66716; - } - - &.tb-progress-alert-msg-error { - color: #dd2c00; - } -} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.ts deleted file mode 100644 index b33d11b2b6..0000000000 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-converter-update-dialog.component.ts +++ /dev/null @@ -1,88 +0,0 @@ -// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. -// SPDX-License-Identifier: BUSL-1.1 -import { Component, Inject } from '@angular/core'; -import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; -import { Router } from '@angular/router'; -import { Store } from '@ngrx/store'; -import { TranslateService } from '@ngx-translate/core'; -import { AppState } from '@core/core.state'; -import { DialogComponent } from '@shared/components/dialog.component'; -import { IotHubApiService } from '@core/http/iot-hub-api.service'; -import { DefaultConverterUpdate, defaultConverterUpdateRequest } from '@home/components/iot-hub/iot-hub-default-converter'; -import { downloadEntityJson, readableMessage, requestFailureMessage, splitTextWithLink } from '@home/components/iot-hub/iot-hub-utils'; - -export interface IotHubConverterUpdateDialogData { - update: DefaultConverterUpdate; - // The version of the converter the dialog downloads: the server refuses the update if someone saved the converter since - version?: number; - // Someone changed the converter since a package installed or last updated it - modified: boolean; - // The names of the other installed packages that use the converter - usedBy: string[]; -} - -const USED_BY_SHOWN = 3; - -/** - * Brings an installed device package's default converter to ThingsBoard's default converter now, without a new version of - * the package. Closes with true once it is updated. - */ -@Component({ - selector: 'tb-iot-hub-converter-update-dialog', - standalone: false, - templateUrl: './iot-hub-converter-update-dialog.component.html', - styleUrls: ['./iot-hub-converter-update-dialog.component.scss'] -}) -export class TbIotHubConverterUpdateDialogComponent extends DialogComponent { - - readonly modifiedHint = splitTextWithLink(this.translate.instant('iot-hub.device-update-modified')); - readonly usedByShown: string[]; - readonly usedByHidden: string[]; - usedByExpanded = false; - updating = false; - errorMessage: string | null = null; - - constructor( - protected store: Store, - protected router: Router, - protected dialogRef: MatDialogRef, - @Inject(MAT_DIALOG_DATA) public data: IotHubConverterUpdateDialogData, - private iotHubApiService: IotHubApiService, - private translate: TranslateService - ) { - super(store, router, dialogRef); - // Collapse only when at least 2 packages would be hidden - const shownCount = data.usedBy.length > USED_BY_SHOWN + 1 ? USED_BY_SHOWN : data.usedBy.length; - this.usedByShown = data.usedBy.slice(0, shownCount); - this.usedByHidden = data.usedBy.slice(shownCount); - } - - downloadCurrent(): void { - downloadEntityJson(this.data.update.converter, this.data.update.converter.name); - } - - update(): void { - this.updating = true; - this.errorMessage = null; - this.iotHubApiService.updateDevicePackage(this.data.update.installedItem.id.id, - defaultConverterUpdateRequest(this.data.update, this.data.version), { ignoreErrors: true }).subscribe({ - next: result => { - if (result.success) { - this.dialogRef.close(true); - return; - } - // Nothing was changed: the server rolled it back - this.updating = false; - this.errorMessage = readableMessage(result.errorMessage) ?? this.translate.instant('iot-hub.device-install-unexpected-error'); - }, - error: error => { - this.updating = false; - this.errorMessage = requestFailureMessage(error, this.translate); - } - }); - } - - cancel(): void { - this.dialogRef.close(false); - } -} diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts index 368c2a2706..ee48ad50a7 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-default-converter.ts @@ -5,27 +5,9 @@ import { ResourcesService } from '@core/services/resources.service'; import { Converter, ConverterConfigV2, ConverterType, getTargetField, getTargetTemplateUrl } from '@shared/models/converter.models'; import { IntegrationType } from '@shared/models/integration.models'; import { ScriptLanguage } from '@shared/models/rule-node.models'; -import { isEqual } from '@core/utils'; -import { DeviceInstalledItemDescriptor, DevicePackageRequest, IotHubInstalledItem } from '@shared/models/iot-hub/iot-hub-installed-item.models'; -import { IotHubApiService } from '@core/http/iot-hub-api.service'; -import { PageLink } from '@shared/models/page/page-link'; -import { PageData } from '@shared/models/page/page-data'; - -/** An installed device package's default converter that differs from ThingsBoard's default converter now. */ -export interface DefaultConverterUpdate { - installedItem: IotHubInstalledItem; - // The key of the converter's step in the package's install state - stateKey: string; - converter: Converter; - defaultConverter: Partial; -} const DEFAULT_CONVERTERS_V2_CONFIGURATION_URL = '/assets/converters/default-converters-v2-configuration.json'; -// The settings of a default converter that decide what it does: the script is compared on its own -const V2_CONFIGURATION_KEYS: (keyof ConverterConfigV2)[] = - ['type', 'name', 'profile', 'label', 'customer', 'group', 'attributes', 'telemetry', 'updateOnlyKeys']; - /** * The uplink converter ThingsBoard creates for a new integration of this type, as a device package step with * "default": true installs it. Null when ThingsBoard has no default converter settings for the type. @@ -60,70 +42,3 @@ export const loadDefaultUplinkConverter = async (resourcesService: ResourcesServ additionalInfo: { description: '' } }; }; - -/** True when the converter does something else than the default one: another script or other settings. */ -export const differsFromDefaultConverter = (converter: Converter, defaultConverter: Partial): boolean => { - const field = getTargetField(ConverterType.UPLINK, converter.configuration.scriptLang); - const script = (value: string) => (value ?? '').trimEnd(); - return script(converter.configuration[field]) !== script(defaultConverter.configuration[field]) || - V2_CONFIGURATION_KEYS.some(key => !isEqual(converter.configuration[key] ?? null, defaultConverter.configuration[key] ?? null)); -}; - -/** All installed device packages of the tenant. */ -export const loadInstalledDevicePackages = async (iotHubApiService: IotHubApiService): Promise => { - const items: IotHubInstalledItem[] = []; - let pageLink = new PageLink(100); - let page: PageData; - do { - page = await firstValueFrom(iotHubApiService.getInstalledItems(pageLink, 'DEVICE', undefined, { ignoreLoading: true })); - items.push(...page.data); - pageLink = pageLink.nextPageLink(); - } while (page.hasNext); - return items; -}; - -/** - * The converters device packages installed themselves as their default converter, not ones they took as they were, of - * all installed device packages: only such a converter is ThingsBoard's default one, which a new ThingsBoard version - * may change. The installed items table and the update dialog both decide by it. - */ -export const loadOwnDefaultConverterIds = async (iotHubApiService: IotHubApiService): Promise> => { - const ids = new Set(); - for (const item of await loadInstalledDevicePackages(iotHubApiService)) { - for (const state of Object.values((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {})) { - if (state?.defaultConverter && state.entityOutput?.id && state.resolution !== 'use-existing') { - ids.add(state.entityOutput.id); - } - } - } - return ids; -}; - -/** - * The update of the installed version itself that brings its default converter to ThingsBoard's default one. It sends only - * the converter step: the server keeps the other steps, the forms and the integration's metadata as they are. - * expectedVersion is the converter's version the user reviewed. - */ -export const defaultConverterUpdateRequest = (update: DefaultConverterUpdate, expectedVersion?: number): DevicePackageRequest => { - const descriptor = update.installedItem.descriptor as DeviceInstalledItemDescriptor; - return { - versionId: update.installedItem.itemVersionId, - fromVersionId: update.installedItem.itemVersionId, - selectedInstallMethod: descriptor.selectedInstallMethod, - installState: {}, - steps: [{ - name: update.converter.name, - // The server keys the step's state by its id: the state stays under the key it has - id: update.stateKey, - type: 'UPLINK_CONVERTER', - action: 'OVERWRITE', - entityId: update.converter.id.id, - expectedVersion, - // The user confirmed it in the dialog, which names the other packages it affects - confirmed: true, - resolution: descriptor.installState?.[update.stateKey]?.resolution ?? 'created', - defaultConverter: true, - entity: update.defaultConverter - }] - }; -}; diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html index a5a013b68d..291fe06b8d 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.html @@ -56,12 +56,6 @@ } - } @else if (hasConverterUpdate(item)) { - - } @else { check diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts index 4b50ad533a..8ce7d9ba0a 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-installed-items-table.component.ts @@ -36,15 +36,7 @@ import { entityTypeTranslations } from '@shared/models/entity-type.models'; import { MpItemVersionView } from '@shared/models/iot-hub/iot-hub-version.models'; import { getItemTypeIcon, ItemType, itemTypeTranslations } from '@shared/models/iot-hub/iot-hub-item.models'; import { IotHubActionsService } from '@home/components/iot-hub/iot-hub-actions.service'; -import { ConverterService } from '@core/http/converter.service'; -import { ResourcesService } from '@core/services/resources.service'; -import { - DefaultConverterUpdate, - differsFromDefaultConverter, - loadDefaultUplinkConverter, - loadOwnDefaultConverterIds -} from '@home/components/iot-hub/iot-hub-default-converter'; -import { firstValueFrom, forkJoin } from 'rxjs'; +import { forkJoin } from 'rxjs'; @Component({ selector: 'tb-iot-hub-installed-items-table', @@ -77,9 +69,6 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, isLoading = false; publishedVersionMap = new Map(); - // Installed device packages whose default converter differs from ThingsBoard's default converter now - converterUpdates = new Map(); - private converterCheckRun = 0; updatesChecked = false; isCheckingUpdates = false; updatesCheckFailed = false; @@ -103,9 +92,7 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, private iotHubActions: IotHubActionsService, private elementRef: ElementRef, private zone: NgZone, - private cd: ChangeDetectorRef, - private converterService: ConverterService, - private resourcesService: ResourcesService + private cd: ChangeDetectorRef ) { this.widgetResize$ = new ResizeObserver(() => { this.zone.run(() => { @@ -260,7 +247,7 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, infos.forEach(info => this.publishedVersionMap.set(info.itemId, info)); this.loadUpdatesCount(() => { this.updatesChecked = true; - // No updates: stay on the full list (it also shows converter updates) + // No updates: stay on the full list this.showOnlyUpdates(this.updatesCount > 0); }); }, @@ -362,70 +349,6 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, }); } - hasConverterUpdate(item: IotHubInstalledItem): boolean { - return this.converterUpdates.has(item.id.id); - } - - /** Brings the package's default converter to ThingsBoard's default one. Other packages on the converter take it too. */ - updateConverter(item: IotHubInstalledItem): void { - const update = this.converterUpdates.get(item.id.id); - if (!update) { - return; - } - this.iotHubActions.updateDefaultConverter(update).subscribe(updated => { - if (updated) { - this.loadData(); - } - }); - } - - /** - * The device packages on this page whose step with "default": true installed a converter that differs from - * ThingsBoard's default converter now. ThingsBoard's default changes with ThingsBoard, so the package has no new version for it. - */ - private async checkConverterUpdates(): Promise { - // A later load (another page, sort or search) starts another run: an earlier one finishing last mustn't win - const run = ++this.converterCheckRun; - // The package's default converter of each DEVICE package on the page - const checks: { item: IotHubInstalledItem; stateKey: string; converterId: string }[] = []; - // Over all installed packages, not only this page's, as the update dialog decides - let ownDefaultConverterIds: Set | undefined; - for (const item of this.dataSource) { - const states = item.itemType === 'DEVICE' ? Object.entries((item.descriptor as DeviceInstalledItemDescriptor)?.installState ?? {}) : []; - for (const [stateKey, state] of states) { - const id: string = state?.defaultConverter ? state.entityOutput?.id : undefined; - if (!id) { - continue; - } - // A converter taken as it was counts only when a package installed it as its default converter - if (state.resolution === 'use-existing') { - ownDefaultConverterIds ??= await loadOwnDefaultConverterIds(this.iotHubApiService); - if (!ownDefaultConverterIds.has(id)) { - continue; - } - } - checks.push({ item, stateKey, converterId: id }); - } - } - const changed = await Promise.all(checks.map(async ({ item, stateKey, converterId }): Promise => { - const converter = await firstValueFrom(this.converterService.getConverter(converterId, {ignoreErrors: true, ignoreLoading: true})) - .catch(() => null); - if (!converter) { - return null; - } - const defaultConverter = await loadDefaultUplinkConverter(this.resourcesService, converter.integrationType, - converter.configuration.scriptLang, converter.name); - return defaultConverter && differsFromDefaultConverter(converter, defaultConverter) ? - { installedItem: item, stateKey, converter, defaultConverter } : null; - })); - if (run !== this.converterCheckRun) { - return; - } - this.converterUpdates = new Map(changed.filter(update => !!update).map(update => [update.installedItem.id.id, update])); - this.cd.markForCheck(); - } - - getPublishedVersionInfo(item: IotHubInstalledItem): ItemPublishedVersionInfo | undefined { return this.publishedVersionMap.get(item.itemId); } @@ -458,9 +381,6 @@ export class TbIotHubInstalledItemsTableComponent implements OnInit, OnChanges, this.totalElements = data.totalElements; this.loadFailed = false; this.isLoading = false; - if (this.updatesChecked && !this.itemVersion && !this.onlyUpdates) { - void this.checkConverterUpdates(); - } }, error: () => { if (run !== this.loadRun) { diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts index cbd684f927..40ca2b191a 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-installed-item.models.ts @@ -62,12 +62,11 @@ export interface DevicePackageStep { serverAttributes?: any; sharedAttributes?: any; resolution?: string; - // The package step's stable id, so that a next version can rename the step. When set it is also the step's install - // state key: the default converter update sends the stored key here to write the state back under it + // The package step's stable id, so that a next version can rename the step. When set it is also the step's install state key id?: string; // INTEGRATION: the step's metadata entries, which a KEEP merges into the integration; null removes an entry metadata?: Record; - // The step takes ThingsBoard's default converter: its install state says so, for the update check + // The step takes ThingsBoard's default converter: its install state says so defaultConverter?: boolean; } diff --git a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json index d31027139e..b94fe3dbdc 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ar_AE.json +++ b/ui-ngx/src/assets/locale/locale.constant-ar_AE.json @@ -5671,8 +5671,6 @@ "access-id-required": "معرف الوصول مطلوب.", "access-key": "مفتاح الوصول", "access-key-required": "مفتاح الوصول مطلوب.", - "access-key-min-length": "مفتاح الوصول قصير جدًا.", - "access-key-max-length": "مفتاح الوصول طويل جدًا.", "connection-parameters": "معلمات الاتصال", "service-bus-namespace-name": "اسم مساحة أسماء Service Bus", "service-bus-namespace-name-required": "اسم مساحة أسماء Service Bus مطلوب.", @@ -6493,8 +6491,6 @@ "check-for-updates": "التحقق من وجود تحديثات", "updates": "التحديثات", "up-to-date": "محدّث", - "new-converter-available": "يتوفر محوّل جديد", - "converter-update-title": "هل تريد تحديث المحوّل؟", "update": "تحديث", "update-to-version": "تحديث إلى الإصدار {{ version }}", "update-item-title": "تحديث العنصر", @@ -6585,7 +6581,6 @@ "device-update-step": "تحديث", "device-update-new": "جديد", "device-update-shared": "تستخدمه حزم أخرى. يؤثر التحديث عليها.", - "device-update-new-default-converter": "يتوفر في منصة ThingsBoard إصدار جديد من المحوّل الافتراضي الذي تستخدمه هذه الحزمة.", "device-update-modified": "يحتوي على تغييرات محلية. يمكنك تنزيل الإصدار الحالي من هنا.", "device-install-unexpected-error": "حدث خطأ ما. حاول مرة أخرى.", "device-package-will-create": "سيتم الإنشاء", diff --git a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json index eea80044c9..6b21ea6f4d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ca_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-ca_ES.json @@ -5673,8 +5673,6 @@ "access-id-required": "L'ID d'accés és obligatori.", "access-key": "Clau d'accés", "access-key-required": "La clau d'accés és obligatòria.", - "access-key-min-length": "La clau d'accés és massa curta.", - "access-key-max-length": "La clau d'accés és massa llarga.", "connection-parameters": "Paràmetres de connexió", "service-bus-namespace-name": "Nom de l'espai de noms del Service Bus", "service-bus-namespace-name-required": "El nom de l'espai de noms del Service Bus és obligatori.", @@ -6495,8 +6493,6 @@ "check-for-updates": "Comprova si hi ha actualitzacions", "updates": "Actualitzacions", "up-to-date": "Actualitzat", - "new-converter-available": "Convertidor nou disponible", - "converter-update-title": "Voleu actualitzar el convertidor?", "update": "Actualitza", "update-to-version": "Actualitza a la versió {{ version }}", "update-item-title": "Actualitza l'element", @@ -6587,7 +6583,6 @@ "device-update-step": "Actualització", "device-update-new": "Nou", "device-update-shared": "L'utilitzen altres paquets. L'actualització els afecta.", - "device-update-new-default-converter": "ThingsBoard té una versió nova del convertidor per defecte que utilitza aquest paquet.", "device-update-modified": "Té canvis locals. Podeu baixar la versió actual aquí.", "device-install-unexpected-error": "S'ha produït un error. Torneu-ho a provar.", "device-package-will-create": "Es crearà", diff --git a/ui-ngx/src/assets/locale/locale.constant-da_DK.json b/ui-ngx/src/assets/locale/locale.constant-da_DK.json index 472585a00f..33d38f576a 100644 --- a/ui-ngx/src/assets/locale/locale.constant-da_DK.json +++ b/ui-ngx/src/assets/locale/locale.constant-da_DK.json @@ -5635,8 +5635,6 @@ "access-id-required": "Adgangs-ID er påkrævet.", "access-key": "Adgangsnøgle", "access-key-required": "Adgangsnøgle er påkrævet.", - "access-key-min-length": "Adgangsnøglen er for kort.", - "access-key-max-length": "Adgangsnøglen er for lang.", "connection-parameters": "Forbindelsesparametre", "service-bus-namespace-name": "Service Bus Namespace-navn", "service-bus-namespace-name-required": "Service Bus Namespace-navn er påkrævet.", diff --git a/ui-ngx/src/assets/locale/locale.constant-de_DE.json b/ui-ngx/src/assets/locale/locale.constant-de_DE.json index 21e64d4672..ddd4ddff2f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-de_DE.json +++ b/ui-ngx/src/assets/locale/locale.constant-de_DE.json @@ -5633,8 +5633,6 @@ "access-id-required": "Zugangs-ID ist erforderlich.", "access-key": "Zugangsschlüssel", "access-key-required": "Zugangsschlüssel ist erforderlich.", - "access-key-min-length": "Zugangsschlüssel ist zu kurz.", - "access-key-max-length": "Zugangsschlüssel ist zu lang.", "connection-parameters": "Verbindungsparameter", "service-bus-namespace-name": "Service Bus Namespace-Name", "service-bus-namespace-name-required": "Service Bus Namespace-Name ist erforderlich.", diff --git a/ui-ngx/src/assets/locale/locale.constant-el_GR.json b/ui-ngx/src/assets/locale/locale.constant-el_GR.json index 624edb9905..bc7726c070 100644 --- a/ui-ngx/src/assets/locale/locale.constant-el_GR.json +++ b/ui-ngx/src/assets/locale/locale.constant-el_GR.json @@ -5644,8 +5644,6 @@ "access-id-required": "Απαιτείται Access ID.", "access-key": "Access Key", "access-key-required": "Απαιτείται Access Key.", - "access-key-min-length": "Το Access Key είναι πολύ μικρό.", - "access-key-max-length": "Το Access Key είναι πολύ μεγάλο.", "connection-parameters": "Παράμετροι σύνδεσης", "service-bus-namespace-name": "Όνομα χώρου ονομάτων Service Bus", "service-bus-namespace-name-required": "Απαιτείται όνομα χώρου ονομάτων Service Bus.", diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index 0dc1e6cd65..63a9ac8c3c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -5674,12 +5674,10 @@ "region-required": "Region is required.", "application-id": "Application ID", "application-id-required": "Application ID is required.", - "access-id": "Access Id", - "access-id-required": "Access Id is required.", - "access-key": "Access Key", - "access-key-required": "Access Key is required.", - "access-key-min-length": "Access Key is too short.", - "access-key-max-length": "Access Key is too long.", + "access-id": "Access ID", + "access-id-required": "Access ID is required.", + "access-key": "Access Secret", + "access-key-required": "Access Secret is required.", "connection-parameters": "Connection parameters", "service-bus-namespace-name": "Service Bus Namespace Name", "service-bus-namespace-name-required": "Service Bus Namespace Name is required.", @@ -6507,8 +6505,6 @@ "show-only-updates": "Show only updates", "updates": "Updates", "up-to-date": "Up to date", - "new-converter-available": "New converter available", - "converter-update-title": "Update the converter?", "update": "Update", "update-to-version": "Update to v {{ version }}", "update-item-title": "Update Item", @@ -6603,9 +6599,6 @@ "device-update-no-changes": "No changes", "device-update-new": "New", "device-update-shared": "Used by other packages. The update affects them.", - "device-update-shared-more": "and {{count}} more", - "device-update-shared-less": "Show less", - "device-update-new-default-converter": "ThingsBoard has a new version of the default converter used by this package.", "device-update-modified": "Has local changes. You can download the current version here.", "device-install-unexpected-error": "Something went wrong. Try again.", "device-install-duplicate-step": "Two install steps of this device package have the same key: {{key}}. Report it to the package's creator.", diff --git a/ui-ngx/src/assets/locale/locale.constant-es_ES.json b/ui-ngx/src/assets/locale/locale.constant-es_ES.json index 9ed674dc53..ae7b5bc9f7 100644 --- a/ui-ngx/src/assets/locale/locale.constant-es_ES.json +++ b/ui-ngx/src/assets/locale/locale.constant-es_ES.json @@ -5633,8 +5633,6 @@ "access-id-required": "Se requiere el ID de acceso.", "access-key": "Clave de acceso", "access-key-required": "Se requiere la clave de acceso.", - "access-key-min-length": "La clave de acceso es demasiado corta.", - "access-key-max-length": "La clave de acceso es demasiado larga.", "connection-parameters": "Parámetros de conexión", "service-bus-namespace-name": "Nombre del espacio de nombres del Service Bus", "service-bus-namespace-name-required": "Se requiere el nombre del espacio de nombres del Service Bus.", diff --git a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json index b00e2c648f..a9b8fd88ee 100644 --- a/ui-ngx/src/assets/locale/locale.constant-fr_FR.json +++ b/ui-ngx/src/assets/locale/locale.constant-fr_FR.json @@ -5633,8 +5633,6 @@ "access-id-required": "L’identifiant d’accès est requis.", "access-key": "Clé d’accès", "access-key-required": "La clé d’accès est requise.", - "access-key-min-length": "La clé d’accès est trop courte.", - "access-key-max-length": "La clé d’accès est trop longue.", "connection-parameters": "Paramètres de connexion", "service-bus-namespace-name": "Nom de l’espace de noms du Service Bus", "service-bus-namespace-name-required": "Le nom de l’espace de noms du Service Bus est requis.", diff --git a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json index f6cf52d911..56de7f7880 100644 --- a/ui-ngx/src/assets/locale/locale.constant-hi_IN.json +++ b/ui-ngx/src/assets/locale/locale.constant-hi_IN.json @@ -5670,8 +5670,6 @@ "access-id-required": "ऐक्सेस ID आवश्यक है।", "access-key": "ऐक्सेस कुंजी", "access-key-required": "ऐक्सेस कुंजी आवश्यक है।", - "access-key-min-length": "ऐक्सेस कुंजी बहुत छोटी है।", - "access-key-max-length": "ऐक्सेस कुंजी बहुत लंबी है।", "connection-parameters": "कनेक्शन पैरामीटर", "service-bus-namespace-name": "Service Bus नेमस्पेस नाम", "service-bus-namespace-name-required": "Service Bus नेमस्पेस नाम आवश्यक है।", diff --git a/ui-ngx/src/assets/locale/locale.constant-it_IT.json b/ui-ngx/src/assets/locale/locale.constant-it_IT.json index 44c8ad6cf1..52675dc7eb 100644 --- a/ui-ngx/src/assets/locale/locale.constant-it_IT.json +++ b/ui-ngx/src/assets/locale/locale.constant-it_IT.json @@ -5633,8 +5633,6 @@ "access-id-required": "Access Id è obbligatorio.", "access-key": "Chiave di accesso", "access-key-required": "Chiave di accesso obbligatoria.", - "access-key-min-length": "Chiave di accesso troppo corta.", - "access-key-max-length": "Chiave di accesso troppo lunga.", "connection-parameters": "Parametri di connessione", "service-bus-namespace-name": "Nome del namespace del Service Bus", "service-bus-namespace-name-required": "Il nome del namespace del Service Bus è obbligatorio.", diff --git a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json index 7c6596fcbf..2abd46f029 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ja_JP.json +++ b/ui-ngx/src/assets/locale/locale.constant-ja_JP.json @@ -5633,8 +5633,6 @@ "access-id-required": "アクセスIDは必須です。", "access-key": "アクセスキー", "access-key-required": "アクセスキーは必須です。", - "access-key-min-length": "アクセスキーが短すぎます。", - "access-key-max-length": "アクセスキーが長すぎます。", "connection-parameters": "接続パラメーター", "service-bus-namespace-name": "サービスバス名前空間名", "service-bus-namespace-name-required": "サービスバス名前空間名は必須です。", diff --git a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json index 4cc4f6758a..eb466cf98a 100644 --- a/ui-ngx/src/assets/locale/locale.constant-ko_KR.json +++ b/ui-ngx/src/assets/locale/locale.constant-ko_KR.json @@ -5662,8 +5662,6 @@ "access-id-required": "액세스 ID는 필수 항목입니다.", "access-key": "액세스 키", "access-key-required": "액세스 키는 필수 항목입니다.", - "access-key-min-length": "액세스 키가 너무 짧습니다.", - "access-key-max-length": "액세스 키가 너무 깁니다.", "connection-parameters": "연결 매개변수", "service-bus-namespace-name": "Service Bus 네임스페이스 이름", "service-bus-namespace-name-required": "Service Bus 네임스페이스 이름은 필수 항목입니다.", diff --git a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json index 5a11fd5f50..9268a71e6a 100644 --- a/ui-ngx/src/assets/locale/locale.constant-lt_LT.json +++ b/ui-ngx/src/assets/locale/locale.constant-lt_LT.json @@ -5670,8 +5670,6 @@ "access-id-required": "Prieigos ID yra privalomas.", "access-key": "Prieigos raktas", "access-key-required": "Prieigos raktas yra privalomas.", - "access-key-min-length": "Prieigos raktas per trumpas.", - "access-key-max-length": "Prieigos raktas per ilgas.", "connection-parameters": "Ryšio parametrai", "service-bus-namespace-name": "Service Bus vardų srities pavadinimas", "service-bus-namespace-name-required": "Service Bus vardų srities pavadinimas yra privalomas.", diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_BE.json b/ui-ngx/src/assets/locale/locale.constant-nl_BE.json index 5238babe74..3d5a4b2b22 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_BE.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_BE.json @@ -5670,8 +5670,6 @@ "access-id-required": "Toegangs-ID is verplicht.", "access-key": "Toegangssleutel", "access-key-required": "Toegangssleutel is verplicht.", - "access-key-min-length": "Toegangssleutel is te kort.", - "access-key-max-length": "Toegangssleutel is te lang.", "connection-parameters": "Verbindingsparameters", "service-bus-namespace-name": "Naam van Service Bus-namespace", "service-bus-namespace-name-required": "Naam van Service Bus-namespace is verplicht.", diff --git a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json index 7e2bd4c4c9..3228981395 100644 --- a/ui-ngx/src/assets/locale/locale.constant-nl_NL.json +++ b/ui-ngx/src/assets/locale/locale.constant-nl_NL.json @@ -5633,8 +5633,6 @@ "access-id-required": "Toegangs-ID is verplicht.", "access-key": "Toegangssleutel", "access-key-required": "Toegangssleutel is verplicht.", - "access-key-min-length": "Toegangssleutel is te kort.", - "access-key-max-length": "Toegangssleutel is te lang.", "connection-parameters": "Verbindingsparameters", "service-bus-namespace-name": "Service Bus Namespace Naam", "service-bus-namespace-name-required": "Naam van Service Bus-namespace is verplicht.", diff --git a/ui-ngx/src/assets/locale/locale.constant-no_NO.json b/ui-ngx/src/assets/locale/locale.constant-no_NO.json index de33dcd35d..a4436625e7 100644 --- a/ui-ngx/src/assets/locale/locale.constant-no_NO.json +++ b/ui-ngx/src/assets/locale/locale.constant-no_NO.json @@ -5644,8 +5644,6 @@ "access-id-required": "Tilgangs-ID er påkrevd.", "access-key": "Tilgangsnøkkel", "access-key-required": "Tilgangsnøkkel er påkrevd.", - "access-key-min-length": "Tilgangsnøkkel er for kort.", - "access-key-max-length": "Tilgangsnøkkel er for lang.", "connection-parameters": "Tilkoblingsparametere", "service-bus-namespace-name": "Navn på Service Bus-navneområde", "service-bus-namespace-name-required": "Navn på Service Bus-navneområde er påkrevd.", diff --git a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json index 7fb1ca0418..769c74e48c 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pl_PL.json +++ b/ui-ngx/src/assets/locale/locale.constant-pl_PL.json @@ -5670,8 +5670,6 @@ "access-id-required": "Identyfikator dostępu jest wymagany.", "access-key": "Klucz dostępu", "access-key-required": "Klucz dostępu jest wymagany.", - "access-key-min-length": "Klucz dostępu jest za krótki.", - "access-key-max-length": "Klucz dostępu jest za długi.", "connection-parameters": "Parametry połączenia", "service-bus-namespace-name": "Nazwa przestrzeni nazw Service Bus", "service-bus-namespace-name-required": "Nazwa przestrzeni nazw Service Bus jest wymagana.", diff --git a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json index 327b46d156..d7a2cdf625 100644 --- a/ui-ngx/src/assets/locale/locale.constant-pt_BR.json +++ b/ui-ngx/src/assets/locale/locale.constant-pt_BR.json @@ -5633,8 +5633,6 @@ "access-id-required": "O ID de acesso é obrigatório.", "access-key": "Chave de acesso", "access-key-required": "A chave de acesso é obrigatória.", - "access-key-min-length": "A chave de acesso é muito curta.", - "access-key-max-length": "A chave de acesso é muito longa.", "connection-parameters": "Parâmetros de conexão", "service-bus-namespace-name": "Nome do namespace do Service Bus", "service-bus-namespace-name-required": "O nome do namespace do Service Bus é obrigatório.", diff --git a/ui-ngx/src/assets/locale/locale.constant-sl_SI.json b/ui-ngx/src/assets/locale/locale.constant-sl_SI.json index b414ee6015..db258613f3 100644 --- a/ui-ngx/src/assets/locale/locale.constant-sl_SI.json +++ b/ui-ngx/src/assets/locale/locale.constant-sl_SI.json @@ -5660,8 +5660,6 @@ "access-id-required": "ID za dostop je obvezen.", "access-key": "Ključ za dostop", "access-key-required": "Ključ za dostop je obvezen.", - "access-key-min-length": "Ključ za dostop je prekratek.", - "access-key-max-length": "Ključ za dostop je predolg.", "connection-parameters": "Parametri povezave", "service-bus-namespace-name": "Ime imenskega prostora Service Bus", "service-bus-namespace-name-required": "Ime imenskega prostora Service Bus je obvezno.", diff --git a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json index 723298ace2..e9337b2a7f 100644 --- a/ui-ngx/src/assets/locale/locale.constant-tr_TR.json +++ b/ui-ngx/src/assets/locale/locale.constant-tr_TR.json @@ -5635,8 +5635,6 @@ "access-id-required": "Erişim Kimliği gereklidir.", "access-key": "Erişim Anahtarı", "access-key-required": "Erişim Anahtarı gereklidir.", - "access-key-min-length": "Erişim Anahtarı çok kısa.", - "access-key-max-length": "Erişim Anahtarı çok uzun.", "connection-parameters": "Bağlantı parametreleri", "service-bus-namespace-name": "Service Bus Ad Alanı Adı", "service-bus-namespace-name-required": "Service Bus Ad Alanı Adı gereklidir.", diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json index 33fb095b36..c28f6da6fe 100644 --- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json +++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json @@ -5633,8 +5633,6 @@ "access-id-required": "Потрібно вказати Access Id.", "access-key": "Access Key", "access-key-required": "Потрібно вказати Access Key.", - "access-key-min-length": "Access Key занадто короткий.", - "access-key-max-length": "Access Key занадто довгий.", "connection-parameters": "Параметри підключення", "service-bus-namespace-name": "Назва простору імен Service Bus", "service-bus-namespace-name-required": "Потрібно вказати назву простору імен Service Bus.", diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json index 85c9dbcdc4..74fedf0f9a 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_CN.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_CN.json @@ -5635,8 +5635,6 @@ "access-id-required": "访问 ID 为必填项。", "access-key": "访问密钥", "access-key-required": "访问密钥为必填项。", - "access-key-min-length": "访问密钥过短。", - "access-key-max-length": "访问密钥过长。", "connection-parameters": "连接参数", "service-bus-namespace-name": "Service Bus 命名空间名称", "service-bus-namespace-name-required": "Service Bus 命名空间名称为必填项。", diff --git a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json index 42cb7d2d81..84e663026d 100644 --- a/ui-ngx/src/assets/locale/locale.constant-zh_TW.json +++ b/ui-ngx/src/assets/locale/locale.constant-zh_TW.json @@ -11781,8 +11781,6 @@ "access-id-required": "存取識別碼為必填項。", "access-key": "存取金鑰", "access-key-required": "存取金鑰為必填項。", - "access-key-min-length": "存取金鑰太短。", - "access-key-max-length": "存取金鑰太長。", "connection-parameters": "連線參數", "service-bus-namespace-name": "Service Bus 命名空間名稱", "service-bus-namespace-name-required": "Service Bus 命名空間名稱為必填項。",