"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "monasca_api/policies/healthcheck.py" between
monasca-api-3.0.0.tar.gz and monasca-api-3.1.0.tar.gz

About: OpenStack Monasca API is a RESTful API server that is designed with a layered architecture and supports Monitoring as a Service (MONaaS).
The "Train" series (latest release).

healthcheck.py  (monasca-api-3.0.0):healthcheck.py  (monasca-api-3.1.0)
skipping to change at line 32 skipping to change at line 32
rules = [ rules = [
policy.DocumentedRuleDefault( policy.DocumentedRuleDefault(
name='api:healthcheck', name='api:healthcheck',
check_str=HEALTHCHECK_ROLES, check_str=HEALTHCHECK_ROLES,
description='Check healthiness.', description='Check healthiness.',
operations=[ operations=[
{'path': '/healthcheck', 'method': 'GET'} {'path': '/healthcheck', 'method': 'GET'}
] ]
), ),
policy.DocumentedRuleDefault(
name='api:healthcheck:head',
check_str=HEALTHCHECK_ROLES,
description='Healthcheck head rule',
operations=[
{'path': '/healthcheck', 'method': 'HEAD'}
]
)
] ]
def list_rules(): def list_rules():
return rules return rules
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)