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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
28 changed files with
37 additions and
29 deletions
ui-ngx/src/app/modules/home/components/integration/configuration/azure-services-bus-integration-form/azure-services-bus-integration-form.component.html
ui-ngx/src/app/modules/home/components/integration/configuration/kpn-integration-form/kpn-integration-form.component.html
ui-ngx/src/app/modules/home/components/integration/configuration/opc-ua-integration-form/opc-ua-integration-form.component.html
ui-ngx/src/assets/locale/locale.constant-ar_AE.json
ui-ngx/src/assets/locale/locale.constant-ca_ES.json
ui-ngx/src/assets/locale/locale.constant-da_DK.json
ui-ngx/src/assets/locale/locale.constant-de_DE.json
ui-ngx/src/assets/locale/locale.constant-el_GR.json
ui-ngx/src/assets/locale/locale.constant-en_US.json
ui-ngx/src/assets/locale/locale.constant-es_ES.json
ui-ngx/src/assets/locale/locale.constant-fr_FR.json
ui-ngx/src/assets/locale/locale.constant-hi_IN.json
ui-ngx/src/assets/locale/locale.constant-it_IT.json
ui-ngx/src/assets/locale/locale.constant-ja_JP.json
ui-ngx/src/assets/locale/locale.constant-ka_GE.json
ui-ngx/src/assets/locale/locale.constant-ko_KR.json
ui-ngx/src/assets/locale/locale.constant-lt_LT.json
ui-ngx/src/assets/locale/locale.constant-lv_LV.json
ui-ngx/src/assets/locale/locale.constant-nl_BE.json
ui-ngx/src/assets/locale/locale.constant-nl_NL.json
ui-ngx/src/assets/locale/locale.constant-no_NO.json
ui-ngx/src/assets/locale/locale.constant-pl_PL.json
ui-ngx/src/assets/locale/locale.constant-pt_BR.json
ui-ngx/src/assets/locale/locale.constant-sl_SI.json
ui-ngx/src/assets/locale/locale.constant-tr_TR.json
ui-ngx/src/assets/locale/locale.constant-uk_UA.json
ui-ngx/src/assets/locale/locale.constant-zh_CN.json
ui-ngx/src/assets/locale/locale.constant-zh_TW.json
@ -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
@ -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 >
@ -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 >
@ -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" : "الاسم المستعار" ,
@ -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" ,
@ -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" ,
@ -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" ,
@ -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" : "Ψευδώνυμο" ,
@ -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" ,
@ -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" ,
@ -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" ,
@ -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" : "उपनाम" ,
@ -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" ,
@ -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" : "エイリアス" ,
@ -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" : "ზედმესახელი" ,
@ -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" : "별명" ,
@ -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" ,
@ -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" ,
@ -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" ,
@ -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" ,
@ -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" ,
@ -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" ,
@ -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" ,
@ -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" ,
@ -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" ,
@ -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" : "Псевдонім" ,
@ -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" : "别名" ,
@ -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" : "別名" ,