Eric Foster пре 6 година
родитељ
комит
4fd1048ad3
66 измењених фајлова са 1500 додато и 5 уклоњено
  1. 1
    0
      .idea/.name
  2. 14
    0
      .idea/compiler.xml
  3. 6
    0
      .idea/encodings.xml
  4. 14
    0
      .idea/misc.xml
  5. 124
    0
      .idea/uiDesigner.xml
  6. 6
    0
      .idea/vcs.xml
  7. 908
    0
      .idea/workspace.xml
  8. 5
    5
      ReadMe.md
  9. 2
    0
      Shared-Travel-Map.iml
  10. 34
    0
      pom.xml
  11. 13
    0
      src/main/java/com/alidade/SharedTravelApp.java
  12. 13
    0
      src/main/java/com/alidade/controller/DestinationController.java
  13. 12
    0
      src/main/java/com/alidade/controller/FriendListController.java
  14. 14
    0
      src/main/java/com/alidade/controller/HomeController.java
  15. 12
    0
      src/main/java/com/alidade/controller/MapController.java
  16. 12
    0
      src/main/java/com/alidade/controller/MessageBoardController.java
  17. 12
    0
      src/main/java/com/alidade/controller/MessageController.java
  18. 45
    0
      src/main/java/com/alidade/controller/UserController.java
  19. 14
    0
      src/main/java/com/alidade/controller/UserLoginController.java
  20. 20
    0
      src/main/java/com/alidade/model/Destination.java
  21. 15
    0
      src/main/java/com/alidade/model/FriendList.java
  22. 15
    0
      src/main/java/com/alidade/model/Map.java
  23. 15
    0
      src/main/java/com/alidade/model/Message.java
  24. 15
    0
      src/main/java/com/alidade/model/MessageBoard.java
  25. 29
    0
      src/main/java/com/alidade/model/User.java
  26. 14
    0
      src/main/java/com/alidade/model/UserLogin.java
  27. 7
    0
      src/main/java/com/alidade/repository/DestinationRepository.java
  28. 7
    0
      src/main/java/com/alidade/repository/FriendListRepository.java
  29. 7
    0
      src/main/java/com/alidade/repository/MapRepository.java
  30. 7
    0
      src/main/java/com/alidade/repository/MessageBoardRepository.java
  31. 7
    0
      src/main/java/com/alidade/repository/MessageRepository.java
  32. 7
    0
      src/main/java/com/alidade/repository/UserLoginRepository.java
  33. 7
    0
      src/main/java/com/alidade/repository/UserRepository.java
  34. 0
    0
      src/main/resources/application-prod.properties
  35. 0
    0
      src/main/resources/application-test.properties
  36. 3
    0
      src/main/resources/application.properties
  37. 16
    0
      src/test/java/AppTest.java
  38. 45
    0
      src/test/java/UserControllerTest.java
  39. 0
    0
      target/classes/application-prod.properties
  40. 0
    0
      target/classes/application-test.properties
  41. 3
    0
      target/classes/application.properties
  42. BIN
      target/classes/com/alidade/SharedTravelApp.class
  43. BIN
      target/classes/com/alidade/controller/DestinationController.class
  44. BIN
      target/classes/com/alidade/controller/FriendListController.class
  45. BIN
      target/classes/com/alidade/controller/HomeController.class
  46. BIN
      target/classes/com/alidade/controller/MapController.class
  47. BIN
      target/classes/com/alidade/controller/MessageBoardController.class
  48. BIN
      target/classes/com/alidade/controller/MessageController.class
  49. BIN
      target/classes/com/alidade/controller/UserController.class
  50. BIN
      target/classes/com/alidade/controller/UserLoginController.class
  51. BIN
      target/classes/com/alidade/model/Destination.class
  52. BIN
      target/classes/com/alidade/model/FriendList.class
  53. BIN
      target/classes/com/alidade/model/Map.class
  54. BIN
      target/classes/com/alidade/model/Message.class
  55. BIN
      target/classes/com/alidade/model/MessageBoard.class
  56. BIN
      target/classes/com/alidade/model/User.class
  57. BIN
      target/classes/com/alidade/model/UserLogin.class
  58. BIN
      target/classes/com/alidade/repository/DestinationRepository.class
  59. BIN
      target/classes/com/alidade/repository/FriendListRepository.class
  60. BIN
      target/classes/com/alidade/repository/MapRepository.class
  61. BIN
      target/classes/com/alidade/repository/MessageBoardRepository.class
  62. BIN
      target/classes/com/alidade/repository/MessageRepository.class
  63. BIN
      target/classes/com/alidade/repository/UserLoginRepository.class
  64. BIN
      target/classes/com/alidade/repository/UserRepository.class
  65. BIN
      target/test-classes/AppTest.class
  66. BIN
      target/test-classes/UserControllerTest.class

+ 1
- 0
.idea/.name Прегледај датотеку

@@ -0,0 +1 @@
1
+SharedTravelMap

+ 14
- 0
.idea/compiler.xml Прегледај датотеку

@@ -0,0 +1,14 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="CompilerConfiguration">
4
+    <annotationProcessing>
5
+      <profile name="Maven default annotation processors profile" enabled="true">
6
+        <sourceOutputDir name="target/generated-sources/annotations" />
7
+        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8
+        <outputRelativeToContentRoot value="true" />
9
+        <module name="Shared-Travel-Map" />
10
+        <module name="SharedTravelMap" />
11
+      </profile>
12
+    </annotationProcessing>
13
+  </component>
14
+</project>

+ 6
- 0
.idea/encodings.xml Прегледај датотеку

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="Encoding">
4
+    <file url="file://$PROJECT_DIR$" charset="UTF-8" />
5
+  </component>
6
+</project>

+ 14
- 0
.idea/misc.xml Прегледај датотеку

@@ -0,0 +1,14 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ExternalStorageConfigurationManager" enabled="true" />
4
+  <component name="MavenProjectsManager">
5
+    <option name="originalFiles">
6
+      <list>
7
+        <option value="$PROJECT_DIR$/pom.xml" />
8
+      </list>
9
+    </option>
10
+  </component>
11
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
12
+    <output url="file://$PROJECT_DIR$/out" />
13
+  </component>
14
+</project>

+ 124
- 0
.idea/uiDesigner.xml Прегледај датотеку

@@ -0,0 +1,124 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="Palette2">
4
+    <group name="Swing">
5
+      <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
6
+        <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
7
+      </item>
8
+      <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
9
+        <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
10
+      </item>
11
+      <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
12
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
13
+      </item>
14
+      <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
15
+        <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
16
+      </item>
17
+      <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
18
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
19
+        <initial-values>
20
+          <property name="text" value="Button" />
21
+        </initial-values>
22
+      </item>
23
+      <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
24
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
25
+        <initial-values>
26
+          <property name="text" value="RadioButton" />
27
+        </initial-values>
28
+      </item>
29
+      <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
30
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
31
+        <initial-values>
32
+          <property name="text" value="CheckBox" />
33
+        </initial-values>
34
+      </item>
35
+      <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
36
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
37
+        <initial-values>
38
+          <property name="text" value="Label" />
39
+        </initial-values>
40
+      </item>
41
+      <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
42
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
43
+          <preferred-size width="150" height="-1" />
44
+        </default-constraints>
45
+      </item>
46
+      <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
47
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
48
+          <preferred-size width="150" height="-1" />
49
+        </default-constraints>
50
+      </item>
51
+      <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
52
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
53
+          <preferred-size width="150" height="-1" />
54
+        </default-constraints>
55
+      </item>
56
+      <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
57
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
58
+          <preferred-size width="150" height="50" />
59
+        </default-constraints>
60
+      </item>
61
+      <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
62
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
63
+          <preferred-size width="150" height="50" />
64
+        </default-constraints>
65
+      </item>
66
+      <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
67
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
68
+          <preferred-size width="150" height="50" />
69
+        </default-constraints>
70
+      </item>
71
+      <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
72
+        <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
73
+      </item>
74
+      <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
75
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
76
+          <preferred-size width="150" height="50" />
77
+        </default-constraints>
78
+      </item>
79
+      <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
80
+        <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
81
+          <preferred-size width="150" height="50" />
82
+        </default-constraints>
83
+      </item>
84
+      <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
85
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
86
+          <preferred-size width="150" height="50" />
87
+        </default-constraints>
88
+      </item>
89
+      <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
90
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
91
+          <preferred-size width="200" height="200" />
92
+        </default-constraints>
93
+      </item>
94
+      <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
95
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
96
+          <preferred-size width="200" height="200" />
97
+        </default-constraints>
98
+      </item>
99
+      <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
100
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
101
+      </item>
102
+      <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
103
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
104
+      </item>
105
+      <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
106
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
107
+      </item>
108
+      <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
109
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
110
+      </item>
111
+      <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
112
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
113
+          <preferred-size width="-1" height="20" />
114
+        </default-constraints>
115
+      </item>
116
+      <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
117
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
118
+      </item>
119
+      <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
120
+        <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
121
+      </item>
122
+    </group>
123
+  </component>
124
+</project>

