adding hints

This commit is contained in:
Szakalakamaka
2020-11-09 11:24:40 +01:00
parent e534dcdc28
commit 26636da555
9 changed files with 271 additions and 211 deletions

94
.idea/workspace.xml generated
View File

@@ -24,16 +24,12 @@
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="458cde88-df3d-44bc-9d57-a33823e2f1a6" name="Default Changelist" comment=""> <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$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" 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/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/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$/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/static/css/styles.css" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/static/css/styles.css" 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/classes/static/js/paggination.js" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/static/js/paggination.js" 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" /> <change beforePath="$PROJECT_DIR$/target/classes/templates/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/target/classes/templates/index.html" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -85,7 +81,7 @@
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" /> <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit5" /> <property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit5" />
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrarySuperClass.JUnit5" value="" /> <property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrarySuperClass.JUnit5" value="" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/src/test" /> <property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="restartRequiresConfirmation" value="false" /> <property name="restartRequiresConfirmation" value="false" />
<property name="settings.editor.selected.configurable" value="MavenSettings" /> <property name="settings.editor.selected.configurable" value="MavenSettings" />
</component> </component>
@@ -275,13 +271,6 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1598862102028</updated> <updated>1598862102028</updated>
</task> </task>
<task id="LOCAL-00067" summary="jenkins - testing remote deploy">
<created>1601380234222</created>
<option name="number" value="00067" />
<option name="presentableId" value="LOCAL-00067" />
<option name="project" value="LOCAL" />
<updated>1601380234222</updated>
</task>
<task id="LOCAL-00068" summary="moving docker to a separate package"> <task id="LOCAL-00068" summary="moving docker to a separate package">
<created>1601380914561</created> <created>1601380914561</created>
<option name="number" value="00068" /> <option name="number" value="00068" />
@@ -618,7 +607,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1604499398654</updated> <updated>1604499398654</updated>
</task> </task>
<option name="localTasksCounter" value="116" /> <task id="LOCAL-00116" summary="front-end update">
<created>1604770061649</created>
<option name="number" value="00116" />
<option name="presentableId" value="LOCAL-00116" />
<option name="project" value="LOCAL" />
<updated>1604770061650</updated>
</task>
<option name="localTasksCounter" value="117" />
<servers /> <servers />
</component> </component>
<component name="UnknownFeatures"> <component name="UnknownFeatures">
@@ -638,7 +634,6 @@
</component> </component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" /> <option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
<MESSAGE value="KT in README.md" />
<MESSAGE value="fabric8" /> <MESSAGE value="fabric8" />
<MESSAGE value="updating Dockerfile, adding fabric8" /> <MESSAGE value="updating Dockerfile, adding fabric8" />
<MESSAGE value="testing docker jenkins" /> <MESSAGE value="testing docker jenkins" />
@@ -663,7 +658,8 @@
<MESSAGE value="- default message for user testing,&#10;- updating frontend" /> <MESSAGE value="- default message for user testing,&#10;- updating frontend" />
<MESSAGE value="changing eureka address" /> <MESSAGE value="changing eureka address" />
<MESSAGE value="cleaning properties" /> <MESSAGE value="cleaning properties" />
<option name="LAST_COMMIT_MESSAGE" value="cleaning properties" /> <MESSAGE value="front-end update" />
<option name="LAST_COMMIT_MESSAGE" value="front-end update" />
</component> </component>
<component name="WindowStateProjectService"> <component name="WindowStateProjectService">
<state x="904" y="236" key="#Notifications" timestamp="1600868491636"> <state x="904" y="236" key="#Notifications" timestamp="1600868491636">
@@ -726,68 +722,68 @@
<state x="549" y="167" key="FileChooserDialogImpl/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1602662342585" /> <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="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 x="549" y="167" key="FileChooserDialogImpl/0.0.1536.824@0.0.1536.824" timestamp="1602147205037" />
<state width="1877" height="76" key="GridCell.Tab.0.bottom" timestamp="1604769326304"> <state width="1493" height="89" key="GridCell.Tab.0.bottom" timestamp="1604916507124">
<screen x="1920" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1536" height="824" />
</state> </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="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="260" key="GridCell.Tab.0.bottom/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604747895197" /> <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="260" key="GridCell.Tab.0.bottom/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604770088085" />
<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="1493" height="89" key="GridCell.Tab.0.bottom/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1604916507124" />
<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="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="1493" height="217" key="GridCell.Tab.0.bottom/0.0.1536.824@0.0.1536.824" timestamp="1602147432366" />
<state width="1877" height="76" key="GridCell.Tab.0.center" timestamp="1604769326304"> <state width="1493" height="89" key="GridCell.Tab.0.center" timestamp="1604916507123">
<screen x="1920" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1536" height="824" />
</state> </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="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="260" key="GridCell.Tab.0.center/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604747895196" /> <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="260" key="GridCell.Tab.0.center/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604770088085" />
<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="1493" height="89" key="GridCell.Tab.0.center/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1604916507123" />
<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="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="1493" height="217" key="GridCell.Tab.0.center/0.0.1536.824@0.0.1536.824" timestamp="1602147432366" />
<state width="1877" height="76" key="GridCell.Tab.0.left" timestamp="1604769326304"> <state width="1493" height="89" key="GridCell.Tab.0.left" timestamp="1604916507123">
<screen x="1920" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1536" height="824" />
</state> </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="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="260" key="GridCell.Tab.0.left/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604747895196" /> <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="260" key="GridCell.Tab.0.left/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604770088085" />
<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="1493" height="89" key="GridCell.Tab.0.left/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1604916507123" />
<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="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="1493" height="217" key="GridCell.Tab.0.left/0.0.1536.824@0.0.1536.824" timestamp="1602147432366" />
<state width="1877" height="76" key="GridCell.Tab.0.right" timestamp="1604769326304"> <state width="1493" height="89" key="GridCell.Tab.0.right" timestamp="1604916507123">
<screen x="1920" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1536" height="824" />
</state> </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="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="260" key="GridCell.Tab.0.right/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604747895196" /> <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="260" key="GridCell.Tab.0.right/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604770088085" />
<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="1493" height="89" key="GridCell.Tab.0.right/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1604916507123" />
<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="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="1493" height="217" key="GridCell.Tab.0.right/0.0.1536.824@0.0.1536.824" timestamp="1602147432366" />
<state width="1493" height="260" key="GridCell.Tab.1.bottom" timestamp="1604747895198"> <state width="1493" height="260" key="GridCell.Tab.1.bottom" timestamp="1604770088085">
<screen x="0" y="0" width="1536" height="824" /> <screen x="1920" y="0" width="1920" height="1040" />
</state> </state>
<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="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="1493" height="260" key="GridCell.Tab.1.bottom/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604770088085" />
<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="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="1493" height="261" key="GridCell.Tab.1.bottom/0.0.1536.824@0.0.1536.824" timestamp="1600697207730" />
<state width="1493" height="260" key="GridCell.Tab.1.center" timestamp="1604747895197"> <state width="1493" height="260" key="GridCell.Tab.1.center" timestamp="1604770088085">
<screen x="0" y="0" width="1536" height="824" /> <screen x="1920" y="0" width="1920" height="1040" />
</state> </state>
<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="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="1493" height="260" key="GridCell.Tab.1.center/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604770088085" />
<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="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="1493" height="261" key="GridCell.Tab.1.center/0.0.1536.824@0.0.1536.824" timestamp="1600697207730" />
<state width="1493" height="260" key="GridCell.Tab.1.left" timestamp="1604747895197"> <state width="1493" height="260" key="GridCell.Tab.1.left" timestamp="1604770088085">
<screen x="0" y="0" width="1536" height="824" /> <screen x="1920" y="0" width="1920" height="1040" />
</state> </state>
<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="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="1493" height="260" key="GridCell.Tab.1.left/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604770088085" />
<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="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="1493" height="261" key="GridCell.Tab.1.left/0.0.1536.824@0.0.1536.824" timestamp="1600697207730" />
<state width="1493" height="260" key="GridCell.Tab.1.right" timestamp="1604747895198"> <state width="1493" height="260" key="GridCell.Tab.1.right" timestamp="1604770088085">
<screen x="0" y="0" width="1536" height="824" /> <screen x="1920" y="0" width="1920" height="1040" />
</state> </state>
<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="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="1493" height="260" key="GridCell.Tab.1.right/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604770088085" />
<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="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" /> <state width="1493" height="261" key="GridCell.Tab.1.right/0.0.1536.824@0.0.1536.824" timestamp="1600697207730" />
<state x="299" y="67" key="Maven.ArtifactSearchDialog" timestamp="1598862685882"> <state x="299" y="67" key="Maven.ArtifactSearchDialog" timestamp="1598862685882">
@@ -808,12 +804,12 @@
</state> </state>
<state x="277" y="57" key="SettingsEditor/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1600935670743" /> <state x="277" y="57" key="SettingsEditor/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1600935670743" />
<state x="277" y="57" key="SettingsEditor/0.0.1536.824@0.0.1536.824" timestamp="1601975962923" /> <state x="277" y="57" key="SettingsEditor/0.0.1536.824@0.0.1536.824" timestamp="1601975962923" />
<state x="2371" y="204" key="Vcs.Push.Dialog.v2" timestamp="1604499402409"> <state x="2371" y="183" key="Vcs.Push.Dialog.v2" timestamp="1604770067322">
<screen x="1920" y="0" width="1920" height="1160" /> <screen x="1920" y="0" width="1920" height="1040" />
</state> </state>
<state x="451" y="183" key="Vcs.Push.Dialog.v2/-1920.0.1536.832/0.0.1920.1040@0.0.1920.1040" timestamp="1600275760386" /> <state x="451" y="183" key="Vcs.Push.Dialog.v2/-1920.0.1536.832/0.0.1920.1040@0.0.1920.1040" timestamp="1600275760386" />
<state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604413405123" /> <state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1040@0.0.1536.824" timestamp="1604413405123" />
<state x="2371" y="183" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604428728268" /> <state x="2371" y="183" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1040@1920.0.1920.1040" timestamp="1604770067322" />
<state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1604494473937" /> <state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1160@0.0.1536.824" timestamp="1604494473937" />
<state x="2371" y="204" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1604499402409" /> <state x="2371" y="204" key="Vcs.Push.Dialog.v2/0.0.1536.824/1920.0.1920.1160@1920.0.1920.1160" timestamp="1604499402409" />
<state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824@0.0.1536.824" timestamp="1602145235569" /> <state x="361" y="145" key="Vcs.Push.Dialog.v2/0.0.1536.824@0.0.1536.824" timestamp="1602145235569" />

