jira-translator-cdevents : translate jira issue and worklog events into ticket CDEvents#1
jira-translator-cdevents : translate jira issue and worklog events into ticket CDEvents#1rjalander wants to merge 4 commits intocdevents:mainfrom
Conversation
Signed-off-by: Jalander Ramagiri <jalander.ramagiri@est.tech>
Signed-off-by: Jalander Ramagiri <jalander.ramagiri@est.tech>
Signed-off-by: Jalander Ramagiri <jalander.ramagiri@est.tech>
Signed-off-by: Jalander Ramagiri <jalander.ramagiri@est.tech>
xibz
left a comment
There was a problem hiding this comment.
Most of my comments are very minor, so should be able to be resolved fairly quickly
| pEvent = &JiraEvent{event} | ||
| return |
There was a problem hiding this comment.
| pEvent = &JiraEvent{event} | |
| return | |
| return &JiraEvent{event} |
| Event string | ||
| } | ||
|
|
||
| func NewJiraEvent(event string) (pEvent *JiraEvent) { |
There was a problem hiding this comment.
| func NewJiraEvent(event string) (pEvent *JiraEvent) { | |
| func NewJiraEvent(event string) *JiraEvent { |
| "net/http" | ||
| ) | ||
|
|
||
| type JiraEvent struct { |
There was a problem hiding this comment.
If it is only a single string field, we can do something like this instead
type JiraEvent string
xibz
left a comment
There was a problem hiding this comment.
Most of my comments are very minor, so should be able to be resolved fairly quickly
|
Hey @rjalander :) Is this abandoned ? Wondering how we get this in. Would be cool. |
|
@joeblew999 Howdy! @rjalander has moved to a different company, but this is something we can pick up in CDEvents. Ill take a look at this and see if I can help get this in. We have an implantation SIG that discusses topics like this which occurs every other Tuesday. Take a look at this calendar: https://calendar.google.com/calendar/u/0/embed?src=linuxfoundation.org_mhf0kmgedn67ihni8r129avp24@group.calendar.google.com&ctz=UTC It includes all CDF project, but the implementation SIG is also in there. |
|
@joeblew999 The original contributor (@rjalander) is not working on this project anymore, unfortunately. If you wanted to pick this up and continue the work, it would be very nice, the contribution would be most welcome. |
|
Hey @rjalander @xibz that was quick ! I cant help right now. Tell you what would be useful is where the big picture roadmap is. CD Events are seriously useful for Secure SBOM auditing. |
This PR includes the changes for a plugin implementation of
EventTranslatorinterface that is exposed by CDEvents Webhook Adapter to translate jira events into CDEvents.Below are the Jira events that are currently have mappings with CDEvents and are supported by this translator.
Note:
webhook-adapterdependency also will be updated once sdk-go v0.4 releasedSigned-off-by: Jalander Ramagiri @rjalander