Adding ADLS gen2 protocol layer code. (#153)
* Adding test framework for azure storage. * Adding ADLS gen2 protocol layer code.
This commit is contained in:
parent
401298577e
commit
18408f848a
@ -9,7 +9,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||
|
||||
option(BUILD_STORAGE_SAMPLES "Build sample codes" ON)
|
||||
|
||||
set(AZURE_STORAGE_HEADER
|
||||
set (AZURE_STORAGE_BLOB_HEADER
|
||||
inc/common/storage_common.hpp
|
||||
inc/common/storage_credential.hpp
|
||||
inc/common/storage_url_builder.hpp
|
||||
@ -25,7 +25,12 @@ set(AZURE_STORAGE_HEADER
|
||||
inc/blobs/internal/protocol/blob_rest_client.hpp
|
||||
)
|
||||
|
||||
set(AZURE_STORAGE_SOURCE
|
||||
set (AZURE_STORAGE_DATALAKE_HEADER
|
||||
external/json.hpp
|
||||
inc/datalake/protocol/datalake_rest_client.hpp
|
||||
)
|
||||
|
||||
set (AZURE_STORAGE_BLOB_SOURCE
|
||||
src/blobs/blob_client.cpp
|
||||
src/blobs/block_blob_client.cpp
|
||||
src/blobs/blob_container_client.cpp
|
||||
@ -36,6 +41,19 @@ set(AZURE_STORAGE_SOURCE
|
||||
src/common/crypt.cpp
|
||||
)
|
||||
|
||||
set (AZURE_STORAGE_DATALAKE_SOURCE
|
||||
)
|
||||
|
||||
set(AZURE_STORAGE_HEADER
|
||||
${AZURE_STORAGE_BLOB_HEADER}
|
||||
${AZURE_STORAGE_DATALAKE_HEADER}
|
||||
)
|
||||
|
||||
set(AZURE_STORAGE_SOURCE
|
||||
${AZURE_STORAGE_BLOB_SOURCE}
|
||||
${AZURE_STORAGE_DATALAKE_SOURCE}
|
||||
)
|
||||
|
||||
add_library(azure-storage ${AZURE_STORAGE_HEADER} ${AZURE_STORAGE_SOURCE})
|
||||
|
||||
find_package(LibXml2 REQUIRED)
|
||||
|
||||
22875
sdk/storage/external/json.hpp
vendored
Normal file
22875
sdk/storage/external/json.hpp
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2665
sdk/storage/inc/datalake/protocol/datalake_rest_client.hpp
Normal file
2665
sdk/storage/inc/datalake/protocol/datalake_rest_client.hpp
Normal file
File diff suppressed because it is too large
Load Diff
3
sdk/storage/sample/datalake_getting_started.cpp
Normal file
3
sdk/storage/sample/datalake_getting_started.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
@ -19,3 +19,4 @@ add_executable (
|
||||
target_link_libraries(azure-storage-test PRIVATE azure-storage)
|
||||
|
||||
add_gtest(azure-storage-test)
|
||||
|
||||
|
||||
@ -8,3 +8,4 @@ int main(int argc, char** argv)
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user