View File

@@ -1,7 +1,7 @@
#environment: #environment:
server.port = 8097 server.port = 8097
spring.application.name = klaus spring.application.name = klaus
eureka.client.service-url.defaultZone=http://netflix:eureka@localhost:8761/eureka/ eureka.client.service-url.defaultZone=http://netflix:eureka@eureka:8761/eureka/
spring.cloud.config.discovery.service-id = klaus-config-service spring.cloud.config.discovery.service-id = klaus-config-service
#spring.cloud.config.fail-fast=true #spring.cloud.config.fail-fast=true
#spring.cloud.config.username = SpringConfigUsername #spring.cloud.config.username = SpringConfigUsername
@@ -11,6 +11,3 @@ spring.output.ansi.enabled = always
logging.level.root=INFO logging.level.root=INFO
logging.level.org.springframework.web=INFO logging.level.org.springframework.web=INFO
logging.level.com.release11=INFO logging.level.com.release11=INFO
redis.host = localhost
redis.port = 6379

View File

@@ -1,2 +1,2 @@
redis.host = localhost redis.host = redis
redis.port = 6379 redis.port = 6379

View File

@@ -3,7 +3,7 @@
<include resource="org/springframework/boot/logging/logback/base.xml"/> <include resource="org/springframework/boot/logging/logback/base.xml"/>
<!--https://github.com/kmtong/logback-redis-appender--> <!--https://github.com/kmtong/logback-redis-appender-->
<appender name="LOGSTASH" class="com.release11.klaus.utilis.RedisAppender"> <appender name="LOGSTASH" class="com.release11.klaus.utilis.RedisAppender">
<host>localhost</host> <host>redis</host>
<port>6379</port> <port>6379</port>
<key>logstash</key> <key>logstash</key>
<layout class="ch.qos.logback.classic.PatternLayout"> <layout class="ch.qos.logback.classic.PatternLayout">

