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

normj/v4-smoketests #3576

Closed
wants to merge 163 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
163 commits
Select commit Hold shift + click to select a range
828d7e0
Remove net35 assemblies from nuspec templates (#3196)
dscpinheiro Feb 22, 2024
fa3b70e
refactor: Remove Net35 from manifest file
dscpinheiro Feb 22, 2024
09cd499
Update manifest file to use net462 instead of net45 (#3199)
dscpinheiro Feb 26, 2024
2d58656
Update integration test projects to target net462 (#3202)
dscpinheiro Feb 27, 2024
266e4b7
refactor: Update CSM projects to target net462 (#3204)
dscpinheiro Feb 28, 2024
c4f5c13
refactor: Add step in the generator to delete net35 and net45 legacy …
dscpinheiro Mar 5, 2024
e58bd59
Update SDK to use BCL constant instead of BCL45 (#3208)
dscpinheiro Mar 5, 2024
39a6959
Update remaining BCL45 constants (#3210)
dscpinheiro Mar 6, 2024
912a09e
Update test namespaces not to use 35 or 45 (#3212)
dscpinheiro Mar 6, 2024
f151c05
Remove AWS_APM_API references (#3216)
dscpinheiro Mar 8, 2024
21081fa
Generator changes for using nullable value types
normj Mar 13, 2024
11667be
Core changes required for supporting nullable value types from the ge…
normj Mar 13, 2024
355f12b
S3 manual changes for nullable value types
normj Mar 13, 2024
29784c3
Nullable changes in custom code for CognitoIdentity
normj Mar 13, 2024
c95aea4
Nullable changes in custom code for DynamoDB
normj Mar 13, 2024
31e05f8
Nullable changes in custom code for EC2
normj Mar 13, 2024
f40c88b
Nullable changes in custom code for SecurityToken
normj Mar 13, 2024
25fae3e
Nullable changes in custom code for SSO
normj Mar 13, 2024
5b82177
Nullable changes in custom code for SSOOIDC
normj Mar 13, 2024
209b818
Update tests for nullable changes
normj Mar 13, 2024
1b32de2
Consistently use HasValue in nullable types in StringUtils
normj Mar 14, 2024
fc665f0
Commit generated files after generator change
normj Mar 14, 2024
64da6cf
Add .NET Standard 2.0 System packages to .NET Framework .NET Standard…
normj Mar 15, 2024
d901452
Merge commit '884027ba6daa81bccda208509604623b140700db'
normj Mar 22, 2024
e16e5e9
Change AWSConfigs.InitializeCollections to false for V4
normj Mar 22, 2024
03cf91a
Remove Legacy Enums (#3235)
dscpinheiro Mar 26, 2024
d6bd84d
Update STS to always use regional endpoints (#3236)
dscpinheiro Mar 28, 2024
4c66d38
Replace custom implementation of Join with string.Join (#3291)
danielmarbach Apr 22, 2024
815db56
Replace custom implementation of CopyStream with CopyTo (#3292)
danielmarbach Apr 22, 2024
622e523
Merge commit '875eb2d705bb0cdd8b8b602780494e7b8e0f13d3'
normj May 1, 2024
5f36129
Regen after merge
normj May 1, 2024
9af259c
Merge pull request #1038 from aws/v4-development-merge
normj May 2, 2024
22f0b2e
Remove DetermineServiceURL and refactor its usages to use config.Dete…
muhammad-othman May 10, 2024
48dcdeb
Run the generator to move DetermineServiceOperationEndpoint from clie…
muhammad-othman May 10, 2024
73af9bc
Manual fixes for v4 collections protocol tests
peterrsongg May 7, 2024
0f9cca4
Generated changes
peterrsongg May 7, 2024
aff3507
Address PR Feedback
peterrsongg May 9, 2024
2a20bf5
Merge pull request #3311 from aws/muhamoth/v4-DOTNET-7427-remove-endp…
muhammad-othman May 14, 2024
e24a2d9
Fix failing unit tests
dscpinheiro May 15, 2024
136cd9c
Add an Implementation for DetermineServiceOperationEndpoint in Client…
muhammad-othman May 15, 2024
d2c4bac
Merge pull request #1047 from aws/muhamoth/DOTNET-7377-fix-protocol-t…
muhammad-othman May 15, 2024
2a40ded
chore: Remove generated marshalling tests
dscpinheiro May 15, 2024
f0a5083
Rewrite RegionEndpoint and move endpoints.json from core to the gener…
muhammad-othman May 16, 2024
c620b08
Merge pull request #1041 from aws/muhamoth/v4-DOTNET-7427-remove-endp…
muhammad-othman May 16, 2024
87d584d
refactor: Fix failing integration tests
dscpinheiro May 16, 2024
c871c39
chore: Update generated files
dscpinheiro May 16, 2024
12682c4
fix: Fix failing unit tests releated to endpoints removal
muhammad-othman May 23, 2024
b5afae9
Merge pull request #1054 from aws/muhamoth/DOTNET-7427-v4-fix-unittests
muhammad-othman May 30, 2024
45f8118
Fix TestSignerScope UnitTest to pass after removing endpoints.json
muhammad-othman Jun 3, 2024
40f7871
Update Core nuspec file for V4 to include .NET Standard 2.0 dependenc…
normj Jun 5, 2024
59f087d
Optimize `AWSSDKUtils.ToHex()` for speed and memory (#3293)
stevenaw Jun 5, 2024
82a9e14
Updates to support 4.0.0.0-preview.
boblodgett Jun 6, 2024
fb10889
Updated versions to 4.0.0.0 in _sdk-versions.json.
boblodgett Jun 7, 2024
fa6114d
Change version strategy in V4 to set AssemblyVersion the same as Asse…
normj Jun 6, 2024
e9fd119
Change extension projects version strategy in V4 to set AssemblyVersion.
boblodgett Jun 10, 2024
66786fc
Change V4 .NET Framework target from 4.6.2 to 4.7.2 (#3346)
normj Jun 19, 2024
2baba40
Add abstraction project for identity and auth (#3330)
dscpinheiro Jun 19, 2024
effe937
v4: Delete obsolete S3 Encryption client (#3354)
normj Jun 26, 2024
d1d7aad
Remove the obsolete ActionIdentifiers in v4 (#3357)
normj Jun 26, 2024
5f4ac64
V4 updates for AWSSDK.Extensions.NETCore.Setup (Native AOT) (#3353)
normj Jun 27, 2024
5c9a1cd
Rerun generator to pick up latest generator changes.
normj Jun 27, 2024
8173f6c
Revert "Add abstraction project for identity and auth (#3330)"
dscpinheiro Jun 26, 2024
99ba6f1
Optimize AWS4Signer (#3324)
danielmarbach Jun 28, 2024
460bb57
Add equals override for ActionIdentifier (#3369)
normj Jul 2, 2024
a588c12
Updated support for bidi characters in resource paths.
boblodgett Jul 1, 2024
9b6af17
Add generate redirect bindings property for .NET Framework test proje…
normj Jul 2, 2024
c72a418
Add check for .NET Framework assembly binding errors (#3372)
normj Jul 3, 2024
37a9afe
Optimize ParameterAsString (#3363)
danielmarbach Jul 4, 2024
c5e8e47
Optimize DetermineService (#3365)
danielmarbach Jul 4, 2024
7bd0df1
Optimize UrlEncode in Utils (#3307)
danielmarbach Jul 10, 2024
5a40575
chore: Update System.Text.Json dependency
dscpinheiro Jul 10, 2024
a17338c
Update Resource Path canonicalization to follow RFC 3986 in accordanc…
peterrsongg Jul 19, 2024
8c4a5c6
Optimize GetExtension execution time on NET8 (#3359)
stevenaw Jul 26, 2024
de93a95
chore: Remove CloudSearch integration tests
dscpinheiro Jul 29, 2024
e67b7d1
fix: update S3 mock request to call composeUrl (#3404)
peterrsongg Jul 30, 2024
391da90
[V4] API Documentation Generation Initial Changes (#3399)
boblodgett Jul 31, 2024
dc3a970
Use different constructor of MemoryStream for stream properties that …
normj Aug 2, 2024
99f8830
Merge commit '2b0190e05c1787d2530d4c1a94beb3208b2b9f8e'
dscpinheiro Aug 2, 2024
75f2a7f
chore: Add generated files
dscpinheiro Aug 3, 2024
65e39a2
refactor: Fix unit tests
dscpinheiro Aug 3, 2024
3961509
fix: Update assembly description to use net472
dscpinheiro Aug 5, 2024
8e74d19
Merge V3 into V4 prior to initial preview
dscpinheiro Aug 5, 2024
ffa85b0
fix: Update DownloadDirectoryCommand to handle non existent directori…
muhammad-othman Aug 6, 2024
845f14e
fix: Update SQS test to handle null collections
dscpinheiro Aug 6, 2024
f289bbb
fix: Update GetAllObjectKeys & PaginatedResource to handle null S3Obj…
muhammad-othman Aug 7, 2024
886dd05
Update to protocol test generator to match v3 and comment out 2 tests…
peterrsongg Aug 7, 2024
6e760d5
Optimize memory usage and improve code readability (#3425)
paulomorgado Aug 7, 2024
0ca2250
Merge pull request #3427 from aws/muhamoth/DOTNET-7682-v4-bug-null-co…
muhammad-othman Aug 8, 2024
6a79434
fix: Delay the cast from IAmazonDynamoDB to AmazonDynamoDBClient in t…
ashovlin Aug 8, 2024
0c5879b
Remove obsolete classes from core (final) (#3431)
peterrsongg Aug 8, 2024
c4e2519
Separate DynamoDBOperationConfig Into Operation-Specific Configs (#3421)
ashovlin Aug 9, 2024
0efcaac
test: Ensure protected and private properties are set when deserializ…
ashovlin Aug 13, 2024
05815e2
Revert "Remove obsolete classes from core (final) (#3431)" (#3440)
dscpinheiro Aug 14, 2024
6b631bf
feat: add a DynamoDBContextBuilder to construct a DynamoDBContext (#3…
philasmar Aug 14, 2024
078fd98
fix: Honor an OverrideTableName and DisableFetchingTableMetadata when…
ashovlin Aug 5, 2024
6869ddc
Separate DynamoDBContextConfig and DynamoDBOperationConfig, clean up …
ashovlin Aug 10, 2024
15a8661
Remove table caching properties from operation specific configs.
ashovlin Aug 10, 2024
0b38792
Commit version number update changes
aws-sdk-dotnet-automation Aug 15, 2024
514cddb
Refactor User-Agent construction in Marshaller.cs
paulomorgado Aug 5, 2024
a61d3cf
Improve user agent string construction in Marshaller.cs
paulomorgado Aug 6, 2024
951bcad
Refactor ToUserAgentHeaderString and add new test
paulomorgado Aug 7, 2024
8dc4639
Add devConfig and suppress NormalizeStringsToUppercase warning in ToU…
muhammad-othman Aug 16, 2024
3fb7211
Merge pull request #3423 from paulomorgado/performance/string-builder-1
muhammad-othman Aug 16, 2024
6c740df
Split GetACL into GetBucketACL and GetObject ACL and the same for Put…
peterrsongg Aug 20, 2024
480a556
Update change log for V4 preview 1 changes. (#3448)
normj Aug 20, 2024
7056953
Remove embedded bouncy castle from core. Separate CloudFrontSigners a…
peterrsongg Aug 23, 2024
30f26e4
Avoid creating unnecessary intermediate strings (#3439)
paulomorgado Aug 24, 2024
ab2816a
Add the ability to mock BatchGet and MultiTableBatchGet operations (#…
96malhar Aug 6, 2024
2a725ef
Add the ability to mock BatchWrite and MultiTableBatchWrite operation…
96malhar Aug 9, 2024
ecf850d
Add the ability to mock TransactGet and MultiTableTransactGet operati…
96malhar Aug 13, 2024
ea25913
Add the ability to mock TransactWrite and MultiTableTransactWrite ope…
96malhar Aug 21, 2024
1de686b
Add the ability to mock AsyncSearch operations (#3437)
96malhar Aug 21, 2024
886ed9e
Add the ability to mock document model operations in DynamoDB (#3446)
96malhar Aug 21, 2024
c5487d5
fix: fix failing tests due to build errors
philasmar Aug 22, 2024
9ca55db
Merge pull request #3450 from aws/feature/v4-ddb-mock
philasmar Aug 26, 2024
5274c16
fix: Add missing AssemblyInfo files for new extensions
dscpinheiro Aug 26, 2024
fd9cc80
chore: add devconfig for the dynamodb mock feature
philasmar Aug 26, 2024
518ec07
Merge commit '5a152135e000587a58481d3320fe67732d653199'
dscpinheiro Aug 27, 2024
4ff15a3
chore: Update generated files
dscpinheiro Aug 27, 2024
41890c4
Merge pull request #3457 from aws/v4-development-merge
dscpinheiro Aug 28, 2024
83f9419
Updates the SDK versioning to use "preview.2" as suffix
dscpinheiro Aug 28, 2024
679eff5
fix: Ignore integration tests for S3 Select
dscpinheiro Aug 28, 2024
28e16a5
Commit version number update changes
aws-sdk-dotnet-automation Aug 28, 2024
18e0b92
Enabled XML self closing element handling without customizations. (#3…
boblodgett Sep 5, 2024
62fbb3a
V4: Fix bug with AWSSDK.Core's nuspec referencing the incorrect versi…
normj Sep 9, 2024
cb99209
Switched region endpoint generation to the partitions.json file.
boblodgett Sep 12, 2024
e7ff3a9
Add ToString methods for better enum string conversion (#3458)
paulomorgado Sep 17, 2024
4999792
Address Protocol Tests that are breaking changes (#3474)
peterrsongg Sep 19, 2024
304ad72
Add TryAddDefaultAWSOptions methods and unit tests
paulomorgado Sep 20, 2024
c61b200
fix #3125. allow x-amz-tagging-directive to be set on copy object req…
peterrsongg Sep 24, 2024
42fd9c3
docs: Add basic <inheritdoc/> support to the API reference generator,…
ashovlin Jul 17, 2024
68d3843
Remove DefaultConfigurationMode.Legacy from DefaultConfiguration comm…
muhammad-othman Sep 24, 2024
40aeb0e
Separate DynamoDBStreams from DynamoDB (#3477)
peterrsongg Sep 24, 2024
57e1357
Revert "fix: Ignore integration tests for S3 Select"
dscpinheiro Sep 24, 2024
c39b13c
V4 Code Analyzer for detecting NPE with Collection Initializers (#3478)
normj Sep 25, 2024
a3c9b53
Merge pull request #3390 from aws/shovlia/apiref-inheritdoc
muhammad-othman Sep 25, 2024
26eb997
Remove obsolete classes from core (#3456)
peterrsongg Sep 25, 2024
5a88f2d
Allow to remove table prefix on operation level (#3476)
Dreamescaper Sep 26, 2024
1e53c39
chore: Update versioning for preview 3
dscpinheiro Sep 26, 2024
47ffb01
fix: Check for null collections in AmazonEC2ResponseHandler
dscpinheiro Sep 27, 2024
a78abbd
Merge commit 'd837e1d9b57336394b2832b28a2a9052473dd618'
dscpinheiro Sep 27, 2024
2d837b2
chore: Update generated files
dscpinheiro Sep 27, 2024
bc492c8
fix: Remove extra character from user-agent header
dscpinheiro Sep 30, 2024
5dcde09
Merge pull request #3491 from aws/v4-development-merge
dscpinheiro Sep 30, 2024
bb6db11
Commit version number update changes
aws-sdk-dotnet-automation Oct 1, 2024
ec27560
Support cref and path attributes in inheritdoc tags
muhammad-othman Oct 1, 2024
bcd8eb9
Merge pull request #3498 from aws/muhamoth/DOTNET-7684-Support-More-C…
muhammad-othman Oct 4, 2024
06d8d57
Populate request property in request handler (#3504)
peterrsongg Oct 8, 2024
f73b3c3
chore: Update System.Text.Json dependency
dscpinheiro Oct 9, 2024
e3c7a62
chore: Update versioning for preview 4
dscpinheiro Oct 10, 2024
a0f7453
Commit version number update changes
aws-sdk-dotnet-automation Oct 11, 2024
5de9e0e
Make InternalSDKUtils AOT compatible in V4 (#3516)
peterrsongg Oct 17, 2024
4af5116
fix: update AWS_S3_USE_ARN_REGION to take precedence over value set i…
peterrsongg Oct 22, 2024
e34641f
Do not trim leading slashes for copy object and copy part operations …
peterrsongg Oct 31, 2024
15400fa
feat: Add observability to V4 DynamoDB HLL
96malhar Nov 1, 2024
0f1a82e
Support decimal precision for Document.FromJson and ToJson by using S…
normj Nov 6, 2024
3ff1cd9
Merge commit 'acae479fe47dc2583f625fe9f3d68413573ee15b'
dscpinheiro Nov 20, 2024
c44be2c
chore: Add generated files
dscpinheiro Nov 20, 2024
5aee938
fix: Manual changes after merge resolution
dscpinheiro Nov 21, 2024
042cf27
refactor: Add reason for skipped tests
dscpinheiro Nov 21, 2024
82c7d34
Merge pull request #3556 from aws/v4-development-merge
dscpinheiro Nov 25, 2024
88e86a5
Add code path to generate the skeleton of a smoke test v2
normj Dec 4, 2024
c820b8c
Generator implementation for V2 smoke tests for C2J files.
AlexDaines Dec 12, 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
Generator changes for using nullable value types
  • Loading branch information
normj committed Mar 13, 2024
commit 21081fa2236e27d848e95216c3080a5babb6d49a
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ protected void ProcessMembers(int level, string variableName, IEnumerable<Member

#line 50 "C:\codebase\v3\AWSDotNetPublic\generator\ServiceClientGeneratorLib\Generators\Marshallers\JsonRPCStructureMarshaller.tt"

string memberProperty = variableName + "." + member.PropertyName + (member.UseNullable ? ".Value" : string.Empty);
string memberProperty = variableName + "." + member.PropertyName + (member.IsNullable ? ".Value" : string.Empty);
if(member.IsStructure || member.IsList || member.IsMap)
{
this.ProcessStructure(level, variableName + "." + member.PropertyName, member.Shape);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace <#= this.Config.Namespace #>.Model.Internal.MarshallTransformat
<#=new string(' ', level * 4)#> {
<#=new string(' ', level * 4)#> context.Writer.WritePropertyName("<#=member.MarshallName#>");
<#+
string memberProperty = variableName + "." + member.PropertyName + (member.UseNullable ? ".Value" : string.Empty);
string memberProperty = variableName + "." + member.PropertyName + (member.IsNullable ? ".Value" : string.Empty);
if(member.IsStructure || member.IsList || member.IsMap)
{
this.ProcessStructure(level, variableName + "." + member.PropertyName, member.Shape);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -467,14 +467,14 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line hidden

#line 135 "C:\codebase\v3\AWSDotNetPublic\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture((member.UseNullable ? ".Value" : string.Empty)));
this.Write(this.ToStringHelper.ToStringWithCulture((member.IsNullable ? ".Value" : string.Empty)));


#line default
#line hidden

#line 135 "C:\codebase\v3\AWSDotNetPublic\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("));\t\t\t\t\t\r\n");
this.Write("));\r\n");


#line default
Expand Down Expand Up @@ -809,7 +809,7 @@ void ProcessMembers(int level, string variableName, IEnumerable<Member> members,
#line hidden

#line 200 "C:\codebase\v3\AWSDotNetPublic\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture((member.UseNullable ? ".Value" : string.Empty)));
this.Write(this.ToStringHelper.ToStringWithCulture((member.IsNullable ? ".Value" : string.Empty)));


#line default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ namespace <#=this.Config.Namespace #>.Model.Internal.MarshallTransformations
{
#>
<#=new string(' ', level * 4)#> if(<#=variableName#>.IsSet<#=member.PropertyName#>())
<#=new string(' ', level * 4)#> xmlWriter.WriteElementString("<#=member.MarshallName#>", "<#=operation.XmlNamespace#>", <#=member.PrimitiveMarshaller#>(<#=variableName#>.<#=member.PropertyName#><#=(member.UseNullable ? ".Value" : string.Empty)#>));
<#=new string(' ', level * 4)#> xmlWriter.WriteElementString("<#=member.MarshallName#>", "<#=operation.XmlNamespace#>", <#=member.PrimitiveMarshaller#>(<#=variableName#>.<#=member.PropertyName#><#=(member.IsNullable ? ".Value" : string.Empty)#>));
<#+
if(member.IsIdempotent)
{
Expand Down Expand Up @@ -197,7 +197,7 @@ namespace <#=this.Config.Namespace #>.Model.Internal.MarshallTransformations
{
#>
<#=new string(' ', level * 4)#> if(<#=variableName#>.IsSet<#=member.PropertyName#>())
<#=new string(' ', level * 4)#> xmlWriter.WriteElementString("<#=member.MarshallName#>", "<#=xmlNamespace#>", <#=member.PrimitiveMarshaller#>(<#=variableName#>.<#=member.PropertyName#><#=(member.UseNullable ? ".Value" : string.Empty)#>));
<#=new string(' ', level * 4)#> xmlWriter.WriteElementString("<#=member.MarshallName#>", "<#=xmlNamespace#>", <#=member.PrimitiveMarshaller#>(<#=variableName#>.<#=member.PropertyName#><#=(member.IsNullable ? ".Value" : string.Empty)#>));

<#+
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ public override string TransformText()

#line default
#line hidden
this.Write(");\r\n");
this.Write(".GetValueOrDefault());\r\n");

#line 95 "C:\codebase\v3\AWSDotNetPublic\generator\ServiceClientGeneratorLib\Generators\SourceFiles\BasePaginator.tt"

Expand Down Expand Up @@ -535,7 +535,7 @@ public override string TransformText()

#line default
#line hidden
this.Write(");\r\n");
this.Write(".GetValueOrDefault());\r\n");

#line 156 "C:\codebase\v3\AWSDotNetPublic\generator\ServiceClientGeneratorLib\Generators\SourceFiles\BasePaginator.tt"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ for(var i = 0; i < this.Operation.Paginators.InputTokens.Count; i++)
if (this.Operation.Paginators.MoreResults != null)
{
#>
while (response.<#=this.Operation.Paginators.MoreResults.PropertyName#>);
while (response.<#=this.Operation.Paginators.MoreResults.PropertyName#>.GetValueOrDefault());
<#
}
else if (this.Operation.Paginators.InputTokens[0].IsListOrDict)
Expand Down Expand Up @@ -152,7 +152,7 @@ for(var i = 0; i < this.Operation.Paginators.InputTokens.Count; i++)
if (this.Operation.Paginators.MoreResults != null)
{
#>
while (response.<#=this.Operation.Paginators.MoreResults.PropertyName#>);
while (response.<#=this.Operation.Paginators.MoreResults.PropertyName#>.GetValueOrDefault());
<#
}
else if (this.Operation.Paginators.InputTokens[0].IsListOrDict)
Expand Down
Loading