-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: metabase #94
Conversation
e076a7b
to
f621b4c
Compare
pkg/resources/metabase/crud.go
Outdated
if resp.Diagnostics.HasError() { | ||
return | ||
} |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// 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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test the error
pkg/resources/metabase/schema.go
Outdated
Attributes: attributes.WithAddonCommons(map[string]schema.Attribute{ | ||
// customer provided | ||
// TODO: Markdown description | ||
"host": schema.StringAttribute{Computed: true, MarkdownDescription: "Database host, used to connect to"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"host": schema.StringAttribute{Computed: true, MarkdownDescription: "Database host, used to connect to"}, | |
"host": schema.StringAttribute{Computed: true, MarkdownDescription: "Metabase host, used to connect to"}, |
f621b4c
to
6864078
Compare
fix: Read for tests fix: suggested chances
6864078
to
43ec557
Compare
fix: Read for tests
Closes #88