ConditionMatcher 처리 변경
This commit is contained in:
@@ -58,11 +58,8 @@
|
||||
<input type="hidden" th:field="*{responses[__${status.index}__].defaultResponse}" />
|
||||
<ul class="response_conditions">
|
||||
<li th:each="condition, status: *{responses[__${status.index}__].conditions}">
|
||||
<select>
|
||||
<option value="query" th:selected="${condition.type == 'query'}">Query</option>
|
||||
<option value="header" th:selected="${condition.type == 'header'}">Header</option>
|
||||
<option value="path" th:selected="${condition.type == 'path'}">Path</option>
|
||||
<option value="jsonpath" th:selected="${condition.type == 'jsonpath'}">JSON Path</option>
|
||||
<select class="form-select" th:with="matchers1=${@ConditionMatcherService.getMatchersList()}">
|
||||
<option th:each="item : ${matchers1}" th:value="${item.getType()}" th:text="${item.getDisplayName()}" th:selected="${condition.type == item.getType()}"></option>
|
||||
</select>
|
||||
<input type="text" name="key" th:value="${condition.key}"/>
|
||||
<input type="text" name="value" th:value="${condition.value}"/>
|
||||
@@ -164,11 +161,8 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<select class="form-select">
|
||||
<option value="query">Query</option>
|
||||
<option value="header">Header</option>
|
||||
<option value="path">Path Variable</option>
|
||||
<option value="jsonpath">JSON Path</option>
|
||||
<select class="form-select" th:with="matchers=${@ConditionMatcherService.getMatchersList()}">
|
||||
<option th:each="item : ${matchers}" th:value="${item.getType()}" th:text="${item.getDisplayName()}"></option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user