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: add database generator #435

Merged
merged 5 commits into from
Sep 4, 2023

Conversation

liu-hm19
Copy link
Contributor

@liu-hm19 liu-hm19 commented Aug 3, 2023

What type of PR is this?

/kind feature

What this PR does / why we need it:

This PR adds database generator.

Which issue(s) this PR fixes:

Fixes #380 & #381

Special notes for your reviewer:

An example of creating an alicloud rds is shown below:
image
image

Does this PR introduce a user-facing change?


Additional documentation e.g., design docs, usage docs, etc.:


@ffforest ffforest linked an issue Aug 7, 2023 that may be closed by this pull request
@liu-hm19 liu-hm19 changed the base branch from feat/app-config to main August 10, 2023 02:45
@liu-hm19 liu-hm19 force-pushed the feat/add-database-generator branch 2 times, most recently from b228a82 to ac03b6c Compare August 10, 2023 04:03
@coveralls
Copy link

coveralls commented Aug 24, 2023

Pull Request Test Coverage Report for Build 5999938792

  • 1 of 24 (4.17%) changed or added relevant lines in 2 files are covered.
  • 14 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.4%) to 73.922%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/generator/appconfiguration/util.go 0 23 0.0%
Files with Coverage Reduction New Missed Lines %
pkg/cmd/apply/options.go 7 71.92%
pkg/cmd/destroy/options.go 7 84.08%
Totals Coverage Status
Change from base Build 5996164901: -0.4%
Covered Lines: 5831
Relevant Lines: 7888

💛 - Coveralls

@liu-hm19 liu-hm19 force-pushed the feat/add-database-generator branch 2 times, most recently from 33b2b97 to 6e5b2b5 Compare August 28, 2023 07:23
adohe pushed a commit to KusionStack/catalog that referenced this pull request Aug 29, 2023
<!-- Thank you for contributing to Catalog!

Note: 

1. With pull requests:

    - Open your pull request against "mainb
- Your pull request should have no more than three commits, if not you
should squash them.
- It should pass all tests in the available continuous integration
systems such as GitHub Actions.
    - You should add/modify tests to cover your proposed code changes.
- If your pull request contains a new feature, please document it on the
README.

2. Please create an issue first to describe the problem.

We recommend that link the issue with the PR in the following question.
For more info, check https://kusionstack.io/docs/governance/contribute/
-->

## What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind chore
-->
/kind feature
## What this PR does / why we need it:
This PR adds support for database accessory which defines the relational
database service (rds) provided by a specified cloud vendor.
## Which issue(s) this PR fixes:

<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
_If PR is about `failing-tests or flakes`, please post the related
issues/tests in a comment and do not use `Fixes`_*
-->

## Special notes for your reviewer:
The implementation of Database Generator can be found at [feat: add
database generator](KusionStack/kusion#435)

### Does this PR introduce a user-facing change?

<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires
additional action from users switching to the new release, include the
string "action required".

-->

```release-note

```

### Additional documentation e.g., design docs, usage docs, etc.:

<!--
Please use the following format for linking documentation:
- [Design]: <link>
- [Usage]: <link>
- [Other doc]: <link>
-->

```docs

```
@adohe
Copy link
Contributor

adohe commented Aug 31, 2023

@liu-hm19 please resolve conflicts before we can merge this PR.

@SparkYuan SparkYuan enabled auto-merge (squash) September 4, 2023 09:00
Copy link
Member

@SparkYuan SparkYuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@SparkYuan SparkYuan merged commit 6d61d87 into KusionStack:main Sep 4, 2023
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Model: AppConfiguration model supports creating database in AWS
5 participants