v0.5.11: убраны синие линии, поправлено описание задержки
This commit is contained in:
@@ -80,7 +80,7 @@ SERVICES = _DF["SERVICES"]
|
|||||||
OPS_INDEX = _DF["OPS_INDEX"]
|
OPS_INDEX = _DF["OPS_INDEX"]
|
||||||
|
|
||||||
DELAY = float(os.getenv("MOCK_OP_DELAY", "0.1"))
|
DELAY = float(os.getenv("MOCK_OP_DELAY", "0.1"))
|
||||||
VERSION = "0.5.10"
|
VERSION = "0.5.11"
|
||||||
|
|
||||||
|
|
||||||
def get_services(stand_id):
|
def get_services(stand_id):
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ body {
|
|||||||
/* ── Header ── */
|
/* ── Header ── */
|
||||||
.header {
|
.header {
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
border-bottom: 4px solid var(--brand-primary);
|
|
||||||
padding: 16px 24px 12px;
|
padding: 16px 24px 12px;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -129,10 +129,8 @@ curl -s -X POST {{ endpoint }}/{% if stands_list|length > 1 %}{{ current_stand }
|
|||||||
<pre class="code-block"><code># Сделать операции мгновенными
|
<pre class="code-block"><code># Сделать операции мгновенными
|
||||||
curl -s -X POST {{ endpoint }}/{% if stands_list|length > 1 %}{{ current_stand }}/{% endif %}api/v1/svc/_mock/delay/0
|
curl -s -X POST {{ endpoint }}/{% if stands_list|length > 1 %}{{ current_stand }}/{% endif %}api/v1/svc/_mock/delay/0
|
||||||
|
|
||||||
# Поставить задержку 3 секунды
|
# Поставить задержку 3 секунды (эмуляция долгой операции)
|
||||||
curl -s -X POST {{ endpoint }}/{% if stands_list|length > 1 %}{{ current_stand }}/{% endif %}api/v1/svc/_mock/delay/3
|
curl -s -X POST {{ endpoint }}/{% if stands_list|length > 1 %}{{ current_stand }}/{% endif %}api/v1/svc/_mock/delay/3</code></pre>
|
||||||
|
|
||||||
# Максимум — 5 секунд (защита healthcheck'а)</code></pre>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="feature-item">
|
<div class="feature-item">
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
/* Nubes-брендированный topbar */
|
/* Nubes-брендированный topbar */
|
||||||
.swagger-ui .topbar {
|
.swagger-ui .topbar {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-bottom: 4px solid #2563eb;
|
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
.swagger-ui .topbar .wrapper {
|
.swagger-ui .topbar .wrapper {
|
||||||
|
|||||||
Reference in New Issue
Block a user