pcuzner / ansible-runner-service

Python project that wraps the ansible_runner 'engine' inside a RESTful API
Other
16 stars 9 forks source link

token handling split out and a service token added #71

Closed pcuzner closed 6 years ago

pcuzner commented 6 years ago

Additional functions added for creating a token, and the concept of a service token for localhost access implemented. The idea is that services running on the same host don't need to have login credentials and perform the login exchange, they can simply pick up the local token and use that for access.

codecov-io commented 6 years ago

Codecov Report

Merging #71 into master will decrease coverage by 0.44%. The diff coverage is 72.05%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #71      +/-   ##
=========================================
- Coverage   87.04%   86.6%   -0.45%     
=========================================
  Files          30      30              
  Lines        1598    1650      +52     
=========================================
+ Hits         1391    1429      +38     
- Misses        207     221      +14
Impacted Files Coverage Δ
runner_service/controllers/base.py 100% <ø> (ø) :arrow_up:
ansible_runner_service.py 62.63% <100%> (+0.41%) :arrow_up:
runner_service/controllers/login.py 91.89% <100%> (-0.22%) :arrow_down:
runner_service/configuration.py 63.01% <100%> (+0.51%) :arrow_up:
tests/test_api_login.py 97.72% <100%> (+0.58%) :arrow_up:
runner_service/utils.py 56.64% <58.82%> (+0.68%) :arrow_up:
runner_service/controllers/utils.py 83.92% <75%> (+2.67%) :arrow_up:

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 f953a29...a1ccb51. Read the comment docs.