front-end update
This commit is contained in:
97
.idea/workspace.xml
generated
97
.idea/workspace.xml
generated
@@ -24,10 +24,16 @@
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="458cde88-df3d-44bc-9d57-a33823e2f1a6" name="Default Changelist" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/resources/bootstrap.yml" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/bootstrap.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/com/release11/klaus/KlausApplication.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/release11/klaus/KlausApplication.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/resources/application.properties" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/application.properties" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/resources/data-access.properties" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/data-access.properties" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/resources/logback.xml" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/logback.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/resources/static/css/styles.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/static/css/styles.css" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/resources/static/js/paggination.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/static/js/paggination.js" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/resources/templates/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/templates/index.html" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/application.properties" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/application.properties" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/bootstrap.yml" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/bootstrap.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/classes/data-access.properties" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/data-access.properties" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/target/test-classes/com/release11/klaus/controller/KlausMvcControllerTest.class" beforeDir="false" afterPath="$PROJECT_DIR$/target/test-classes/com/release11/klaus/controller/KlausMvcControllerTest.class" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
@@ -114,7 +120,7 @@
|
||||
<recent name="com.release11.klaus.service" />
|
||||
</key>
|
||||
</component>
|
||||
<component name="RunManager" selected="JUnit.whole">
|
||||
<component name="RunManager" selected="Application.KlausApplication">
|
||||
<configuration name="KlausApplication" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
|
||||
<envs>
|
||||
<env name="-Dspring.profiles.active" value="test" />
|
||||
@@ -194,26 +200,6 @@
|
||||
<option name="Make" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="whole" type="JUnit" factoryName="JUnit" temporary="true">
|
||||
<useClassPathOnly />
|
||||
<extension name="coverage">
|
||||
<pattern>
|
||||
<option name="PATTERN" value="com.release11.klaus.controller.*" />
|
||||
<option name="ENABLED" value="true" />
|
||||
</pattern>
|
||||
</extension>
|
||||
<option name="PACKAGE_NAME" value="com.release11.klaus.controller" />
|
||||
<option name="MAIN_CLASS_NAME" value="" />
|
||||
<option name="METHOD_NAME" value="" />
|
||||
<option name="TEST_OBJECT" value="package" />
|
||||
<option name="PARAMETERS" value="" />
|
||||
<option name="TEST_SEARCH_SCOPE">
|
||||
<value defaultName="wholeProject" />
|
||||
</option>
|
||||
<method v="2">
|
||||
<option name="Make" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration default="true" type="JetRunConfigurationType">
|
||||
<module name="eureka" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
@@ -264,18 +250,16 @@
|
||||
<list>
|
||||
<item itemvalue="Application.KlausApplication" />
|
||||
<item itemvalue="JUnit.allTests" />
|
||||
<item itemvalue="JUnit.whole" />
|
||||
<item itemvalue="JUnit.KlausServiceImplTest" />
|
||||
<item itemvalue="JUnit.KlausApplicationTests" />
|
||||
<item itemvalue="JUnit.KlausMvcControllerTest.removeHeader" />
|
||||
</list>
|
||||
<recent_temporary>
|
||||
<list>
|
||||
<item itemvalue="JUnit.whole" />
|
||||
<item itemvalue="Application.KlausApplication" />
|
||||
<item itemvalue="JUnit.KlausMvcControllerTest.removeHeader" />
|
||||
<item itemvalue="JUnit.KlausServiceImplTest" />
|
||||
<item itemvalue="JUnit.KlausApplicationTests" />
|
||||
<item itemvalue="Application.KlausApplication" />
|
||||
</list>
|
||||
</recent_temporary>
|
||||
</component>
|
||||
@@ -686,9 +670,10 @@
|
||||
<screen x="0" y="0" width="1536" height="824" />
|
||||
</state>
|
||||
<state x="904" y="236" key="#Notifications/0.0.1536.824@0.0.1536.824" timestamp="1600868491636" />
|
||||
<state x="2479" y="117" width="1092" height="762" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1604501598112">
|
||||
<screen x="1920" y="0" width="1920" height="1160" />
|
||||
<state x="2479" y="105" width="1092" height="762" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1604747761014">
|
||||
<screen x="1920" y="0" width="1920" height="1040" />
|
||||
</state>
|
||||
<state x="2479" y="105" key="#com.intellij.execution.impl.EditConfigurationsDialog/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604747761014" />
|
||||
<state x="2479" y="117" width="1092" height="762" key="#com.intellij.execution.impl.EditConfigurationsDialog/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1604501598112" />
|
||||
<state x="447" y="83" key="#com.intellij.execution.impl.EditConfigurationsDialog/0.0.1536.824@0.0.1536.824" timestamp="1601384263421" />
|
||||
<state x="2620" y="382" key="#com.intellij.fileTypes.FileTypeChooser" timestamp="1603883713801">
|
||||
@@ -741,67 +726,67 @@
|
||||
<state x="549" y="167" key="FileChooserDialogImpl/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1602662342585" />
|
||||
<state x="2606" y="235" key="FileChooserDialogImpl/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1604501503902" />
|
||||
<state x="549" y="167" key="FileChooserDialogImpl/0.0.1536.824@0.0.1536.824" timestamp="1602147205037" />
|
||||
<state width="1877" height="315" key="GridCell.Tab.0.bottom" timestamp="1604501251887">
|
||||
<screen x="1920" y="0" width="1920" height="1160" />
|
||||
<state width="1877" height="76" key="GridCell.Tab.0.bottom" timestamp="1604769326304">
|
||||
<screen x="1920" y="0" width="1920" height="1040" />
|
||||
</state>
|
||||
<state width="1877" height="239" key="GridCell.Tab.0.bottom/-1920.0.1536.832/0.0.1920.1040@0.0.1920.1040" timestamp="1600275797041" />
|
||||
<state width="1493" height="217" key="GridCell.Tab.0.bottom/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604413085479" />
|
||||
<state width="1877" height="102" key="GridCell.Tab.0.bottom/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604428762541" />
|
||||
<state width="1493" height="260" key="GridCell.Tab.0.bottom/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604747895197" />
|
||||
<state width="1877" height="76" key="GridCell.Tab.0.bottom/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604769326304" />
|
||||
<state width="1493" height="315" key="GridCell.Tab.0.bottom/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1604494395906" />
|
||||
<state width="1877" height="315" key="GridCell.Tab.0.bottom/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1604501251887" />
|
||||
<state width="1493" height="217" key="GridCell.Tab.0.bottom/0.0.1536.824@0.0.1536.824" timestamp="1602147432366" />
|
||||
<state width="1877" height="315" key="GridCell.Tab.0.center" timestamp="1604501251887">
|
||||
<screen x="1920" y="0" width="1920" height="1160" />
|
||||
<state width="1877" height="76" key="GridCell.Tab.0.center" timestamp="1604769326304">
|
||||
<screen x="1920" y="0" width="1920" height="1040" />
|
||||
</state>
|
||||
<state width="1877" height="239" key="GridCell.Tab.0.center/-1920.0.1536.832/0.0.1920.1040@0.0.1920.1040" timestamp="1600275797041" />
|
||||
<state width="1493" height="217" key="GridCell.Tab.0.center/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604413085478" />
|
||||
<state width="1877" height="102" key="GridCell.Tab.0.center/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604428762541" />
|
||||
<state width="1493" height="260" key="GridCell.Tab.0.center/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604747895196" />
|
||||
<state width="1877" height="76" key="GridCell.Tab.0.center/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604769326304" />
|
||||
<state width="1493" height="315" key="GridCell.Tab.0.center/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1604494395906" />
|
||||
<state width="1877" height="315" key="GridCell.Tab.0.center/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1604501251887" />
|
||||
<state width="1493" height="217" key="GridCell.Tab.0.center/0.0.1536.824@0.0.1536.824" timestamp="1602147432366" />
|
||||
<state width="1877" height="315" key="GridCell.Tab.0.left" timestamp="1604501251887">
|
||||
<screen x="1920" y="0" width="1920" height="1160" />
|
||||
<state width="1877" height="76" key="GridCell.Tab.0.left" timestamp="1604769326304">
|
||||
<screen x="1920" y="0" width="1920" height="1040" />
|
||||
</state>
|
||||
<state width="1877" height="239" key="GridCell.Tab.0.left/-1920.0.1536.832/0.0.1920.1040@0.0.1920.1040" timestamp="1600275797041" />
|
||||
<state width="1493" height="217" key="GridCell.Tab.0.left/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604413085478" />
|
||||
<state width="1877" height="102" key="GridCell.Tab.0.left/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604428762541" />
|
||||
<state width="1493" height="260" key="GridCell.Tab.0.left/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604747895196" />
|
||||
<state width="1877" height="76" key="GridCell.Tab.0.left/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604769326304" />
|
||||
<state width="1493" height="315" key="GridCell.Tab.0.left/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1604494395906" />
|
||||
<state width="1877" height="315" key="GridCell.Tab.0.left/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1604501251887" />
|
||||
<state width="1493" height="217" key="GridCell.Tab.0.left/0.0.1536.824@0.0.1536.824" timestamp="1602147432366" />
|
||||
<state width="1877" height="315" key="GridCell.Tab.0.right" timestamp="1604501251887">
|
||||
<screen x="1920" y="0" width="1920" height="1160" />
|
||||
<state width="1877" height="76" key="GridCell.Tab.0.right" timestamp="1604769326304">
|
||||
<screen x="1920" y="0" width="1920" height="1040" />
|
||||
</state>
|
||||
<state width="1877" height="239" key="GridCell.Tab.0.right/-1920.0.1536.832/0.0.1920.1040@0.0.1920.1040" timestamp="1600275797041" />
|
||||
<state width="1493" height="217" key="GridCell.Tab.0.right/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604413085478" />
|
||||
<state width="1877" height="102" key="GridCell.Tab.0.right/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604428762541" />
|
||||
<state width="1493" height="260" key="GridCell.Tab.0.right/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604747895196" />
|
||||
<state width="1877" height="76" key="GridCell.Tab.0.right/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604769326304" />
|
||||
<state width="1493" height="315" key="GridCell.Tab.0.right/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1604494395906" />
|
||||
<state width="1877" height="315" key="GridCell.Tab.0.right/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1604501251887" />
|
||||
<state width="1493" height="217" key="GridCell.Tab.0.right/0.0.1536.824@0.0.1536.824" timestamp="1602147432366" />
|
||||
<state width="1877" height="297" key="GridCell.Tab.1.bottom" timestamp="1602672852817">
|
||||
<screen x="1920" y="0" width="1920" height="1160" />
|
||||
<state width="1493" height="260" key="GridCell.Tab.1.bottom" timestamp="1604747895198">
|
||||
<screen x="0" y="0" width="1536" height="824" />
|
||||
</state>
|
||||
<state width="1493" height="261" key="GridCell.Tab.1.bottom/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1602075481186" />
|
||||
<state width="1493" height="260" key="GridCell.Tab.1.bottom/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604747895198" />
|
||||
<state width="1877" height="261" key="GridCell.Tab.1.bottom/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1602255424969" />
|
||||
<state width="1877" height="297" key="GridCell.Tab.1.bottom/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1602672852817" />
|
||||
<state width="1493" height="261" key="GridCell.Tab.1.bottom/0.0.1536.824@0.0.1536.824" timestamp="1600697207730" />
|
||||
<state width="1877" height="297" key="GridCell.Tab.1.center" timestamp="1602672852817">
|
||||
<screen x="1920" y="0" width="1920" height="1160" />
|
||||
<state width="1493" height="260" key="GridCell.Tab.1.center" timestamp="1604747895197">
|
||||
<screen x="0" y="0" width="1536" height="824" />
|
||||
</state>
|
||||
<state width="1493" height="261" key="GridCell.Tab.1.center/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1602075481185" />
|
||||
<state width="1493" height="260" key="GridCell.Tab.1.center/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604747895197" />
|
||||
<state width="1877" height="261" key="GridCell.Tab.1.center/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1602255424969" />
|
||||
<state width="1877" height="297" key="GridCell.Tab.1.center/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1602672852817" />
|
||||
<state width="1493" height="261" key="GridCell.Tab.1.center/0.0.1536.824@0.0.1536.824" timestamp="1600697207730" />
|
||||
<state width="1877" height="297" key="GridCell.Tab.1.left" timestamp="1602672852817">
|
||||
<screen x="1920" y="0" width="1920" height="1160" />
|
||||
<state width="1493" height="260" key="GridCell.Tab.1.left" timestamp="1604747895197">
|
||||
<screen x="0" y="0" width="1536" height="824" />
|
||||
</state>
|
||||
<state width="1493" height="261" key="GridCell.Tab.1.left/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1602075481185" />
|
||||
<state width="1493" height="260" key="GridCell.Tab.1.left/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604747895197" />
|
||||
<state width="1877" height="261" key="GridCell.Tab.1.left/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1602255424969" />
|
||||
<state width="1877" height="297" key="GridCell.Tab.1.left/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1602672852817" />
|
||||
<state width="1493" height="261" key="GridCell.Tab.1.left/0.0.1536.824@0.0.1536.824" timestamp="1600697207730" />
|
||||
<state width="1877" height="297" key="GridCell.Tab.1.right" timestamp="1602672852817">
|
||||
<screen x="1920" y="0" width="1920" height="1160" />
|
||||
<state width="1493" height="260" key="GridCell.Tab.1.right" timestamp="1604747895198">
|
||||
<screen x="0" y="0" width="1536" height="824" />
|
||||
</state>
|
||||
<state width="1493" height="261" key="GridCell.Tab.1.right/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1602075481185" />
|
||||
<state width="1493" height="260" key="GridCell.Tab.1.right/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604747895198" />
|
||||
<state width="1877" height="261" key="GridCell.Tab.1.right/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1602255424969" />
|
||||
<state width="1877" height="297" key="GridCell.Tab.1.right/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1602672852817" />
|
||||
<state width="1493" height="261" key="GridCell.Tab.1.right/0.0.1536.824@0.0.1536.824" timestamp="1600697207730" />
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.release11.klaus;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
||||
|
||||
|
||||
|
||||
@SpringBootApplication
|
||||
|
||||
@@ -11,3 +11,6 @@ spring.output.ansi.enabled = always
|
||||
logging.level.root=INFO
|
||||
logging.level.org.springframework.web=INFO
|
||||
logging.level.com.release11=INFO
|
||||
|
||||
redis.host = localhost
|
||||
redis.port = 6379
|
||||
@@ -1,2 +1,2 @@
|
||||
redis.host = redis
|
||||
redis.host = localhost
|
||||
redis.port = 6379
|
||||
@@ -3,7 +3,7 @@
|
||||
<include resource="org/springframework/boot/logging/logback/base.xml"/>
|
||||
<!--https://github.com/kmtong/logback-redis-appender-->
|
||||
<appender name="LOGSTASH" class="com.release11.klaus.utilis.RedisAppender">
|
||||
<host>redis</host>
|
||||
<host>localhost</host>
|
||||
<port>6379</port>
|
||||
<key>logstash</key>
|
||||
<layout class="ch.qos.logback.classic.PatternLayout">
|
||||
|
||||
@@ -192,3 +192,22 @@ tr { border: none; }
|
||||
td {
|
||||
border: none;
|
||||
}
|
||||
|
||||
button{
|
||||
padding: 5px 14px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
background: #32a6cc;
|
||||
color: #fff;
|
||||
transition: all 0.3s ease;
|
||||
font-family: Arial, sans-serif;
|
||||
font-size: 1em;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
label { display: block; }
|
||||
.hint { display: none; color: gray; font-style: italic; }
|
||||
input:focus + .hint { display: inline; }
|
||||
textarea:focus + .hint { display: inline; }
|
||||
textarea:focus + .hint { display: inline; }
|
||||
select:focus + .hint { display: inline; }
|
||||
@@ -14,10 +14,28 @@ var state = {
|
||||
}
|
||||
|
||||
var myList, data, previousSort;
|
||||
console.log("raz dwa trzy")
|
||||
state.querySet = listForPagination;
|
||||
buildTable();
|
||||
|
||||
|
||||
document.querySelector('#btn-list-1').addEventListener('click', function() {
|
||||
var x = document.getElementById("list-wrapper");
|
||||
if (x.style.display === "none") {
|
||||
x.style.display = "block";
|
||||
} else {
|
||||
x.style.display = "none";
|
||||
}
|
||||
})
|
||||
|
||||
document.querySelector('#btn-list-2').addEventListener('click', function() {
|
||||
var x = document.getElementById("advanced-wrapper");
|
||||
if (x.style.display === "none") {
|
||||
x.style.display = "block";
|
||||
} else {
|
||||
x.style.display = "none";
|
||||
}
|
||||
})
|
||||
|
||||
for (let i = 3; i >= 0; i--) {
|
||||
document.querySelector('#btn-sort-' + i).addEventListener('click', function() {
|
||||
addButtonListeners(i)
|
||||
|
||||
@@ -50,24 +50,39 @@
|
||||
<input type="text" th:field="*{clientUUID}" hidden/>
|
||||
<tr>
|
||||
<td>Media type:</td>
|
||||
<td><select th:field="*{mediaType}">
|
||||
<td>
|
||||
<label><select th:field="*{mediaType}">
|
||||
<option value="application/xml">application/xml</option>
|
||||
<option value="application/json">application/json</option>
|
||||
<option value="text/xml">text/xml</option>
|
||||
</select></td>
|
||||
</select>
|
||||
<span class="hint">Dupa dupa dupa</span>
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Mocked response body:</td>
|
||||
<td><textarea rows="4" cols="30" th:field="*{messageBody}"
|
||||
placeholder="Your message body"></textarea></td>
|
||||
<td><label><textarea rows="4" cols="30" th:field="*{messageBody}"
|
||||
placeholder="Your message body"></textarea>
|
||||
<span class="hint">Dupa dupa dupa</span>
|
||||
</label>
|
||||
</td>
|
||||
<td th:if="${#fields.hasErrors('messageBody')}" th:errors="*{messageBody}">
|
||||
Body Error
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mocked response http code status:</td>
|
||||
<td><input type="text" th:field="*{httpStatus}" placeholder="200"></td>
|
||||
<td>
|
||||
<label>
|
||||
<input type="text" th:field="*{httpStatus}" placeholder="200">
|
||||
<span class="hint">Dupa dupa dupa</span>
|
||||
</label></td>
|
||||
<td th:if="${#fields.hasErrors('httpStatus')}" th:errors="*{httpStatus}">
|
||||
HttpStatus Error
|
||||
</td>
|
||||
@@ -78,14 +93,24 @@
|
||||
<td>Header value</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<label>
|
||||
<td><input type="text" name="headerKey" id="headerKey"
|
||||
placeholder="myHeaderKey"/></td>
|
||||
placeholder="myHeaderKey"/>
|
||||
<span class="hint">Dupa dupa dupa</span>
|
||||
</label></td>
|
||||
<td>
|
||||
<label>
|
||||
<input type="text" name="headerValue" id="headerValue"
|
||||
placeholder="myHeaderValue"/>
|
||||
<span class="hint">Dupa dupa dupa</span>
|
||||
<input type="image" name="addHeader" src="/img/icons8-plus-48.png"
|
||||
style="width: 20px;"/>
|
||||
|
||||
|
||||
</label>
|
||||
</td>
|
||||
|
||||
|
||||
</tr>
|
||||
<tr th:each="entry, stats : *{httpHeaders}" bgcolor="#b3ffff">
|
||||
<td><input type="text" name="value" th:value="${entry.key}"
|
||||
@@ -101,8 +126,10 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mocked response id:</td>
|
||||
<td><input type="text" th:field="*{mockedResponseId}"
|
||||
th:value="*{mockedResponseId}"/></td>
|
||||
<td><label><input type="text" th:field="*{mockedResponseId}"
|
||||
th:value="*{mockedResponseId}"/>
|
||||
<span class="hint">Dupa dupa dupa</span>
|
||||
</label></td>
|
||||
<td th:if="${#fields.hasErrors('mockedResponseId')}"
|
||||
th:errors="*{mockedResponseId}">Id
|
||||
Error
|
||||
@@ -118,6 +145,7 @@
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
<p th:if="${mockSaved}">Mock has been saved</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
@@ -127,13 +155,15 @@
|
||||
<p><input type="submit" value="History"/></p>
|
||||
</form>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn-list" name="Messages List" id="btn-list-1">Messages List
|
||||
</button>
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn-list" name="Messages List" id="btn-list-2">Advanced</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p th:if="${mockSaved}">Mock has been saved</p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<br>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -141,7 +171,9 @@
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>Here you can see the interactive list of all your mocked messages. You can call all of them. Use the buttons to sort the list and also update or delete messages.</p>
|
||||
<div id="list-wrapper" style="display: none;">
|
||||
<p>Here you can see the interactive list of all your mocked messages. You can call all of them. Use
|
||||
the buttons to sort the list and also update or delete messages.</p>
|
||||
<form action="#" th:action="@{/home/__${mockedMessageDto.clientUUID}__}"
|
||||
th:object="${mockedMessageDto}" method="post">
|
||||
<table>
|
||||
@@ -170,8 +202,9 @@
|
||||
<div id="pagination-wrapper"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div>
|
||||
<div id="advanced-wrapper" style="display: none;">
|
||||
<br>If you are keen to use the mocking service with bigger amount of messages or automate the process by
|
||||
inserting
|
||||
high amount of random messages please consider using swagger or send batch requests on the urls below:
|
||||
@@ -196,6 +229,8 @@
|
||||
<script type="text/javascript" th:inline="javascript">
|
||||
var listForPagination = /*[[${mockedMessageDtoList}]]*/;
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
<script src="/js/paggination.js"></script>
|
||||
<script>
|
||||
@@ -210,6 +245,8 @@ $.get("https://raw.githubusercontent.com/Szakalakamaka/viewpresenter/master/src/
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
@@ -11,3 +11,6 @@ spring.output.ansi.enabled = always
|
||||
logging.level.root=INFO
|
||||
logging.level.org.springframework.web=INFO
|
||||
logging.level.com.release11=INFO
|
||||
|
||||
redis.host = localhost
|
||||
redis.port = 6379
|
||||
@@ -1,2 +1,2 @@
|
||||
redis.host = redis
|
||||
redis.host = localhost
|
||||
redis.port = 6379
|
||||
Binary file not shown.
Reference in New Issue
Block a user