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

Feature/confluence cloud #49

Merged
merged 30 commits into from Jul 1, 2021
Merged

Feature/confluence cloud #49

merged 30 commits into from Jul 1, 2021

Conversation

ctreminiom
Copy link
Owner

No description provided.

Added the initial Confluence Cloud service with a designed main controller (new requests, call-backs, validation, etc) and the Content sub-service with the minimal information.
Added the feature to extract the space metadata (name, key, id) on each content.
Added the feature to extract the content labels on each content.
Added the ability to extract the content operations. An operation and the target entity that it applies to, e.g. create page.
Added some Unit Test Cases on the confluence.go file
Added the ability to create confluence content (page, blogs, comments) using the Confluence REST API v3
Added the Unit Test Cases on the confluence module with a 100% of coverage.
Removed the `noContentProvidedError` variable due it's unused.
Renamed the content.Get method to content.Gets because the endpoint linked returns the all Confluence Content paginated, not only one content.
1. Added the ability to search Confluence contents using the CQL.

2. Added the Unit Test Cases with a 100% of coverage.
1. Added the ability to get the confluence content using the ID.

2. Added the Unit Test Cases with a 100% of coverage.
1. Added the ability to update the confluence content using the ID.

2. Added the Unit Test Cases with a 100% of coverage.
1. Added the ability to move confluence contents into the trash using the ID as reference.
2. Added the Unit Test Cases with a 100% of coverage
1. Added the ability to extract the history changes using a content ID
2. Added the Unit Test Cases with a 100% of coverage
1. Added the ability to extract the attachments associated with Confluence content.
1. Added the ability to create attachment s or update the existing one.
Added the ability create attachments
1. Mapped the confluence REST API module: https://developer.atlassian.com/cloud/confluence/rest/api-group-space
2. Added the Unit Test Cases with a 100% of coverage
@codecov
Copy link

codecov bot commented Jul 1, 2021

Codecov Report

Merging #49 (405f453) into main (300505a) will increase coverage by 0.13%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
+ Coverage   98.34%   98.47%   +0.13%     
==========================================
  Files          77       85       +8     
  Lines        6389     6967     +578     
==========================================
+ Hits         6283     6861     +578     
  Misses         56       56              
  Partials       50       50              
Impacted Files Coverage Δ
confluence/auth.go 100.00% <100.00%> (ø)
confluence/confluence.go 100.00% <100.00%> (ø)
confluence/content.go 100.00% <100.00%> (ø)
confluence/contentAttachments.go 100.00% <100.00%> (ø)
confluence/contentChildrenDescendants.go 100.00% <100.00%> (ø)
confluence/contentComment.go 100.00% <100.00%> (ø)
confluence/contentPermission.go 100.00% <100.00%> (ø)
confluence/space.go 100.00% <100.00%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 300505a...405f453. Read the comment docs.

@ctreminiom ctreminiom merged commit 1d18342 into main Jul 1, 2021
@ctreminiom ctreminiom deleted the feature/confluence-cloud branch July 1, 2021 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant