Browse Source

Fixed KPN downlink credentials not marked as required (#16691)

* Fixed KPN downlink credentials not marked as required

* Marked Azure Service Bus downlink and OPC-UA keystore fields as required

---------

Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
pull/16699/head
Maksym Tsymbarov 3 weeks ago
committed by GitHub
parent
commit
ee7bf3af0e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      ui-ngx/src/app/modules/home/components/integration/configuration/azure-services-bus-integration-form/azure-services-bus-integration-form.component.html
  2. 8
      ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html
  3. 1
      ui-ngx/src/app/modules/home/components/integration/configuration/opc-ua-integration-form/opc-ua-integration-form.component.html
  4. 2
      ui-ngx/src/assets/locale/locale.constant-ar_AE.json
  5. 2
      ui-ngx/src/assets/locale/locale.constant-ca_ES.json
  6. 2
      ui-ngx/src/assets/locale/locale.constant-da_DK.json
  7. 2
      ui-ngx/src/assets/locale/locale.constant-de_DE.json
  8. 2
      ui-ngx/src/assets/locale/locale.constant-el_GR.json
  9. 3
      ui-ngx/src/assets/locale/locale.constant-en_US.json
  10. 2
      ui-ngx/src/assets/locale/locale.constant-es_ES.json
  11. 2
      ui-ngx/src/assets/locale/locale.constant-fr_FR.json
  12. 2
      ui-ngx/src/assets/locale/locale.constant-hi_IN.json
  13. 2
      ui-ngx/src/assets/locale/locale.constant-it_IT.json
  14. 2
      ui-ngx/src/assets/locale/locale.constant-ja_JP.json
  15. 2
      ui-ngx/src/assets/locale/locale.constant-ka_GE.json
  16. 2
      ui-ngx/src/assets/locale/locale.constant-ko_KR.json
  17. 2
      ui-ngx/src/assets/locale/locale.constant-lt_LT.json
  18. 2
      ui-ngx/src/assets/locale/locale.constant-lv_LV.json
  19. 2
      ui-ngx/src/assets/locale/locale.constant-nl_BE.json
  20. 2
      ui-ngx/src/assets/locale/locale.constant-nl_NL.json
  21. 2
      ui-ngx/src/assets/locale/locale.constant-no_NO.json
  22. 2
      ui-ngx/src/assets/locale/locale.constant-pl_PL.json
  23. 2
      ui-ngx/src/assets/locale/locale.constant-pt_BR.json
  24. 2
      ui-ngx/src/assets/locale/locale.constant-sl_SI.json
  25. 2
      ui-ngx/src/assets/locale/locale.constant-tr_TR.json
  26. 2
      ui-ngx/src/assets/locale/locale.constant-uk_UA.json
  27. 2
      ui-ngx/src/assets/locale/locale.constant-zh_CN.json
  28. 2
      ui-ngx/src/assets/locale/locale.constant-zh_TW.json

6
ui-ngx/src/app/modules/home/components/integration/configuration/azure-services-bus-integration-form/azure-services-bus-integration-form.component.html

@ -42,11 +42,13 @@
<ng-template matExpansionPanelContent>
<tb-secret-key-input formControlName="downlinkConnectionString" class="mat-block flex-1" appearance="outline"
label="{{ 'integration.downlink-connection-string' | translate }}">
[required]="isSetDownLink"
label="{{ 'integration.downlink-connection-string' | translate }}"
requiredText="{{ 'integration.downlink-connection-string-required' | translate }}">
</tb-secret-key-input>
<mat-form-field appearance="outline" class="mat-block">
<mat-label translate>integration.downlink-topic-name</mat-label>
<input matInput formControlName="downlinkTopicName">
<input matInput [required]="isSetDownLink" formControlName="downlinkTopicName">
@if (azureServicesBusIntegrationConfigForm.get('downlinkTopicName').hasError('required')) {
<mat-error translate>
integration.downlink-topic-name-required

8
ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html

@ -78,10 +78,14 @@
<legend class="group-title" translate>integration.downlink-credentials</legend>
<div class="flex flex-col gt-xs:gap-2">
<tb-secret-key-input formControlName="apiId" class="mat-block flex-1" appearance="outline"
label="{{ 'integration.api-id' | translate }}">
required
label="{{ 'integration.api-id' | translate }}"
requiredText="{{ 'integration.api-id-required' | translate }}">
</tb-secret-key-input>
<tb-secret-key-input formControlName="apiKey" class="mat-block flex-1" appearance="outline"
label="{{ 'integration.api-key' | translate }}">
required
label="{{ 'integration.api-key' | translate }}"
requiredText="{{ 'integration.api-key-required' | translate }}">
</tb-secret-key-input>
</div>
</fieldset>

1
ui-ngx/src/app/modules/home/components/integration/configuration/opc-ua-integration-form/opc-ua-integration-form.component.html

@ -78,6 +78,7 @@
<tb-secret-file-input formControlName="fileContent"
label="{{ 'integration.opc-ua-keystore-location' | translate }}"
inputId="location"
required
[existingFileName]="opcIntegrationConfigForm.get('keystore.location').value"
(fileNameChanged)="opcIntegrationConfigForm.get('keystore.location').setValue($event)">
</tb-secret-file-input>

2
ui-ngx/src/assets/locale/locale.constant-ar_AE.json

@ -5781,7 +5781,7 @@
"opc-ua-type": "النوع",
"opc-ua-keystore-type": "النوع",
"opc-ua-keystore-type-required": "النوع مطلوب",
"opc-ua-keystore-location": "الموقع *",
"opc-ua-keystore-location": "الموقع",
"opc-ua-keystore-password": "كلمة المرور",
"opc-ua-keystore-password-required": "كلمة المرور مطلوبة",
"opc-ua-keystore-alias": "الاسم المستعار",

2
ui-ngx/src/assets/locale/locale.constant-ca_ES.json

@ -5776,7 +5776,7 @@
"opc-ua-type": "Tipus",
"opc-ua-keystore-type": "Tipus",
"opc-ua-keystore-type-required": "El tipus és obligatori",
"opc-ua-keystore-location": "Ubicació *",
"opc-ua-keystore-location": "Ubicació",
"opc-ua-keystore-password": "Contrasenya",
"opc-ua-keystore-password-required": "La contrasenya és obligatòria",
"opc-ua-keystore-alias": "Àlies",

2
ui-ngx/src/assets/locale/locale.constant-da_DK.json

@ -5745,7 +5745,7 @@
"opc-ua-type": "Type",
"opc-ua-keystore-type": "Type",
"opc-ua-keystore-type-required": "Type er påkrævet",
"opc-ua-keystore-location": "Placering *",
"opc-ua-keystore-location": "Placering",
"opc-ua-keystore-password": "Adgangskode",
"opc-ua-keystore-password-required": "Adgangskode er påkrævet",
"opc-ua-keystore-alias": "Alias",

2
ui-ngx/src/assets/locale/locale.constant-de_DE.json

@ -5743,7 +5743,7 @@
"opc-ua-type": "Typ",
"opc-ua-keystore-type": "Typ",
"opc-ua-keystore-type-required": "Typ ist erforderlich",
"opc-ua-keystore-location": "Speicherort *",
"opc-ua-keystore-location": "Speicherort",
"opc-ua-keystore-password": "Passwort",
"opc-ua-keystore-password-required": "Passwort ist erforderlich",
"opc-ua-keystore-alias": "Alias",

2
ui-ngx/src/assets/locale/locale.constant-el_GR.json

@ -5754,7 +5754,7 @@
"opc-ua-type": "Τύπος",
"opc-ua-keystore-type": "Τύπος",
"opc-ua-keystore-type-required": "Απαιτείται τύπος",
"opc-ua-keystore-location": "Τοποθεσία *",
"opc-ua-keystore-location": "Τοποθεσία",
"opc-ua-keystore-password": "Κωδικός πρόσβασης",
"opc-ua-keystore-password-required": "Απαιτείται κωδικός πρόσβασης",
"opc-ua-keystore-alias": "Ψευδώνυμο",

3
ui-ngx/src/assets/locale/locale.constant-en_US.json

@ -5624,6 +5624,7 @@
"kpn-no-security-warning": "Requests to this endpoint are not authenticated. Add the security header generated in KPN Things.",
"customer-id": "Customer id",
"api-id": "API ID",
"api-id-required": "API ID is required.",
"azure-ca-cert": "CA certificate file",
"ca-cert": "CA certificate file",
"private-key": "Private key file",
@ -5782,7 +5783,7 @@
"opc-ua-type": "Type",
"opc-ua-keystore-type": "Type",
"opc-ua-keystore-type-required": "Type is required",
"opc-ua-keystore-location": "Location *",
"opc-ua-keystore-location": "Location",
"opc-ua-keystore-password": "Password",
"opc-ua-keystore-password-required": "Password is required",
"opc-ua-keystore-alias": "Alias",

2
ui-ngx/src/assets/locale/locale.constant-es_ES.json

@ -5743,7 +5743,7 @@
"opc-ua-type": "Tipo",
"opc-ua-keystore-type": "Tipo",
"opc-ua-keystore-type-required": "Se requiere el tipo",
"opc-ua-keystore-location": "Ubicación *",
"opc-ua-keystore-location": "Ubicación",
"opc-ua-keystore-password": "Contraseña",
"opc-ua-keystore-password-required": "Se requiere la contraseña",
"opc-ua-keystore-alias": "Alias",

2
ui-ngx/src/assets/locale/locale.constant-fr_FR.json

@ -5743,7 +5743,7 @@
"opc-ua-type": "Type",
"opc-ua-keystore-type": "Type",
"opc-ua-keystore-type-required": "Le type est requis",
"opc-ua-keystore-location": "Emplacement *",
"opc-ua-keystore-location": "Emplacement",
"opc-ua-keystore-password": "Mot de passe",
"opc-ua-keystore-password-required": "Le mot de passe est requis",
"opc-ua-keystore-alias": "Alias",

2
ui-ngx/src/assets/locale/locale.constant-hi_IN.json

@ -5780,7 +5780,7 @@
"opc-ua-type": "प्रकार",
"opc-ua-keystore-type": "प्रकार",
"opc-ua-keystore-type-required": "प्रकार आवश्यक है",
"opc-ua-keystore-location": "स्थान *",
"opc-ua-keystore-location": "स्थान",
"opc-ua-keystore-password": "पासवर्ड",
"opc-ua-keystore-password-required": "पासवर्ड आवश्यक है",
"opc-ua-keystore-alias": "उपनाम",

2
ui-ngx/src/assets/locale/locale.constant-it_IT.json

@ -5743,7 +5743,7 @@
"opc-ua-type": "Tipo",
"opc-ua-keystore-type": "Tipo",
"opc-ua-keystore-type-required": "Il tipo è obbligatorio",
"opc-ua-keystore-location": "Posizione *",
"opc-ua-keystore-location": "Posizione",
"opc-ua-keystore-password": "Password",
"opc-ua-keystore-password-required": "La password è obbligatoria",
"opc-ua-keystore-alias": "Alias",

2
ui-ngx/src/assets/locale/locale.constant-ja_JP.json

@ -5743,7 +5743,7 @@
"opc-ua-type": "タイプ",
"opc-ua-keystore-type": "タイプ",
"opc-ua-keystore-type-required": "タイプは必須です。",
"opc-ua-keystore-location": "場所 *",
"opc-ua-keystore-location": "場所",
"opc-ua-keystore-password": "パスワード",
"opc-ua-keystore-password-required": "パスワードは必須です。",
"opc-ua-keystore-alias": "エイリアス",

2
ui-ngx/src/assets/locale/locale.constant-ka_GE.json

@ -1743,7 +1743,7 @@
"opc-ua-type": "ტიპი",
"opc-ua-keystore-type": "ტიპი",
"opc-ua-keystore-type-required": "ტიპი სავალდებულოა",
"opc-ua-keystore-location": "ლოკაცია *",
"opc-ua-keystore-location": "ლოკაცია",
"opc-ua-keystore-password": "პაროლი",
"opc-ua-keystore-password-required": "პაროლი სავალდებულოა",
"opc-ua-keystore-alias": "ზედმესახელი",

2
ui-ngx/src/assets/locale/locale.constant-ko_KR.json

@ -5772,7 +5772,7 @@
"opc-ua-type": "유형",
"opc-ua-keystore-type": "유형",
"opc-ua-keystore-type-required": "유형은 필수 항목입니다.",
"opc-ua-keystore-location": "위치 *",
"opc-ua-keystore-location": "위치",
"opc-ua-keystore-password": "비밀번호",
"opc-ua-keystore-password-required": "비밀번호는 필수 항목입니다.",
"opc-ua-keystore-alias": "별명",

2
ui-ngx/src/assets/locale/locale.constant-lt_LT.json

@ -5780,7 +5780,7 @@
"opc-ua-type": "Tipas",
"opc-ua-keystore-type": "Tipas",
"opc-ua-keystore-type-required": "Tipas yra privalomas",
"opc-ua-keystore-location": "Vieta *",
"opc-ua-keystore-location": "Vieta",
"opc-ua-keystore-password": "Slaptažodis",
"opc-ua-keystore-password-required": "Slaptažodis yra privalomas",
"opc-ua-keystore-alias": "Pseudonimas",

2
ui-ngx/src/assets/locale/locale.constant-lv_LV.json

@ -1648,7 +1648,7 @@
"opc-ua-type": "Tips",
"opc-ua-keystore-type": "Tips",
"opc-ua-keystore-type-required": "Tips ir nepieciešams",
"opc-ua-keystore-location": "Vieta *",
"opc-ua-keystore-location": "Vieta",
"opc-ua-keystore-password": "Parole",
"opc-ua-keystore-password-required": "Parole ir nepieciešama",
"opc-ua-keystore-alias": "Segvārds",

2
ui-ngx/src/assets/locale/locale.constant-nl_BE.json

@ -5780,7 +5780,7 @@
"opc-ua-type": "Type",
"opc-ua-keystore-type": "Type",
"opc-ua-keystore-type-required": "Type is verplicht",
"opc-ua-keystore-location": "Locatie *",
"opc-ua-keystore-location": "Locatie",
"opc-ua-keystore-password": "Wachtwoord",
"opc-ua-keystore-password-required": "Wachtwoord is verplicht",
"opc-ua-keystore-alias": "Alias",

2
ui-ngx/src/assets/locale/locale.constant-nl_NL.json

@ -5743,7 +5743,7 @@
"opc-ua-type": "Type",
"opc-ua-keystore-type": "Type",
"opc-ua-keystore-type-required": "Type is verplicht",
"opc-ua-keystore-location": "Locatie *",
"opc-ua-keystore-location": "Locatie",
"opc-ua-keystore-password": "Wachtwoord",
"opc-ua-keystore-password-required": "Wachtwoord is verplicht",
"opc-ua-keystore-alias": "Alias",

2
ui-ngx/src/assets/locale/locale.constant-no_NO.json

@ -5754,7 +5754,7 @@
"opc-ua-type": "Type",
"opc-ua-keystore-type": "Type",
"opc-ua-keystore-type-required": "Type er påkrevd",
"opc-ua-keystore-location": "Plassering *",
"opc-ua-keystore-location": "Plassering",
"opc-ua-keystore-password": "Passord",
"opc-ua-keystore-password-required": "Passord er påkrevd",
"opc-ua-keystore-alias": "Alias",

2
ui-ngx/src/assets/locale/locale.constant-pl_PL.json

@ -5780,7 +5780,7 @@
"opc-ua-type": "Typ",
"opc-ua-keystore-type": "Typ",
"opc-ua-keystore-type-required": "Typ jest wymagany",
"opc-ua-keystore-location": "Lokalizacja *",
"opc-ua-keystore-location": "Lokalizacja",
"opc-ua-keystore-password": "Hasło",
"opc-ua-keystore-password-required": "Hasło jest wymagane",
"opc-ua-keystore-alias": "Alias",

2
ui-ngx/src/assets/locale/locale.constant-pt_BR.json

@ -5743,7 +5743,7 @@
"opc-ua-type": "Tipo",
"opc-ua-keystore-type": "Tipo",
"opc-ua-keystore-type-required": "O tipo é obrigatório",
"opc-ua-keystore-location": "Localização *",
"opc-ua-keystore-location": "Localização",
"opc-ua-keystore-password": "Senha",
"opc-ua-keystore-password-required": "A senha é obrigatória",
"opc-ua-keystore-alias": "Alias",

2
ui-ngx/src/assets/locale/locale.constant-sl_SI.json

@ -5770,7 +5770,7 @@
"opc-ua-type": "Vrsta",
"opc-ua-keystore-type": "Vrsta",
"opc-ua-keystore-type-required": "Vrsta je obvezna",
"opc-ua-keystore-location": "Lokacija *",
"opc-ua-keystore-location": "Lokacija",
"opc-ua-keystore-password": "Geslo",
"opc-ua-keystore-password-required": "Geslo je obvezno",
"opc-ua-keystore-alias": "Vzdevek",

2
ui-ngx/src/assets/locale/locale.constant-tr_TR.json

@ -5745,7 +5745,7 @@
"opc-ua-type": "Tür",
"opc-ua-keystore-type": "Tür",
"opc-ua-keystore-type-required": "Tür gereklidir",
"opc-ua-keystore-location": "Konum *",
"opc-ua-keystore-location": "Konum",
"opc-ua-keystore-password": "Parola",
"opc-ua-keystore-password-required": "Parola gereklidir",
"opc-ua-keystore-alias": "Takma ad",

2
ui-ngx/src/assets/locale/locale.constant-uk_UA.json

@ -5743,7 +5743,7 @@
"opc-ua-type": "Тип",
"opc-ua-keystore-type": "Тип",
"opc-ua-keystore-type-required": "Потрібно вказати тип",
"opc-ua-keystore-location": "Розташування *",
"opc-ua-keystore-location": "Розташування",
"opc-ua-keystore-password": "Пароль",
"opc-ua-keystore-password-required": "Потрібно вказати пароль",
"opc-ua-keystore-alias": "Псевдонім",

2
ui-ngx/src/assets/locale/locale.constant-zh_CN.json

@ -5745,7 +5745,7 @@
"opc-ua-type": "类型",
"opc-ua-keystore-type": "类型",
"opc-ua-keystore-type-required": "类型为必填项",
"opc-ua-keystore-location": "位置 *",
"opc-ua-keystore-location": "位置",
"opc-ua-keystore-password": "密码",
"opc-ua-keystore-password-required": "密码为必填项",
"opc-ua-keystore-alias": "别名",

2
ui-ngx/src/assets/locale/locale.constant-zh_TW.json

@ -11897,7 +11897,7 @@
"opc-ua-type": "類型",
"opc-ua-keystore-type": "類型",
"opc-ua-keystore-type-required": "類型為必填項。",
"opc-ua-keystore-location": "位置 *",
"opc-ua-keystore-location": "位置",
"opc-ua-keystore-password": "密碼",
"opc-ua-keystore-password-required": "密碼為必填項。",
"opc-ua-keystore-alias": "別名",

Loading…
Cancel
Save