Skip to content

chore(rds): move internal cluster interfaces and classes to own file - #10338

Closed
njlynch wants to merge 1 commit into
masterfrom
njlynch/rds-cluster-refactor
Closed

njlynch wants to merge 1 commit into
masterfrom
njlynch/rds-cluster-refactor

Conversation

@njlynch

@njlynch njlynch commented Sep 14, 2020

Copy link
Copy Markdown
Contributor

See #10130 (review) for original motivation.

Moves DatabaseClusterBaseProps, DatabaseClusterBase, DatabaseClusterNew,
and ImportedDatabaseCluster from cluster.ts to
private/cluster-internal.ts.

Note that DatabaseClusterBase was previously publicly exported; however, that
change has not yet been release, so as long as this is merged before the next
release this won't be a breaking change.

Originally, I thought this refactoring was blocked by aws/jsii#1980
but thanks to a clarification, I realized I just needed to mark the private
classes as @internal.


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

See #10130 (review)
for original motivation.

Moves `DatabaseClusterBaseProps`, `DatabaseClusterBase`, `DatabaseClusterNew`,
and `ImportedDatabaseCluster` from `cluster.ts` to
`private/cluster-internal.ts`.

Note that `DatabaseClusterBase` was previously publicly exported; however, that
change has not yet been release, so as long as this is merged before the next
release this won't be a breaking change.

Originally, I thought this refactoring was blocked by
aws/jsii#1980
but thanks to a clarification, I realized I just needed to mark the private
classes as `@internal`.
@njlynch
njlynch requested a review from a team September 14, 2020 10:02
@njlynch njlynch self-assigned this Sep 14, 2020
@mergify mergify Bot added the contribution/core This is a PR that came from AWS. label Sep 14, 2020
@aws-cdk-automation

Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: eb825f0
  • Result: FAILED
  • Build Logs (available for 30 days)

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

@njlynch

njlynch commented Sep 14, 2020

Copy link
Copy Markdown
Contributor Author

Bummer -- this is still not supported, even with the @internal work-around. Updated aws/jsii#1980 with the new info, and closing this out.

@njlynch njlynch closed this Sep 14, 2020
@njlynch
njlynch deleted the njlynch/rds-cluster-refactor branch November 17, 2020 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants