Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MINIFICPP-1616 Create PutAzureDatalakeStorage processor #1158

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
99cbeff
MINIFICPP-1616 Add Azure DataLake storage lib to minifi
lordgamez Jul 28, 2021
83a0b9b
Remove unnecessary nlohmann json library
lordgamez Jul 28, 2021
92f6400
Implement PutAzureDataLakeStorage processor
lordgamez Jul 29, 2021
7b507aa
Add tests for PutAzureDataLakeStorage processor
lordgamez Aug 2, 2021
3c42922
Handle error cases
lordgamez Aug 3, 2021
67a0199
Add PutAzureDataLakeStorage documentation
lordgamez Aug 4, 2021
1ee09e0
Use smart enum for conflict resolution strategy and fix rebase issues
lordgamez Aug 4, 2021
18d4a16
Minor fixes and refactoring
lordgamez Aug 6, 2021
5684a86
Add missing virtual destructor
lordgamez Aug 6, 2021
7af73ef
Add curl dependency to Azure core lib
lordgamez Aug 6, 2021
2f56127
Fix linter issues
lordgamez Aug 6, 2021
a167c01
Remove query string on the result Azure URL
lordgamez Aug 6, 2021
14dba5e
Fix naming conflict on Windows
lordgamez Aug 6, 2021
07844f3
Fix linter issue
lordgamez Aug 6, 2021
5a2df2d
Refactoring
lordgamez Aug 17, 2021
e6f7df9
Use nested namespaces
lordgamez Aug 18, 2021
d1b104a
Fix formatting
lordgamez Aug 19, 2021
a587ce4
Move upload URL handling to AzureDataLakeStorage
lordgamez Aug 19, 2021
66d5c0b
Move error handling to AzureDataLakeStorage
lordgamez Aug 19, 2021
2ad80df
Fix build issues
lordgamez Aug 23, 2021
c89db44
Fix auto termination in test
lordgamez Aug 25, 2021
329f751
Fix connectionstring bug
lordgamez Aug 26, 2021
8664907
Add new Azure processor to README.md
lordgamez Sep 6, 2021
215bae6
Improve test runtime
lordgamez Sep 10, 2021
c35d96f
Update Azure SDK to version 12.2.0
lordgamez Sep 13, 2021
577e475
Extract AzureStorageProcessor
lordgamez Sep 13, 2021
20d5038
Fix windows build
lordgamez Sep 14, 2021
d0de4e9
Check for additional problems in case of upload failure
lordgamez Sep 14, 2021
25a4e70
Fix filename description
lordgamez Sep 15, 2021
b9d4a2f
Incorporate review comments
lordgamez Sep 15, 2021
7a11d43
Fix after rebase
lordgamez Sep 16, 2021
f02f86c
Incorporate review comments
lordgamez Sep 16, 2021
240f0aa
Add comments
lordgamez Sep 16, 2021
c569c2d
Incorporate comment and fix build
lordgamez Sep 17, 2021
3f58ce3
Fix default instantiation of Azure Data Lake client
lordgamez Sep 21, 2021
faaa335
Replace buffer pointer with gsl::span
lordgamez Sep 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
export LDFLAGS="-L/usr/local/opt/flex/lib"
export CPPFLAGS="-I/usr/local/opt/flex/include"
# CPPFLAGS are not recognized by cmake, so we have to force them to CFLAGS and CXXFLAGS to have flex 2.6 working
./bootstrap.sh -e -t && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="${CPPFLAGS} ${CFLAGS}" -DCMAKE_CXX_FLAGS="${CPPFLAGS} ${CXXFLAGS}" -DENABLE_LUA_SCRIPTING=ON -DENABLE_SQL=ON -DUSE_REAL_ODBC_TEST_DRIVER=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_RULE_MESSAGES=OFF -DSTRICT_GSL_CHECKS=AUDIT -DFAIL_ON_WARNINGS=ON .. && cmake --build . --parallel 4
./bootstrap.sh -e -t && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="${CPPFLAGS} ${CFLAGS}" -DCMAKE_CXX_FLAGS="${CPPFLAGS} ${CXXFLAGS}" -DENABLE_LUA_SCRIPTING=ON -DENABLE_SQL=ON -DUSE_REAL_ODBC_TEST_DRIVER=ON -DENABLE_AZURE=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_RULE_MESSAGES=OFF -DSTRICT_GSL_CHECKS=AUDIT -DFAIL_ON_WARNINGS=ON .. && cmake --build . --parallel 4
fgerlits marked this conversation as resolved.
Show resolved Hide resolved
- name: test
run: cd build && make test ARGS="--timeout 300 -j4 --output-on-failure"
- name: linter
Expand Down
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,6 @@ endif()

