From 533993bd79826cabac8885da657ecf25f286094e Mon Sep 17 00:00:00 2001 From: Sebastian Henschel Date: Mon, 6 Nov 2017 11:45:45 +0100 Subject: [PATCH] obp_api_request_id has become correlation_id #35 See https://github.com/OpenBankProject/OBP-API/issues/623 --- apimanager/metrics/forms.py | 4 ++-- apimanager/metrics/templates/metrics/connector.html | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apimanager/metrics/forms.py b/apimanager/metrics/forms.py index 6e91f3e2..62e615f4 100644 --- a/apimanager/metrics/forms.py +++ b/apimanager/metrics/forms.py @@ -193,8 +193,8 @@ class ConnectorMetricsForm(MetricsForm): ), required=False, ) - obp_api_request_id = forms.CharField( - label='OBP API Request ID', + correlation_id = forms.CharField( + label='Correlation ID', widget=forms.TextInput( attrs={ 'class': 'form-control', diff --git a/apimanager/metrics/templates/metrics/connector.html b/apimanager/metrics/templates/metrics/connector.html index 51232c91..48d8ea0c 100644 --- a/apimanager/metrics/templates/metrics/connector.html +++ b/apimanager/metrics/templates/metrics/connector.html @@ -63,10 +63,10 @@

Filter

- {% if form.obp_api_request_id.errors %}
{{ form.obp_api_request_id.errors }}
{% endif %} + {% if form.correlation_id.errors %}
{{ form.correlation_id.errors }}
{% endif %}
- {{ form.obp_api_request_id.label_tag }} - {{ form.obp_api_request_id }} + {{ form.correlation_id.label_tag }} + {{ form.correlation_id }}
@@ -85,7 +85,7 @@

Filter

Date Connector Name Function Name - OBP API Request ID + Correlation ID Duration (ms) @@ -96,7 +96,7 @@

Filter

{{ metric.date|date:"Y-m-d H:m:s" }} {{ metric.connector_name }} {{ metric.function_name }} - {{ metric.obp_api_request_id }} + {{ metric.correlation_id }} {{ metric.duration }} {% endfor %}