+ 6
- 0
.idea/vcs.xml Прегледај датотеку

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="" vcs="Git" />
5
+  </component>
6
+</project>

+ 908
- 0
.idea/workspace.xml Прегледај датотеку

@@ -0,0 +1,908 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="ad381d05-32c5-4ad5-8041-a0cb51a71fd9" name="Default" comment="">
5
+      <change afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/.idea/encodings.xml" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/.idea/uiDesigner.xml" afterDir="false" />
8
+      <change afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
9
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/SharedTravelApp.java" afterDir="false" />
10
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/controller/DestinationController.java" afterDir="false" />
11
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/controller/FriendListController.java" afterDir="false" />
12
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/controller/HomeController.java" afterDir="false" />
13
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/controller/MapController.java" afterDir="false" />
14
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/controller/MessageBoardController.java" afterDir="false" />
15
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/controller/MessageController.java" afterDir="false" />
16
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/controller/UserController.java" afterDir="false" />
17
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/controller/UserLoginController.java" afterDir="false" />
18
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/model/Destination.java" afterDir="false" />
19
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/model/FriendList.java" afterDir="false" />
20
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/model/Map.java" afterDir="false" />
21
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/model/Message.java" afterDir="false" />
22
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/model/MessageBoard.java" afterDir="false" />
23
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/model/User.java" afterDir="false" />
24
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/model/UserLogin.java" afterDir="false" />
25
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/repository/DestinationRepository.java" afterDir="false" />
26
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/repository/FriendListRepository.java" afterDir="false" />
27
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/repository/MapRepository.java" afterDir="false" />
28
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/repository/MessageBoardRepository.java" afterDir="false" />
29
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/repository/MessageRepository.java" afterDir="false" />
30
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/repository/UserLoginRepository.java" afterDir="false" />
31
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/alidade/repository/UserRepository.java" afterDir="false" />
32
+      <change afterPath="$PROJECT_DIR$/src/main/resources/application-prod.properties" afterDir="false" />
33
+      <change afterPath="$PROJECT_DIR$/src/main/resources/application-test.properties" afterDir="false" />
34
+      <change afterPath="$PROJECT_DIR$/src/main/resources/application.properties" afterDir="false" />
35
+      <change afterPath="$PROJECT_DIR$/src/test/java/AppTest.java" afterDir="false" />
36
+      <change afterPath="$PROJECT_DIR$/src/test/java/UserControllerTest.java" afterDir="false" />
37
+      <change beforePath="$PROJECT_DIR$/ReadMe.md" beforeDir="false" afterPath="$PROJECT_DIR$/ReadMe.md" afterDir="false" />
38
+    </list>
39
+    <ignored path="$PROJECT_DIR$/out/" />
40
+    <ignored path="$PROJECT_DIR$/target/" />
41
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
42
+    <option name="TRACKING_ENABLED" value="true" />
43
+    <option name="SHOW_DIALOG" value="false" />
44
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
45
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
46
+    <option name="LAST_RESOLUTION" value="IGNORE" />
47
+  </component>
48
+  <component name="FileEditorManager">
49
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
50
+      <file leaf-file-name="UserController.java" pinned="false" current-in-tab="true">
51
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/UserController.java">
52
+          <provider selected="true" editor-type-id="text-editor">
53
+            <state relative-caret-position="591">
54
+              <caret line="40" column="5" lean-forward="true" selection-start-line="40" selection-start-column="5" selection-end-line="40" selection-end-column="5" />
55
+              <folding>
56
+                <element signature="imports" expanded="true" />
57
+              </folding>
58
+            </state>
59
+          </provider>
60
+        </entry>
61
+      </file>
62
+      <file leaf-file-name="UserControllerTest.java" pinned="false" current-in-tab="false">
63
+        <entry file="file://$PROJECT_DIR$/src/test/java/UserControllerTest.java">
64
+          <provider selected="true" editor-type-id="text-editor">
65
+            <state relative-caret-position="510">
66
+              <caret line="34" column="14" selection-start-line="34" selection-start-column="14" selection-end-line="34" selection-end-column="14" />
67
+              <folding>
68
+                <element signature="imports" expanded="true" />
69
+              </folding>
70
+            </state>
71
+          </provider>
72
+        </entry>
73
+      </file>
74
+      <file leaf-file-name="AppTest.java" pinned="false" current-in-tab="false">
75
+        <entry file="file://$PROJECT_DIR$/src/test/java/AppTest.java">
76
+          <provider selected="true" editor-type-id="text-editor">
77
+            <state relative-caret-position="165">
78
+              <caret line="11" column="62" selection-start-line="11" selection-start-column="62" selection-end-line="11" selection-end-column="62" />
79
+              <folding>
80
+                <element signature="imports" expanded="true" />
81
+              </folding>
82
+            </state>
83
+          </provider>
84
+        </entry>
85
+      </file>
86
+      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
87
+        <entry file="file://$PROJECT_DIR$/pom.xml">
88
+          <provider selected="true" editor-type-id="text-editor">
89
+            <state relative-caret-position="435">
90
+              <caret line="29" column="21" selection-start-line="29" selection-start-column="21" selection-end-line="29" selection-end-column="21" />
91
+            </state>
92
+          </provider>
93
+        </entry>
94
+      </file>
95
+      <file leaf-file-name="HomeController.java" pinned="false" current-in-tab="false">
96
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/HomeController.java">
97
+          <provider selected="true" editor-type-id="text-editor">
98
+            <state relative-caret-position="150">
99
+              <caret line="10" column="51" selection-start-line="10" selection-start-column="16" selection-end-line="10" selection-end-column="51" />
100
+              <folding>
101
+                <element signature="imports" expanded="true" />
102
+              </folding>
103
+            </state>
104
+          </provider>
105
+        </entry>
106
+      </file>
107
+      <file leaf-file-name="MessageController.java" pinned="false" current-in-tab="false">
108
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/MessageController.java">
109
+          <provider selected="true" editor-type-id="text-editor">
110
+            <state relative-caret-position="150">
111
+              <caret line="10" column="40" selection-start-line="10" selection-start-column="40" selection-end-line="10" selection-end-column="40" />
112
+              <folding>
113
+                <element signature="imports" expanded="true" />
114
+              </folding>
115
+            </state>
116
+          </provider>
117
+        </entry>
118
+      </file>
119
+      <file leaf-file-name="MessageBoardController.java" pinned="false" current-in-tab="false">
120
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/MessageBoardController.java">
121
+          <provider selected="true" editor-type-id="text-editor">
122
+            <state relative-caret-position="150">
123
+              <caret line="10" column="50" selection-start-line="10" selection-start-column="50" selection-end-line="10" selection-end-column="50" />
124
+              <folding>
125
+                <element signature="imports" expanded="true" />
126
+              </folding>
127
+            </state>
128
+          </provider>
129
+        </entry>
130
+      </file>
131
+      <file leaf-file-name="UserLoginController.java" pinned="false" current-in-tab="false">
132
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/UserLoginController.java">
133
+          <provider selected="true" editor-type-id="text-editor">
134
+            <state relative-caret-position="180">
135
+              <caret line="12" selection-start-line="12" selection-end-line="12" />
136
+              <folding>
137
+                <element signature="imports" expanded="true" />
138
+              </folding>
139
+            </state>
140
+          </provider>
141
+        </entry>
142
+      </file>
143
+      <file leaf-file-name="User.java" pinned="false" current-in-tab="false">
144
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/User.java">
145
+          <provider selected="true" editor-type-id="text-editor">
146
+            <state relative-caret-position="390">
147
+              <caret line="26" column="23" selection-start-line="26" selection-start-column="23" selection-end-line="26" selection-end-column="23" />
148
+              <folding>
149
+                <element signature="imports" expanded="true" />
150
+              </folding>
151
+            </state>
152
+          </provider>
153
+        </entry>
154
+      </file>
155
+      <file leaf-file-name="UserRepository.java" pinned="false" current-in-tab="false">
156
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/repository/UserRepository.java">
157
+          <provider selected="true" editor-type-id="text-editor">
158
+            <state relative-caret-position="75">
159
+              <caret line="5" column="67" selection-start-line="5" selection-start-column="67" selection-end-line="5" selection-end-column="67" />
160
+              <folding>
161
+                <element signature="imports" expanded="true" />
162
+              </folding>
163
+            </state>
164
+          </provider>
165
+        </entry>
166
+      </file>
167
+    </leaf>
168
+  </component>
169
+  <component name="FileTemplateManagerImpl">
170
+    <option name="RECENT_TEMPLATES">
171
+      <list>
172
+        <option value="Class" />
173
+      </list>
174
+    </option>
175
+  </component>
176
+  <component name="Git.Settings">
177
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
178
+  </component>
179
+  <component name="IdeDocumentHistory">
180
+    <option name="CHANGED_PATHS">
181
+      <list>
182
+        <option value="$PROJECT_DIR$/src/main/java/alidade/alidade.java" />
183
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/model/DestinationState.java" />
184
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/model/FutureDestination.java" />
185
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/model/Login.java" />
186
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/model/Profile.java" />
187
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/repository/ProfileRepository.java" />
188
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/model/Feed.java" />
189
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/App.java" />
190
+        <option value="$PROJECT_DIR$/src/main/resources/application.properties" />
191
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/SharedTravelApp.java" />
192
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/controller/HomeController.java" />
193
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/repository/DestinationRepository.java" />
194
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/repository/MessageBoardRepository.java" />
195
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/repository/FriendListRepository.java" />
196
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/repository/MapRepository.java" />
197
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/repository/MessageRepository.java" />
198
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/repository/UserLoginRepository.java" />
199
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/repository/UserRepository.java" />
200
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/model/UserLogin.java" />
201
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/model/MessageBoard.java" />
202
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/model/Message.java" />
203
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/model/Map.java" />
204
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/model/FriendList.java" />
205
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/model/Destination.java" />
206
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/controller/FriendController.java" />
207
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/controller/LoginController.java" />
208
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/controller/MessageController.java" />
209
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/controller/MessageBoardController.java" />
210
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/controller/MapController.java" />
211
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/controller/FriendListController.java" />
212
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/controller/DestinationController.java" />
213
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/controller/UserLoginController.java" />
214
+        <option value="$PROJECT_DIR$/src/test/java/UserControllerClass.java" />
215
+        <option value="$PROJECT_DIR$/pom.xml" />
216
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/model/User.java" />
217
+        <option value="$PROJECT_DIR$/src/test/java/UserControllerTest.java" />
218
+        <option value="$PROJECT_DIR$/src/test/java/AppTest.java" />
219
+        <option value="$PROJECT_DIR$/src/main/java/com/alidade/controller/UserController.java" />
220
+      </list>
221
+    </option>
222
+  </component>
223
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
224
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
225
+  <component name="JsGulpfileManager">
226
+    <detection-done>true</detection-done>
227
+    <sorting>DEFINITION_ORDER</sorting>
228
+  </component>
229
+  <component name="MavenImportPreferences">
230
+    <option name="importingSettings">
231
+      <MavenImportingSettings>
232
+        <option name="importAutomatically" value="true" />
233
+      </MavenImportingSettings>
234
+    </option>
235
+  </component>
236
+  <component name="NodePackageJsonFileManager">
237
+    <packageJsonPaths />
238
+  </component>
239
+  <component name="ProjectFrameBounds">
240
+    <option name="x" value="-299" />
241
+    <option name="y" value="-1042" />
242
+    <option name="width" value="1861" />
243
+    <option name="height" value="1015" />
244
+  </component>
245
+  <component name="ProjectLevelVcsManager">
246
+    <ConfirmationsSetting value="2" id="Add" />
247
+  </component>
248
+  <component name="ProjectView">
249
+    <navigator proportions="" version="1">
250
+      <foldersAlwaysOnTop value="true" />
251
+    </navigator>
252
+    <panes>
253
+      <pane id="Scope" />
254
+      <pane id="AndroidView" />
255
+      <pane id="ProjectPane">
256
+        <subPane>
257
+          <expand>
258
+            <path>
259
+              <item name="SharedTravelMap" type="b2602c69:ProjectViewProjectNode" />
260
+              <item name="Shared-Travel-Map" type="462c0819:PsiDirectoryNode" />
261
+            </path>
262
+            <path>
263
+              <item name="SharedTravelMap" type="b2602c69:ProjectViewProjectNode" />
264
+              <item name="Shared-Travel-Map" type="462c0819:PsiDirectoryNode" />
265
+              <item name="src" type="462c0819:PsiDirectoryNode" />
266
+            </path>
267
+            <path>
268
+              <item name="SharedTravelMap" type="b2602c69:ProjectViewProjectNode" />
269
+              <item name="Shared-Travel-Map" type="462c0819:PsiDirectoryNode" />
270
+              <item name="src" type="462c0819:PsiDirectoryNode" />
271
+              <item name="main" type="462c0819:PsiDirectoryNode" />
272
+            </path>
273
+            <path>
274
+              <item name="SharedTravelMap" type="b2602c69:ProjectViewProjectNode" />
275
+              <item name="Shared-Travel-Map" type="462c0819:PsiDirectoryNode" />
276
+              <item name="src" type="462c0819:PsiDirectoryNode" />
277
+              <item name="main" type="462c0819:PsiDirectoryNode" />
278
+              <item name="java" type="462c0819:PsiDirectoryNode" />
279
+            </path>
280
+            <path>
281
+              <item name="SharedTravelMap" type="b2602c69:ProjectViewProjectNode" />
282
+              <item name="Shared-Travel-Map" type="462c0819:PsiDirectoryNode" />
283
+              <item name="src" type="462c0819:PsiDirectoryNode" />
284
+              <item name="main" type="462c0819:PsiDirectoryNode" />
285
+              <item name="java" type="462c0819:PsiDirectoryNode" />
286
+              <item name="alidade" type="462c0819:PsiDirectoryNode" />
287
+            </path>
288
+            <path>
289
+              <item name="SharedTravelMap" type="b2602c69:ProjectViewProjectNode" />
290
+              <item name="Shared-Travel-Map" type="462c0819:PsiDirectoryNode" />
291
+              <item name="src" type="462c0819:PsiDirectoryNode" />
292
+              <item name="main" type="462c0819:PsiDirectoryNode" />
293
+              <item name="java" type="462c0819:PsiDirectoryNode" />
294
+              <item name="alidade" type="462c0819:PsiDirectoryNode" />
295
+              <item name="controller" type="462c0819:PsiDirectoryNode" />
296
+            </path>
297
+            <path>
298
+              <item name="SharedTravelMap" type="b2602c69:ProjectViewProjectNode" />
299
+              <item name="Shared-Travel-Map" type="462c0819:PsiDirectoryNode" />
300
+              <item name="src" type="462c0819:PsiDirectoryNode" />
301
+              <item name="main" type="462c0819:PsiDirectoryNode" />
302
+              <item name="java" type="462c0819:PsiDirectoryNode" />
303
+              <item name="alidade" type="462c0819:PsiDirectoryNode" />
304
+              <item name="model" type="462c0819:PsiDirectoryNode" />
305
+            </path>
306
+            <path>
307
+              <item name="SharedTravelMap" type="b2602c69:ProjectViewProjectNode" />
308
+              <item name="Shared-Travel-Map" type="462c0819:PsiDirectoryNode" />
309
+              <item name="src" type="462c0819:PsiDirectoryNode" />
310
+              <item name="main" type="462c0819:PsiDirectoryNode" />
311
+              <item name="java" type="462c0819:PsiDirectoryNode" />
312
+              <item name="alidade" type="462c0819:PsiDirectoryNode" />
313
+              <item name="repository" type="462c0819:PsiDirectoryNode" />
314
+            </path>
315
+            <path>
316
+              <item name="SharedTravelMap" type="b2602c69:ProjectViewProjectNode" />
317
+              <item name="Shared-Travel-Map" type="462c0819:PsiDirectoryNode" />
318
+              <item name="src" type="462c0819:PsiDirectoryNode" />
319
+              <item name="main" type="462c0819:PsiDirectoryNode" />
320
+              <item name="resources" type="462c0819:PsiDirectoryNode" />
321
+            </path>
322
+            <path>
323
+              <item name="SharedTravelMap" type="b2602c69:ProjectViewProjectNode" />
324
+              <item name="Shared-Travel-Map" type="462c0819:PsiDirectoryNode" />
325
+              <item name="src" type="462c0819:PsiDirectoryNode" />
326
+              <item name="test" type="462c0819:PsiDirectoryNode" />
327
+            </path>
328
+            <path>
329
+              <item name="SharedTravelMap" type="b2602c69:ProjectViewProjectNode" />
330
+              <item name="Shared-Travel-Map" type="462c0819:PsiDirectoryNode" />
331
+              <item name="src" type="462c0819:PsiDirectoryNode" />
332
+              <item name="test" type="462c0819:PsiDirectoryNode" />
333
+              <item name="java" type="462c0819:PsiDirectoryNode" />
334
+            </path>
335
+          </expand>
336
+          <select />
337
+        </subPane>
338
+      </pane>
339
+      <pane id="PackagesPane" />
340
+    </panes>
341
+  </component>
342
+  <component name="PropertiesComponent">
343
+    <property name="WebServerToolWindowFactoryState" value="false" />
344
+    <property name="aspect.path.notification.shown" value="true" />
345
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
346
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
347
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
348
+    <property name="project.structure.last.edited" value="Project" />
349
+    <property name="project.structure.proportion" value="0.0" />
350
+    <property name="project.structure.side.proportion" value="0.0" />
351
+    <property name="settings.editor.selected.configurable" value="reference.settings.ide.settings.file-colors" />
352
+  </component>
353
+  <component name="RunDashboard">
354
+    <option name="ruleStates">
355
+      <list>
356
+        <RuleState>
357
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
358
+        </RuleState>
359
+        <RuleState>
360
+          <option name="name" value="StatusDashboardGroupingRule" />
361
+        </RuleState>
362
+      </list>
363
+    </option>
364
+  </component>
365
+  <component name="RunManager" selected="JUnit.AppTest">
366
+    <configuration name="SharedTravelApp" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
367
+      <option name="MAIN_CLASS_NAME" value="com.alidade.SharedTravelApp" />
368
+      <module name="SharedTravelMap" />
369
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
370
+      <extension name="coverage">
371
+        <pattern>
372
+          <option name="PATTERN" value="com.alidade.*" />
373
+          <option name="ENABLED" value="true" />
374
+        </pattern>
375
+      </extension>
376
+    </configuration>
377
+    <configuration default="true" type="Application" factoryName="Application">
378
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
379
+    </configuration>
380
+    <configuration name="AppTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
381
+      <module name="SharedTravelMap" />
382
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
383
+      <option name="ALTERNATIVE_JRE_PATH" />
384
+      <option name="PACKAGE_NAME" value="" />
385
+      <option name="MAIN_CLASS_NAME" value="AppTest" />
386
+      <option name="METHOD_NAME" />
387
+      <option name="TEST_OBJECT" value="class" />
388
+      <option name="VM_PARAMETERS" value="-ea" />
389
+      <option name="PARAMETERS" />
390
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
391
+      <option name="PASS_PARENT_ENVS" value="true" />
392
+      <option name="TEST_SEARCH_SCOPE">
393
+        <value defaultName="singleModule" />
394
+      </option>
395
+      <patterns />
396
+    </configuration>
397
+    <configuration name="UserControllerTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
398
+      <module name="SharedTravelMap" />
399
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
400
+      <option name="ALTERNATIVE_JRE_PATH" />
401
+      <option name="PACKAGE_NAME" value="" />
402
+      <option name="MAIN_CLASS_NAME" value="UserControllerTest" />
403
+      <option name="METHOD_NAME" />
404
+      <option name="TEST_OBJECT" value="class" />
405
+      <option name="VM_PARAMETERS" value="-ea" />
406
+      <option name="PARAMETERS" />
407
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
408
+      <option name="PASS_PARENT_ENVS" value="true" />
409
+      <option name="TEST_SEARCH_SCOPE">
410
+        <value defaultName="singleModule" />
411
+      </option>
412
+      <patterns />
413
+    </configuration>
414
+    <configuration default="true" type="JUnit" factoryName="JUnit">
415
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
416
+      <option name="ALTERNATIVE_JRE_PATH" />
417
+      <option name="PACKAGE_NAME" />
418
+      <option name="MAIN_CLASS_NAME" />
419
+      <option name="METHOD_NAME" />
420
+      <option name="TEST_OBJECT" value="class" />
421
+      <option name="VM_PARAMETERS" value="-ea" />
422
+      <option name="PARAMETERS" />
423
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
424
+      <option name="PASS_PARENT_ENVS" value="true" />
425
+      <option name="TEST_SEARCH_SCOPE">
426
+        <value defaultName="singleModule" />
427
+      </option>
428
+      <patterns />
429
+    </configuration>
430
+    <configuration default="true" type="TestNG" factoryName="TestNG">
431
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
432
+      <option name="ALTERNATIVE_JRE_PATH" />
433
+      <option name="SUITE_NAME" />
434
+      <option name="PACKAGE_NAME" />
435
+      <option name="MAIN_CLASS_NAME" />
436
+      <option name="METHOD_NAME" />
437
+      <option name="GROUP_NAME" />
438
+      <option name="TEST_OBJECT" value="CLASS" />
439
+      <option name="VM_PARAMETERS" value="-ea" />
440
+      <option name="PARAMETERS" />
441
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
442
+      <option name="OUTPUT_DIRECTORY" />
443
+      <option name="PASS_PARENT_ENVS" value="true" />
444
+      <option name="TEST_SEARCH_SCOPE">
445
+        <value defaultName="singleModule" />
446
+      </option>
447
+      <option name="USE_DEFAULT_REPORTERS" value="false" />
448
+      <option name="PROPERTIES_FILE" />
449
+      <properties />
450
+      <listeners />
451
+    </configuration>
452
+    <list>
453
+      <item itemvalue="Application.SharedTravelApp" />
454
+      <item itemvalue="JUnit.UserControllerTest" />
455
+      <item itemvalue="JUnit.AppTest" />
456
+    </list>
457
+    <recent_temporary>
458
+      <list>
459
+        <item itemvalue="JUnit.AppTest" />
460
+        <item itemvalue="JUnit.UserControllerTest" />
461
+        <item itemvalue="Application.SharedTravelApp" />
462
+      </list>
463
+    </recent_temporary>
464
+  </component>
465
+  <component name="SvnConfiguration">
466
+    <configuration />
467
+  </component>
468
+  <component name="TaskManager">
469
+    <task active="true" id="Default" summary="Default task">
470
+      <changelist id="ad381d05-32c5-4ad5-8041-a0cb51a71fd9" name="Default" comment="" />
471
+      <created>1530823627587</created>
472
+      <option name="number" value="Default" />
473
+      <option name="presentableId" value="Default" />
474
+      <updated>1530823627587</updated>
475
+      <workItem from="1530823629559" duration="3165000" />
476
+      <workItem from="1531151008696" duration="1478000" />
477
+      <workItem from="1531169291938" duration="6415000" />
478
+      <workItem from="1531420535917" duration="473000" />
479
+      <workItem from="1531423497712" duration="2448000" />
480
+      <workItem from="1531476865236" duration="2884000" />
481
+      <workItem from="1531487567020" duration="597000" />
482
+      <workItem from="1531488707527" duration="4290000" />
483
+    </task>
484
+    <servers />
485
+  </component>
486
+  <component name="TestHistory">
487
+    <history-entry file="UserControllerTest - 2018.07.13 at 11h 34m 14s.xml">
488
+      <configuration name="UserControllerTest" configurationId="JUnit" />
489
+    </history-entry>
490
+    <history-entry file="AppTest - 2018.07.13 at 11h 35m 14s.xml">
491
+      <configuration name="AppTest" configurationId="JUnit" />
492
+    </history-entry>
493
+  </component>
494
+  <component name="TimeTrackingManager">
495
+    <option name="totallyTimeSpent" value="21750000" />
496
+  </component>
497
+  <component name="ToolWindowManager">
498
+    <frame x="-299" y="-1042" width="1861" height="1015" extended-state="0" />
499
+    <editor active="true" />
500
+    <layout>
501
+      <window_info anchor="right" id="Palette" order="3" />
502
+      <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
503
+      <window_info anchor="right" id="Maven Projects" order="3" />
504
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
505
+      <window_info id="Capture Tool" order="2" />
506
+      <window_info id="Designer" order="2" />
507
+      <window_info anchor="right" id="Database" order="3" />
508
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
509
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
510
+      <window_info id="UI Designer" order="2" />
511
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
512
+      <window_info anchor="bottom" id="TODO" order="6" />
513
+      <window_info anchor="bottom" id="Messages" order="8" weight="0.32935154" />
514
+      <window_info anchor="right" id="Palette&#9;" order="3" />
515
+      <window_info id="Image Layers" order="2" />
516
+      <window_info anchor="bottom" id="Java Enterprise" order="8" />
517
+      <window_info anchor="right" id="Capture Analysis" order="3" />
518
+      <window_info anchor="bottom" id="Version Control" order="7" />
519
+      <window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.12527233" />
520
+      <window_info anchor="bottom" id="Spring" order="8" />
521
+      <window_info anchor="bottom" id="Terminal" order="7" />
522
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.22210005" />
523
+      <window_info anchor="right" id="Bean Validation" order="4" />
524
+      <window_info id="Web" order="3" side_tool="true" />
525
+      <window_info anchor="right" id="Theme Preview" order="3" />
526
+      <window_info id="Favorites" order="2" side_tool="true" />
527
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
528
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
529
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
530
+      <window_info anchor="bottom" id="Message" order="0" />
531
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
532
+      <window_info anchor="bottom" id="Find" order="1" />
533
+    </layout>
534
+  </component>
535
+  <component name="TypeScriptGeneratedFilesManager">
536
+    <option name="version" value="1" />
537
+  </component>
538
+  <component name="VcsContentAnnotationSettings">
539
+    <option name="myLimit" value="2678400000" />
540
+  </component>
541
+  <component name="editorHistoryManager">
542
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/UserLoginController.java">
543
+      <provider selected="true" editor-type-id="text-editor">
544
+        <state relative-caret-position="30">
545
+          <caret line="2" column="28" selection-start-line="2" selection-start-column="28" selection-end-line="2" selection-end-column="28" />
546
+        </state>
547
+      </provider>
548
+    </entry>
549
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/DestinationController.java">
550
+      <provider selected="true" editor-type-id="text-editor">
551
+        <state relative-caret-position="30">
552
+          <caret line="2" column="34" selection-start-line="2" selection-start-column="34" selection-end-line="2" selection-end-column="34" />
553
+        </state>
554
+      </provider>
555
+    </entry>
556
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/TimeFrame.java" />
557
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/PastDestination.java" />
558
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/FutureDestination.java" />
559
+    <entry file="file://$PROJECT_DIR$/README.md">
560
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
561
+        <state split_layout="SPLIT">
562
+          <first_editor relative-caret-position="-873" />
563
+          <second_editor />
564
+        </state>
565
+      </provider>
566
+    </entry>
567
+    <entry file="file://$PROJECT_DIR$/Shared-Travel-Map.iml">
568
+      <provider selected="true" editor-type-id="text-editor">
569
+        <state relative-caret-position="15">
570
+          <caret line="1" column="35" selection-start-line="1" selection-start-column="35" selection-end-line="1" selection-end-column="35" />
571
+        </state>
572
+      </provider>
573
+    </entry>
574
+    <entry file="file://$PROJECT_DIR$/src/main/java/alidade/alidade.java" />
575
+    <entry file="file://$PROJECT_DIR$/.idea/uiDesigner.xml">
576
+      <provider selected="true" editor-type-id="text-editor">
577
+        <state relative-caret-position="-571" />
578
+      </provider>
579
+    </entry>
580
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/ProfileController.java" />
581
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/PastDestination.java" />
582
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/FutureDestination.java" />
583
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/TimeFrame.java" />
584
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/Profile.java" />
585
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/Login.java" />
586
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/FeedController.java" />
587
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/Friend.java" />
588
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/repository/FeedRepository.java" />
589
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/repository/FriendRepository.java" />
590
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/repository/ProfileRepository.java" />
591
+    <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
592
+      <provider selected="true" editor-type-id="text-editor">
593
+        <state relative-caret-position="30">
594
+          <caret line="2" column="16" selection-start-line="2" selection-start-column="16" selection-end-line="2" selection-end-column="16" />
595
+        </state>
596
+      </provider>
597
+    </entry>
598
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/SharedTravelApp.java">
599
+      <provider selected="true" editor-type-id="text-editor">
600
+        <state relative-caret-position="75">
601
+          <caret line="6" column="13" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="13" />
602
+          <folding>
603
+            <element signature="imports" expanded="true" />
604
+          </folding>
605
+        </state>
606
+      </provider>
607
+    </entry>
608
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/UserProfile.java" />
609
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/TravelFeed.java" />
610
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/repository/DestinationRepository.java">
611
+      <provider selected="true" editor-type-id="text-editor">
612
+        <state relative-caret-position="75">
613
+          <caret line="5" column="16" selection-start-line="5" selection-start-column="16" selection-end-line="5" selection-end-column="16" />
614
+          <folding>
615
+            <element signature="imports" expanded="true" />
616
+          </folding>
617
+        </state>
618
+      </provider>
619
+    </entry>
620
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/repository/MessageBoardRepository.java">
621
+      <provider selected="true" editor-type-id="text-editor">
622
+        <state relative-caret-position="75">
623
+          <caret line="5" column="16" selection-start-line="5" selection-start-column="16" selection-end-line="5" selection-end-column="16" />
624
+          <folding>
625
+            <element signature="imports" expanded="true" />
626
+          </folding>
627
+        </state>
628
+      </provider>
629
+    </entry>
630
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/repository/FriendListRepository.java">
631
+      <provider selected="true" editor-type-id="text-editor">
632
+        <state relative-caret-position="90">
633
+          <caret line="6" column="1" lean-forward="true" selection-start-line="6" selection-start-column="1" selection-end-line="6" selection-end-column="1" />
634
+          <folding>
635
+            <element signature="imports" expanded="true" />
636
+          </folding>
637
+        </state>
638
+      </provider>
639
+    </entry>
640
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/repository/MapRepository.java">
641
+      <provider selected="true" editor-type-id="text-editor">
642
+        <state relative-caret-position="75">
643
+          <caret line="5" column="44" lean-forward="true" selection-start-line="5" selection-start-column="44" selection-end-line="5" selection-end-column="44" />
644
+          <folding>
645
+            <element signature="imports" expanded="true" />
646
+          </folding>
647
+        </state>
648
+      </provider>
649
+    </entry>
650
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/repository/MessageRepository.java">
651
+      <provider selected="true" editor-type-id="text-editor">
652
+        <state relative-caret-position="75">
653
+          <caret line="5" column="61" selection-start-line="5" selection-start-column="61" selection-end-line="5" selection-end-column="61" />
654
+          <folding>
655
+            <element signature="imports" expanded="true" />
656
+          </folding>
657
+        </state>
658
+      </provider>
659
+    </entry>
660
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/repository/UserLoginRepository.java">
661
+      <provider selected="true" editor-type-id="text-editor">
662
+        <state relative-caret-position="45">
663
+          <caret line="3" column="26" lean-forward="true" selection-start-line="3" selection-start-column="26" selection-end-line="3" selection-end-column="26" />
664
+        </state>
665
+      </provider>
666
+    </entry>
667
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/MessageBoard.java">
668
+      <provider selected="true" editor-type-id="text-editor">
669
+        <state relative-caret-position="165">
670
+          <caret line="11" column="37" lean-forward="true" selection-start-line="11" selection-start-column="37" selection-end-line="11" selection-end-column="37" />
671
+          <folding>
672
+            <element signature="imports" expanded="true" />
673
+          </folding>
674
+        </state>
675
+      </provider>
676
+    </entry>
677
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/UserLogin.java">
678
+      <provider selected="true" editor-type-id="text-editor">
679
+        <state relative-caret-position="180">
680
+          <caret line="12" column="28" lean-forward="true" selection-start-line="12" selection-start-column="28" selection-end-line="12" selection-end-column="28" />
681
+          <folding>
682
+            <element signature="imports" expanded="true" />
683
+          </folding>
684
+        </state>
685
+      </provider>
686
+    </entry>
687
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/Message.java">
688
+      <provider selected="true" editor-type-id="text-editor">
689
+        <state relative-caret-position="120">
690
+          <caret line="8" column="4" selection-start-line="8" selection-start-column="4" selection-end-line="11" selection-end-column="20" />
691
+          <folding>
692
+            <element signature="imports" expanded="true" />
693
+          </folding>
694
+        </state>
695
+      </provider>
696
+    </entry>
697
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/Map.java">
698
+      <provider selected="true" editor-type-id="text-editor">
699
+        <state relative-caret-position="165">
700
+          <caret line="11" column="23" selection-start-line="11" selection-start-column="23" selection-end-line="11" selection-end-column="23" />
701
+          <folding>
702
+            <element signature="imports" expanded="true" />
703
+          </folding>
704
+        </state>
705
+      </provider>
706
+    </entry>
707
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/FriendList.java">
708
+      <provider selected="true" editor-type-id="text-editor">
709
+        <state relative-caret-position="135">
710
+          <caret line="13" column="31" selection-start-line="13" selection-start-column="31" selection-end-line="13" selection-end-column="31" />
711
+          <folding>
712
+            <element signature="imports" expanded="true" />
713
+          </folding>
714
+        </state>
715
+      </provider>
716
+    </entry>
717
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/Destination.java">
718
+      <provider selected="true" editor-type-id="text-editor">
719
+        <state relative-caret-position="270">
720
+          <caret line="18" selection-start-line="18" selection-end-line="18" />
721
+        </state>
722
+      </provider>
723
+    </entry>
724
+    <entry file="file://$PROJECT_DIR$/src/main/resources/application-test.properties">
725
+      <provider selected="true" editor-type-id="text-editor" />
726
+    </entry>
727
+    <entry file="file://$PROJECT_DIR$/src/main/resources/application-prod.properties">
728
+      <provider selected="true" editor-type-id="text-editor" />
729
+    </entry>
730
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/DestinationController.java">
731
+      <provider selected="true" editor-type-id="text-editor">
732
+        <state relative-caret-position="150">
733
+          <caret line="10" column="48" selection-start-line="10" selection-start-column="48" selection-end-line="10" selection-end-column="48" />
734
+          <folding>
735
+            <element signature="imports" expanded="true" />
736
+          </folding>
737
+        </state>
738
+      </provider>
739
+    </entry>
740
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/FriendListController.java">
741
+      <provider selected="true" editor-type-id="text-editor">
742
+        <state relative-caret-position="150">
743
+          <caret line="10" column="46" selection-start-line="10" selection-start-column="46" selection-end-line="10" selection-end-column="46" />
744
+          <folding>
745
+            <element signature="imports" expanded="true" />
746
+          </folding>
747
+        </state>
748
+      </provider>
749
+    </entry>
750
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/MapController.java">
751
+      <provider selected="true" editor-type-id="text-editor">
752
+        <state relative-caret-position="150">
753
+          <caret line="10" column="32" selection-start-line="10" selection-start-column="32" selection-end-line="10" selection-end-column="32" />
754
+          <folding>
755
+            <element signature="imports" expanded="true" />
756
+          </folding>
757
+        </state>
758
+      </provider>
759
+    </entry>
760
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/MessageBoardController.java">
761
+      <provider selected="true" editor-type-id="text-editor">
762
+        <state relative-caret-position="150">
763
+          <caret line="10" column="50" selection-start-line="10" selection-start-column="50" selection-end-line="10" selection-end-column="50" />
764
+          <folding>
765
+            <element signature="imports" expanded="true" />
766
+          </folding>
767
+        </state>
768
+      </provider>
769
+    </entry>
770
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/MessageController.java">
771
+      <provider selected="true" editor-type-id="text-editor">
772
+        <state relative-caret-position="150">
773
+          <caret line="10" column="40" selection-start-line="10" selection-start-column="40" selection-end-line="10" selection-end-column="40" />
774
+          <folding>
775
+            <element signature="imports" expanded="true" />
776
+          </folding>
777
+        </state>
778
+      </provider>
779
+    </entry>
780
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/UserLoginController.java">
781
+      <provider selected="true" editor-type-id="text-editor">
782
+        <state relative-caret-position="180">
783
+          <caret line="12" selection-start-line="12" selection-end-line="12" />
784
+          <folding>
785
+            <element signature="imports" expanded="true" />
786
+          </folding>
787
+        </state>
788
+      </provider>
789
+    </entry>
790
+    <entry file="file://$PROJECT_DIR$/pom.xml">
791
+      <provider selected="true" editor-type-id="text-editor">
792
+        <state relative-caret-position="435">
793
+          <caret line="29" column="21" selection-start-line="29" selection-start-column="21" selection-end-line="29" selection-end-column="21" />
794
+        </state>
795
+      </provider>
796
+    </entry>
797
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/repository/UserRepository.java">
798
+      <provider selected="true" editor-type-id="text-editor">
799
+        <state relative-caret-position="75">
800
+          <caret line="5" column="67" selection-start-line="5" selection-start-column="67" selection-end-line="5" selection-end-column="67" />
801
+          <folding>
802
+            <element signature="imports" expanded="true" />
803
+          </folding>
804
+        </state>
805
+      </provider>
806
+    </entry>
807
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/model/User.java">
808
+      <provider selected="true" editor-type-id="text-editor">
809
+        <state relative-caret-position="390">
810
+          <caret line="26" column="23" selection-start-line="26" selection-start-column="23" selection-end-line="26" selection-end-column="23" />
811
+          <folding>
812
+            <element signature="imports" expanded="true" />
813
+          </folding>
814
+        </state>
815
+      </provider>
816
+    </entry>
817
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/HomeController.java">
818
+      <provider selected="true" editor-type-id="text-editor">
819
+        <state relative-caret-position="150">
820
+          <caret line="10" column="51" selection-start-line="10" selection-start-column="16" selection-end-line="10" selection-end-column="51" />
821
+          <folding>
822
+            <element signature="imports" expanded="true" />
823
+          </folding>
824
+        </state>
825
+      </provider>
826
+    </entry>
827
+    <entry file="file://$PROJECT_DIR$/src/test/java/AppTest.java">
828
+      <provider selected="true" editor-type-id="text-editor">
829
+        <state relative-caret-position="165">
830
+          <caret line="11" column="62" selection-start-line="11" selection-start-column="62" selection-end-line="11" selection-end-column="62" />
831
+          <folding>
832
+            <element signature="imports" expanded="true" />
833
+          </folding>
834
+        </state>
835
+      </provider>
836
+    </entry>
837
+    <entry file="file://$PROJECT_DIR$/src/test/java/UserControllerTest.java">
838
+      <provider selected="true" editor-type-id="text-editor">
839
+        <state relative-caret-position="510">
840
+          <caret line="34" column="14" selection-start-line="34" selection-start-column="14" selection-end-line="34" selection-end-column="14" />
841
+          <folding>
842
+            <element signature="imports" expanded="true" />
843
+          </folding>
844
+        </state>
845
+      </provider>
846
+    </entry>
847
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/alidade/controller/UserController.java">
848
+      <provider selected="true" editor-type-id="text-editor">
849
+        <state relative-caret-position="591">
850
+          <caret line="40" column="5" lean-forward="true" selection-start-line="40" selection-start-column="5" selection-end-line="40" selection-end-column="5" />
851
+          <folding>
852
+            <element signature="imports" expanded="true" />
853
+          </folding>
854
+        </state>
855
+      </provider>
856
+    </entry>
857
+  </component>
858
+  <component name="masterDetails">
859
+    <states>
860
+      <state key="GlobalLibrariesConfigurable.UI">
861
+        <settings>
862
+          <splitter-proportions>
863
+            <option name="proportions">
864
+              <list>
865
+                <option value="0.2" />
866
+              </list>
867
+            </option>
868
+          </splitter-proportions>
869
+        </settings>
870
+      </state>
871
+      <state key="JdkListConfigurable.UI">
872
+        <settings>
873
+          <last-edited>1.8</last-edited>
874
+          <splitter-proportions>
875
+            <option name="proportions">
876
+              <list>
877
+                <option value="0.2" />
878
+              </list>
879
+            </option>
880
+          </splitter-proportions>
881
+        </settings>
882
+      </state>
883
+      <state key="ProjectJDKs.UI">
884
+        <settings>
885
+          <last-edited>1.8</last-edited>
886
+          <splitter-proportions>
887
+            <option name="proportions">
888
+              <list>
889
+                <option value="0.2" />
890
+              </list>
891
+            </option>
892
+          </splitter-proportions>
893
+        </settings>
894
+      </state>
895
+      <state key="ProjectLibrariesConfigurable.UI">
896
+        <settings>
897
+          <splitter-proportions>
898
+            <option name="proportions">
899
+              <list>
900
+                <option value="0.2" />
901
+              </list>
902
+            </option>
903
+          </splitter-proportions>
904
+        </settings>
905
+      </state>
906
+    </states>
907
+  </component>
908
+</project>

