This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 0a483097ddf NIFI-16103 add access to input/output port concurrent
tasks to the UI (#11417)
0a483097ddf is described below
commit 0a483097ddfb04c50c8560cceed3d03b5d7337bb
Author: Mark Bean <[email protected]>
AuthorDate: Fri Jul 10 15:36:35 2026 -0400
NIFI-16103 add access to input/output port concurrent tasks to the UI
(#11417)
Signed-off-by: Mike Moser <[email protected]>
---
.../edit-port/edit-port.component.html | 24 ++++++++++------------
.../edit-port/edit-port.component.ts | 8 ++------
2 files changed, 13 insertions(+), 19 deletions(-)
diff --git
a/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.html
b/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.html
index 7b1447f7ac4..5b73ae2f831 100644
---
a/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.html
+++
b/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.html
@@ -26,19 +26,17 @@
</mat-form-field>
</div>
<div>
- @if (request.entity.component.allowRemoteAccess) {
- <mat-form-field>
- <mat-label>
- Concurrent Tasks
- <i
- class="fa fa-info-circle"
- nifiTooltip
- [tooltipComponentType]="TextTip"
- tooltipInputData="The number of tasks that should
be concurrently scheduled for this port."></i>
- </mat-label>
- <input matInput formControlName="concurrentTasks"
type="text" [readonly]="readonly" />
- </mat-form-field>
- }
+ <mat-form-field>
+ <mat-label>
+ Concurrent Tasks
+ <i
+ class="fa fa-info-circle"
+ nifiTooltip
+ [tooltipComponentType]="TextTip"
+ tooltipInputData="The number of tasks that should be
concurrently scheduled for this port."></i>
+ </mat-label>
+ <input matInput formControlName="concurrentTasks" type="text"
[readonly]="readonly" />
+ </mat-form-field>
</div>
@if (portTypeLabel === 'Output Port') {
<div class="mb-3.5">
diff --git
a/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.ts
b/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.ts
index 5217621a93f..178c4370f6c 100644
---
a/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.ts
+++
b/nifi-frontend/src/main/frontend/apps/nifi/src/app/ui/common/component-dialogs/edit-port/edit-port.component.ts
@@ -95,15 +95,11 @@ export class EditPort extends CloseOnEscapeDialog {
component: {
id: this.request.entity.id,
name: this.editPortForm.get('name')?.value,
- comments: this.editPortForm.get('comments')?.value
+ comments: this.editPortForm.get('comments')?.value,
+ concurrentlySchedulableTaskCount:
this.editPortForm.get('concurrentTasks')?.value
}
};
- // if this port allows remote access update the concurrent tasks
- if (this.request.entity.component.allowRemoteAccess) {
- payload.component.concurrentlySchedulableTaskCount =
this.editPortForm.get('concurrentTasks')?.value;
- }
-
// if this port is an output port update the port function
if (ComponentType.OutputPort == this.request.type) {
payload.component.portFunction =
this.editPortForm.get('portFunction')?.value ? 'FAILURE' : 'STANDARD';