Add storeSone() method to sone database.
[Sone.git] / src / test / resources / sone-parser / missing-profile.xml
1 <?xml version="1.0" encoding="utf-8" ?>
2 <sone>
3
4         <time>1382419919000</time>
5         <protocol-version>0</protocol-version>
6
7         <client>
8                 <name>Sone</name>
9                 <version>0.8.7</version>
10         </client>
11
12         <posts>
13                 <post>
14                         <id>bbb7ebf0-3adb-11e3-8a0b-630cd8f21cf3</id>
15                         <recipient></recipient>
16                         <time>1382420140000</time>
17                         <text>Hello, World!</text>
18                 </post>
19                 <post>
20                         <id>d8c9586e-3adb-11e3-bb31-171fc040e645</id>
21                         <recipient>0rpD4gL8mszav2trndhIdKIxvKUCNAe2kjA3dLV8CVU</recipient>
22                         <time>1382420181000</time>
23                         <text>Hello, User!</text>
24                 </post>
25         </posts>
26
27         <replies>
28                 <reply>
29                         <id>f09fa448-3adb-11e3-a783-ab54a11aacc4</id>
30                         <post-id>bbb7ebf0-3adb-11e3-8a0b-630cd8f21cf3</post-id>
31                         <time>1382420224000</time>
32                         <text>Talking to myself.</text>
33                 </reply>
34                 <reply>
35                         <id>0a376440-3adc-11e3-8f45-c7cc157436a5</id>
36                         <post-id>11ebe86e-3adc-11e3-b7b9-7f2c88018a33</post-id>
37                         <time>1382420271000</time>
38                         <text>Talking to somebody I can't see.</text>
39                 </reply>
40         </replies>
41
42         <post-likes>
43                 <post-like>bbb7ebf0-3adb-11e3-8a0b-630cd8f21cf3</post-like>
44                 <post-like>305d85e6-3adc-11e3-be45-8b53dd91f0af</post-like>
45         </post-likes>
46
47         <reply-likes>
48                 <reply-like>f09fa448-3adb-11e3-a783-ab54a11aacc4</reply-like>
49                 <reply-like>3ba28960-3adc-11e3-93c7-6713d170f44c</reply-like>
50         </reply-likes>
51
52         <albums>
53                 <album>
54                         <id>6a73c6e6-3adc-11e3-b091-577b10a725ad</id>
55                         <title>Album1</title>
56                         <description>First album with stuff.</description>
57                         <album-image>e3707102-3adc-11e3-b828-9f4de99f0bc4</album-image>
58                         <images>
59                                 <image>
60                                         <id>8966f69a-3adc-11e3-802d-0f57b63c8809</id>
61                                         <creation-time>1382420473000</creation-time>
62                                         <key>SSK@JvW9oZ8AriNGbwBosJD1gyMdiMHc5AgSmhNBU1CmAb8,na1IPpMcYiZLaWSv9EWq9NcDPPGplQBw8kJsLobXIG4,AQACAAE/8966f69a-3adc-11e3-802d-0f57b63c8809.jpg</key>
63                                         <title>Stuff</title>
64                                         <description>Yes, it's stuff!</description>
65                                         <width>640</width>
66                                         <height>480</height>
67                                 </image>
68                                 <image>
69                                         <id>e3707102-3adc-11e3-b828-9f4de99f0bc4</id>
70                                         <creation-time>1382420624000</creation-time>
71                                         <key>SSK@dM1er7A9tG242bG-Xxy0kmprD7YkqEDE9mrZ98C~L3E,Np3iWiaGyd~er86edP9ndpH3pPKk2owDmAT2TQZNBA0,AQACAAE/e3707102-3adc-11e3-b828-9f4de99f0bc4.jpg</key>
72                                         <title>More Stuff</title>
73                                         <description>Yes, it's more stuff!</description>
74                                         <width>640</width>
75                                         <height>360</height>
76                                 </image>
77                         </images>
78                 </album>
79                 <album>
80                         <id>1e73b52a-3add-11e3-ba45-cb0c28da9c2a</id>
81                         <parent>6a73c6e6-3adc-11e3-b091-577b10a725ad</parent>
82                         <title>Nested Album</title>
83                         <description>Nested album with stuff.</description>
84                         <album-image>312182ba-3add-11e3-bd76-13e7278f0161</album-image>
85                         <images>
86                                 <image>
87                                         <id>312182ba-3add-11e3-bd76-13e7278f0161</id>
88                                         <creation-time>1382420756000</creation-time>
89                                         <key>SSK@0rpD4gL8mszav2trndhIdKIxvKUCNAe2kjA3dLV8CVU,2KP8WDSaQvyJ16pXBHQrE1vj~fAaYPIsk35lM-ec4B0,AQACAAE/312182ba-3add-11e3-bd76-13e7278f0161.jpg</key>
90                                         <title>Other Stuff</title>
91                                         <description>Yes, it's other stuff!</description>
92                                         <width>640</width>
93                                         <height>272</height>
94                                 </image>
95                         </images>
96                 </album>
97                 <album>
98                         <id>8a04b5fa-3add-11e3-afe2-676e721c04bd</id>
99                         <title>Avatars</title>
100                         <description>The avatar collection.</description>
101                         <album-image>96431abe-3add-11e3-8a46-67047503bf6d</album-image>
102                         <images>
103                                 <image>
104                                         <id>96431abe-3add-11e3-8a46-67047503bf6d</id>
105                                         <creation-time>1382420923000</creation-time>
106                                         <key>SSK@v6Js3ZJBMB23IB0JvdgiPynHQBYEvkFSi3~D8RDdj3s,FfLhjRC4bqYLHVexT33Pv6agXl6Ft~TDhX1jIM5w2n4,AQACAAE/96431abe-3add-11e3-8a46-67047503bf6d.png</key>
107                                         <title>Avatar 1</title>
108                                         <description>The first avatar.</description>
109                                         <width>64</width>
110                                         <height>64</height>
111                                 </image>
112                         </images>
113                 </album>
114         </albums>
115
116 </sone>