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

class to sync employees from bamboo hr #98

Merged
merged 11 commits into from
Dec 20, 2023

Conversation

Ashutosh619-sudo
Copy link
Contributor

No description provided.

Copy link

Tests Skipped Failures Errors Time
45 1 💤 0 ❌ 0 🔥 2.945s ⏱️

Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6788d58) 94.47% compared to head (2cfaa1b) 94.88%.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##           bamboo_sdk_base      #98      +/-   ##
===================================================
+ Coverage            94.47%   94.88%   +0.41%     
===================================================
  Files                   30       29       -1     
  Lines                 1031      958      -73     
===================================================
- Hits                   974      909      -65     
+ Misses                  57       49       -8     

see 4 files with indirect coverage changes

Copy link

Tests Skipped Failures Errors Time
45 1 💤 0 ❌ 0 🔥 2.430s ⏱️

Copy link

Tests Skipped Failures Errors Time
45 1 💤 0 ❌ 0 🔥 2.808s ⏱️

Copy link

Tests Skipped Failures Errors Time
45 1 💤 0 ❌ 0 🔥 2.853s ⏱️


GET_EMPLOYEE_REPORT = '/v1/reports/custom?format=JSON&onlyCurrent=false'

def sync_employees(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this API paginated? added 1 more question to slack, will approve after discussion


GET_EMPLOYEE_REPORT = '/v1/reports/custom?format=JSON&onlyCurrent=false'

def sync_employees(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

call it get_all()

Copy link

Tests Skipped Failures Errors Time
45 1 💤 0 ❌ 0 🔥 2.284s ⏱️

Copy link

Tests Skipped Failures Errors Time
45 1 💤 0 ❌ 0 🔥 2.722s ⏱️

Copy link

Tests Skipped Failures Errors Time
45 1 💤 0 ❌ 0 🔥 2.690s ⏱️

Copy link

Tests Skipped Failures Errors Time
45 1 💤 0 ❌ 0 🔥 2.802s ⏱️

Copy link

Tests Skipped Failures Errors Time
45 1 💤 0 ❌ 0 🔥 2.762s ⏱️

Copy link

Tests Skipped Failures Errors Time
45 1 💤 0 ❌ 0 🔥 2.369s ⏱️

* bamboo sdk class

* comment resolved

* Webhook create and delete API  (#108)

* webhook api added

* indentation fixed

* indentaion fixed

* minor fix

* Fields get API (#109)

* Fields get API

* added timeoff instead of fields and tested
Copy link

Tests Skipped Failures Errors Time
45 1 💤 0 ❌ 0 🔥 2.386s ⏱️

@Ashutosh619-sudo Ashutosh619-sudo merged commit 5867d4b into bamboo_sdk_base Dec 20, 2023
3 checks passed
Ashutosh619-sudo added a commit that referenced this pull request Dec 20, 2023
* bambbo sdk base api class

* minor change

* minor changes

* comment resolve

* resolved comments

* added new methods

* added 201 status code

* class to sync employees from bamboo hr (#98)

* class to sync employees from bamboo hr

* bug fix

* minor changes

* comment resolved

* minor changes

* Bamboo sdk class (#99)

* bamboo sdk class

* comment resolved

* Webhook create and delete API  (#108)

* webhook api added

* indentation fixed

* indentaion fixed

* minor fix

* Fields get API (#109)

* Fields get API

* added timeoff instead of fields and tested
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.

3 participants