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

Storage tables implementation #5137

Merged
merged 227 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from 215 commits
Commits
Show all changes
227 commits
Select commit Hold shift + click to select a range
1373a5f
dss
gearama Sep 20, 2023
a36fa1f
Merge branch 'main' of https://github.com/gearama/azure-sdk-for-cpp i…
gearama Oct 2, 2023
da70d72
first pass at a client and tests
gearama Oct 5, 2023
7958347
constructors work
gearama Oct 9, 2023
912d69b
working request, need to fix the response parsing
gearama Oct 11, 2023
301e0f1
basic tests working for service client
gearama Oct 12, 2023
c6a3a65
refactored the constructors
gearama Oct 12, 2023
9c42788
merge main
gearama Oct 13, 2023
326e888
Merge branch 'main' of https://github.com/gearama/azure-sdk-for-cpp i…
gearama Oct 13, 2023
0dd783f
testproxy and tests
gearama Oct 16, 2023
b186f7a
format file
gearama Oct 16, 2023
775b95e
got client and one API working
gearama Oct 17, 2023
c15971d
list working
gearama Oct 17, 2023
8648540
all apis recorded
gearama Oct 17, 2023
5821d08
new assets.json
gearama Oct 18, 2023
7599d6c
merge from main
gearama Oct 18, 2023
6384947
assets.json regen
gearama Oct 18, 2023
0c33b9f
format json
gearama Oct 18, 2023
861aab0
adding word to cspell
gearama Oct 18, 2023
4d28554
fix build issues
gearama Oct 18, 2023
2e6e8b5
fix one more break
gearama Oct 18, 2023
b40fae8
typo
gearama Oct 18, 2023
82ade61
clangs
gearama Oct 18, 2023
7c93ec1
one more issue
gearama Oct 18, 2023
16f817c
more fixezez
gearama Oct 18, 2023
107821c
regen recordings
gearama Oct 18, 2023
0cb6e05
try again
gearama Oct 19, 2023
3551b54
merge main
gearama Oct 19, 2023
b9f25bf
clangs
gearama Oct 19, 2023
68bb829
clangs again
gearama Oct 19, 2023
e5c9fc3
new assets
gearama Oct 19, 2023
0e27832
new test proxy
gearama Oct 20, 2023
65e3f9e
main merge
gearama Oct 20, 2023
a8a6071
regen tests based on new merge
gearama Oct 20, 2023
9fcd0a3
hmmm
gearama Oct 23, 2023
35fc38f
restore
gearama Oct 25, 2023
988d181
add debug env for test proxy
gearama Oct 25, 2023
8e0d3c6
merge main
gearama Oct 25, 2023
7f26b74
resync cmake presets from main
gearama Oct 25, 2023
aad5112
gor get and set working
gearama Oct 27, 2023
b3c5406
get stats
gearama Oct 27, 2023
ea1651a
table client and create
gearama Oct 31, 2023
3911a15
delete
gearama Oct 31, 2023
d969432
get/set acls
gearama Nov 1, 2023
94a3468
list tables
gearama Nov 3, 2023
5c4d50f
some cleanup
gearama Nov 3, 2023
dfef6e0
Create /update/merge/delete
gearama Nov 5, 2023
fcd461f
upsert
gearama Nov 6, 2023
416f642
query entities
gearama Nov 7, 2023
2c01bb2
merge from main
gearama Nov 7, 2023
0eccc33
merge main
gearama Nov 8, 2023
74b7db9
generated tests
gearama Nov 8, 2023
f215580
clangs
gearama Nov 8, 2023
a0cdc31
some fixes
gearama Nov 8, 2023
5edd4cd
some more errors
gearama Nov 8, 2023
0fec4a5
cspells
gearama Nov 8, 2023
5ad4434
got transaction API working
gearama Nov 9, 2023
b314f02
transactions working , need to parse response
gearama Nov 10, 2023
6ab9558
get data out of the response
gearama Nov 12, 2023
3806958
Merge branch 'main' into testBuild2
gearama Nov 15, 2023
9456b2b
clangs
gearama Nov 15, 2023
9ec1ecf
batch1
gearama Nov 15, 2023
c134849
regen tests
gearama Nov 15, 2023
063090e
part 2
gearama Nov 15, 2023
4e7fcec
batch3
gearama Nov 15, 2023
a4c0eee
batch4
gearama Nov 15, 2023
1f33523
clangs
gearama Nov 15, 2023
0292dc9
regen tests
gearama Nov 15, 2023
4e140c6
regen tests
gearama Nov 15, 2023
e774460
try again
gearama Nov 15, 2023
e5ecf17
live only
gearama Nov 15, 2023
56231b1
added some more tests for the transaction body
gearama Nov 16, 2023
c812039
small refactor for tests
gearama Nov 16, 2023
44653ca
oops
gearama Nov 16, 2023
e74e15a
some oter update
gearama Nov 16, 2023
5cca489
darn includes
gearama Nov 16, 2023
7a2d0cb
sddfsd
gearama Nov 16, 2023
6ca1899
erorr fix
gearama Nov 16, 2023
5107f9a
key clients
gearama Nov 21, 2023
14669be
sas
gearama Nov 29, 2023
45bf172
small cleanup
gearama Nov 29, 2023
464a4a9
All tests passing
gearama Dec 1, 2023
a488cd8
test recordings
gearama Dec 4, 2023
6c09e6e
Merge branch 'main' into testBuild2
gearama Dec 4, 2023
b26749d
clangs
gearama Dec 4, 2023
3c6d8f2
missing ENV for test
gearama Dec 4, 2023
ec82c3e
attempt1
gearama Dec 4, 2023
393b85e
retry
gearama Dec 4, 2023
05e563b
couple recordings
gearama Dec 4, 2023
3a3bd66
regen some tests
gearama Dec 5, 2023
a228526
clangs
gearama Dec 5, 2023
998b47c
again
gearama Dec 5, 2023
54647b4
again
gearama Dec 5, 2023
2c6d13d
comments
gearama Dec 6, 2023
f43ebbe
comments
gearama Dec 6, 2023
97c5d6d
headers and footers
gearama Dec 7, 2023
c21ae25
some cleanjup
gearama Dec 7, 2023
cf42a15
Move folders step1
gearama Dec 8, 2023
494a587
revert assets and test resources in storage
gearama Dec 8, 2023
b137c82
revert to main
gearama Dec 8, 2023
592506f
cspell
gearama Dec 8, 2023
992423d
readme
gearama Dec 8, 2023
f55695e
comments
gearama Dec 8, 2023
c29d6e8
Merge branch 'main' of https://github.com/gearama/azure-sdk-for-cpp i…
gearama Dec 8, 2023
46819a8
revert ci.yml
gearama Dec 8, 2023
9426cd9
liveonly test
gearama Dec 8, 2023
ec055dc
clangs
gearama Dec 8, 2023
14436d0
camke
gearama Dec 8, 2023
779f8bb
ci2
gearama Dec 8, 2023
ec38239
try again
gearama Dec 8, 2023
c57a5df
fdssfs
gearama Dec 8, 2023
4cd3987
fdsfsd
gearama Dec 8, 2023
c4127ae
some cleanup
gearama Dec 8, 2023
1228ec8
dasda
gearama Dec 8, 2023
4112448
dsdsds
gearama Dec 8, 2023
d97852f
asda
gearama Dec 8, 2023
93ac78e
assets
gearama Dec 8, 2023
1e2c26d
comments
gearama Dec 11, 2023
58a5f26
a few more bits and pieces
gearama Dec 11, 2023
afa4b7d
some other updates for cspell
gearama Dec 11, 2023
5518783
typo
gearama Dec 11, 2023
7be0a5d
more docs
gearama Dec 11, 2023
21c6072
spell
gearama Dec 11, 2023
bffbaea
another doc error
gearama Dec 11, 2023
7cce587
clangs docs
gearama Dec 11, 2023
02e4672
docs
gearama Dec 11, 2023
f0db83f
test cov
gearama Dec 11, 2023
78aa67f
dasdas
gearama Dec 11, 2023
b624ab7
hg
gearama Dec 11, 2023
8b4a414
stress test
gearama Dec 12, 2023
0a52782
cspell
gearama Dec 12, 2023
3a7b25c
Update sdk/storage/azure-storage-common/test/ut/CMakeLists.txt
gearama Dec 13, 2023
f20ca0b
Update sdk/storage/azure-storage-common/test/ut/shared_key_policy_lit…
gearama Dec 13, 2023
01b63cf
Update sdk/tables/azure-data-tables/CHANGELOG.md
gearama Dec 13, 2023
8306770
Update sdk/tables/azure-data-tables/CMakeLists.txt
gearama Dec 13, 2023
8557465
Update sdk/tables/azure-data-tables/test/stress/scenarios-matrix.yaml
gearama Dec 13, 2023
e817977
Update sdk/tables/azure-data-tables/test/stress/Dockerfile
gearama Dec 13, 2023
028cd64
PR comments
gearama Dec 13, 2023
c88eebc
respurces cleanup
gearama Dec 13, 2023
7351da0
cleanup 2
gearama Dec 13, 2023
cf24df2
respurce fix
gearama Dec 13, 2023
448a32e
revddrt
gearama Dec 13, 2023
ec3c87f
weqq
gearama Dec 13, 2023
d2dc4d6
oops
gearama Dec 13, 2023
f3034ba
try again
gearama Dec 13, 2023
04a8d3c
Update sdk/tables/azure-data-tables/vcpkg/vcpkg.json
gearama Dec 14, 2023
e47025a
try
gearama Dec 14, 2023
c4efed7
test fix
gearama Dec 14, 2023
2b492f5
samples
gearama Dec 14, 2023
4567d98
readmes
gearama Dec 15, 2023
c78119b
readmes
gearama Dec 15, 2023
d70c114
readmes
gearama Dec 15, 2023
07577b9
api view settings
gearama Dec 15, 2023
28cd39b
qualify friends
gearama Dec 15, 2023
270a109
try
gearama Dec 15, 2023
d0e4b86
moving usings
gearama Dec 15, 2023
0fae379
refactor for API View tool
gearama Dec 15, 2023
2b04a0d
some more
gearama Dec 15, 2023
e6e7e5f
Merge branch 'main' into testBuild2
gearama Dec 16, 2023
303cf68
clangs
gearama Dec 18, 2023
5e16cb2
Update sdk/tables/README.md
gearama Dec 18, 2023
e3143bb
Update sdk/core/azure-core/inc/azure/core/http/http.hpp
gearama Dec 18, 2023
1890ed0
Update sdk/core/azure-core/src/http/transport_policy.cpp
gearama Dec 18, 2023
b19b7f7
Update sdk/tables/azure-data-tables/inc/azure/data/tables/rest_client…
gearama Dec 18, 2023
e7a7084
Update sdk/tables/azure-data-tables/CHANGELOG.md
gearama Dec 18, 2023
3badb0f
Update sdk/tables/azure-data-tables/test/ut/CMakeLists.txt
gearama Dec 18, 2023
40854af
Update sdk/tables/azure-data-tables/src/rest_client.cpp
gearama Dec 18, 2023
e9313e4
some comments
gearama Dec 18, 2023
fd9ba18
commit thingy
gearama Dec 18, 2023
1eeab09
comments
gearama Dec 18, 2023
5d4dce8
comments part N
gearama Dec 18, 2023
423c775
clang
gearama Dec 18, 2023
6cd43da
try now
gearama Dec 19, 2023
1546939
clang
gearama Dec 19, 2023
53302cf
comments
gearama Dec 19, 2023
6c119aa
update file names
gearama Dec 19, 2023
c0e42a0
update test to check for the final signature
gearama Dec 19, 2023
2f6106f
ccc
gearama Dec 19, 2023
6a890db
rename shared key policy lite
gearama Dec 20, 2023
af625a9
cleanup some includes
gearama Dec 20, 2023
d05be3a
add a couple more tests
gearama Dec 28, 2023
08f92c4
small update
gearama Dec 28, 2023
25b33fa
clang
gearama Dec 28, 2023
741e889
increase test limits
gearama Dec 28, 2023
a3ef35e
xml transition
gearama Jan 3, 2024
d7fc970
service_version_policy
gearama Jan 3, 2024
475b507
shared creds and key policy lite
gearama Jan 3, 2024
bb56537
switch to secondary policy
gearama Jan 4, 2024
5e9d40c
code done
gearama Jan 4, 2024
6169929
remove last storage vestiges
gearama Jan 4, 2024
5c30f06
put back some code
gearama Jan 4, 2024
36c8b4f
readme/changelog
gearama Jan 4, 2024
751419e
Update sdk/tables/azure-data-tables/src/serializers.cpp
gearama Jan 5, 2024
13676a7
Add the shared key policy for Larry
gearama Jan 5, 2024
4573e2f
Larry comments
gearama Jan 9, 2024
3df4422
curlybracify the initializers
gearama Jan 9, 2024
4b0ccda
Update sdk/core/azure-core-xml/inc/azure/core/xml/dll_import_export.hpp
gearama Jan 9, 2024
86adb13
Update sdk/core/azure-core-xml/vcpkg.json
gearama Jan 9, 2024
4362e9a
Update sdk/tables/azure-data-tables/inc/azure/data/tables.hpp
gearama Jan 9, 2024
ce6e070
Rick's comments one more namespace change for serializers
gearama Jan 9, 2024
cf7c7ec
Merge pull request #1 from gearama/removeStorageDep
gearama Jan 9, 2024
843bea5
whiteline
gearama Jan 9, 2024
2993391
typo
gearama Jan 9, 2024
543b232
oops
gearama Jan 10, 2024
db86043
includes and clangs
gearama Jan 10, 2024
01ee538
cleanup
gearama Jan 10, 2024
762d6be
jhfjdhjfd
gearama Jan 10, 2024
bcfd3f0
hjkjdhf
gearama Jan 10, 2024
740d6c2
daas
gearama Jan 10, 2024
ac9a7d0
Anton's comments
gearama Jan 10, 2024
106307c
clang
gearama Jan 10, 2024
7184682
revert some changes
gearama Jan 10, 2024
74c07fd
fdss
gearama Jan 10, 2024
8cdb465
Merge branch 'Azure:main' into testBuild2
gearama Jan 10, 2024
89a9fbe
Update sdk/core/azure-core-xml/CHANGELOG.md
gearama Jan 10, 2024
e448acc
everything works
gearama Jan 10, 2024
7c6bc45
Merge branch 'testBuild2' of https://github.com/gearama/azure-sdk-for…
gearama Jan 10, 2024
92aea38
clangs and vcpkg test
gearama Jan 10, 2024
bd2b299
test remove azure-core-xml
gearama Jan 11, 2024
3f0fb48
vcpkg json
gearama Jan 11, 2024
ebb82b4
remove the code
gearama Jan 11, 2024
6bd5eef
Merge branch 'main' of https://github.com/gearama/azure-sdk-for-cpp i…
gearama Jan 11, 2024
5cde47c
merge main
gearama Jan 11, 2024
f3f56f2
saa
gearama Jan 11, 2024
c5272ba
wqw
gearama Jan 11, 2024
9d7f5f2
last comments
gearama Jan 11, 2024
998070d
clang
gearama Jan 11, 2024
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: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -360,3 +360,5 @@ build/
.assets