+ 5
- 5
ReadMe.md Прегледај датотеку

@@ -1,11 +1,11 @@
1 1
 ##Description:
2 2
 
3
-Shared Travel Map is an app that allows travelers to share their past and present trips and
4
-plan future trips with friends. Travelers simply pin previous and aspired travel destinations
3
+Shared Travel Map is an app that allows travelers to share their past and aspired trips with
4
+friends and facilitate planning new trips. Travelers can pin previous and aspired travel destinations
5 5
 on a map, to create a view of their travel history and goals. Once created, travelers can connect
6
-with their friends to get a view of their friend's travel. For friends of choice, travelers
7
-can create a shared view that allows them to see common destinations and send comments to
8
-plan for a future trip. Once planning begins, a shared experience destination can be created
6
+with their friends to get a view of their friend's travel as well. Travelers can
7
+then create a shared view that allows them to see common destinations and
8
+plan for a future trip. Once planning begins, a shared destination can be created
9 9
 for the new trip and planning can begin!
10 10
 
11 11
 ##Features and Acceptance Criteria:

+ 2
- 0
Shared-Travel-Map.iml Прегледај датотеку

@@ -0,0 +1,2 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4" />

+ 34
- 0
pom.xml Прегледај датотеку

@@ -0,0 +1,34 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0"
3
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+    <modelVersion>4.0.0</modelVersion>
6
+
7
+    <groupId>SharedTravelMap</groupId>
8
+    <artifactId>SharedTravelMap</artifactId>
9
+    <version>1.0-SNAPSHOT</version>
10
+
11
+    <parent>
12
+        <groupId>org.springframework.boot</groupId>
13
+        <artifactId>spring-boot-starter-parent</artifactId>
14
+        <version>1.3.1.RELEASE</version>
15
+    </parent>
16
+
17
+    <dependencies>
18
+        <dependency>
19
+            <groupId>org.springframework.boot</groupId>
20
+            <artifactId>spring-boot-starter-web</artifactId>
21
+        </dependency>
22
+        <dependency>
23
+            <groupId>org.springframework.boot</groupId>
24
+            <artifactId>spring-boot-starter-data-jpa</artifactId>
25
+        </dependency>
26
+        <dependency>
27
+            <groupId>org.springframework.boot</groupId>
28
+            <artifactId>spring-boot-starter-test</artifactId>
29
+            <scope>test</scope>
30
+        </dependency>
31
+    </dependencies>
32
+
33
+
34
+</project>

+ 13
- 0
src/main/java/com/alidade/SharedTravelApp.java Прегледај датотеку

@@ -0,0 +1,13 @@
1
+package com.alidade;
2
+
3
+import org.springframework.boot.SpringApplication;
4
+import org.springframework.boot.autoconfigure.SpringBootApplication;
5
+
6
+@SpringBootApplication
7
+public class SharedTravelApp {
8
+
9
+    public static void main(String[] args) {
10
+        SpringApplication.run(SharedTravelApp.class, args);
11
+    }
12
+
13
+}

+ 13
- 0
src/main/java/com/alidade/controller/DestinationController.java Прегледај датотеку

@@ -0,0 +1,13 @@
1
+package com.alidade.controller;
2
+
3
+import com.alidade.repository.DestinationRepository;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.web.bind.annotation.RestController;
6
+
7
+@RestController
8
+public class DestinationController {
9
+
10
+    @Autowired
11
+    DestinationRepository destinationRepository;
12
+
13
+}

+ 12
- 0
src/main/java/com/alidade/controller/FriendListController.java Прегледај датотеку

@@ -0,0 +1,12 @@
1
+package com.alidade.controller;
2
+
3
+import com.alidade.repository.FriendListRepository;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.web.bind.annotation.RestController;
6
+
7
+@RestController
8
+public class FriendListController {
9
+
10
+    @Autowired
11
+    FriendListRepository friendListRepository;
12
+}

+ 14
- 0
src/main/java/com/alidade/controller/HomeController.java Прегледај датотеку

@@ -0,0 +1,14 @@
1
+package com.alidade.controller;
2
+
3
+import org.springframework.web.bind.annotation.RequestMapping;
4
+import org.springframework.web.bind.annotation.RestController;
5
+
6
+@RestController
7
+public class HomeController {
8
+
9
+    @RequestMapping("/")
10
+    public String home() {
11
+        return "Shared travel app is up and running";
12
+    }
13
+
14
+}

+ 12
- 0
src/main/java/com/alidade/controller/MapController.java Прегледај датотеку

@@ -0,0 +1,12 @@
1
+package com.alidade.controller;
2
+
3
+import com.alidade.repository.MapRepository;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.web.bind.annotation.RestController;
6
+
7
+@RestController
8
+public class MapController {
9
+
10
+    @Autowired
11
+    MapRepository mapRepository;
12
+}

+ 12
- 0
src/main/java/com/alidade/controller/MessageBoardController.java Прегледај датотеку

@@ -0,0 +1,12 @@
1
+package com.alidade.controller;
2
+
3
+import com.alidade.repository.MessageBoardRepository;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.web.bind.annotation.RestController;
6
+
7
+@RestController
8
+public class MessageBoardController {
9
+
10
+    @Autowired
11
+    MessageBoardRepository messageBoardRepository;
12
+}

