• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

seecloud / ceagle
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: run_abao_from_tox
DEFAULT BRANCH: master
Repo Added 29 Sep 2016 05:07PM UTC
Files 24
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH heath_backend
branch: heath_backend
CHANGE BRANCH
x
Reset
  • heath_backend
  • add-api-for-regions-infra
  • add-security-raml-and-fake-impl
  • add_all_pages
  • add_cloud_status_dashboards
  • api
  • api-proxy-for-availability-service
  • better_configuration
  • ccp
  • check-ceagle-dockerimage-on-travisci
  • ci_build
  • client-endpoint-exception
  • cloud_status
  • config
  • decrease-null-probability-in-responses
  • fake-client-tests
  • fake-infra-improvement
  • fix-fake-api-for-availability
  • fix-fake-status-api
  • fix-page-names
  • fix-raml-syntax
  • fix-security-example-response
  • fix-some-api-unittests
  • fix_ceagle_templating_config
  • fix_get_client
  • fix_gunicorn_integration
  • fix_health_api
  • fix_health_fake
  • fix_status_api
  • fix_type_in_fake_data
  • implement_cloud_status_api
  • implement_status_api
  • improve-fake-data
  • improve_d3_line_chart
  • introduce_blueprints
  • master
  • old_ceagle
  • raml-testing
  • refactor_api_tests
  • regions_api
  • rename_mock_api
  • rename_runbook_region_parameter
  • restore_fake_default
  • run_abao_from_tox
  • runbook_api
  • runbook_real_api
  • security-all-regions
  • service-definition
  • simplify_raml
  • skip-buggy-coverage
  • update_config
  • use-abao-for-raml-verification
  • yamllint

pending completion
191

push

travis-ci

boris-42
Modify api_fake_data's api_handler to be lazy

Previously api_handler function returned a lambda, that could be used as
a decorator and would return fake or real function, depending on a
global variable. The decision was made at import time. This made it very
difficult to test decorated functions behaviour, since these functions
were decorated away before there was any chance to mock config or global
variable.
With this commit api_handler returns a decorator, that, when applied,
returns a function, that proxies calls to fake or real api function,
depending on global variable.
This consequently means there will be an extra function call for every
request. However this would potentially allow us to switch behaviour
from/to fake functions on the fly.

This commit also restores fake decorators around health API functions.

255 of 268 relevant lines covered (95.15%)

0.95 hits per line

Relevant lines Covered
Build:
Build:
268 RELEVANT LINES 255 COVERED LINES
0.95 HITS PER LINE
Source Files on heath_backend
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
191 heath_backend Modify api_fake_data's api_handler to be lazy Previously api_handler function returned a lambda, that could be used as a decorator and would return fake or real function, depending on a global variable. The decision was made at import time. This ... push 03 Dec 2016 10:20AM UTC boris-42 travis-ci pending completion  
181 heath_backend Modify api_fake_data's api_handler to be lazy Previously api_handler function returned a lambda, that could be used as a decorator and would return fake or real function, depending on a global variable. The decision was made at import time. This ... push 30 Nov 2016 11:11AM UTC teferi travis-ci pending completion  
179 heath_backend Modify api_fake_data's api_handler to be lazy Previously api_handler function returned a lambda, that could be used as a decorator and would return fake or real function, depending on a global variable. The decision was made at import time. This ... push 30 Nov 2016 11:09AM UTC teferi travis-ci pending completion  
177 heath_backend Modify api_fake_data's api_handler to be lazy Previously api_handler function returned a lambda, that could be used as a decorator and would return fake or real function, depending on a global variable. The decision was made at import time. This ... push 30 Nov 2016 10:54AM UTC teferi travis-ci pending completion  
175 heath_backend Modify api_fake_data's api_handler to be lazy Previously api_handler function returned a lambda, that could be used as a decorator and would return fake or real function, depending on a global variable. The decision was made at import time. This ... push 30 Nov 2016 10:47AM UTC teferi travis-ci pending completion  
170 heath_backend Modify api_fake_data's api_handler to be lazy Previously api_handler function returned a lambda, that could be used as a decorator and would return fake or real function, depending on a global variable. The decision was made at import time. This ... push 29 Nov 2016 09:54PM UTC teferi travis-ci pending completion  
169 heath_backend Implement health API proxy for ceagle push 29 Nov 2016 11:49AM UTC teferi travis-ci pending completion  
156 heath_backend Added API ceagle proxy to health push 29 Nov 2016 12:41AM UTC teferi travis-ci pending completion  
154 heath_backend Added API ceagle proxy to health push 29 Nov 2016 12:30AM UTC teferi travis-ci pending completion  
152 heath_backend Added API ceagle proxy to health push 28 Nov 2016 03:19PM UTC teferi travis-ci pending completion  
See All Builds (464)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc