Enhance node update functionality to include base address
- 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:
1 parent
6b449dbfb5
commit
ee6b8a35b8
10 files changed
+270
-10
No files matched your search
@@ -3482,6 +3482,7 @@ export interface components {
|
||||
};
|
||||
UpdateNodeBody: {
|
||||
name: string;
|
||||
baseAddress: string;
|
||||
location: null | string;
|
||||
isEnabled: boolean;
|
||||
username: null | string;
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user