New TODO 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/MockController.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/release11/klaus/controller/MockController.java" 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" /> | ||||||
|     </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" /> | ||||||
| @@ -309,7 +309,7 @@ | |||||||
|       <workItem from="1612178634549" duration="20097000" /> |       <workItem from="1612178634549" duration="20097000" /> | ||||||
|       <workItem from="1612259068808" duration="10440000" /> |       <workItem from="1612259068808" duration="10440000" /> | ||||||
|       <workItem from="1612279535476" duration="5692000" /> |       <workItem from="1612279535476" duration="5692000" /> | ||||||
|       <workItem from="1612442837870" duration="6837000" /> |       <workItem from="1612442837870" duration="7707000" /> | ||||||
|     </task> |     </task> | ||||||
|     <task id="LOCAL-00077" summary="testing jenkins docker"> |     <task id="LOCAL-00077" summary="testing jenkins docker"> | ||||||
|       <created>1601453886631</created> |       <created>1601453886631</created> | ||||||
|   | |||||||
| @@ -1,3 +1,13 @@ | |||||||
|  | //TODO: Add button to add new header | ||||||
|  | //TODO: Add PUT request to Save button | ||||||
|  | //TODO: Add POST request to new message button | ||||||
|  | //TODO: Add cookie check when getting the data in getData() | ||||||
|  | //TODO: Add cookie update after receiving data | ||||||
|  | //TODO: Update cookie when displayed message is changed | ||||||
|  | //TODO: Add getData() recall after PUT, POST or DELETE | ||||||
|  | //TODO: Add delete buttons for headers | ||||||
|  | //TODO: Add delete buttons for messages | ||||||
|  |  | ||||||
| var json; | var json; | ||||||
| var jsonIndex = 0; | var jsonIndex = 0; | ||||||
| function getData(uuid){ | function getData(uuid){ | ||||||
| @@ -9,10 +19,10 @@ function getData(uuid){ | |||||||
|         loadMessage(json[jsonIndex].mockedResponseId); |         loadMessage(json[jsonIndex].mockedResponseId); | ||||||
|         console.log("Message loaded"); |         console.log("Message loaded"); | ||||||
|  |  | ||||||
|         // initializeMock(json, 0) |  | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
| function clearMock(){ | function clearMock(){ | ||||||
|     fillStaticFields('','','',''); |     fillStaticFields('','','',''); | ||||||
|     $('#httpStatusValues').html(''); |     $('#httpStatusValues').html(''); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user