## Azure Extensions
if (ENABLE_ALL OR ENABLE_AZURE)
include(NlohmannJson)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/nlohmann_json/dummy")

include(BundledAzureSdkCpp)
use_bundled_libazure(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
createExtension(AZURE-EXTENSIONS "AZURE EXTENSIONS" "This enables Azure support" "extensions/azure" "${TEST_DIR}/azure-tests")
Expand Down
25 changes: 0 additions & 25 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2924,31 +2924,6 @@ SOFTWARE

--------------------------------------------------------------------------

This product bundles 'JSON for Modern C++' which is available under a MIT license:
MIT License

Copyright (c) 2013-2021 Niels Lohmann

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

--------------------------------------------------------------------------

This project bundles 'range-v3' which is available under the Boost Software License.
It includes code from a number of other projects, all of which have their own BSD-like
or MIT licenses.
Expand Down
1 change: 0 additions & 1 deletion NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ This software includes third party software subject to the following copyrights:
- libsodium - Copyright (c) 2013 - 2018 Frank Denis under the ISC software license
- IANA timezone database - public domain
- date (HowardHinnant/date) - notices below
- JSON for Modern C++ (nlohmann/json) - Copyright (c) 2013-2021 Niels Lohmann
- range-v3 - Eric Niebler and other contributors

The licenses for these third party components are included in LICENSE.txt
Expand Down
26 changes: 26 additions & 0 deletions PROCESSORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
- [PublishKafka](#publishkafka)
- [PublishMQTT](#publishmqtt)
- [PutAzureBlobStorage](#putazureblobstorage)
- [PutAzureDataLakeStorage](#putazuredatalakestorage)
- [PutFile](#putfile)
- [PutOPCProcessor](#putopcprocessor)
- [PutS3Object](#puts3object)
Expand Down Expand Up @@ -1238,6 +1239,31 @@ In the list below, the names of required properties appear in bold. Any other pr
|success|All successfully processed FlowFiles are routed to this relationship|


## PutAzureDataLakeStorage

### Description

Puts content into an Azure Data Lake Storage Gen 2
### Properties

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

| Name | Default Value | Allowable Values | Description |
| - | - | - | - |
|**Azure Storage Credentials Service**|||Name of the Azure Storage Credentials Service used to retrieve the connection string from.|
|**Filesystem Name**|||Name of the Azure Storage File System. It is assumed to be already existing.<br/>**Supports Expression Language: true**|
|Directory Name|||Name of the Azure Storage Directory. The Directory Name cannot contain a leading '/'. If left empty it designates the root directory. The directory will be created if not already existing.<br/>**Supports Expression Language: true**|
|File Name|||The filename to be uploaded. If left empty the filename attribute will be used by default.<br/>**Supports Expression Language: true**|
|**Conflict Resolution Strategy**|fail|fail<br/>replace<br/>ignore|Indicates what should happen when a file with the same name already exists in the output directory.|

### Relationships

| Name | Description |
| - | - |
|failure|Files that could not be written to Azure storage for some reason are transferred to this relationship|
|success|Files that have been successfully written to Azure storage are transferred to this relationship|


## PutFile

### Description
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Through JNI extensions you can run NiFi processors using NARs. The JNI extension
| ------------- |:-------------| :-----|
| Archive Extensions | [ApplyTemplate](PROCESSORS.md#applytemplate)<br/>[CompressContent](PROCESSORS.md#compresscontent)<br/>[ManipulateArchive](PROCESSORS.md#manipulatearchive)<br/>[MergeContent](PROCESSORS.md#mergecontent)<br/>[FocusArchiveEntry](PROCESSORS.md#focusarchiveentry)<br/>[UnfocusArchiveEntry](PROCESSORS.md#unfocusarchiveentry) | -DBUILD_LIBARCHIVE=ON |
| AWS | [AWSCredentialsService](CONTROLLERS.md#awscredentialsservice)<br/>[PutS3Object](PROCESSORS.md#puts3object)<br/>[DeleteS3Object](PROCESSORS.md#deletes3object)<br/>[FetchS3Object](PROCESSORS.md#fetchs3object)<br/>[ListS3](PROCESSORS.md#lists3) | -DENABLE_AWS=ON |
| Azure | [AzureStorageCredentialsService](CONTROLLERS.md#azurestoragecredentialsservice)<br/>[PutAzureBlobStorage](PROCESSORS.md#putazureblobatorage) | -DENABLE_AZURE=ON |
| Azure | [AzureStorageCredentialsService](CONTROLLERS.md#azurestoragecredentialsservice)<br/>[PutAzureBlobStorage](PROCESSORS.md#putazureblobatorage)<br/>[PutAzureDataLakeStorage](#putazuredatalakestorage) | -DENABLE_AZURE=ON |
| CivetWeb | [ListenHTTP](PROCESSORS.md#listenhttp) | -DDISABLE_CIVET=ON |
| CURL | [InvokeHTTP](PROCESSORS.md#invokehttp) | -DDISABLE_CURL=ON |
| GPS | GetGPS | -DENABLE_GPS=ON |
Expand Down
57 changes: 19 additions & 38 deletions cmake/BundledAzureSdkCpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@
# under the License.

function(use_bundled_libazure SOURCE_DIR BINARY_DIR)
set(PATCH_FILE1 "${SOURCE_DIR}/thirdparty/azure-sdk-cpp-for-cpp/azure-sdk-for-cpp-old-compiler.patch")
set(PATCH_FILE2 "${SOURCE_DIR}/thirdparty/azure-sdk-cpp-for-cpp/fix-illegal-qualified-name-in-member.patch")
set(PC ${Bash_EXECUTABLE} -c "set -x &&\
(\"${Patch_EXECUTABLE}\" -p1 -R -s -f --dry-run -i \"${PATCH_FILE1}\" || \"${Patch_EXECUTABLE}\" -p1 -N -i \"${PATCH_FILE1}\") &&\
(\"${Patch_EXECUTABLE}\" -p1 -R -s -f --dry-run -i \"${PATCH_FILE2}\" || \"${Patch_EXECUTABLE}\" -p1 -N -i \"${PATCH_FILE2}\") ")


set(PATCH_FILE "${SOURCE_DIR}/thirdparty/azure-sdk-cpp/azure-sdk-cpp-remove-samples.patch")
set(PC ${Bash_EXECUTABLE} -c "set -x && \
(\"${Patch_EXECUTABLE}\" -p1 -R -s -f --dry-run -i \"${PATCH_FILE}\" || \"${Patch_EXECUTABLE}\" -p1 -N -i \"${PATCH_FILE}\")")
# Define byproducts
if (WIN32)
set(SUFFIX "lib")
Expand All @@ -31,20 +27,23 @@ function(use_bundled_libazure SOURCE_DIR BINARY_DIR)
set(AZURE_STORAGE_COMMON_LIB "${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/storage/azure-storage-common/${CMAKE_BUILD_TYPE}/${PREFIX}azure-storage-common.${SUFFIX}")
set(AZURE_STORAGE_BLOBS_LIB "${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/storage/azure-storage-blobs/${CMAKE_BUILD_TYPE}/${PREFIX}azure-storage-blobs.${SUFFIX}")
set(AZURE_IDENTITY_LIB "${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/identity/azure-identity/${CMAKE_BUILD_TYPE}/${PREFIX}azure-identity.${SUFFIX}")
set(AZURE_STORAGE_FILES_DATALAKE_LIB "${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/storage/azure-storage-files-datalake/${CMAKE_BUILD_TYPE}/${PREFIX}azure-storage-files-datalake.${SUFFIX}")
else()
set(SUFFIX "a")
set(PREFIX "lib")
set(AZURE_CORE_LIB "${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/core/azure-core/${PREFIX}azure-core.${SUFFIX}")
set(AZURE_STORAGE_COMMON_LIB "${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/storage/azure-storage-common/${PREFIX}azure-storage-common.${SUFFIX}")
set(AZURE_STORAGE_BLOBS_LIB "${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/storage/azure-storage-blobs/${PREFIX}azure-storage-blobs.${SUFFIX}")
set(AZURE_IDENTITY_LIB "${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/identity/azure-identity/${PREFIX}azure-identity.${SUFFIX}")
set(AZURE_STORAGE_FILES_DATALAKE_LIB "${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/storage/azure-storage-files-datalake/${PREFIX}azure-storage-files-datalake.${SUFFIX}")
endif()

set(AZURESDK_LIBRARIES_LIST
"${AZURE_CORE_LIB}"
"${AZURE_STORAGE_COMMON_LIB}"
"${AZURE_STORAGE_BLOBS_LIB}"
"${AZURE_IDENTITY_LIB}")
"${AZURE_IDENTITY_LIB}"
"${AZURE_STORAGE_FILES_DATALAKE_LIB}")

set(AZURE_SDK_CMAKE_ARGS ${PASSTHROUGH_CMAKE_ARGS}
-DWARNINGS_AS_ERRORS=OFF)
Expand All @@ -53,8 +52,8 @@ function(use_bundled_libazure SOURCE_DIR BINARY_DIR)
# Build project
ExternalProject_Add(
azure-sdk-cpp-external
GIT_REPOSITORY "https://github.com/Azure/azure-sdk-for-cpp.git"
GIT_TAG "azure-storage-blobs_12.0.0-beta.7"
URL https://github.com/Azure/azure-sdk-for-cpp/archive/refs/tags/azure-storage-files-datalake_12.2.0.tar.gz
URL_HASH "SHA256=d4e80ea5e786dc689ddd04825d97ab91f5e1ef2787fa88a3d5ee00f0b820433f"
BUILD_IN_SOURCE true
SOURCE_DIR "${BINARY_DIR}/thirdparty/azure-sdk-cpp-src"
BUILD_BYPRODUCTS "${AZURESDK_LIBRARIES_LIST}"
Expand All @@ -66,7 +65,7 @@ function(use_bundled_libazure SOURCE_DIR BINARY_DIR)
)

# Set dependencies
add_dependencies(azure-sdk-cpp-external-build CURL::libcurl LibXml2::LibXml2 OpenSSL::Crypto OpenSSL::SSL nlohmann_json::nlohmann_json)
add_dependencies(azure-sdk-cpp-external-build CURL::libcurl LibXml2::LibXml2 OpenSSL::Crypto OpenSSL::SSL)

# Set variables
set(LIBAZURE_FOUND "YES" CACHE STRING "" FORCE)
Expand All @@ -75,6 +74,7 @@ function(use_bundled_libazure SOURCE_DIR BINARY_DIR)
"${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/storage/azure-storage-blobs/inc/"
"${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/storage/azure-storage-common/inc/"
"${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/identity/azure-identity/inc/"
"${BINARY_DIR}/thirdparty/azure-sdk-cpp-src/sdk/storage/azure-storage-files-datalake/inc/"
CACHE STRING "" FORCE)
set(LIBAZURE_LIBRARIES ${AZURESDK_LIBRARIES_LIST} CACHE STRING "" FORCE)

Expand All @@ -87,48 +87,29 @@ function(use_bundled_libazure SOURCE_DIR BINARY_DIR)
set_target_properties(AZURE::azure-core PROPERTIES IMPORTED_LOCATION "${AZURE_CORE_LIB}")
add_dependencies(AZURE::azure-core azure-sdk-cpp-external-build)
target_include_directories(AZURE::azure-core INTERFACE ${LIBAZURE_INCLUDE_DIRS})
target_link_libraries(AZURE::azure-core INTERFACE LibXml2::LibXml2 CURL::libcurl OpenSSL::Crypto OpenSSL::SSL Threads::Threads nlohmann_json::nlohmann_json)
if (APPLE)
target_link_libraries(AZURE::azure-core INTERFACE "-framework CoreFoundation")
endif()
target_link_libraries(AZURE::azure-core INTERFACE CURL::libcurl OpenSSL::Crypto OpenSSL::SSL)
if (WIN32)
target_link_libraries(AZURE::azure-core INTERFACE winhttp.lib)
target_link_libraries(AZURE::azure-core INTERFACE winhttp.lib WebServices.lib)
endif()

add_library(AZURE::azure-identity STATIC IMPORTED)
set_target_properties(AZURE::azure-identity PROPERTIES IMPORTED_LOCATION "${AZURE_IDENTITY_LIB}")
add_dependencies(AZURE::azure-identity azure-sdk-cpp-external-build)
target_include_directories(AZURE::azure-identity INTERFACE ${LIBAZURE_INCLUDE_DIRS})
target_link_libraries(AZURE::azure-identity INTERFACE LibXml2::LibXml2 CURL::libcurl OpenSSL::Crypto OpenSSL::SSL Threads::Threads nlohmann_json::nlohmann_json)
if (APPLE)
target_link_libraries(AZURE::azure-identity INTERFACE "-framework CoreFoundation")
endif()
if (WIN32)
target_link_libraries(AZURE::azure-identity INTERFACE winhttp.lib)
endif()

add_library(AZURE::azure-storage-common STATIC IMPORTED)
set_target_properties(AZURE::azure-storage-common PROPERTIES IMPORTED_LOCATION "${AZURE_STORAGE_COMMON_LIB}")
add_dependencies(AZURE::azure-storage-common azure-sdk-cpp-external-build)
target_include_directories(AZURE::azure-storage-common INTERFACE ${LIBAZURE_INCLUDE_DIRS})
target_link_libraries(AZURE::azure-storage-common INTERFACE LibXml2::LibXml2 CURL::libcurl OpenSSL::Crypto OpenSSL::SSL Threads::Threads nlohmann_json::nlohmann_json)
if (APPLE)
target_link_libraries(AZURE::azure-storage-common INTERFACE "-framework CoreFoundation")
endif()
if (WIN32)
target_link_libraries(AZURE::azure-storage-common INTERFACE winhttp.lib)
endif()
target_link_libraries(AZURE::azure-storage-common INTERFACE LibXml2::LibXml2)

add_library(AZURE::azure-storage-blobs STATIC IMPORTED)
set_target_properties(AZURE::azure-storage-blobs PROPERTIES IMPORTED_LOCATION "${AZURE_STORAGE_BLOBS_LIB}")
add_dependencies(AZURE::azure-storage-blobs azure-sdk-cpp-external-build)
target_include_directories(AZURE::azure-storage-blobs INTERFACE ${LIBAZURE_INCLUDE_DIRS})
target_link_libraries(AZURE::azure-storage-blobs INTERFACE LibXml2::LibXml2 CURL::libcurl OpenSSL::Crypto OpenSSL::SSL Threads::Threads nlohmann_json::nlohmann_json)
if (APPLE)
target_link_libraries(AZURE::azure-storage-blobs INTERFACE "-framework CoreFoundation")
endif()
if (WIN32)
target_link_libraries(AZURE::azure-storage-blobs INTERFACE winhttp.lib)
endif()
add_definitions("-DBUILD_CURL_HTTP_TRANSPORT_ADAPTER")

add_library(AZURE::azure-storage-files-datalake STATIC IMPORTED)
set_target_properties(AZURE::azure-storage-files-datalake PROPERTIES IMPORTED_LOCATION "${AZURE_STORAGE_FILES_DATALAKE_LIB}")
add_dependencies(AZURE::azure-storage-files-datalake azure-sdk-cpp-external-build)
target_include_directories(AZURE::azure-storage-files-datalake INTERFACE ${LIBAZURE_INCLUDE_DIRS})
endfunction(use_bundled_libazure)
35 changes: 0 additions & 35 deletions cmake/NlohmannJson.cmake

This file was deleted.

27 changes: 0 additions & 27 deletions cmake/nlohmann_json/dummy/Findnlohmann_json.cmake

This file was deleted.

5 changes: 3 additions & 2 deletions extensions/aws/processors/DeleteS3Object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ const core::Relationship DeleteS3Object::Failure("failure", "FlowFiles are route

void DeleteS3Object::initialize() {
// Add new supported properties
updateSupportedProperties({ObjectKey, Version});
setSupportedProperties({Bucket, AccessKey, SecretKey, CredentialsFile, CredentialsFile, AWSCredentialsProviderService, Region, CommunicationsTimeout,
EndpointOverrideURL, ProxyHost, ProxyPort, ProxyUsername, ProxyPassword, UseDefaultCredentials, ObjectKey, Version});
// Set the supported relationships
setSupportedRelationships({Failure, Success});
}
Expand All @@ -74,7 +75,7 @@ std::optional<aws::s3::DeleteObjectRequestParameters> DeleteS3Object::buildDelet
}

void DeleteS3Object::onTrigger(const std::shared_ptr<core::ProcessContext> &context, const std::shared_ptr<core::ProcessSession> &session) {
logger_->log_debug("DeleteS3Object onTrigger");
logger_->log_trace("DeleteS3Object onTrigger");
std::shared_ptr<core::FlowFile> flow_file = session->get();
if (!flow_file) {
context->yield();
Expand Down
Loading