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: metabase #94

Merged
merged 1 commit into from
Dec 24, 2024
Merged

feat: metabase #94

merged 1 commit into from
Dec 24, 2024

Conversation

TheCrabe
Copy link
Collaborator

fix: Read for tests

Closes #88

@TheCrabe TheCrabe requested a review from miton18 December 16, 2024 16:33
@TheCrabe TheCrabe force-pushed the feat/metabase branch 3 times, most recently from e076a7b to f621b4c Compare December 16, 2024 17:03
Comment on lines 148 to 150
if resp.Diagnostics.HasError() {
return
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

useless

return nil
},
Steps: []resource.TestStep{
// create a database instance on first step
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// create a database instance on first step
// create a Metabase instance on first step

ResourceName: rName,
PreConfig: func() {
// delete the database using an api call
tmp.DeleteAddon(context.Background(), cc, org, rName)
Copy link
Collaborator

Choose a reason for hiding this comment

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

test the error

Attributes: attributes.WithAddonCommons(map[string]schema.Attribute{
// customer provided
// TODO: Markdown description
"host": schema.StringAttribute{Computed: true, MarkdownDescription: "Database host, used to connect to"},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"host": schema.StringAttribute{Computed: true, MarkdownDescription: "Database host, used to connect to"},
"host": schema.StringAttribute{Computed: true, MarkdownDescription: "Metabase host, used to connect to"},

fix: Read for tests

fix: suggested chances
@miton18 miton18 merged commit 5d9dc9a into master Dec 24, 2024
5 checks passed
@miton18 miton18 deleted the feat/metabase branch December 24, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add-on: Metabase
2 participants