View File

@@ -205,9 +205,10 @@ button{
border-radius: 2px; border-radius: 2px;
} }
label { display: block; } label { display: block;
.hint { display: none; color: gray; font-style: italic; } }
input:focus + .hint { display: inline; } .hint { display: none; color: gray; font-style: italic; float:right;}
textarea:focus + .hint { display: inline; } input:focus + .hint { display: inline; float:right;}
textarea:focus + .hint { display: inline; } textarea:focus + .hint { display: inline; float:right; }
select:focus + .hint { display: inline; } textarea:focus + .hint { display: inline; float:right; }
select:focus + .hint { display: inline; float:right; }

View File

@@ -56,7 +56,7 @@
<option value="application/json">application/json</option> <option value="application/json">application/json</option>
<option value="text/xml">text/xml</option> <option value="text/xml">text/xml</option>
</select> </select>
<span class="hint">Dupa dupa dupa</span> <span class="hint">Standard that indicates the nature and format of a document, file, or assortment of bytes.</span>
</label> </label>
</td> </td>
<td> <td>
@@ -68,7 +68,7 @@
<td>Mocked response body:</td> <td>Mocked response body:</td>
<td><label><textarea rows="4" cols="30" th:field="*{messageBody}" <td><label><textarea rows="4" cols="30" th:field="*{messageBody}"
placeholder="Your message body"></textarea> placeholder="Your message body"></textarea>
<span class="hint">Dupa dupa dupa</span> <span class="hint">The resource data that will be requested by the client.</span>
</label> </label>
</td> </td>
<td th:if="${#fields.hasErrors('messageBody')}" th:errors="*{messageBody}"> <td th:if="${#fields.hasErrors('messageBody')}" th:errors="*{messageBody}">
@@ -81,7 +81,7 @@
<td> <td>
<label> <label>
<input type="text" th:field="*{httpStatus}" placeholder="200"> <input type="text" th:field="*{httpStatus}" placeholder="200">
<span class="hint">Dupa dupa dupa</span> <span class="hint">Status codes are issued by a server in response to a client's request made to the server.</span>
</label></td> </label></td>
<td th:if="${#fields.hasErrors('httpStatus')}" th:errors="*{httpStatus}"> <td th:if="${#fields.hasErrors('httpStatus')}" th:errors="*{httpStatus}">
HttpStatus Error HttpStatus Error
@@ -96,24 +96,20 @@
<label> <label>
<td><input type="text" name="headerKey" id="headerKey" <td><input type="text" name="headerKey" id="headerKey"
placeholder="myHeaderKey"/> placeholder="myHeaderKey"/>
<span class="hint">Dupa dupa dupa</span> <span class="hint"></span>
</label></td> </label></td>
<td> <td>
<label> <label>
<input type="text" name="headerValue" id="headerValue" <input type="text" name="headerValue" id="headerValue"
placeholder="myHeaderValue"/> placeholder="myHeaderValue"/>
<span class="hint">Dupa dupa dupa</span> <span class="hint">HTTP headers let the client and the server pass additional information with an HTTP request or response.</span>
<input type="image" name="addHeader" src="/img/icons8-plus-48.png" <input type="image" name="addHeader" src="/img/icons8-plus-48.png"
style="width: 20px;"/> style="width: 20px;"/>
</label> </label>
</td> </td>
</tr> </tr>
<tr th:each="entry, stats : *{httpHeaders}" bgcolor="#b3ffff"> <tr th:each="entry, stats : *{httpHeaders}">
<td><input type="text" name="value" th:value="${entry.key}" <td bgcolor="#b3ffff"><input type="text" name="value" th:value="${entry.key}"
disabled="disabled"/></td> disabled="disabled"/></td>
<td> <td>
&#9; &#9;
@@ -128,7 +124,7 @@
<td>Mocked response id:</td> <td>Mocked response id:</td>
<td><label><input type="text" th:field="*{mockedResponseId}" <td><label><input type="text" th:field="*{mockedResponseId}"
th:value="*{mockedResponseId}"/> th:value="*{mockedResponseId}"/>
<span class="hint">Dupa dupa dupa</span> <span class="hint">Unique identifier for the mocked message.</span>
</label></td> </label></td>
<td th:if="${#fields.hasErrors('mockedResponseId')}" <td th:if="${#fields.hasErrors('mockedResponseId')}"
th:errors="*{mockedResponseId}">Id th:errors="*{mockedResponseId}">Id

View File

@@ -192,3 +192,22 @@ tr { border: none; }
td { td {
border: none; 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; float:right;}
input:focus + .hint { display: inline; float:right;}
textarea:focus + .hint { display: inline; float:right; }
textarea:focus + .hint { display: inline; float:right; }
select:focus + .hint { display: inline; float:right; }

View File

@@ -14,10 +14,28 @@ var state = {
} }
var myList, data, previousSort; var myList, data, previousSort;
console.log("raz dwa trzy")
state.querySet = listForPagination; state.querySet = listForPagination;
buildTable(); 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--) { for (let i = 3; i >= 0; i--) {
document.querySelector('#btn-sort-' + i).addEventListener('click', function() { document.querySelector('#btn-sort-' + i).addEventListener('click', function() {
addButtonListeners(i) addButtonListeners(i)

View File

@@ -50,24 +50,39 @@
<input type="text" th:field="*{clientUUID}" hidden/> <input type="text" th:field="*{clientUUID}" hidden/>
<tr> <tr>
<td>Media type:</td> <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/xml">application/xml</option>
<option value="application/json">application/json</option> <option value="application/json">application/json</option>
<option value="text/xml">text/xml</option> <option value="text/xml">text/xml</option>
</select></td> </select>
<span class="hint">Standard that indicates the nature and format of a document, file, or assortment of bytes.</span>
</label>
</td>
<td>
</td>
</tr> </tr>
<tr> <tr>
<td>Mocked response body:</td> <td>Mocked response body:</td>
<td><textarea rows="4" cols="30" th:field="*{messageBody}" <td><label><textarea rows="4" cols="30" th:field="*{messageBody}"
placeholder="Your message body"></textarea></td> placeholder="Your message body"></textarea>
<span class="hint">The resource data that will be requested by the client.</span>
</label>
</td>
<td th:if="${#fields.hasErrors('messageBody')}" th:errors="*{messageBody}"> <td th:if="${#fields.hasErrors('messageBody')}" th:errors="*{messageBody}">
Body Error Body Error
</td> </td>
</tr> </tr>
<tr> <tr>
<td>Mocked response http code status:</td> <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">Status codes are issued by a server in response to a client's request made to the server.</span>
</label></td>
<td th:if="${#fields.hasErrors('httpStatus')}" th:errors="*{httpStatus}"> <td th:if="${#fields.hasErrors('httpStatus')}" th:errors="*{httpStatus}">
HttpStatus Error HttpStatus Error
</td> </td>
@@ -78,17 +93,23 @@
<td>Header value</td> <td>Header value</td>
</tr> </tr>
<tr> <tr>
<label>
<td><input type="text" name="headerKey" id="headerKey" <td><input type="text" name="headerKey" id="headerKey"
placeholder="myHeaderKey"/></td> placeholder="myHeaderKey"/>
<span class="hint"></span>
</label></td>
<td> <td>
<label>
<input type="text" name="headerValue" id="headerValue" <input type="text" name="headerValue" id="headerValue"
placeholder="myHeaderValue"/> placeholder="myHeaderValue"/>
<span class="hint">HTTP headers let the client and the server pass additional information with an HTTP request or response.</span>
<input type="image" name="addHeader" src="/img/icons8-plus-48.png" <input type="image" name="addHeader" src="/img/icons8-plus-48.png"
style="width: 20px;"/> style="width: 20px;"/>
</label>
</td> </td>
</tr> </tr>
<tr th:each="entry, stats : *{httpHeaders}" bgcolor="#b3ffff"> <tr th:each="entry, stats : *{httpHeaders}">
<td><input type="text" name="value" th:value="${entry.key}" <td bgcolor="#b3ffff"><input type="text" name="value" th:value="${entry.key}"
disabled="disabled"/></td> disabled="disabled"/></td>
<td> <td>
&#9; &#9;
@@ -101,8 +122,10 @@
</tr> </tr>
<tr> <tr>
<td>Mocked response id:</td> <td>Mocked response id:</td>
<td><input type="text" th:field="*{mockedResponseId}" <td><label><input type="text" th:field="*{mockedResponseId}"
th:value="*{mockedResponseId}"/></td> th:value="*{mockedResponseId}"/>
<span class="hint">Unique identifier for the mocked message.</span>
</label></td>
<td th:if="${#fields.hasErrors('mockedResponseId')}" <td th:if="${#fields.hasErrors('mockedResponseId')}"
th:errors="*{mockedResponseId}">Id th:errors="*{mockedResponseId}">Id
Error Error
@@ -118,6 +141,7 @@
</tr> </tr>
</form> </form>
</table> </table>
<p th:if="${mockSaved}">Mock has been saved</p>
<table> <table>
<tr> <tr>
<td> <td>
@@ -127,13 +151,15 @@
<p><input type="submit" value="History"/></p> <p><input type="submit" value="History"/></p>
</form> </form>
</td> </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> </tr>
</table> </table>
<p th:if="${mockSaved}">Mock has been saved</p>
</div>
<div class="column">
<br>
</div> </div>
</div> </div>
</section> </section>
@@ -141,7 +167,9 @@
</div> </div>
<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}__}" <form action="#" th:action="@{/home/__${mockedMessageDto.clientUUID}__}"
th:object="${mockedMessageDto}" method="post"> th:object="${mockedMessageDto}" method="post">
<table> <table>
@@ -170,8 +198,9 @@
<div id="pagination-wrapper"></div> <div id="pagination-wrapper"></div>
</div> </div>
</div> </div>
</div>
<hr> <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 <br>If you are keen to use the mocking service with bigger amount of messages or automate the process by
inserting inserting
high amount of random messages please consider using swagger or send batch requests on the urls below: high amount of random messages please consider using swagger or send batch requests on the urls below:
@@ -196,6 +225,8 @@
<script type="text/javascript" th:inline="javascript"> <script type="text/javascript" th:inline="javascript">
var listForPagination = /*[[${mockedMessageDtoList}]]*/; var listForPagination = /*[[${mockedMessageDtoList}]]*/;
</script> </script>
<script src="/js/paggination.js"></script> <script src="/js/paggination.js"></script>
<script> <script>
@@ -210,6 +241,8 @@ $.get("https://raw.githubusercontent.com/Szakalakamaka/viewpresenter/master/src/
}); });
</script> </script>
</body> </body>