T128 host displayed

This commit is contained in:
2021-01-11 14:16:16 +01:00
parent cf39f20316
commit 078cf58b8b
3 changed files with 10 additions and 2 deletions

3
.idea/workspace.xml generated
View File

@@ -21,6 +21,7 @@
<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/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" />
</list>
<option name="SHOW_DIALOG" value="false" />
@@ -294,7 +295,7 @@
<workItem from="1609858324796" duration="197000" />
<workItem from="1609858548270" duration="300000" />
<workItem from="1609858872909" duration="2771000" />
<workItem from="1610359988935" duration="4108000" />
<workItem from="1610359988935" duration="8484000" />
</task>
<task id="LOCAL-00077" summary="testing jenkins docker">
<created>1601453886631</created>

View File

@@ -17,6 +17,8 @@ var myList, data, previousSort;
state.querySet = listForPagination;
buildTable();
var pubhost = location.hostname;
document.getElementById("pubhost").innerHTML = location.hostname;
document.querySelector('#btn-list-1').addEventListener('click', function() {
var x = document.getElementById("list-wrapper");

View File

@@ -9,6 +9,9 @@
<link href="/css/styles.css" rel="stylesheet"/>
</head>
<body>
<script>
</script>
<hr>
<div id="container">
<div id="header"></div>
@@ -23,10 +26,12 @@
<div>
<br>
<p>You can test the mocked message using the url default values from the form will be used.</p>
<gen-link>http://[[${localhost}]]:8097/klaus/v1/get/[[${mockedMessageDto.clientUUID}]]/[[${mockedMessageDto.mockedResponseId}]]</gen-link>
<gen-link>http://<span id="pubhost"></span>:8097/klaus/v1/get/[[${mockedMessageDto.clientUUID}]]/[[${mockedMessageDto.mockedResponseId}]]</gen-link>
<p>Use this link to get your message.</p>
<br>
<table>
<p>In order to change mockup response settings please fill the form below and save.</p><br>
<form action="#" th:action="@{/mock/__${mockedMessageDto.clientUUID}__}"