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.
This closes#8520.
- Upgraded Spring Boot from 3.2.2 to 3.2.3 for Registry
- Upgraded Spring Framework from 6.1.4 to 6.1.5 for Registry
Signed-off-by: Joseph Witt <joewitt@apache.org>
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.
Refactored Record.incorporateInactiveFields to handle when an updated field and an inactive field have the same name (which can happen if incorporateInactiveFields is called multiple times). Also refactored the setValue(String, Object) method to call setValue(RecordField, Object) because the logic had diverged. Also exposed the text of Expression Language, which led to the discovery of this bug.
This closes#8413
Signed-off-by: David Handermann <exceptionfactory@apache.org>