50 Commits

Author SHA1 Message Date
Matt Gilman
39ab3129f0
NIFI-13632: Updating content access. (#9221)
* NIFI-13632: Updating content access.
- Removing existing content viewer application.
- Introduced new front end based content viewer applicaiton.
- Introduced new bundled content viewers for hex and images.
- Deleted previous image content viewer.
- Migrated existing standard content viewer (which handles json, xml, yaml, csv, and text) to utilize new content access interface.
- Moved standard content viewer into its own NAR.
- Moved and renamed custom ui utils and content viewer utils into nifi-common.
- Added mime type to FlowFileSummary response payload to help drive the initially opened content viewer.

* NIFI-13632: Fixing rat issue.

* NIFI-13632: Fixing CI issue.

* NIFI-13632: Removing standard content viewer war from code coverage.

* NIFI-13632: Addressing review feedback.

* NIFI-13632: Fixing import.

* NIFI-13632: Further simplification of content viewer state.

* NIFI-13632: Removing unneeded code.

* NIFI-13632: Adding a min height around codemirror.

* NIFI-13632: Addressing review feedback.
- Rendering mime type in the content viewer.
- Preventing additions to the browser history as the user changes how the content is viewed.
- Appending forward slash to content viewer UIs to prevent unnecessary redirect.
- Removing Standard Content Viewer title based on review feedback.
- Fixing double scroll bar in the Standard Content Viewer on small browser heights.
- Removed unnecessary application.yml.
- Bumping spring boot version.

This closes #9221
2024-09-06 09:12:38 -04:00
Matt Gilman
31a3014696
NIFI-13695 Fixed Redirect Handling for Custom UI Extensions
Appending a trailing slash when opening a custom UI and in the query string to fragment filter to avoid a Jetty-based redirect that could lead to losing the proxy path.

This closes #9222

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-08-31 08:59:27 -05:00
Rob Fellows
2951eef8a5
[NIFI-13683] - Refactor Status History dialog to not support manual resizing via a dialog drag handle, but favor a maximize/minimize button approach familiar to other windowed applications. When maximized, the dialog will resize as the browser window resizes. This solution eliminates the need for the unsupported (in Firefox) computedStyleMap that was causing issues. (#9218) 2024-08-30 17:19:29 -04:00
Rob Fellows
ac27bb02bc
[NIFI-13624] - Allow View Status History of the current process group. (#9214)
* [NIFI-13624] - Allow View Status History of the current process group.

* use a more approprite route for status history of the current process group

* remove console.log statement

This closes #9214
2024-08-30 16:32:30 -04:00
Rob Fellows
1d23ff52ed
[NIFI-13693] - Remove System Diagnostics menu option when clustered (#9215)
This closes #9215
2024-08-30 11:38:13 -04:00
Scott Aslan
aa9630a40f
[NIFI-13680] Removing usage of crypto.randomUUID() (#9200)
This closes #9200
2024-08-30 11:12:18 -04:00
Matt Gilman
7945234f5a
NIFI-13670: Improve sensitive value editing. (#9191)
* NIFI-13670: Improve sensitive value editing.
- Do not present the user with the masked value.
- Do not use the masked value when determining if a value has changed.
- Do not include the masked value in the payload if the value hasn't changed.
- Updates to ParameterItem model to more easily track changes.

* NIFI-13670: Not setting valueRemoved when deleting a parameter.

* NIFI-13670: Marking field as dirty following removal of sensitive value set text.
2024-08-26 13:56:02 -04:00
Scott Aslan
8919955bfc
[NIFI-13656] allow enter button to submit create PG and create Port form (#9181)
* [NIFI-13656] allow enter button to submit create PG and create Port form

* restore scrolling for hints in codemirrors in update attribute

* fix unit tests

* update unit test

* remove duplicate imports

This closes #9181
2024-08-20 12:50:03 -04:00
Matt Gilman
7f41bc1c6a
NIFI-13663: Only centering when viewing stats history when component is offscreen. (#9184) 2024-08-20 11:30:45 -04:00
Shane Ardell
8e0c4aeb33
NIFI-13248: Add Flow Analysis report menu to new ui (#8974)
* NIFI-13248: Add Flow Analysis report menu to new ui

* NIFI-13248: use ngrx to manage state for flow analysis component

* NIFI-13248: update types used in flow analysis drawer

* NIFI-13248: add violation details dialog

* NIFI-13248: add go to component functionality

* NIFI-13248: use Tailwind classes

* NIFI-13248: update analysis status icon based on response

* NIFI-13248: fix broken unit tests

* NIFI-13248: add missing license headers

* NIFI-13248: refactor styling

patch provided by @scottyaslan

* NIFI-13248: fix broken styling

* NIFI-13248: further style refactoring

patch provided by @scottyaslan

* NIFI-13248: binding and spacing fixes

* NIFI-13248: wire up pg name and id

* NIFI-13248: use breadcrumb selector to obtain process group name

* NIFI-13248: remove border color classes

* NIFI-13248: update drawer button icon
2024-08-19 09:04:52 -04:00
Matt Gilman
38f4110521
NIFI-13650: Fixing condition when including References Parameter... o… (#9174)
* NIFI-13650: Fixing condition when including References Parameter option.
- Updating property editors to better convey different parameter states.
- Updating hint tooltip to indicate that parameters are supported but no parameter context is bound.
- Fixing minor layout issue in Processor schedule tab.
- Fix combo editor unit tests.

* NIFI-13650: Fixing track warning errors when editing Parameter Contexts.

* NIFI-13650: Fixing z-index autocomplete issue.

This closes #9174
2024-08-16 16:20:01 -04:00
Scott Aslan
f7bca176e5
[NIFI-13658] upgrade eslint packages (#9180)
* [NIFI-13658] upgrade eslint packages

* fix lint errors and run prettier

* regenerate package-lock

This closes #9180
2024-08-16 14:00:12 -04:00
Rob Fellows
046d72d0dd
[NIFI-13641] - Remove parameter value from parameter context update request if there are referenced assets (#9173)
* [NIFI-13641] - Remove parameter value from parameter context update request if there are referenced assets

* move parameter sanitization of referenced assets/value into the payload construction rather than in the effect

* rename variable

* remove optionality of id from ReferencedAsset interface

This closes #9173
2024-08-16 10:42:35 -04:00
Scott Aslan
30e8df676e
[NIFI-13589] improve loading and error handling for jolt UI (#9155)
* [NIFI-13589] improve loading and error handling for jolt UI

* remove unused state

* cleanup more state

* show errors in center of page

This closes #9155
2024-08-15 09:05:56 -04:00
Scott Aslan
b4266a559c
[NIFI-13637] add padding to Jolt UI expansion panels (#9154)
This closes #9154
2024-08-12 16:48:28 -04:00
Scott Aslan
d9b0ab806d
[NIFI-13631] update purple theme to reference M2 color palettes (#9149)
This closes #9149
2024-08-12 14:27:29 -04:00
Scott Aslan
e6f216d009
[NIFI-13645] proptery table cells clickable even when value is set to whitespace (#9165)
This closes #9165
2024-08-12 14:25:07 -04:00
Matt Gilman
da6c9c4791
NIFI-13017: Replace JoltTransformJSON custom UI (#9117)
* NIFI-13017:
- Remove old JoltTransformJSON custom UI.
- Update build to use new JoltTransformJSON custom UI.
- Fix revision query parameter.

* NIFI-13017:
- Excluding jolt transform json ui in workflow ci.

* NIFI-13017:
- Excluding jolt nar in workflow ci.

* NIFI-13017:
- Excluding jolt ui war from code coverage.

* NIFI-13017:
- Incorporating nifi-web-servlet-shared.
- Moving QueryStringToFragmentFilter to nifi-web-servlet-shared.

This closes #9117
2024-08-06 13:51:41 -04:00
Matt Gilman
05c92e45d8
NIFI-13636: Fixing back navigation when navigating to manage access policies. (#9153)
This closes #9153
2024-08-06 13:46:10 -04:00
Matt Gilman
0ea55bebc8
NIFI-13634: Accounting for conditionally populated attributes based on missing 'view the data' permissions. (#9152)
This closes #9152
2024-08-06 13:45:27 -04:00
Rob Fellows
83d2078a4f
[NIFI-13621] - UI - handle backend errors when hitting the search api (#9133)
This closes #9133
2024-07-31 15:31:37 -04:00
Matt Gilman
d41d8edbfb
NIFI-13610: (#9132)
- Fix conditions controlling the availability of new Controller Service (in flow), new Parameter Context, and Move to Parent Group.

This closes #9132
2024-07-31 15:02:22 -04:00
Rob Fellows
2f73ced5a6
[NIFI-13582] - Fix tracking expression warning from the breadcrumbs template (#9113)
This closes #9113
2024-07-25 16:23:38 -04:00
Scott Aslan
6679680852
[NIFI-13470] Jolt codemirror linting (#9068)
* [NIFI-13470] Jolt codemirror linting

* fix nifi-jolt-transform-ui:build:production

* remove file and system from deps

* rebase

* remove assert

* protect against undefined codeEditor.codeMirror

* force resolve underscore 1.13.6

* refactor to have processor details state, validation state, property state, and transform state separated in the store

* more clean up of state

* move Effects injection into jolt-transform-json-ui.module

* use effects .forFeature()

This closes #9068
2024-07-25 14:17:25 -04:00
Rob Fellows
2dd7cf7f92
[NIFI-13535] - Fix: Issues selecting GitHub branch on version control screens in new UI (#9087)
* [NIFI-13535] - Fix: Issues selecting GitHub branch on version control screens in new UI

* ensure branch is provided when querying flow versions in import from registry dialog

* add branch to loadFlows call on bucketChange

This closes #9087
2024-07-24 09:28:54 -04:00
Scott Aslan
e205f27f89
[NIFI-13539] upgrade to angular 18.0.7 (#9072)
* [NIFI-13539] upgrade to angular 18.0.7

* update deps

* update package-lock.json

* rebase and address review feedback

* remove unused dev dep

This closes #9072
2024-07-18 08:38:38 -04:00
Scott Aslan
634d914889
[NIFI-13471] make theme file path configurable during maven build (#9020)
* [NIFI-13471] make theme file path configurable during maven build

* address review feedback

This closes #9020
2024-07-17 17:25:02 -04:00
Matt Gilman
ca227c7cd0
NIFI-13552 - Ensure errors from Provenance and Lineage queries are shown. (#9088)
This closes #9088
2024-07-17 16:25:14 -04:00
Scott Aslan
380ce0eb20
[NIFI-13519] allow user to choose to enable, disable, or use device s… (#9076)
* [NIFI-13519] allow user to choose to enable, disable, or use device settings for animations

* address review feedback

This closes #9076
2024-07-12 20:04:06 -04:00
Matt Gilman
1437a2dcef
NIFI-13480: (#9077)
- Taking the user to the Parameter Context dialog from the Parameters context menu on the canvas.

This closes #9077
2024-07-12 00:20:37 -05:00
Matt Gilman
8f85b58dc5
NIFI-13477: (#9075)
- Refreshing the controller service listing after creation or deletion to ensure allowable values of other services is accurate.

This closes #9075
2024-07-11 23:51:22 -05:00
Scott Aslan
cd7559cdc8
[NIFI-13469] add attributes to jolt ui (#9028)
* [NIFI-13469] add attributes to jolt ui

* fix unit tests

* expansion panel styles and adding comments and organizing global styles

* Update nifi-frontend/src/main/frontend/apps/nifi-jolt-transform-ui/src/app/pages/jolt-transform-json-ui/feature/jolt-transform-json-ui.component.ts

Co-authored-by: Matt Gilman <matt.c.gilman@gmail.com>

* Update nifi-frontend/src/main/frontend/apps/nifi-jolt-transform-ui/src/app/pages/jolt-transform-json-ui/feature/jolt-transform-json-ui.component.ts

Co-authored-by: Matt Gilman <matt.c.gilman@gmail.com>

---------

Co-authored-by: Matt Gilman <matt.c.gilman@gmail.com>

This closes #9028
2024-07-10 15:45:06 -04:00
Scott Aslan
5193436a53
[NIFI-13492] fa-info-circle icon apply primary color (#9062)
This closes #9062
2024-07-09 08:37:54 -04:00
Matt Gilman
58b2af9a6e
NIFI-13523: (#9056)
- Refreshing the controller service listing after creation or deletion to ensure allowable values of other services is accurate.

This closes #9056
2024-07-08 12:34:51 -05:00
Scott Aslan
f5476ca3b4
[NIFI-13492] fa-info-circle icon apply primary color (#9036)
This closes #9036
2024-07-08 09:30:30 -04:00
Scott Aslan
bd80506e89
[NIFI-13472] update Alignment/spacing issues (#9022)
This closes #9022
2024-07-05 10:09:04 -04:00
Scott Aslan
66f403bd0f
[NIFI-13483] use primary contrast color for active thread count icon and text on primary surfaces (#9030)
This closes #9030
2024-07-03 13:18:30 -04:00
Scott Aslan
229364fc31
[NIFI-13483] update active thread count colors for PG and RPG (#9027)
* [NIFI-13483] update active thread count colors for PG and RPG

* address review feedback

This closes #9027
2024-07-02 17:36:23 -04:00
Matt Gilman
715989d48c
NIFI-13479: (#9026)
- Remove unnecessary imports which was impacting the ability to use EL and Parameter autocomplete.

This closes #9026
2024-07-02 13:19:02 -06:00
Joe Gresock
b105b5bbef
NIFI-13454 Renamed FileParameterProvider to KubernetesSecretParameterProvider
This closes #9008

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-06-27 08:36:44 -05:00
Scott Aslan
bd491e4e92
[NIFI-13431] Initial nifi-jolt-transform-ui Nx project and initial ad… (#8991)
* [NIFI-13431] Initial nifi-jolt-transform-ui Nx project and initial advanced UI layout/UX

* use @nifi/shared

* improve variable names and reeadablility, update js-beautify settings and leverage angular json pipe

* update rat

* remove console warnings

This closes #8991
2024-06-26 08:13:24 -04:00
Matt Gilman
8c89225029
NIFI-13416: (#8987)
- Allowing new parameters to override inherited parameters.
- Adding a new Override action to prepopulate the parameter name and sensitivity.
- Showing an indicator when a parameter in the listing is inherited.

This closes #8987
2024-06-20 12:18:17 -04:00
dependabot[bot]
9a69a28544
NIFI-13426 Upgraded JavaScript ws library from 8.17.0 to 8.17.1
This closes #8980

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-06-20 09:15:17 -05:00
Matt Gilman
e9cb00bd11
NIFI-13382: (#8957)
- Showing a full page error when the front end can no longer communicate with the back end.

This closes #8957
2024-06-14 10:04:53 -04:00
Matt Gilman
b1500ad031
NIFI-13391: (#8960)
- Setting up different environment files to configure ngrx store.
2024-06-12 12:22:27 -05:00
Matt Gilman
f20db691c7
NIFI-13385: (#8953)
- Disabling nx daemon during builds.

This closes #8953
2024-06-11 13:02:28 -04:00
Matt Gilman
b3c7952ef3
NIFI-13373: Adding support for banner text (#8947)
* NIFI-13373:
- Adding support for banner text.

* NIFI-13373:
- Prettier.

* NIFI-13373:
- Removing unused property.

* NIFI-13373:
- Defining reponse payload when loading banner text.
- Removing banner text from login, logout, and error pages.

* NIFI-13373:
- Only loading the banner text when necessary.

This closes #8947
2024-06-11 11:47:56 -04:00
Scott Aslan
2ef31f2372
[NIFI-13371] update canvas context menu (#8949)
This closes #8949
2024-06-10 19:01:27 -04:00
sujkm
15a56a1902
NIFI-13378: Adds Version State as filterable option in Process Groups tab in Summary (#8945)
* NIFI-13378: Adds Version State as filterable option in Process Groups tab in Summary

* updated value of selections to enum values

This closes #8945
2024-06-10 18:22:26 -04:00
Matt Gilman
406dbced3b
NIFI-13354: (#8936)
- Moving NiFi front end source into a top level maven module. This prepares for the introduction of other UIs that NiFi offers (like Custom UIs, Data Viewers, etc) to be colocated and share common components, styles, and dependencies.
- The nifi-web-frontend module which produces the war that is included in the server nar now no longer contains any source. It simply depends on the new nifi-frontend artifact that bundles all built UIs and unpacks its contents into the resulting war.
- Renaming nifi-web-frontend to nifi-ui. Now nifi-frontend at the top level will hold all frontend apps. In this commit the nifi app in nifi-frontend is bundled into a war called nifi-ui.

This closes #8936
2024-06-07 16:25:07 -04:00