Description of changes:
Declare TypeConfigurationModel as nullable: useful when running contract tests without a ~/.cfn-cli/typeConfiguration.json file. I ran contract tests (see excerpts below) without the ~/.cfn-cli/typeConfiguration.json file on my workstation this time, to verify this specific use case.
Unit tests excerpts
[INFO] Running com.awscommunity.s3.accesscontrol.PreUpdateHookHandlerTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.844 s -- in com.awscommunity.s3.accesscontrol.PreUpdateHookHandlerTest
[INFO] Running com.awscommunity.s3.accesscontrol.PreCreateHookHandlerTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 s -- in com.awscommunity.s3.accesscontrol.PreCreateHookHandlerTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0
[...]
[INFO] --- jacoco:0.8.10:check (jacoco-check) @ awscommunity-s3-accesscontrol-handler ---
[...]
[INFO] Analyzed bundle 'awscommunity-s3-accesscontrol-handler' with 5 classes
[INFO] All coverage checks have been met.
Issue #, if available:
Description of changes: Declare
TypeConfigurationModel
as nullable: useful when running contract tests without a~/.cfn-cli/typeConfiguration.json
file. I ran contract tests (see excerpts below) without the~/.cfn-cli/typeConfiguration.json
file on my workstation this time, to verify this specific use case.Unit tests excerpts
Contract tests excerpts
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.