-
Notifications
You must be signed in to change notification settings - Fork 319
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
Implement gitlab service slack #96
Implement gitlab service slack #96
Conversation
… new attributes and fix others attributes' name
FYI now the Acc tests are run in travis too. |
Can you please add an ACC test with default values? Current tests are great but too explicit. I would like another, minimalist one. |
56d51a5
to
c3e4c15
Compare
This is awesome! I added a test with only required fields set as you asked. |
c3e4c15
to
0295fa0
Compare
|
||
func resourceGitlabServiceSlackImportState(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error) { | ||
d.Set("project", d.Id()) | ||
|
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.
shouldnt we fetch the service at this point from gitlab?
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.
Not sure what you mean here.
From what I understand, the resourceGitlabServiceSlackImportState
function should just define the ID or necessary parameters so the READ function can then be called to actually fetch the resource's details.
0295fa0
to
6dfd2cb
Compare
@roidelapluie Are there any blockers to merging this? |
Hi @roidelapluie, do you have time to review & merge this anytime soon? Thanks! |
Hi,
Here is a new proposal for Slack Integration implementation. It reuses work started on #65. I've talked with @hypnoglow about doing another PR so I guess we could close #65 for this one.
It includes documentation and acceptance tests:
Thanks,