+ 12
- 0
src/main/java/com/alidade/controller/MessageController.java Прегледај датотеку

@@ -0,0 +1,12 @@
1
+package com.alidade.controller;
2
+
3
+import com.alidade.repository.MessageRepository;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.web.bind.annotation.RestController;
6
+
7
+@RestController
8
+public class MessageController {
9
+
10
+    @Autowired
11
+    MessageRepository messageRepository;
12
+}

+ 45
- 0
src/main/java/com/alidade/controller/UserController.java Прегледај датотеку

@@ -0,0 +1,45 @@
1
+package com.alidade.controller;
2
+
3
+import com.alidade.model.User;
4
+import com.alidade.repository.UserRepository;
5
+import org.springframework.beans.BeanUtils;
6
+import org.springframework.beans.factory.annotation.Autowired;
7
+import org.springframework.web.bind.annotation.*;
8
+
9
+@RestController
10
+public class UserController {
11
+
12
+    @Autowired
13
+    UserRepository userRepository;
14
+
15
+    //CREATE
16
+    @RequestMapping(value = "users", method = RequestMethod.POST)
17
+    public User create(@RequestBody User user){
18
+        return userRepository.saveAndFlush(user);
19
+    }
20
+
21
+    //READ
22
+    @RequestMapping(value = "users/{id}", method = RequestMethod.GET)
23
+    public User get(@PathVariable Long id){
24
+        return userRepository.findOne(id);
25
+    }
26
+
27
+    //UPDATE
28
+    @RequestMapping(value = "users/{id}", method = RequestMethod.PUT)
29
+    public User update(@PathVariable Long id, @RequestBody User user){
30
+        User userToUpdate = userRepository.findOne(id);
31
+        BeanUtils.copyProperties(user, userToUpdate);
32
+        return userRepository.saveAndFlush(userToUpdate);
33
+    }
34
+
35
+    //DELETE
36
+    @RequestMapping(value = "users/{id}", method = RequestMethod.DELETE)
37
+    public User delete(@PathVariable Long id){
38
+        User userToDelete = userRepository.findOne(id);
39
+        userRepository.delete(userToDelete);
40
+        return userToDelete;
41
+    }
42
+
43
+
44
+
45
+}

