aws-cloudformation / community-registry-extensions

MIT No Attribution
86 stars 27 forks source link

Consume properties of the target resource. #223

Closed mrinaudo-aws closed 1 year ago

mrinaudo-aws commented 1 year ago

Issue #, if available:

Description of changes: Consume properties of the target resource; added upgrade path in the README.md file as well.

Unit tests excerpts

[INFO] Running com.awscommunity.resource.lookup.LookupHelperTest
[INFO] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.851 s - in com.awscommunity.resource.lookup.LookupHelperTest                                                                                                            
[INFO] Running com.awscommunity.resource.lookup.ReadHandlerTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.296 s - in com.awscommunity.resource.lookup.ReadHandlerTest                                                                                                             
[INFO] Running com.awscommunity.resource.lookup.CreateHandlerResourceLookupTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.195 s - in com.awscommunity.resource.lookup.CreateHandlerResourceLookupTest                                                                                             
[INFO] Running com.awscommunity.resource.lookup.CreateHandlerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 s - in com.awscommunity.resource.lookup.CreateHandlerTest                                                                                                           
[INFO] Running com.awscommunity.resource.lookup.ListHandlerTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 s - in com.awscommunity.resource.lookup.ListHandlerTest                                                                                                             
[INFO] Running com.awscommunity.resource.lookup.UpdateHandlerTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 s - in com.awscommunity.resource.lookup.UpdateHandlerTest                                                                                                           
[INFO] Running com.awscommunity.resource.lookup.ClientBuilderTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.946 s - in com.awscommunity.resource.lookup.ClientBuilderTest                                                                                                           
[INFO] Running com.awscommunity.resource.lookup.TagHelperTest
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 s - in com.awscommunity.resource.lookup.TagHelperTest                                                                                                               
[INFO] Running com.awscommunity.resource.lookup.CreateHandlerStabilizeTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s - in com.awscommunity.resource.lookup.CreateHandlerStabilizeTest                                                                                                  
[INFO] Running com.awscommunity.resource.lookup.DeleteHandlerTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s - in com.awscommunity.resource.lookup.DeleteHandlerTest                                                                                                           
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 77, Failures: 0, Errors: 0, Skipped: 0
[...]
[INFO] --- jacoco:0.8.9:check (jacoco-check) @ awscommunity-resource-lookup-handler ---
[...]
[INFO] All coverage checks have been met.
[...]

Contract tests excerpts

13 passed, 2 skipped, 9 deselected

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.