Commit Graph

221 Commits

Author SHA1 Message Date
David Handermann d5b69c588f
NIFI-13562 Migrated web-api Configuration from XML to Java (#9111)
- Configured Controller annotation wiring for Resource classes
- Configured Service annotation wiring for Auditor classes
- Configured Repository annotation wiring for DAO classes
2024-07-29 10:21:57 -04:00
Ferenc Kis dca7aac9b3
NIFI-13541 [MiNiFi] Validate flow during startup
Signed-off-by: Csaba Bejan <bejan.csaba@gmail.com>

This closes #9073.
2024-07-25 07:57:54 -04:00
David Handermann 11fdc44fb9
NIFI-13577 Corrected null handling in Parameter Value Mapper (#9107) 2024-07-24 08:01:41 -04:00
David Handermann b0f419be2c
NIFI-13560 Changed Parameter Provider handling to avoid storing values (#9102)
- Added ParameterValueMapper for handling serialization of Parameter Values for Flow Configuration
- Added Parameter Group retrieval method for Flow Synchronizer
2024-07-23 11:31:16 -04:00
Bryan Bende 79ac0c2d89
NIFI-13570 Use NiFiProperties isHTTPSConfigured to determine if NAR Manager should use https
This closes #9100

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-07-22 10:58:08 -07:00
Bryan Bende 0e422f0ea3 NIFI-13566 Catch Throwable during JettyServer start to ensure any issue during start will exit
Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes #9101
2024-07-22 13:00:50 -04:00
Mark Payne 6dd83b7034 NIFI-13563: Updated Provenance Repository so that instead of returning the single latest event for a component, we return the events from the latest invocation / session. Added system tests to verify the behavior. Also, when replaying latest event, attempt all of those events until one succeeds or all fail
Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes #9095
2024-07-22 12:44:35 -04:00
David Handermann e72b099887
NIFI-13559 Removed Legacy Access Resource REST Methods (#9091)
- Removed GET /access for Access Status
- Removed GET /access/config for Login Configuration
- Removed GET /access/token/expiration for Access Token Expiration
2024-07-19 09:15:19 -04:00
Ferenc Erdei ee7a905c40
NIFI-13551 Fixed framework SSLContext loading for Headless Server
- Changed conditional from evaluating HTTPS port to evaluating store path and password properties

This closes #9083

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-07-18 12:44:00 -05:00
David Handermann e35cbbba81
NIFI-13558 Configured Web Security to ignore unauthenticated requests (#9090)
This closes #9090
2024-07-18 13:26:26 -04:00
Bryan Bende 16c9ea4f7c
NIFI-13536 Added branch parameter to REST methods for listing buckets and flows
This closes #9071

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-07-18 08:39:58 -05:00
Bryan Bende 8e5cf99cd7
NIFI-13556 Fixed logic for identifying components from uploaded NAR
- Return copied set of Extensions from ExtensionManager to avoid concurrent modification

This closes #9089

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-07-17 13:51:22 -05:00
Mark Payne 0e7e511aec
NIFI-13546 Fixed Content Repository recovery when archive directories are missing
Ensure on startup that Content Repo archive directories are created, if configured to do so, rather than creating them on demand. If IOException thrown when archiving file, delete it instead. Cleaned up some code duplication between remove(ResourceClaim) and archive(ResourceClaim) methods

This closes #9079

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-07-17 12:39:19 -05:00
Bryan Bende 76a23d921f
NIFI-13545 Improve BootstrapListener getClusterStatus to handle factory being null
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #9078.
2024-07-15 21:33:24 +07:00
Bryan Bende b5b61d960c
NIFI-13344 Implemented backend for uploading and managing custom NARs
- Add NarPersistenceProvider to framework API with standard implementation
- Add NarManager to orchestrate interactions with the persistence provider and framework
- Add REST API for upload, download, list, and delete of custom NARs
- Add CLI commands for call these REST APIs
- Implement an upload request replicator for replicating a file upload across the cluster
- Update ExtensionManager, NarLoader, and JettyServer to support unloading a NAR
- Add ability to replace a NAR in place by unloading components, loading new NAR, and reloading components
- Add system tests for uploading a NAR and verifying other APIs
- Add NAR digest to NarNode and summary DTO, fix bug in digest utils
- Sync NARs from cluster coordinator when joining the cluster

This closes #9017

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-07-12 09:02:25 -05:00
Joseph Witt 3f6eb6ff63
NIFI-13527 Corrected various grammar issues in comments and docs
This closes #9060

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-07-08 13:45:21 -05:00
Joseph Witt f92d8f72a8
NIFI-13526 Removed unused variables and localized nifi-socket-utils
- Remove nifi-socket-utils and moved remaining classes to referencing framework components

This closes #9059

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-07-08 13:44:42 -05:00
exceptionfactory 4006cb7849
NIFI-13510 Removed KerberosCredentialsService and implementations
- Removed nifi-kerberos-credentials-service-api and NAR
- Removed individual Kerberos credentials properties
- Removed NIFI_ALLOW_EXPLICIT_KEYTAB from nifi-env.sh
- Removed unused references to NiFi Properties in tests
This closes #9058

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-07-08 11:52:33 -04:00
Joseph Witt 15e5193099
NIFI-13517 Upgraded Jetty from 12.0.10 to 12.0.11 and others
- Upgraded AWS SDK 1 from 1.12.755 to 1.12.756
- Upgraded AWS SDK 2 from 2.26.14 to 2.26.15
- Upgraded Azure SDK BOM from 1.2.24 to 1.2.25
- Upgraded Elasticsearch Client from 8.14.1 to 8.14.2
- Upgraded GitHub Client from 1.322 to 1.323
- Upgraded mysql-connector-j from 8.4.0 to 9.0.0
- Upgraded Azure Kusto from 5.0.5 to 5.1.0
- Upgraded Datafaker from 2.2.2 to 2.3.0
- Upgraded nimbus-jose-jwt from 9.37.3 to 9.40
- Upgraded oauth2-oidc-sdk from 11.10.1 to 11.13

This closes #9051

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-07-06 10:00:13 -05:00
Joseph Witt 4ff70dd233
NIFI-13507 Removed nifi-prometheus-bundle
- Removed StandardGangliaReporter
- Removed PrometheusReportingTask
- Removed PrometheusRecordSink

This closes #9044

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-07-06 09:48:01 -05:00
exceptionfactory 7cb6684801
NIFI-13494 Removed support for Repository Encryption
This closes #9039

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-07-05 13:48:40 -07:00
exceptionfactory eb154d0640
NIFI-13518 Removed duplicative Windows start scripts
This closes #9052

- Removed run-nifi.bat in favor of nifi.cmd

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-07-05 13:41:20 -07:00
exceptionfactory dd71fa35ac
NIFI-13521 Removed nifi-headless-server-nar
This closes #9053

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-07-05 13:38:53 -07:00
Joseph Witt 1d2b755edf
NIFI-13511 Removed ShellUserGroupProvider from NiFi and Registry
This closes #9046

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-07-05 11:24:31 -05:00
David Handermann 3bb79f1ba6
NIFI-13476 Optimized Authorization Checking in Process Group Status (#9021)
- Avoided invoking Authorizer when nested component is not included in Process Group Status based on depth of recursion
2024-07-01 14:58:22 -04:00
exceptionfactory 275890a226
NIFI-13444 Removed unused test logging configuration
This closes #9004

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-06-25 20:03:15 -07:00
dan-s1 b3fac8c80b
NIFI-13403 Removed unnecessary toString in logging statements
This closes #8984

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-06-25 20:13:08 -05:00
Ferenc Kis a5501baa7f
NIFI-13396 Added Python constant Allowable Values to Manifests
This closes #8963

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-06-25 16:49:05 -05:00
David Handermann 42c0aa6aa7
NIFI-12125 Refactored Framework SSLContext Loading (#8967)
- Added Framework SSLContext Provider for centralized loading
- Refactored Spring Framework XML to Java Configuration
- Removed Jetty StoreScanner
2024-06-25 16:08:04 -04:00
Joseph Witt 87107b311a
NIFI-13438 Upgraded Spring to 6.1.10 along with other dependencies
- Upgraded sshd from 2.12.1 to 2.13.1
- Upgraded reactor-netty-http from 1.1.19 to 1.1.20
- Upgraded guava from 33.2.0-jre to 33.2.1-jre
- Upgraded maven-artifact from 3.9.7 to 3.9.8
- Upgraded spring-integrations from 6.3.0 to 6.3.1
- Upgraded jjwt from 0.12.5 to 0.12.6
- Upgraded unboundid from 7.0.0 to 7.0.1
- Upgraded json-schema-validator from 1.4.0 to 1.4.2
- Upgraded Spring Boot from 3.3.0 to 3.3.1
- Upgraded jline from 3.26.1 to 3.26.2
- Upgraded com.amazonaws from 1.12.742 to 1.12.748
- Upgraded AWS SDK from 2.26.1 from 2.26.8
- Upgraded Spring from 6.1.9 to 6.1.10
- Upgraded Spring Security from 6.3.0 to 6.3.1

This closes #9001

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-06-24 21:59:55 -05:00
Nissim Shiman 22f700f476
NIFI-13031 Changed PG StatusSnapshotDTO to use cloned copy for accurate status
This closes #8946

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-06-24 13:48:11 -05:00
dan-s1 957510e65a NIFI-13421 Replaced String.format in logging statements where only formatting strings (%s) with the use of logging parameters ({})
This closes #8994

Signed-off-by: Mike Thomsen <mthomsen@apache.org>
2024-06-23 18:13:39 -04:00
David Handermann 14b1776739
NIFI-13424 Switched to EdDSA for Application Bearer Tokens (#8986)
- Replaced PS512 algorithm based on RSASSA-PSS with EdDSA algorithm using Ed25519
- Added Ed25519 Signer and Verifier implementations based on Java Signature processing

This closes #8986
2024-06-21 08:49:45 -04:00
exceptionfactory 49a0401058
NIFI-13414 Removed Property Protection Modules and Encrypt Config
This closes #8978

- Removed nifi-property-protection-api and implementation modules
- Removed nifi-toolkit-encrypt-config and minifi-toolkit-encrypt-config modules
- Removed extra bootstrap.conf configuration files for property protection implementations

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-06-20 13:04:00 -07:00
Nissim Shiman d61b87bd9b
NIFI-13420 Maintain consistent maxNonHeapBytes for clustered diagnostics
- The merged value of maxNonHeapBytes should be -1 when at least one node has that value

This closes #8983

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-06-20 09:09:18 -05:00
exceptionfactory 9d618cc8d0
NIFI-13410 Upgraded Apache Curator from 5.6.0 to 5.7.0
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8972.
2024-06-19 10:29:07 +02:00
greyp9 dfd1276230
NIFI-13184 - mark invalid processors to start once they become valid (#8809) 2024-06-18 11:12:20 -04:00
Mark Payne 039cd2f18a
NIFI-13340 Fixed a bug in which an Output Port can leave a Process Group's DataValve open for output, but then the last FlowFile is terminated instead of going to an Output Port, ultimately resulting in the DataValve remaining open indefinitely. Now, this will be detected and the valve will be closed.
This closes #8951

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-06-17 09:39:38 -05:00
Joseph Witt bf637e0bfe
NIFI-13401 Upgraded Spring to 6.1.9 and Jetty to 12.0.10 and others
- Upgraded com.amazonaws from 1.12.733 to 1.12.742
- Upgraded software.amazon.awssdk from 2.25.63 to 2.26.1
- Upgraded com.box SDK from 4.9.1 to 4.10.0
- Upgraded commons-net from 3.11.0 to 3.11.1
- Upgraded io.dropwizard.metrics from 4.2.25 to 4.2.26
- Upgraded Netty from 4.1.110.Final to 4.1.111.Final
- Upgraded Commons Configuration2 from 2.10.1 to 2.11.0
- Upgraded Lucene from 9.10.0 to 9.11.0
- Upgraded org.checkerframework from 3.43.0 to 3.44.0
- Upgraded org.eclipse.jdt ecj from 3.37.0 to 3.38.0
- Upgraded Jetty from 12.0.9 to 12.0.10
- Upgraded Elasticsearch Client from 8.13.4 to 8.14.1
- Upgraded Spring Framework from 6.1.8 to 6.1.9
- Upgraded com.slack.api from 1.39.3 to 1.40.0
- Upgraded io.projectreactor from 3.6.6 to 3.6.7
- Upgraded JGit from 6.9.0.202403050737-r to 6.10.0.202406032230-r
- Upgraded Flyway from 10.13.0 to 10.15.0
- Upgraded Spring Integration from 6.2.5 to 6.3.0

This closes #8966

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-06-14 16:36:19 -05:00
dan-s1 7deac6afac
NIFI-13266 Removed String concatenation in logging messages (#8940)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-06-11 23:26:58 -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
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
Rob Fellows d86686bf0a
[NIFI-13370] - dark-mode support for browser inputs (#8935)
This closes #8935
2024-06-07 14:48:10 -04:00
Matt Gilman 5c62b67ea7
NIFI-13368: (#8931)
- Allowing tooltip mouse listeners to be destroyed when necessary.
- Ensuring connection source/destination run status and validation errors are updated when deleted.

This closes #8931
2024-06-06 11:19:58 -04:00
Matt Gilman 9e11c1a788
NIFI-13367: (#8933)
- Updating the page title to align with the root Process Group.

This closes #8933
2024-06-06 11:00:10 -04:00
Matt Gilman 5c335cbbec
NIFI-13364 Removed autorefresh and banner UI properties
This closes #8932

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-06-06 08:34:17 -05:00
simonbence 8d85aeb34e
Merge pull request #8930 from terjekid/main
NIFI-13365 - Fix unit tests running in kubernetes pod
2024-06-06 10:39:13 +02:00
Laszlo Denes Terjeki 61ce13c4f3 NIFI-13365 - Fix unit tests running in kubernetes pod 2024-06-05 16:41:30 +00:00
Matt Gilman 5727116aa0
NIFI-13313: Remove old UI (#8906)
* NIFI-13313:
- Use nifi-web-frontend as the default UI hosted at /nifi no longer deploying nifi-web-ui.

* NIFI-13313:
- Adding logout complete page.
- Updating backend to redirect to new logout complete page.

* NIFI-13313:
- Remove nifi-web-ui module.

* NIFI-13313:
- Updating LICENSE and NOTICE files for dependencies that are no longer included.

* NIFI-13313:
- Updating README.
- Updating proxy config to mirror actual context path.

* NIFI-13313:
- Establishing rewrite rules for redirecting logout complete.
- Setting the default handler for when a request isn't handled to redirect the user to /nifi.

* NIFI-13313:
- Removing nifi-web-error module.

* NIFI-13313:
- Restoring /nifi/logout-complete path.

* NIFI-13313:
- Adding an error handler for the ui which handles redirects to a 404 page.

This closes #8906
2024-06-05 09:09:01 -04:00
Bence Simon 0a5be35357 NIFI-13030 Adding endpoint for comparing versions of registered flows
This closes #8670

Signed-off-by: Peter Gyori <pgyori@apache.org>
2024-06-05 09:54:49 +02:00
Scott Aslan 21f0ca47b0
[NIFI-13360] rename nifi theme to supplemental theme (#8926)
* [NIFI-13360] rename nifi theme to supplemental theme

* Update nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/styles/_app.scss

Co-authored-by: Rob Fellows <rob.fellows@gmail.com>

* Update nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/apps/nifi/src/assets/styles/_app.scss

Co-authored-by: Rob Fellows <rob.fellows@gmail.com>

---------

Co-authored-by: Rob Fellows <rob.fellows@gmail.com>

This closes #8926
2024-06-04 17:00:53 -04:00
Scott Aslan a9c01903ee
[NIFI-13361] determine extension description height base on $body-2 line-height configuration (#8927)
This closes #8927
2024-06-04 15:28:46 -04:00
Scott Aslan e22ca038ed
[NIFI-13331] set default table density to -4 for all listings in nifi (#8925)
This closes #8925
2024-06-04 15:07:55 -04:00
Scott Aslan 6206f0f008
[NIFI-13349] align angular material and tailwind typography (#8918)
* [NIFI-13349] align angular material and tailwind typography

* override default tailwind fontSize configurations to match up with angular material typography configuration

* cleanup duplicate style

* add text-3xl tailwind configuration

* update primary-node-only to use text-sm

* replace .refresh-container with text-sm

* add comments for $subtitle-2 material typography config

* adjust $subtitle-2 font size and line height

This closes #8918
2024-06-04 13:08:17 -04:00
Scott Aslan 3ef85e3347
[NIFI-13353] improve anchor tag hover state styles in dark mode (#8920)
This closes #8920
2024-06-04 10:56:21 -04:00
Scott Aslan 89f153aad8
[NIFI-13355] move view cluster details and view flow configuration details into action kebab menus (#8921)
This closes #8921
2024-06-04 08:58:32 -04:00
Matt Gilman e142341ceb
NIFI-13337: (#8915)
- Adjust column widths of the queue listing table.
2024-06-03 19:30:21 -05:00
Matt Gilman 210e0b1655
NIFI-13350: (#8912)
- Allowing parameters to be edited in New Parameter Context dialog.
- Ensuring the proper tab is selected in the Parameter Context dialog based on the current usage.

This closes #8912
2024-06-03 17:04:46 -04:00
sujkm f9aefc2d5e
NIFI-11078: Adds Component UUID to Flow Configuration History Table (#8909)
This closes #8909
2024-06-03 16:24:40 -04:00
Scott Aslan 30a44464f7
[NIFI-13325] update dark mode theme density to match light mode (#8904)
* [NIFI-13325] update dark mode theme density to match light mode

* remove density from nifi themes as only colors are used from this theme

This closes #8904
2024-06-03 08:14:57 -04:00
David Handermann 5cf43f4a3c
NIFI-13307 Replaced KeyStoreUtils with nifi-security-ssl Builders (#8895)
- Removed unused test classes from nifi-web-api
2024-05-31 15:51:17 -04:00
Ferenc Erdei c12842fc83
NIFI-13309 Lookup compatible bundles even if previous flow was empty
Signed-off-by: Ferenc Kis <briansolo1985@gmail.com>

This closes #8888.
2024-05-31 10:37:05 +02:00
dan-s1 86d36d2327
NIFI-13265 Removed instantiation of Object arrays for log arguments
This closes #8896

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-30 17:17:33 -05:00
Matt Gilman 983f209083
NIFI-13321: (#8901)
- Fixing the mocking of child components in unit tests.
- Removing any provided dependency that is no longer needed.

This closes #8901
2024-05-30 17:05:27 -04:00
Scott Aslan e66c1643d1
[NIFI-13246] move actions from details columns into menu (#8900)
* [NIFI-13246] move actions from details columns into menu

* move View Documentation menu option lower

This closes #8900
2024-05-30 16:54:22 -04:00
Scott Aslan 732b587561
[NIFI-13234] update unauthorized canvas component colors (#8902)
* [NIFI-13234] update unautorized canvas component colors

* restore web font loader to ensure positions of canvas text is calculate correctly

This closes #8902
2024-05-30 15:21:34 -04:00
Rob Fellows a8ba9e99c4
[NIFI-13312] - Restructure as an Nx monorepo (#8893)
* [NIFI-13312] - Restructure as an Nx monorepo

* restored lint:fix functionality, updated package-lock

This closes #8893
2024-05-30 09:57:06 -04:00
Shane e3cf0a67bc
NIFI-13289 add tooltips to NewCanvasItem (#8870)
This closes #8870
2024-05-29 19:34:26 -04:00
Matt Gilman 2cd4624825
NIFI-13299: (#8894)
- Adding min validators where appropriate.

This closes #8894
2024-05-29 16:23:15 -04:00
Matt Gilman 0660616864
NIFI-13284: (#8891)
- Only saving canvas routes that are not edit or history.

This closes #8891
2024-05-29 14:36:49 -04:00
Rob Fellows dbc786095c
[NIFI-13269] - Order parameter reference list alphabetically (#8885)
* [NIFI-13269] - Order parameter reference list alphabetically

* ran prettier:format to address minor code style issue

* update nfpr and nfel to sort combo entries the same as the combo entries in the property table (case insensitive)

This closes #8885
2024-05-29 14:25:39 -04:00
Rob Fellows 82cd1e5ef0
[NIFI-13303] - Remove text indicating property verification is disabled. (#8884)
This closes #8884
2024-05-29 09:01:37 -04:00
Matt Gilman ffa5e8473d
NIFI-13285: If there is no transform to restore for the current viewport, executing a zoom fit (#8874)
* NIFI-13285:
- If there is no transform to restore for the current viewport, executing a zoom fit.

* NIFI-13285:
- Adjusting the canvas position styles and zoom fit calculations.

This closes #8874
2024-05-28 20:29:04 -04:00
Matt Gilman f0e1cdcb22
NIFI-12967: Introducing Back action (#8859)
* NIFI-12967:
- Adding support for navigating back to the users previous location in certain circumstances like going to a Controller Service, managing access policies, going to parameters, viewing documentation, opening advanced UIs, and viewing data provenance.
- Cleaning unnecessary instances of postUpdateNavigation.

* NIFI-12967:
- Updating the implementation to leverage router events and router state to simplify needed changes.

* NIFI-12967:
- Conditionally resetting or popping back navigation history because on routing context.

* NIFI-12967:
- Adding support for navigating back from queue listing and provenance.

* NIFI-12967:
- Conditionally applying the back navigation following a component update.

* NIFI-12967:
- Adding back from CS service listing.

* NIFI-12967:
- Adding back from Go To CS.
- Restoring some space in the context menu.

* NIFI-12967:
- Prevent duplicate entries in the back navigation stack.

* NIFI-12967:
- Not executing pop through navigation extras because it can result in multiple pops if the user uses their back/forward browser buttons. Instead, always popping until we encounter a back navigation that is still within a route boundary.
2024-05-28 15:57:16 -04:00
Matt Gilman 94b6e424b3
NIFI-13290: (#8871)
- Manually closing dialogs with proper result in Navigation lifecycle to ensure back/forward browser button works correctly. This change also handles any scenario when a user routes away from a dialog via a link or go to action so we were able to remove the dialog close action form those places.
2024-05-28 12:39:08 -04:00
Matt Gilman 90dee66101
NIFI-13286: (#8872) - Conditionally reloading the child PG or current PG when emptying all queues based on the context of the request.
This closes #8872
2024-05-28 09:21:31 -04:00
Matt Gilman e1920dace0
NIFI-13270: (#8877) - Persisting the select tab index
This closes #8877
2024-05-28 09:01:37 -04:00
exceptionfactory fa8dc4f1a0
NIFI-13295 Removed Apache Knox SSO Authentication
This closes #8876

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-05-25 13:10:36 -07:00
exceptionfactory 43cc2b4aaa
NIFI-13297 Removed Kerberos SPENGO Authentication
This closes #8879

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-05-25 12:47:38 -07:00
Scott Aslan 969b332fb0
[NIFI-13245] address component name overflow in provenance details di… (#8845)
* [NIFI-13245] address component name overflow in provenance details dialog

* address content tab column spacing

* use padding appropriately to ensure no overflow text

* restore vertical spacing

This closes #8845
2024-05-23 13:34:30 -04:00
Scott Aslan 62d5502bba
[NIFI-13207] page headers and refresh containers are consistently pos… (#8804)
* [NIFI-13207] page headers and refresh containers are consistently positioned between pages

* pad error banner

* display hint below form fields to follow material spec, updating padding/spacing accordingly

* revert access policies template

* remove unused MatHint

* access policy status as hint and center align hints

* use margin bottom on error banner and more spacing improvements

* update hint spacing in a few more use cases

* remove extra padding from bottom of nifi cluster table filter component

* collapse hint height when no text to display

* update padding for input form field placeholder padding

* use margins instead of padding

* final touches

This closes #8804
2024-05-23 13:19:03 -04:00
Rob Fellows 7951b4be80
[NIFI-13247] - Property Verification (#8857)
* [NIFI-13247] - Property Verification
* Added map-table providing a property-table-like component for simple key/value pairs.

* add missing license headers

* address review feedback

* update to leverage themed code-mirror styles

This closes #8857
2024-05-22 14:49:28 -04:00
Matt Gilman a971f94015
NIFI-13278: (#8862)
- Ensure 3rdpartylicenses.txt is included in resulting build artifact.
2024-05-22 12:28:14 -04:00
Scott Aslan a963c2ce45
[NIFI-13276] improve property editor to handle large amounts of text (#8866)
This closes #8866
2024-05-22 11:08:48 -04:00
Scott Aslan ac023db555
[NIFI-13280] hide flash of textarea when opening nf-editor (#8865)
This closes #8865
2024-05-22 11:07:40 -04:00
Scott Aslan 3467f6d1d5
[NIFI-13257] codemirror light and dark mode theme (#8855)
* [NIFI-13257] codemirror light and dark mode theme

* update non matching parameter or EL function a red color to signify it is not matching

This closes #8855
2024-05-22 07:45:10 -04:00
Rob Fellows f625d4c6c1
[NIFI-13277] - Make the main menu more compact in terms of spacing. (#8861)
This closes #8861
2024-05-21 15:15:28 -04:00
David Handermann 2a4d1de6c1
NIFI-13275 Removed web.xml from nifi-web-frontend (#8858)
This closes #8858
2024-05-21 13:42:21 -04:00
Matt Gilman 3a78575b9a
NIFI-12968: Simplify login sequence (#8843)
* NIFI-12968:
- Remove usage of Access-Token-Expiration
- No longer attempt SPNEGO auth
- Leverage authentication configuration to drive log in/out URIs
- Remove Login/Logout servlet filters
- Remove usage of access configuration and access status
- Fixing broken unit tests

* NIFI-12968:
- Only rendering the user identity when the user is not anonymous.
- Fixing an issue where the fallback route would render when redirecting the user to an external SSO log in.
- Using the login supported flag to render the log in link.

* NIFI-12968:
- Addressing review feedback.

This closes #8843
2024-05-21 08:42:19 -04:00
dan-s1 24b13d7a3e
NIFI-13250 Replaced deprecated method withRelyingPartyRegistration
This closes #8847

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-20 15:27:14 -05:00
Scott Aslan 093393a4ab
[NIFI-13260] enforce selected border even when component has color applied (#8846)
This closes #8846
2024-05-18 09:01:25 -04:00
David Handermann 226ac9671f
NIFI-13232 Add Authentication Configuration REST API method (#8834)
* NIFI-13232 Added Authentication Configuration REST API method

* NIFI-13236 Moved logoutSupported from Configuration to Current User

* NIFI-13232 Added externalLoginRequired field

This closes #8834
2024-05-17 17:50:09 -04:00
Rob Fellows 60112f242c
[NIFI-13226] - Support changing color of processors and labels (#8836)
* [NIFI-13226] - Support changing color of processors and labels

* style the processor icon for better support cross-themes

This closes #8836
2024-05-16 17:38:15 -04:00
Rob Fellows 439851fa6e
[NIFI-13233] - Fix for overflow issues on change version dialog (#8837)
* [NIFI-13233] - Fix for overflow issues on change version dialog

* adjust sizing/spacing between columns per feedback

* remove unnecessary overflow-hidden classes

This closes #8837
2024-05-16 13:43:54 -04:00
David Handermann 2a08586450
NIFI-13236 Corrected Content-Disposition Filename for Downloads (#8840)
- Added encoding method for handling filenames with non-ASCII characters

This closes #8840
2024-05-15 15:57:55 -04:00
Rob Fellows 0ef121493a
[NIFI-13241] - extend CloseOnEscpaeDialog in dialogs previously missing it (#8833)
* [NIFI-13241] - extend CloseOnEscpaeDialog in dialogs previously missing it

* extend CloseOnEscapeDialog in a few more instances

This closes #8833
2024-05-15 14:38:33 -04:00
Rob Fellows c794943c5b
[NIFI-13243] - support cancel response in CloseOnEscapeDialog (#8838)
This closes #8838
2024-05-15 14:37:41 -04:00
Bryan Bende 35a7e87432
NIFI-13235 Corrected REST API Import Process Group ID Reference
Use the PG id from the entity because component may be null if current user does not have READ permissions

This closes #8831

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-15 06:55:22 -05:00
Pierre Villard ee179f4acf
NIFI-13238 Added Checkstyle rules for whitespace
This closes #8832

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-05-15 06:41:19 -05:00
Rob Fellows 63a12b06b5
[NIFI-13197] - Clicking outside of a dialog no longer closes the dialog (#8811)
* [NIFI-13197] - Clicking outside of a dialog no longer closes the dialog. Also, escape will only close the dialog if the underlying form is not dirty.

* add license header

* allow ESC to close even if the for is dirty

This closes #8811
2024-05-14 18:24:33 -04:00