+ 14
- 0
src/main/java/com/alidade/controller/UserLoginController.java Прегледај датотеку

@@ -0,0 +1,14 @@
1
+package com.alidade.controller;
2
+
3
+import com.alidade.repository.UserLoginRepository;
4
+import org.springframework.beans.factory.annotation.Autowired;
5
+import org.springframework.web.bind.annotation.RestController;
6
+
7
+@RestController
8
+public class UserLoginController {
9
+
10
+    @Autowired
11
+    UserLoginRepository userLoginRepository;
12
+
13
+
14
+}

+ 20
- 0
src/main/java/com/alidade/model/Destination.java Прегледај датотеку

@@ -0,0 +1,20 @@
1
+package com.alidade.model;
2
+
3
+import javax.persistence.*;
4
+
5
+@Entity
6
+public class Destination {
7
+
8
+    @Id
9
+    @GeneratedValue(strategy = GenerationType.AUTO)
10
+    @Column(name = "DESTINATION_ID")
11
+    private Long id;
12
+    private String city;
13
+    private String state;
14
+    private String startDate;
15
+    private String endDate;
16
+    private String travelType;
17
+    private String favoriteThing;
18
+    private String notes;
19
+
20
+}

+ 15
- 0
src/main/java/com/alidade/model/FriendList.java Прегледај датотеку

@@ -0,0 +1,15 @@
1
+package com.alidade.model;
2
+
3
+import javax.persistence.Column;
4
+import javax.persistence.GeneratedValue;
5
+import javax.persistence.GenerationType;
6
+import javax.persistence.Id;
7
+import java.util.List;
8
+
9
+public class FriendList {
10
+    @Id
11
+    @GeneratedValue(strategy = GenerationType.AUTO)
12
+    @Column(name = "FRIENDLIST_ID")
13
+    private Long id;
14
+    private List<User> friends;
15
+}

+ 15
- 0
src/main/java/com/alidade/model/Map.java Прегледај датотеку

@@ -0,0 +1,15 @@
1
+package com.alidade.model;
2
+
3
+import javax.persistence.Column;
4
+import javax.persistence.GeneratedValue;
5
+import javax.persistence.GenerationType;
6
+import javax.persistence.Id;
7
+import java.util.List;
8
+
9
+public class Map {
10
+    @Id
11
+    @GeneratedValue(strategy = GenerationType.AUTO)
12
+    @Column(name = "MAP_ID")
13
+    private Long id;
14
+    private List<Destination> destinations;
15
+}

+ 15
- 0
src/main/java/com/alidade/model/Message.java Прегледај датотеку

@@ -0,0 +1,15 @@
1
+package com.alidade.model;
2
+
3
+import javax.persistence.Column;
4
+import javax.persistence.GeneratedValue;
5
+import javax.persistence.GenerationType;
6
+import javax.persistence.Id;
7
+
8
+public class Message {
9
+    @Id
10
+    @GeneratedValue(strategy = GenerationType.AUTO)
11
+    @Column(name = "MESSAGE_ID")
12
+    private Long id;
13
+    String userFromId;
14
+    String body;
15
+}

+ 15
- 0
src/main/java/com/alidade/model/MessageBoard.java Прегледај датотеку

@@ -0,0 +1,15 @@
1
+package com.alidade.model;
2
+
3
+import javax.persistence.Column;
4
+import javax.persistence.GeneratedValue;
5
+import javax.persistence.GenerationType;
6
+import javax.persistence.Id;
7
+import java.util.List;
8
+
9
+public class MessageBoard {
10
+    @Id
11
+    @GeneratedValue(strategy = GenerationType.AUTO)
12
+    @Column(name = "MESSAGEBOARD_ID")
13
+    private Long id;
14
+    List<Message> messages;
15
+}

+ 29
- 0
src/main/java/com/alidade/model/User.java Прегледај датотеку

