Skip to content

Commit

Permalink
obp_api_request_id has become correlation_id #35
Browse files Browse the repository at this point in the history
  • Loading branch information
sebtesobe committed Nov 6, 2017
1 parent 3672b03 commit 533993b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apimanager/metrics/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
10 changes: 5 additions & 5 deletions apimanager/metrics/templates/metrics/connector.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ <h2>Filter</h2>
</div>
</div>
<div class="col-xs-12 col-sm-4">
{% if form.obp_api_request_id.errors %}<div class="alert alert-danger">{{ form.obp_api_request_id.errors }}</div>{% endif %}
{% if form.correlation_id.errors %}<div class="alert alert-danger">{{ form.correlation_id.errors }}</div>{% endif %}
<div class="form-group">
{{ form.obp_api_request_id.label_tag }}
{{ form.obp_api_request_id }}
{{ form.correlation_id.label_tag }}
{{ form.correlation_id }}
</div>
</div>
</div>
Expand All @@ -85,7 +85,7 @@ <h2>Filter</h2>
<th>Date</th>
<th>Connector Name</th>
<th>Function Name</th>
<th>OBP API Request ID</th>
<th>Correlation ID</th>
<th>Duration (ms)</th>
</tr>
</thead>
Expand All @@ -96,7 +96,7 @@ <h2>Filter</h2>
<td>{{ metric.date|date:"Y-m-d H:m:s" }}</td>
<td>{{ metric.connector_name }}</td>
<td>{{ metric.function_name }}</td>
<td>{{ metric.obp_api_request_id }}</td>
<td>{{ metric.correlation_id }}</td>
<td>{{ metric.duration }}</td>
</tr>
{% endfor %}
Expand Down

0 comments on commit 533993b

Please sign in to comment.