-
Notifications
You must be signed in to change notification settings - Fork 0
Syncing changes #1
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…242) - Adding DelayFactory that allows for plugguable model to override backoff strategies Co-authored-by: diwakar <[email protected]>
Co-authored-by: diwakar <[email protected]>
* Bumping the version * Bump the version for init
* Removing large errors from logs and stack events
* Allow for automated call graph generation to keep contexts unique within
StdCallbackContext for replay deduping. Now developers do not need to
provide a name when calling services. There is a unique call graph
context maintained for each service call made. The context is request
aware, so different requests made will have their own independent
context for dedupe
Dedupe identical requests
```java
ProgressEvent<Model, StdCallbackContext> result =
initiator.translateToServiceRequest(m -> createRepository)
.makeServiceCall((r, c) ->
c.injectCredentialsAndInvokeV2(
r, c.client()::createRepository))
.success();
ProgressEvent<Model, StdCallbackContext> result_2 =
// make same request call
initiator.translateToServiceRequest(m -> createRepository)
.makeServiceCall((r, c) ->
c.injectCredentialsAndInvokeV2(
r, c.client()::createRepository))
.success();
assertThat(result).isEqualsTo(result_2);
```
* Prevent ConcurrentModificationExceptions in stabilize calls if they
access the map and attempt to modify it
Co-authored-by: diwakar <[email protected]>
* Version bump to 1.0.4 * Use 1.0.4 java plugin to init a project
* Add proxy methods to support invocation for inputstream/bytes * Add two proxy methods in code-gen template
* Removing large errors from logs and stack events * Fixed broken test * Bumping SDK version dependency. A change was released to the CloudFormation SDK: aws/aws-sdk-java-v2@c42a949 which is needed to complete the AWS::CloudFormation::ResourceVersion PR (aws-cloudformation/aws-cloudformation-resource-providers-cloudformation#4) and it flows from this package.
* Log request id and name for V1 and V2 SDK * Added test for injectCredentialsAndInvokeIterableV2
* Validate resource model if type mismatch * Change branch coverage to 0.80
* Fix base exception message * Address comment * Revert "Address comment" This reverts commit 599aa56.
…loudFormation service (#279) * Support protocol version 2.0.0 to callback handlers orchestrated by cloudformation service * Add protocol version and require java plugin version to be 2.0.0 or above Co-authored-by: John Tompkins <[email protected]>
* Allow for automated call graph generation to keep contexts unique within
StdCallbackContext for replay deduping. Now developers do not need to
provide a name when calling services. There is a unique call graph
context maintained for each service call made. The context is request
aware, so different requests made will have their own independent
context for dedupe
Dedupe identical requests
```java
ProgressEvent<Model, StdCallbackContext> result =
initiator.translateToServiceRequest(m -> createRepository)
.makeServiceCall((r, c) ->
c.injectCredentialsAndInvokeV2(
r, c.client()::createRepository))
.success();
ProgressEvent<Model, StdCallbackContext> result_2 =
// make same request call
initiator.translateToServiceRequest(m -> createRepository)
.makeServiceCall((r, c) ->
c.injectCredentialsAndInvokeV2(
r, c.client()::createRepository))
.success();
assertThat(result).isEqualsTo(result_2);
```
* Prevent ConcurrentModificationExceptions in stabilize calls if they
access the map and attempt to modify it
* - Remove 60s hard coded callback
- Remove handshake mode
- Adding wait strategy that can be changed, defaulting to re-schedules with
no local waits for Lambda binding
- changes unit tests to reflect removal of handshake mode, fixed unit
tests for serialization errors
Co-authored-by: diwakar <[email protected]>
* Bump maven package to 2.0.1 to release * Also update the version for project template
Adding newline to LambdaLogPublisher so that logs are intelligible in contract test output in SAM Local
This fix allows the contract tests to correctly assert on writeOnlyProperties being removed from the model.
* Issue #, if available: #292 Description of changes: This change adds getPreviousResourceTags method which returns previous tags that were applied to a resource. The tags come from previousStackTags and previousResourceDefinedTags By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. * Fix comments * Add null check for getPreviousResourceProperties * Handle backward compatability * Add null check * Fix indent Co-authored-by: xiwhuang <[email protected]>
* Bump maven package to 2.0.2 Accept java plugin versions 2.x.x for project template * Remove unnecessary space in version
* Handle AwsServiceExceptions thrown by handlers * Add missing AwsServiceException import statement
* Provide stackId in ResourceHandlerRequest
* Add package.properties to provide plugin version in runtime
* Introduce another entrypoint for plugin without lambda dependency * Refactor lambda wrapper and executable wrapper into different classes * Fix spacing and naming * Add more tests and change the way the wrapper outputs info * Change Wrapper.java class, move image config to java plugin * Don't create ExecutableHandlerWrapper when plugin version is not bumped and move start/end response to handlerwrapper.java class instead * Fix merging with master * Add missing constructors * Change ExecutableHandlerWrapper.java to HandlerWrapperExecutable.java for backwards compatible unit tests excludes * Change root logging level to Debug
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.