T157 http status field added
This commit is contained in:
		
							
								
								
									
										4
									
								
								.idea/workspace.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								.idea/workspace.xml
									
									
									
										generated
									
									
									
								
							| @@ -21,7 +21,7 @@ | |||||||
|   <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/controller/KlausMvcController.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/release11/klaus/controller/KlausMvcController.java" afterDir="false" /> |       <change beforePath="$PROJECT_DIR$/src/main/resources/static/css/main.css" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/static/css/main.css" afterDir="false" /> | ||||||
|       <change beforePath="$PROJECT_DIR$/src/main/resources/static/js/datatransfer.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/static/js/datatransfer.js" afterDir="false" /> |       <change beforePath="$PROJECT_DIR$/src/main/resources/static/js/datatransfer.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/static/js/datatransfer.js" afterDir="false" /> | ||||||
|       <change beforePath="$PROJECT_DIR$/src/main/resources/templates/mock.html" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/templates/mock.html" afterDir="false" /> |       <change beforePath="$PROJECT_DIR$/src/main/resources/templates/mock.html" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/templates/mock.html" afterDir="false" /> | ||||||
|     </list> |     </list> | ||||||
| @@ -307,7 +307,7 @@ | |||||||
|       <workItem from="1611659140629" duration="2109000" /> |       <workItem from="1611659140629" duration="2109000" /> | ||||||
|       <workItem from="1611757446709" duration="6743000" /> |       <workItem from="1611757446709" duration="6743000" /> | ||||||
|       <workItem from="1611826821050" duration="10679000" /> |       <workItem from="1611826821050" duration="10679000" /> | ||||||
|       <workItem from="1611915874625" duration="12081000" /> |       <workItem from="1611915874625" duration="12997000" /> | ||||||
|     </task> |     </task> | ||||||
|     <task id="LOCAL-00077" summary="testing jenkins docker"> |     <task id="LOCAL-00077" summary="testing jenkins docker"> | ||||||
|       <created>1601453886631</created> |       <created>1601453886631</created> | ||||||
|   | |||||||
| @@ -138,6 +138,10 @@ | |||||||
|     resize: none; |     resize: none; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | #httpStatus { | ||||||
|  |     resize: none; | ||||||
|  | } | ||||||
|  |  | ||||||
| #selectMenu { | #selectMenu { | ||||||
|     min-height: 1736px; |     min-height: 1736px; | ||||||
|     float: left; |     float: left; | ||||||
|   | |||||||
| @@ -18,10 +18,11 @@ function initializeMock(json, id){ | |||||||
|  |  | ||||||
| function fillStaticFields(uuid, id, mediaType, body, httpStatus){ | function fillStaticFields(uuid, id, mediaType, body, httpStatus){ | ||||||
|     $('#messageLink').html(createLink(uuid,id)); |     $('#messageLink').html(createLink(uuid,id)); | ||||||
|  |     $('#httpStatus').html(httpStatus); | ||||||
|     $('#typeSelector').val(mediaType); |     $('#typeSelector').val(mediaType); | ||||||
|     $('#bodyEditor').html(body); |     $('#bodyEditor').html(body); | ||||||
|  |     $('#mockedMessageId').html(id); | ||||||
|  |  | ||||||
|     //TODO: HttpStatus |  | ||||||
| } | } | ||||||
|  |  | ||||||
| function createLink(uuid, id){ | function createLink(uuid, id){ | ||||||
|   | |||||||
| @@ -30,6 +30,8 @@ | |||||||
|                 </div> |                 </div> | ||||||
|                 <div id="msgBody"> |                 <div id="msgBody"> | ||||||
|                     <div id="typeSelection"> |                     <div id="typeSelection"> | ||||||
|  |                         <p class="label">Http Status</p> | ||||||
|  |                         <textarea type="text" id="httpStatus" class="fieldDefault borderStyle"></textarea> | ||||||
|  |  | ||||||
|                         <p class="label">Content Type</p> |                         <p class="label">Content Type</p> | ||||||
|                         <select id="typeSelector" class="fieldDefault borderStyle"> |                         <select id="typeSelector" class="fieldDefault borderStyle"> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user