From 76f651258f7f1bfce4ffc201bfaf309ee67cd5f9 Mon Sep 17 00:00:00 2001 From: Shinya Kawabata Date: Wed, 16 Sep 2015 11:20:17 +0900 Subject: [PATCH] Fix typos futher -> further comitted -> committed succesfully -> successfully Change-Id: If461ac150d984b00e99b7e48727dabf7d6d70daf --- docs/monasca-api-spec.md | 4 ++-- .../api/infrastructure/persistence/hibernate/BaseSqlRepo.java | 2 +- monasca_api/middleware/keystone_context_filter.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/monasca-api-spec.md b/docs/monasca-api-spec.md index 551778be3..a60ed9fc2 100644 --- a/docs/monasca-api-spec.md +++ b/docs/monasca-api-spec.md @@ -1036,7 +1036,7 @@ Operations for accessing measurements of metrics. ## List measurements Get measurements for metrics. -Metrics must be fully qualified with name and dimensions so that only measurements are returned for a single metric. If the metric name and dimensions given do not resolve to a single metric, an error will be displayed asking the user to futher qualify the metric with a name and additional dimensions. +Metrics must be fully qualified with name and dimensions so that only measurements are returned for a single metric. If the metric name and dimensions given do not resolve to a single metric, an error will be displayed asking the user to further qualify the metric with a name and additional dimensions. If users do not wish to see measurements for a single metric, but would prefer to have measurements from multiple metrics combined, a 'merge_metrics' flag can be specified. when 'merge_metrics' is set to true (**merge_metrics=true**), all meaurements for all metrics that satisfy the query parameters will be merged into a single list of measurements. @@ -1206,7 +1206,7 @@ ___ # Statistics Operations for calculating statistics of metrics. -Metrics must be fully qualified with name and dimensions so that only statistics are returned for a single metric. If the metric name and dimensions given do not resolve to a single metric, an error will be displayed asking the user to futher qualify the metric with a name and additional dimensions. +Metrics must be fully qualified with name and dimensions so that only statistics are returned for a single metric. If the metric name and dimensions given do not resolve to a single metric, an error will be displayed asking the user to further qualify the metric with a name and additional dimensions. If users do not wish to see statistics for a single metric, but would prefer to have statistics from multiple metrics combined, a 'merge_metrics' flag can be specified. when 'merge_metrics' is set to true (**merge_metrics=true**), all statistics for all metrics that satisfy the query parameters will be merged into a single list of statistics. diff --git a/java/src/main/java/monasca/api/infrastructure/persistence/hibernate/BaseSqlRepo.java b/java/src/main/java/monasca/api/infrastructure/persistence/hibernate/BaseSqlRepo.java index 57c6407d9..9ec3bcfb1 100644 --- a/java/src/main/java/monasca/api/infrastructure/persistence/hibernate/BaseSqlRepo.java +++ b/java/src/main/java/monasca/api/infrastructure/persistence/hibernate/BaseSqlRepo.java @@ -37,7 +37,7 @@ abstract class BaseSqlRepo { /** * Rollbacks passed {@code tx} transaction if such is not null. * Assumption is being made that {@code tx} being null means transaction - * has been successfully comitted. + * has been successfully committed. * * @param tx {@link Transaction} object */ diff --git a/monasca_api/middleware/keystone_context_filter.py b/monasca_api/middleware/keystone_context_filter.py index 0fa02cfa4..19cfb415c 100644 --- a/monasca_api/middleware/keystone_context_filter.py +++ b/monasca_api/middleware/keystone_context_filter.py @@ -91,7 +91,7 @@ class KeystoneContextFilter(object): env['monasca.context'] = ctx - LOG.debug("Keystone Context succesfully created.") + LOG.debug("Keystone Context successfully created.") return self._app(env, start_response)