CMakeUserPresets.json
/vcpkg_installed
gearama marked this conversation as resolved.
Show resolved Hide resolved
/_deps/vcpkg-subbuild
14 changes: 13 additions & 1 deletion .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"eng/CredScanSuppression.json",
"**/test/ut/recordings/*.json",
"sdk/core/azure-core-amqp/vendor/**/*",
"sdk/storage/*/NOTICE.txt"
"sdk/storage/*/NOTICE.txt",
gearama marked this conversation as resolved.
Show resolved Hide resolved
"sdk/tables/*/NOTICE.txt"
],
// * Unless configured otherwise, these words are not case sensitive
// * Alphabetize the list when making changes so the list is easier for future
Expand Down Expand Up @@ -149,6 +150,7 @@
"mbps",
"MHSM",
"mmdc",
"mmspecial",
"moxygen",
"MSAL",
"msft",
Expand All @@ -168,6 +170,7 @@
"nostd",
"nread",
"NTSTATUS",
"odata",
"Oaep",
"OIDC",
"okhttp",
Expand Down Expand Up @@ -210,6 +213,7 @@
"stoull",
"STREQ",
"Sutou",
"testid",
"swedencentral",
"switzerlandnorth",
"switzerlandwest",
Expand Down Expand Up @@ -349,6 +353,14 @@
"pfile"
]
},
{
"filename": "**/sdk/tables/test-resources.json",
"words": [
"bfqt",
"rwdlacup",
"pfile"
]
},
{
"filename": "**/sdk/storage/faq.md",
"words": [
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ add_subdirectory(sdk/identity)
add_subdirectory(sdk/keyvault)
add_subdirectory(sdk/storage)
add_subdirectory(sdk/template)
add_subdirectory(sdk/tables)

if(BUILD_SAMPLES)
add_subdirectory(samples/integration/vcpkg-all-smoke)
Expand Down
5 changes: 5 additions & 0 deletions cmake-modules/FolderList.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ macro(GetFolderList project)
elseif(${project} STREQUAL STORAGE_QUEUES)
DownloadDepVersion(sdk/core azure-core 1.10.3)
DownloadDepVersion(sdk/storage/azure-storage-common azure-storage-common 12.5.0)
elseif(${project} STREQUAL DATA_TABLES)
gearama marked this conversation as resolved.
Show resolved Hide resolved
DownloadDepVersion(sdk/core azure-core 1.10.3)
DownloadDepVersion(sdk/core azure-core-xml 1.0.0-beta.1)
elseif(${project} STREQUAL EVENTHUBS)
DownloadDepVersion(sdk/core azure-core 1.10.1)
DownloadDepVersion(sdk/core azure-core-amqp 1.0.0-beta.1)
Expand All @@ -39,6 +42,8 @@ macro(GetFolderList project)
DownloadDepVersion(sdk/eventhubs azure-messaging-eventhubs 1.0.0-beta.3)
DownloadDepVersion(sdk/storage/azure-storage-common azure-storage-common 12.3.3)
DownloadDepVersion(sdk/storage/azure-storage-blobs azure-storage-blobs 12.8.0)
elseif(${project} STREQUAL CORE_XML)
DownloadDepVersion(sdk/core azure-core 1.10.3)
endif()
list(REMOVE_DUPLICATES BUILD_FOLDERS)
endmacro()
Expand Down
2 changes: 2 additions & 0 deletions sdk/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ if (BUILD_TESTING)
add_subdirectory(azure-core-test)
endif()

add_subdirectory(azure-core-xml)
gearama marked this conversation as resolved.
Show resolved Hide resolved

5 changes: 5 additions & 0 deletions sdk/core/azure-core-xml/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Release History

## 1.0.0-beta.1 (Unreleased)

- Initial release.
95 changes: 95 additions & 0 deletions sdk/core/azure-core-xml/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# setting CMAKE_TOOLCHAIN_FILE must happen before creating the project
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake-modules")
include(AzureVcpkg)
az_vcpkg_integrate()

cmake_minimum_required (VERSION 3.13)
project(azure-core-xml LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)

option(FETCH_SOURCE_DEPS "build source dependencies" OFF)

include(AzureVersion)
include(AzureCodeCoverage)
include(AzureTransportAdapters)
include(AzureDoxygen)
include(AzureGlobalCompileOptions)
include(AzureConfigRTTI)
include(AzureBuildTargetForCI)
# Add create_map_file function
include(CreateMapFile)

if(FETCH_SOURCE_DEPS)
set(AZ_ALL_LIBRARIES ON)
include(FolderList)
SetCompileOptions(CORE_XML)
GetFolderList(CORE_XML)
foreach(oneFolder IN LISTS BUILD_FOLDERS)
message("add folder ${oneFolder}")
add_subdirectory(${oneFolder} EXCLUDE_FROM_ALL)
endforeach()
elseif(NOT AZ_ALL_LIBRARIES)
find_package(azure-core-cpp CONFIG QUIET)
if(NOT azure-core-cpp_FOUND)
find_package(azure-core-cpp REQUIRED)
endif()
endif()

set(
AZURE_CORE_XML_HEADER
inc/azure/core/xml/dll_import_export.hpp
inc/azure/core/xml/rtti.hpp
inc/azure/core/xml/internal/xml_wrapper.hpp
)

set(
AZURE_CORE_XML_SOURCE
src/private/package_version.hpp
src/xml_wrapper.cpp
)

add_library(azure-core-xml ${AZURE_CORE_XML_HEADER} ${AZURE_CORE_XML_SOURCE})
create_per_service_target_build(core-xml azure-core-xml)

target_include_directories(
azure-core-xml
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc>
$<INSTALL_INTERFACE:include>
)

target_link_libraries(azure-core-xml PUBLIC Azure::azure-core)

if(WIN32)
target_link_libraries(azure-core-xml PRIVATE bcrypt webservices)
else()
find_package(LibXml2 REQUIRED)
target_include_directories(azure-core-xml SYSTEM PRIVATE ${LIBXML2_INCLUDE_DIRS})
target_link_libraries(azure-core-xml PRIVATE ${LIBXML2_LIBRARIES})
endif()
# make sure that users can consume the project as a library.
add_library(Azure::azure-core-xml ALIAS azure-core-xml)

# coverage. Has no effect if BUILD_CODE_COVERAGE is OFF
create_code_coverage(core-xml azure-core-xml azure-core-xml-test "tests?/*;samples?/*")

get_az_version("${CMAKE_CURRENT_SOURCE_DIR}/src/private/package_version.hpp")
generate_documentation(azure-core-xml ${AZ_LIBRARY_VERSION})

az_vcpkg_export(
azure-core-xml
CORE_XML
azure/core/xml/dll_import_export.hpp
)

az_rtti_setup(
azure-core-xml
CORE_XML
azure/core/xml/rtti.hpp
)
32 changes: 32 additions & 0 deletions sdk/core/azure-core-xml/NOTICE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
azure-template

NOTICES AND INFORMATION
Do Not Translate or Localize

This software incorporates material from third parties. Microsoft makes certain
open source code available at https://3rdpartysource.microsoft.com, or you may
send a check or money order for US $5.00, including the product name, the open
source component name, and version number, to:

Source Code Compliance Team
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052
USA

Notwithstanding any other terms, you may reverse engineer this software to the
extent required to debug changes to any libraries licensed under the GNU Lesser
General Public License.

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

Azure SDK for C++ uses third-party libraries or other resources that may be
distributed under licenses different than the Azure SDK for C++ software.

In the event that we accidentally failed to list a required notice, please
bring it to our attention. Post an issue or email us:

[email protected]

The attached notices are provided for information only.

52 changes: 52 additions & 0 deletions sdk/core/azure-core-xml/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Azure Template Package client library for C++

Azure Core Xml provides an implementation of serializing/deserializing Xml documents in C++ (`azure-core-xml`). These libraries follow the Azure SDK Design Guidelines for C++.

## Getting started

This library is not meant for direct use, but rather as a dependency for other libraries. If you are looking to use this library, please check out the [Azure SDK for C++](https://github.com/azure/azure-sdk-for-cpp)

## Contributing
For details on contributing to this repository, see the [contributing guide][azure_sdk_for_cpp_contributing].

This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [[email protected]](mailto:[email protected]) with any additional questions or comments.

### Additional Helpful Links for Contributors
Many people all over the world have helped make this project better. You'll want to check out:

* [What are some good first issues for new contributors to the repo?](https://github.com/azure/azure-sdk-for-cpp/issues?q=is%3Aopen+is%3Aissue+label%3A%22up+for+grabs%22)
* [How to build and test your change][azure_sdk_for_cpp_contributing_developer_guide]
* [How you can make a change happen!][azure_sdk_for_cpp_contributing_pull_requests]
* Frequently Asked Questions (FAQ) and Conceptual Topics in the detailed [Azure SDK for C++ wiki](https://github.com/azure/azure-sdk-for-cpp/wiki).

<!-- ### Community-->
### Reporting security issues and security bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) <[email protected]>. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://www.microsoft.com/msrc/faqs-report-an-issue).

### License

Azure SDK for C++ is licensed under the [MIT](https://github.com/Azure/azure-sdk-for-cpp/blob/main/LICENSE.txt) license.

<!-- LINKS -->
[azure_sdk_for_cpp_contributing]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/CONTRIBUTING.md
[azure_sdk_for_cpp_contributing_developer_guide]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/CONTRIBUTING.md#developer-guide
[azure_sdk_for_cpp_contributing_pull_requests]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/CONTRIBUTING.md#pull-requests
[azure_cli]: https://docs.microsoft.com/cli/azure
[azure_pattern_circuit_breaker]: https://docs.microsoft.com/azure/architecture/patterns/circuit-breaker
[azure_pattern_retry]: https://docs.microsoft.com/azure/architecture/patterns/retry
[azure_portal]: https://portal.azure.com
[azure_sub]: https://azure.microsoft.com/free/
[c_compiler]: https://visualstudio.microsoft.com/vs/features/cplusplus/
[cloud_shell]: https://docs.microsoft.com/azure/cloud-shell/overview
[cloud_shell_bash]: https://shell.azure.com/bash
37 changes: 37 additions & 0 deletions sdk/core/azure-core-xml/cgmanifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"$schema": "https://json.schemastore.org/component-detection-manifest.json",
"Registrations": [
{
"Component": {
"Type": "git",
"git": {
gearama marked this conversation as resolved.
Show resolved Hide resolved
"RepositoryUrl": "https://github.com/google/googletest",
"CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e"
}
},
"DevelopmentDependency": true
},
{
"Component": {
"Type": "other",
"Other": {
"Name": "clang-format",
"Version": "9.0.0-2",
"DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-amd64/clang-format-9_9-2~ubuntu18.04.2_amd64.deb.html"
}
},
"DevelopmentDependency": true
},
{
"Component": {
"Type": "other",
"Other": {
"Name": "doxygen",
"Version": "1.8.20",
"DownloadUrl": "http://doxygen.nl/files/doxygen-1.8.20-setup.exe"
}
},
"DevelopmentDependency": true
}
]
}
18 changes: 18 additions & 0 deletions sdk/core/azure-core-xml/inc/ApiViewSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"sourceFilesToProcess": null,
"sourceFilesToSkip": [
],
"additionalIncludeDirectories": [
"../../../core/azure-core/inc"
],
"additionalCompilerSwitches": [
"-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH"
],
"allowInternal": false,
"includeDetail": false,
"includePrivate": false,
"filterNamespace": "Azure::",
"reviewName": "Azure Template API Review",
"serviceName": "Azure Template",
"packageName": "azure-template"
}
46 changes: 46 additions & 0 deletions sdk/core/azure-core-xml/inc/azure/core/xml/dll_import_export.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

/**
* @file
* @brief DLL export macro.
*/

// For explanation, see the comment in azure/core/dll_import_export.hpp

#pragma once

/**
* @def AZ_CORE_XML_DLLEXPORT
* @brief Applies DLL export attribute, when applicable.
* @note See https://docs.microsoft.com/cpp/cpp/dllexport-dllimport?view=msvc-160.
*/

#if defined(AZ_CORE_XML_DLL) || (0 /*@AZ_CORE_XML_DLL_INSTALLED_AS_PACKAGE@*/)
#define AZ_CORE_XML_BUILT_AS_DLL 1
#else
#define AZ_CORE_XML_BUILT_AS_DLL 0
#endif

#if AZ_CORE_XML_BUILT_AS_DLL
#if defined(_MSC_VER)
#if defined(AZ_CORE_XML_BEING_BUILT)
#define AZ_CORE_XML_DLLEXPORT __declspec(dllexport)
#else // !defined(AZ_CORE_XML_BEING_BUILT)
#define AZ_CORE_XML_DLLEXPORT __declspec(dllimport)
#endif // AZ_CORE_XML_BEING_BUILT
#else // !defined(_MSC_VER)
#define AZ_CORE_XML_DLLEXPORT
#endif // _MSC_VER
#else // !AZ_CORE_XML_BUILT_AS_DLL
#define AZ_CORE_XML_DLLEXPORT
#endif // AZ_CORE_XML_BUILT_AS_DLL

#undef AZ_CORE_XML_BUILT_AS_DLL

/**
* @brief Azure Core Xml SDK abstractions.
*
*/
namespace Azure { namespace Core { namespace Xml {
}}} // namespace Azure::Core::Xml
Loading
Loading