Enhance node update functionality to include base address
CI / Backend (build + test) (push) Successful in 1m25s
CI / Frontend (lint + typecheck + build) (push) Successful in 33s

- Added `BaseAddress` property to `UpdateNodeCommand` and `UpdateNodeBody` for improved node management.
- Implemented validation for the base address in `UpdateNodeCommandHandler`, ensuring it is a valid absolute URI.
- Updated `Node` class to support address updates, including logic to invalidate cached clients on address changes.
- Enhanced frontend components to handle base address input in the node editing dialog and API requests.
- Updated validation rules to enforce base address requirements in `UpdateNodeCommandValidator`.
This commit is contained in:
Leonid Pershin committed 2026-07-23 01:05:02 +03:00
1 parent 6b449dbfb5
commit ee6b8a35b8
10 files changed
+270 -10

No files matched your search

+1
View File
@@ -3482,6 +3482,7 @@ export interface components {
};
UpdateNodeBody: {
name: string;
baseAddress: string;
location: null | string;
isEnabled: boolean;
username: null | string;
+2
View File
@@ -443,6 +443,7 @@ const resources = {
allowedRoles: 'Доступно ролям',
isPublishedLabel: 'Опубликовать инбаунд',
optional: 'необязательно',
passwordKeepUnchanged: 'оставьте пустым, чтобы не менять',
},
apps: {
create: 'Добавить приложение',
@@ -1011,6 +1012,7 @@ const resources = {
allowedRoles: 'Allowed for roles',
isPublishedLabel: 'Publish inbound',
optional: 'optional',
passwordKeepUnchanged: 'leave blank to keep unchanged',
},
apps: {
create: 'Add app',