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

Smoke Tests Codegen Working #3155

Merged
merged 51 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
feeaccd
v1 codegen
sbera87 Oct 15, 2024
76ef3f9
updates
sbera87 Oct 16, 2024
f877902
updates
sbera87 Oct 16, 2024
ae0b5b2
codegen fixes
sbera87 Oct 16, 2024
1bba920
add service filter in configuration
sbera87 Oct 16, 2024
4dec4b3
add deps
sbera87 Oct 16, 2024
fbfb5c6
deps
sbera87 Oct 16, 2024
18f0386
projections test
sbera87 Oct 17, 2024
4b5a7f0
working codegen from script
sbera87 Oct 17, 2024
0233376
codegen script updates
sbera87 Oct 18, 2024
346c1f0
working codegen with script
sbera87 Oct 18, 2024
dc6da8d
ignore temp files for smithy codegen
sbera87 Oct 18, 2024
fb8414b
cleanup + codegen fixes
sbera87 Oct 18, 2024
872c19b
tweaks
sbera87 Oct 18, 2024
049a36d
remove temp files
sbera87 Oct 18, 2024
320e03d
remove temp files
sbera87 Oct 18, 2024
5ca8987
This release launches the CreateIntegration, DeleteIntegration, Descr…
aws-sdk-cpp-automation Oct 15, 2024
6b97b8c
Add support for the new optional bucket-region and prefix query param…
aws-sdk-cpp-automation Oct 16, 2024
785f364
Update API model
aws-sdk-cpp-automation Oct 17, 2024
1273eb9
This is an Amazon ECS documentation only update to address tickets.
aws-sdk-cpp-automation Oct 17, 2024
97e4f61
Don't continue polling input stream in case it is closed or in a bad …
SergeyRyabinin Oct 17, 2024
cbad9dc
Revert "Don't continue polling input stream in case it is closed or i…
SergeyRyabinin Oct 18, 2024
b49ca3a
Update API model
aws-sdk-cpp-automation Oct 18, 2024
ac1b079
Added converse support for custom imported models
aws-sdk-cpp-automation Oct 18, 2024
9cb4e54
codegen script updates
sbera87 Oct 18, 2024
d44f0eb
This release launches the CreateIntegration, DeleteIntegration, Descr…
aws-sdk-cpp-automation Oct 15, 2024
7a3f507
Add support for the new optional bucket-region and prefix query param…
aws-sdk-cpp-automation Oct 16, 2024
f16a2c1
merge
sbera87 Oct 20, 2024
b8bc77f
codegen fixes with cas
sbera87 Oct 21, 2024
1cf31c7
remove stray lines
sbera87 Oct 21, 2024
d3100ca
changes to get all clients to compile
sbera87 Oct 21, 2024
f9852cb
handle legacy and new service code generation
sbera87 Oct 22, 2024
5ae8434
fixes
sbera87 Oct 22, 2024
03cf379
cleanup
sbera87 Oct 22, 2024
b27da0e
cleanup
sbera87 Oct 23, 2024
31c8317
utilize importer for dependencies
sbera87 Oct 23, 2024
0c96460
handle num
sbera87 Oct 23, 2024
3f9f29b
cleanup + resolve PR comments
sbera87 Oct 24, 2024
c75a2d7
restore
sbera87 Oct 24, 2024
efa5bb4
remove helper for case conversion
sbera87 Oct 24, 2024
1be4d61
cleanup unused functions
sbera87 Oct 24, 2024
b27e018
remove commented lines
sbera87 Oct 25, 2024
e1c9608
PR comments fix
sbera87 Oct 25, 2024
febfcaf
cleanup
sbera87 Oct 25, 2024
c1a3350
cleanup
sbera87 Oct 25, 2024
aec431a
cleanup
sbera87 Oct 25, 2024
d336778
cleanup
sbera87 Oct 25, 2024
d2c23a6
formatting fixes
sbera87 Oct 25, 2024
b599f31
remove exceptions
sbera87 Oct 25, 2024
90f1772
PR feedback changes
sbera87 Oct 28, 2024
69600c5
remove catch exceptions
sbera87 Oct 29, 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
Prev Previous commit
Next Next commit
codegen script updates
  • Loading branch information
sbera87 committed Oct 18, 2024
commit 0233376100c7ad9e0612cdca0e1bdb787958588b
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,16 @@ if (LEGACY_BUILD)

include(utilities)


# Automatically find all subdirectories with CMakeLists.txt and add them
file(GLOB subdirs LIST_DIRECTORIES true "${CMAKE_SOURCE_DIR}/generated")

foreach(subdir ${subdirs})
if(EXISTS "${subdir}/CMakeLists.txt")
add_subdirectory(${subdir})
endif()
endforeach()

if (ENABLE_OPENSSL_ENCRYPTION)
set(CRYPTO_LIBS ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES})
set(CRYPTO_LIBS_ABSTRACT_NAME crypto ssl z)
Expand Down
29 changes: 29 additions & 0 deletions generated/smoke-tests/RunTests.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

#include <aws/testing/AwsCppSdkGTestSuite.h>

#if defined(HAS_UMASK)
#include <sys/stat.h>
#endif

int main(int argc, char** argv)
{
#if defined(HAS_UMASK)
// In order to fix github issue at https://github.com/aws/aws-sdk-cpp/issues/232
// Created dir by this process will be set with mode 0777, so that multiple users can build on the same machine
umask(0);
#endif
Aws::Testing::RedirectHomeToTempIfAppropriate();

// Disable EC2 metadata in client configuration to avoid requests retrieving EC2 metadata in unit tests.
Aws::Testing::SaveEnvironmentVariable("AWS_EC2_METADATA_DISABLED");
Aws::Environment::SetEnv("AWS_EC2_METADATA_DISABLED", "true", 1/*override*/);

::testing::InitGoogleTest(&argc, argv);
int retVal = RUN_ALL_TESTS();

return retVal;
}
Loading
Loading