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

feat(codepipeline): introduce the Action abstract class #14009

Merged
merged 2 commits into from
Apr 15, 2021

Conversation

skinny85
Copy link
Contributor

@skinny85 skinny85 commented Apr 7, 2021

Add an officially supported class to the API of the CodePipeline module
that contains some logic common to all implementations of the IAction interface,
like dealing with variable namespaces, or methods like onStateChange().

There was previously a class like that in the codepipeline-actions module,
but it was marked experimental, and had some strong opinions on the construction way of the subclasses
(required passing the actionProperties through a super() call in the constructor,
which is not very flexible).


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@skinny85 skinny85 requested a review from rix0rrr April 7, 2021 00:25
@skinny85 skinny85 self-assigned this Apr 7, 2021
@gitpod-io
Copy link

gitpod-io bot commented Apr 7, 2021

@github-actions github-actions bot added the @aws-cdk/aws-codepipeline Related to AWS CodePipeline label Apr 7, 2021
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Apr 7, 2021
@skinny85 skinny85 force-pushed the fix/codepipeline-action-public branch 2 times, most recently from 8a97159 to c2b26ff Compare April 7, 2021 21:46
allowed-breaking-changes.txt Outdated Show resolved Hide resolved
Add an officially supported class to the API of the CodePipeline module
that contains some logic common to all implementations of the `IAction` interface,
like dealing with variable namespaces, or methods like `onStateChange()`.

Make the experimental class in codepipeline-actions with the same name extend this new class,
and make it stable.
@skinny85 skinny85 force-pushed the fix/codepipeline-action-public branch from c2b26ff to be22cc8 Compare April 9, 2021 18:56
@skinny85 skinny85 requested a review from rix0rrr April 9, 2021 18:58
@skinny85
Copy link
Contributor Author

skinny85 commented Apr 9, 2021

@rix0rrr incorporated your comments, would appreciate a re-review!

@skinny85 skinny85 added the pr-linter/exempt-readme The PR linter will not require README changes label Apr 15, 2021
@mergify
Copy link
Contributor

mergify bot commented Apr 15, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: eb565ae
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Apr 15, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 4b6a6cc into aws:master Apr 15, 2021
@skinny85 skinny85 deleted the fix/codepipeline-action-public branch April 15, 2021 18:30
hollanddd pushed a commit to hollanddd/aws-cdk that referenced this pull request Aug 26, 2021
Add an officially supported class to the API of the CodePipeline module
that contains some logic common to all implementations of the `IAction` interface,
like dealing with variable namespaces, or methods like `onStateChange()`.

There was previously a class like that in the codepipeline-actions module,
but it was marked experimental, and had some strong opinions on the construction way of the subclasses
(required passing the `actionProperties` through a `super()` call in the constructor,
which is not very flexible).

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-codepipeline Related to AWS CodePipeline contribution/core This is a PR that came from AWS. pr-linter/exempt-readme The PR linter will not require README changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants