ctreminiom / go-atlassian

✨ Golang Client Library for Atlassian Cloud.
https://docs.go-atlassian.io
MIT License
131 stars 34 forks source link

:sparkles: Implemented the Workflow Status service. #143

Closed ctreminiom closed 2 years ago

ctreminiom commented 2 years ago
  1. Created the interface called WorkflowStatusConnector which contains the service contract.

  2. Created the WorkflowStatusService struct with the service implementation under workflow_status_impl.go

  3. Created the dedicated structs under jira_workflow_status.go

  4. Injected the service implementation under the WorkflowService struct (Workflow.Status.*)

  5. Created the Unit Test Cases with a 92.5% of coverage

  6. Fixes #140

codecov[bot] commented 2 years ago

Codecov Report

Merging #143 (e08eb1d) into main (a0ad3c5) will decrease coverage by 0.02%. The diff coverage is 84.46%.

@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
- Coverage   86.48%   86.45%   -0.03%     
==========================================
  Files         114      115       +1     
  Lines        9242     9342     +100     
==========================================
+ Hits         7993     8077      +84     
- Misses        686      694       +8     
- Partials      563      571       +8     
Impacted Files Coverage Δ
jira/v2/api_client_impl.go 46.91% <50.00%> (-0.15%) :arrow_down:
jira/v3/api_client_impl.go 46.91% <50.00%> (-0.15%) :arrow_down:
jira/internal/workflow_status_impl.go 87.09% <87.09%> (ø)
jira/internal/workflow_impl.go 86.20% <100.00%> (+0.24%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

ctreminiom commented 2 years ago

The documentation has been created, the methods are working as expected, please refer to the following link: