NIFI-10177: Addressed latest PR reviews. Reworded comments in the logout endpoint, use nifi registry properties to configure HTTP client timeouts for OIDC logout request, used NiFiUserUtils.getNiFiUserIdentity to retrieve identity used to delete the key
Signed-off-by: Nathan Gough <thenatog@gmail.com>
This closes#6637.
- Moved refresh of Registry Configuration to checkLogin functions
- Refreshing Registry Configuration allows the user interface to reflect the correct status for OIDC and other authentication strategies
Signed-off-by: Nathan Gough <thenatog@gmail.com>
This closes#6295.
- Added Ubuntu Zulu JDK 17 GitHub build
- Adjusted MiNiFi C2 FileSystemConfigurationCache test to avoid using environment variables
- Adjusted MiNiFi StatusLogger and StatusLoggerTest to avoid overriding private logger
- Adjusted failure reason attribute check in TestGetIgniteCache
- Adjusted TestRangerAuthorizer and TestRangerNiFiAuthorizer to avoid checking nested exceptions
- Adjusted encrypt-config TestUtil to avoid unnecessary comparison of different types
- Disabled Javascript tests on Java 15 and higher
- Disabled several Hive 3 tests on Java 17 for StringInternUtils illegal access
- Refactored nifi-enrich-processors tests to use Mockito without Powermock
- Refactored nifi-toolkit-tls tests to avoid illegal reflective access
- Removed deprecated X509Certificate test in CertificateUtilsTest
- Removed kryo serialization from nifi-site-to-site-client test
- Updated TestHashContent to use SHA-1 instead of SHA for hash algorithm
- Upgraded maven-war-plugin from 2.5 to 3.3.2
- Upgraded nifi-graph-bundle dependencies from Groovy 2.5.14 to 3.0.8
- Upgraded QuestDB from 4.2.1 to 6.2.1 in nifi-framework-core
This closes#5870
Signed-off-by: Mike Thomsen <mthomsen@apache.org>
* NIFI-8899 - Add NiFi Registry version information to the Registry under an "about" button.
Add a new endpoint to the registry API that serves up the project version.
Add a new "about" button to the Registry layout that shows a dialog with
version information.
* NIFI-8899 - Change where the version information is retrieved from
Change from pulling the version information from the POM itself, set by having maven filter the properties file at build time, to getting it from the `NiFiRegistryApiApplication` class's `getImplementationVersion` method.
* NIFI-8899 - Remove unused dependency
Left in an extra import
* NIFI-8899 - Rebase and update npm dependencies
Rebased on top of main, merged new dependencies
Updated and locking Sass to 1.49.7
* NIFI-8899 - Update typescript
Updated typescript to something more modern. (latest)
* NIFI-8899 - Change Version to RegistryVersion
Changed plain 'Version' to be more explicit about whose version: Registry
Changed the url endpoint from 'version' to 'about' to make it more clear it's
not a versioned resource but information about the registry itself
* NIFI-8899 - Reflect new API in UI, look-and-feel, build-and-run script
API changes are now reflected in the UI
Bring the look-and-feel more inline with the Nifi about page.
It's not perfect, but it looks much better than before.
Update the build-and-run script for the registry to not actually run the
registry if the build didn't complete
* NIFI-8899 - Fix spacing, documentation
Removed unused import
Fixed param name in javadoc
Fixed spacing in HTML
* NIFI-8899 - Change to dialogService, fix styling
Changed close button to use raised accent styling
Moved dialog showing into nf-registry.api.js
Changed click call to show dialog using the api method
Showing the dialog now makes the api call before rendering.
* NIFI-8899 - Fixed styling, refactored the about dialog codepath
Changed close button to use raised primary style
Changed click call to use nf-regisry.js to call the api method
Removed the extra call to show the dialog.
Removed some comments and outdated references
Merged #5743 into main.
- all ViewCild queries are decorated with {static: true} which is needed because of new angular version
none of these ViewChild under *ng directives so they are available during init with static:true
Merged #5831 into main.
update lintin
update font awesome path
bump nifi-fds version
update nifi deps
update frontend maven plugin
change CI npm cache restore keys so that we will not use cached directories for older versions of node
This closes#5751.
Signed-off-by: Kevin Doran <kdoran@apache.org>
* [NIFI-8821] Registry - Sorting the grid-list no linger expands the listed buckets
- gitignore is added to support dev UI run with npm
* - trackByFn is specified for ngForOf to help td-expansion-panel to track elements after sorting
* - adding trackByFn to all grid list view component codes
Merged #5611 into main.
- Registry bootstrap imports Material Icons font from covalent/core instead of material-design-icons
This closes#5500
Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
- Added REST endpoints in BucketFlowResource for importVersionedFlow and exportVersionedFlow.
- Added import and export dialogs.
- Set the initial value for the Bucket dropdown menu in the Import dialogs.
- Added frontend and backend integration tests.
- Created ExportedVersionedFlowSnapshot object.
- Added test resource file and updated rat configuration to skip the file during contrib-check.
- Refactored frontend and server side code.
- Updated Flow Actions menu hover and focus styles.
NIFI-8528 Migrate NiFi Registry fully codebase into NiFi as a module. No changes except certain dependency scopes to preserve the NiFi Registry original by overriding the new parent (nifi).
- Version adjustments. Removed distinct checkstye rules form nifi-registry. (Using nifi's instead.)
- Made some tests Windows-compatible.
- Consolidated LICENSE, NOTICE and README.md.
- Fixed CryptoKeyLoaderGroovyTest.groovy.
- Disable frontend-maven-plugin on Windows.
- Skipping all goals of the frontend-maven-plugin on Windows.
- Registry integration tests not to run in github jobs (same as the original settings). Skip all registry tests (build and run) on Windows.
- Removed Husky from registry.