@@ -0,0 +1,29 @@
1
+package com.alidade.model;
2
+
3
+import javax.persistence.Column;
4
+import javax.persistence.GeneratedValue;
5
+import javax.persistence.GenerationType;
6
+import javax.persistence.Id;
7
+
8
+public class User {
9
+    @Id
10
+    @GeneratedValue(strategy = GenerationType.AUTO)
11
+    @Column(name = "USER_ID")
12
+    private Long id;
13
+    private String userName;
14
+    private String firstName;
15
+    private String lastName;
16
+    private String homeCity;
17
+    private String homeCountry;
18
+    private String description;
19
+    private String imagePath;
20
+
21
+
22
+    public void setId(long id) {
23
+        this.id = id;
24
+    }
25
+
26
+    public Long getId() {
27
+        return this.id;
28
+    }
29
+}

+ 14
- 0
src/main/java/com/alidade/model/UserLogin.java Прегледај датотеку

@@ -0,0 +1,14 @@
1
+package com.alidade.model;
2
+
3
+import javax.persistence.Column;
4
+import javax.persistence.GeneratedValue;
5
+import javax.persistence.GenerationType;
6
+import javax.persistence.Id;
7
+
8
+public class UserLogin {
9
+    @Id
10
+    @GeneratedValue(strategy = GenerationType.AUTO)
11
+    @Column(name = "USERLOGIN_ID")
12
+    private String email;
13
+    private String password;
14
+}

+ 7
- 0
src/main/java/com/alidade/repository/DestinationRepository.java Прегледај датотеку

@@ -0,0 +1,7 @@
1
+package com.alidade.repository;
2
+
3
+import com.alidade.model.Destination;
4
+import org.springframework.data.jpa.repository.JpaRepository;
5
+
6
+public interface DestinationRepository extends JpaRepository<Destination, Long> {
7
+}

+ 7
- 0
src/main/java/com/alidade/repository/FriendListRepository.java Прегледај датотеку

@@ -0,0 +1,7 @@
1
+package com.alidade.repository;
2
+
3
+import com.alidade.model.FriendList;
4
+import org.springframework.data.jpa.repository.JpaRepository;
5
+
6
+public interface FriendListRepository extends JpaRepository<FriendList, Long> {
7
+}

+ 7
- 0
src/main/java/com/alidade/repository/MapRepository.java Прегледај датотеку

@@ -0,0 +1,7 @@
1
+package com.alidade.repository;
2
+
3
+import com.alidade.model.Map;
4
+import org.springframework.data.jpa.repository.JpaRepository;
5
+
6
+public interface MapRepository extends JpaRepository<Map,Long> {
7
+}

+ 7
- 0
src/main/java/com/alidade/repository/MessageBoardRepository.java Прегледај датотеку

@@ -0,0 +1,7 @@
1
+package com.alidade.repository;
2
+
3
+import com.alidade.model.MessageBoard;
4
+import org.springframework.data.jpa.repository.JpaRepository;
5
+
6
+public interface MessageBoardRepository extends JpaRepository<MessageBoard, Long> {
7
+}

+ 7
- 0
src/main/java/com/alidade/repository/MessageRepository.java Прегледај датотеку

@@ -0,0 +1,7 @@
1
+package com.alidade.repository;
2
+
3
+import com.alidade.model.Message;
4
+import org.springframework.data.jpa.repository.JpaRepository;
5
+
6
+public interface MessageRepository extends JpaRepository<Message, Long> {
7
+}

+ 7
- 0
src/main/java/com/alidade/repository/UserLoginRepository.java Прегледај датотеку

@@ -0,0 +1,7 @@
1
+package com.alidade.repository;
2
+
3
+import com.alidade.model.UserLogin;
4
+import org.springframework.data.jpa.repository.JpaRepository;
5
+
6
+public interface UserLoginRepository extends JpaRepository<UserLogin, Long> {
7
+}

+ 7
- 0
src/main/java/com/alidade/repository/UserRepository.java Прегледај датотеку

@@ -0,0 +1,7 @@
1
+package com.alidade.repository;
2
+
3
+import com.alidade.model.User;
4
+import org.springframework.data.jpa.repository.JpaRepository;
5
+
6
+public interface UserRepository extends JpaRepository<User, Long> {
7
+}

+ 0
- 0
src/main/resources/application-prod.properties Прегледај датотеку


+ 0
- 0
src/main/resources/application-test.properties Прегледај датотеку


+ 3
- 0
src/main/resources/application.properties Прегледај датотеку

@@ -0,0 +1,3 @@
1
+logging.level.org.springframework.web=DEBUG
2
+
3
+server.port=8080

+ 16
- 0
src/test/java/AppTest.java Прегледај датотеку

@@ -0,0 +1,16 @@
1
+import com.alidade.controller.HomeController;
2
+import org.junit.Test;
3
+
4
+import static junit.framework.TestCase.assertEquals;
5
+
6
+public class AppTest {
7
+
8
+    @Test
9
+    public void testApp(){
10
+        HomeController hc = new HomeController();
11
+        String actual = hc.home();
12
+        String expected = "Shared travel app is up and running";
13
+        assertEquals(expected, actual);
14
+    }
15
+
16
+}

+ 45
- 0
src/test/java/UserControllerTest.java Прегледај датотеку

@@ -0,0 +1,45 @@
1
+import com.alidade.controller.UserController;
2
+import com.alidade.model.User;
3
+import com.alidade.repository.UserRepository;
4
+import org.junit.Before;
5
+import org.junit.Test;
6
+import org.mockito.InjectMocks;
7
+import org.mockito.Mock;
8
+import org.mockito.MockitoAnnotations;
9
+
10
+import static org.hamcrest.MatcherAssert.assertThat;
11
+import static org.hamcrest.core.Is.is;
12
+import static org.mockito.Mockito.verify;
13
+import static org.mockito.Mockito.when;
14
+
15
+public class UserControllerTest {
16
+
17
+    @InjectMocks
18
+    private UserController uc;
19
+
20
+    @Mock
21
+    private UserRepository userRepository;
22
+
23
+    @Before
24
+    public void init(){
25
+        MockitoAnnotations.initMocks(this);
26
+    }
27
+
28
+
29
+    @Test
30
+    public void testUserCreate(){
31
+        User user = new User();
32
+        user.setId(1L);
33
+    }
34
+
35
+    @Test
36
+    public void testUserGet(){
37
+        User user = new User();
38
+        user.setId(1L);
39
+        when(userRepository.findOne(1l)).thenReturn(user);
40
+        User userTest = uc.get(1L);
41
+        verify(userRepository).findOne(1l);
42
+        assertThat(userTest.getId(), is(1l));
43
+    }
44
+
45
+}

+ 0
- 0
target/classes/application-prod.properties Прегледај датотеку


+ 0
- 0
target/classes/application-test.properties Прегледај датотеку


+ 3
- 0
target/classes/application.properties Прегледај датотеку

@@ -0,0 +1,3 @@
1
+logging.level.org.springframework.web=DEBUG
2
+
3
+server.port=8080

BIN
target/classes/com/alidade/SharedTravelApp.class Прегледај датотеку


BIN
target/classes/com/alidade/controller/DestinationController.class Прегледај датотеку


BIN
target/classes/com/alidade/controller/FriendListController.class Прегледај датотеку


BIN
target/classes/com/alidade/controller/HomeController.class Прегледај датотеку


BIN
target/classes/com/alidade/controller/MapController.class Прегледај датотеку


BIN
target/classes/com/alidade/controller/MessageBoardController.class Прегледај датотеку


BIN
target/classes/com/alidade/controller/MessageController.class Прегледај датотеку


BIN
target/classes/com/alidade/controller/UserController.class Прегледај датотеку


BIN
target/classes/com/alidade/controller/UserLoginController.class Прегледај датотеку


BIN
target/classes/com/alidade/model/Destination.class Прегледај датотеку


BIN
target/classes/com/alidade/model/FriendList.class Прегледај датотеку


BIN
target/classes/com/alidade/model/Map.class Прегледај датотеку


BIN
target/classes/com/alidade/model/Message.class Прегледај датотеку


BIN
target/classes/com/alidade/model/MessageBoard.class Прегледај датотеку


BIN
target/classes/com/alidade/model/User.class Прегледај датотеку


BIN
target/classes/com/alidade/model/UserLogin.class Прегледај датотеку


BIN
target/classes/com/alidade/repository/DestinationRepository.class Прегледај датотеку


BIN
target/classes/com/alidade/repository/FriendListRepository.class Прегледај датотеку


BIN
target/classes/com/alidade/repository/MapRepository.class Прегледај датотеку


BIN
target/classes/com/alidade/repository/MessageBoardRepository.class Прегледај датотеку


BIN
target/classes/com/alidade/repository/MessageRepository.class Прегледај датотеку


BIN
target/classes/com/alidade/repository/UserLoginRepository.class Прегледај датотеку


BIN
target/classes/com/alidade/repository/UserRepository.class Прегледај датотеку


BIN
target/test-classes/AppTest.class Прегледај датотеку


BIN
target/test-classes/UserControllerTest.class Прегледај датотеку