From 1c4789bf0caeb5a428cde17c2f576cf69f5c1a16 Mon Sep 17 00:00:00 2001 From: Mathieu Ancelin Date: Mon, 31 Jul 2023 14:46:16 +0200 Subject: [PATCH] add ui flag for route only mode --- otoroshi/javascript/src/pages/DangerZonePage.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/otoroshi/javascript/src/pages/DangerZonePage.js b/otoroshi/javascript/src/pages/DangerZonePage.js index 3e4c9b2b03..200b452260 100644 --- a/otoroshi/javascript/src/pages/DangerZonePage.js +++ b/otoroshi/javascript/src/pages/DangerZonePage.js @@ -728,6 +728,15 @@ export class DangerZonePage extends Component { 'If enabled, otoroshi will send anonymous usage metrics to the Otoroshi team. Enabling this is the best way to contribute to Otoroshi improvement !', }, }, + initWithNewEngine: { + type: 'bool', + props: { + label: 'Routes only', + placeholder: '-', + help: + 'If enabled, otoroshi will not display service descriptor related stuff anymore', + }, + }, maxConcurrentRequests: { type: 'number', props: { @@ -1119,6 +1128,7 @@ export class DangerZonePage extends Component { 'limitConcurrentRequests', 'trustXForwarded', 'anonymousReporting', + 'initWithNewEngine', 'maxConcurrentRequests', 'maxHttp10ResponseSize', 'maxLogsSize',