Skip to content
Permalink
Browse files

MSK-488 KillSwitch Info/Management page

  • Loading branch information...
gsokolov
gsokolov committed Mar 15, 2019
1 parent f72c8b3 commit 7c2824bbf6366e942ffb978fd58e4225ecaf27cb
@@ -30,6 +30,8 @@ public ActionCommand execute(ActionMapping mapping, FormBean formBean, HttpServl

if ("disableMetricCollection".equals(name))
killSwitchConfiguration.setDisableMetricCollection(val);
else if ("disableTracing".equals(name))
killSwitchConfiguration.setDisableTracing(val);

getAdditionalFunctionalityAPI().setKillSwitchConfiguration(killSwitchConfiguration);

@@ -14,14 +14,22 @@
</ano:notPresent>

<ano:present name="killSwitchConfiguration">
<div class="box">
<div class="box-content paddner">
<dl class="dl-horizontal">
<dt>Disable metric collection</dt>
<dd><input type="checkbox" class="js-switch-color" data-switcher="disableMetricCollection" <ano:equal name="killSwitchConfiguration" property="disableMetricCollection" value="true">checked</ano:equal> /></dd>
</dl>
<div class="box">
<div class="box-content paddner">
<dl class="dl-horizontal">
<dt>Disable metric collection</dt>
<dd><input type="checkbox" class="js-switch-color" data-switcher="disableMetricCollection" <ano:equal name="killSwitchConfiguration" property="disableMetricCollection" value="true">checked</ano:equal> /></dd>
</dl>
</div>
</div>
<div class="box">
<div class="box-content paddner">
<dl class="dl-horizontal">
<dt>Disable tracing</dt>
<dd><input type="checkbox" class="js-switch-color" data-switcher="disableTracing" <ano:equal name="killSwitchConfiguration" property="disableTracing" value="true">checked</ano:equal> /></dd>
</dl>
</div>
</div>
</div>
</ano:present>
</div>

0 comments on commit 7c2824b

Please sign in to comment.
You can’t perform that action at this time.