when importing a fetched file we cannot be sure if the problem is reading the source file or writing to the content repository. So we need to route to failure to allow flow designers to choose how to handle this.
This closes#8542
Signed-off-by: David Handermann <exceptionfactory@apache.org>
NIFI-1931 Add proper default value for auto commit (false) to PostgreSQLDatabaseAdapter to allow FETCH_SIZE to be honored on reads.
NIFI-1931 Added customValidate code to check the auto commit property setting against the db adapter's required auto commit setting and give validation error message if they do not match.
NIFI-1931 Added automated test to check the Auto Commit customValidate error message.
NIFI-1931 remove clearDefaultValue() because it is not needed since required = false a;ready defaults it to null.
This closes#8534
Signed-off-by: Matt Burgess <mattyb149@apache.org>
Extracted proxy service migration code into a common util module because the same logic was already used in AWS module,
and it is also reusable in other components for proxy property migration.
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes#8400.
NIFI-12700: made changes based on PR comments. Simplified statements involving determination of whether or not there are flowfile failures/rowErrors. Separated out getting rowErrors from OperationResponses into its own function
Signed-off-by: Matt Burgess <mattyb149@apache.org>
This closes#8322
- Supports handling Strings as hexadecimal character sequences or base64-encoded binary data when inserting into a binary type column
This closes#8493
Signed-off-by: David Handermann <exceptionfactory@apache.org>
Bumped GCP client library version
Added grpc-* jars in service api nar in order to avoid CNFE warning in io.grpc.LoadBalancerRegistry
Dependency clean-up in GCP modules
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes#8491.
Next step to color theming
Update theming to reference colors semantically
Material and Canvas palettes are reordered so that in all cases they go from 50 = lightest / least amount of color to 900 = darkest / most amount of color applied.
Usage of color has been changed so that Material's primary, accent, and warn values are used by semantic reference of 'default', 'lighter' and 'darker' rather than explicit number values.
The Canvas palettes still have values referenced directly because they are a special case.
Added SASS utilities:
- To help ensure color contrast for text and backgrounds by checking for a 4.5:1 contrast ratio.
- To provide helper functions that somewhat replicate Material designs approach to Surface and On Surface concepts. This is how the same Canvas palettes can be used for light and dark modes.
Some minor tweaks to the styling of the flow canvas to bring custom NiFi components and the Angular Material components closer together visually.
Moved the Canvas theme declaration to a separate file so the Material themes can be more easily swapped out without needing to redeclare the Canvas themes.
This closes#8480
- Adjusted Excel Record Reader test failure to use OpenXML Exception instead of message matching
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes#8488.
* NIFI-12720
Set an explicit background color for the skeleton-loader element so there is sufficient contrast to show the animation in both light and dark themes.
* NIFI-12720
Updates based on comments
* Update nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/styles.scss
Co-authored-by: Scott Aslan <scottyaslan@users.noreply.github.com>
---------
Co-authored-by: Scott Aslan <scottyaslan@users.noreply.github.com>
Updated all the checkboxes to use color="primary" to keep them consistent.
Revert "NIFI-12865 BUG - Checkboxes are inconsistently styled with primary or accent"
This reverts commit 5833cb1a39837b59de2c664c74c48a579234e284.
Removed Registry changes
* NIFI-12721 Button UX
Updated all the dialog buttons to change them from stroked and raised to basic. This better aligns with Angular Material guidelines and should address the confusion between disabled and cancelled.
* NiFi-12721 incremental update
Changed the combo editor and editor components to use the flat button styles. Missed them before because I was looking for dialogs.
Also caught a style bleed with button:disabled that should be button.nifi-button:disabled and updated that.
* Consolidated the button.nifi-button:disabled rules
Also ran Prettier to improve markup in a few spots
* NIFI-11443 Routed Python Framework Logging to SLF4J
- Changed Python logging to use standard output stream
- Adjusted Python logging format for simplified processing
- Updated PythonProcess to pipe standard error and standard output streams to reader
- Added Log Reader command with Virtual Thread for each Python Process
- Removed Python log properties from NiFi Properties configuration
Fixed issue in NiFiPythonGateway that stems from the fact that the thread adding an object to the JavaObjectBindings was not necessarily the thread removing them. The algorithm that was in place assumed that the same thread would be used, in order to ensure that an object could be unbound before being accessed. The new algorithm binds each new object to all active method invocations and only unbinds the objects after all method invocations complete, regardless of thread. Additionally, found that many method calls could create new proxies on the Python side, just for getter methods whose values don't change. This is very expensive, so introduced a new @Idempotent annotation that can be added to interface methods such that we can cache the value and avoid the expensive overhead.
This closes#8456
Signed-off-by: David Handermann <exceptionfactory@apache.org>