rave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfrank...@apache.org
Subject svn commit: r1155982 - in /incubator/rave/trunk/rave-shindig/src: main/resources/initial_data.sql test/resources/test_data.sql
Date Wed, 10 Aug 2011 00:33:52 GMT
Author: mfranklin
Date: Wed Aug 10 00:33:52 2011
New Revision: 1155982

URL: http://svn.apache.org/viewvc?rev=1155982&view=rev
Log:
Moved rave-shindig test data to runtime initial data (Supports RAVE-122)

Modified:
    incubator/rave/trunk/rave-shindig/src/main/resources/initial_data.sql
    incubator/rave/trunk/rave-shindig/src/test/resources/test_data.sql

Modified: incubator/rave/trunk/rave-shindig/src/main/resources/initial_data.sql
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-shindig/src/main/resources/initial_data.sql?rev=1155982&r1=1155981&r2=1155982&view=diff
==============================================================================
--- incubator/rave/trunk/rave-shindig/src/main/resources/initial_data.sql (original)
+++ incubator/rave/trunk/rave-shindig/src/main/resources/initial_data.sql Wed Aug 10 00:33:52
2011
@@ -14,3 +14,29 @@
  -- KIND, either express or implied.  See the License for the
  -- specific language governing permissions and limitations
  -- under the License.
+
+INSERT INTO person(id, username, display_name, gender, status, profile_url, build, eye_color,
hair_color,family_name, given_name )
+VALUES (set(@person_id_1, next value for person_id_seq), 'canonical', 'Canonical User', 'male',
'I am alive', 'http://rave.rocks.org/profile', 'skinny', 'orange', 'blue', 'User', 'Canonical');
+
+INSERT INTO person(id, username, display_name)
+VALUES (set(@person_id_2, next value for person_id_seq), 'john.doe', 'John Doe');
+
+
+INSERT INTO person(id, username, display_name)
+VALUES (set(@person_id_3, next value for person_id_seq), 'jane.doe', 'Jane Doe');
+
+
+INSERT INTO person(id, username, display_name)
+VALUES (set(@person_id_4, next value for person_id_seq), 'george.doe', 'George Doe');
+
+INSERT INTO person(id, username, display_name)
+VALUES (set(@person_id_5, next value for person_id_seq), 'mario.rossi', 'Mario Rossi');
+
+INSERT INTO person_association(id, follower_id, followed_id)
+VALUES (next value for person_association_id_seq, @person_id_1, @person_id_2);
+
+INSERT INTO person_association(id, follower_id, followed_id)
+VALUES (next value for person_association_id_seq, @person_id_1, @person_id_3);
+
+INSERT INTO person_association(id, follower_id, followed_id)
+VALUES (next value for person_association_id_seq, @person_id_2, @person_id_4);

Modified: incubator/rave/trunk/rave-shindig/src/test/resources/test_data.sql
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-shindig/src/test/resources/test_data.sql?rev=1155982&r1=1155981&r2=1155982&view=diff
==============================================================================
--- incubator/rave/trunk/rave-shindig/src/test/resources/test_data.sql (original)
+++ incubator/rave/trunk/rave-shindig/src/test/resources/test_data.sql Wed Aug 10 00:33:52
2011
@@ -1,25 +0,0 @@
-INSERT INTO person(id, username, display_name, gender, status, profile_url, build, eye_color,
hair_color,family_name, given_name )
-VALUES (set(@person_id_1, next value for person_id_seq), 'canonical', 'Canonical User', 'male',
'I am alive', 'http://rave.rocks.org/profile', 'skinny', 'orange', 'blue', 'User', 'Canonical');
-
-INSERT INTO person(id, username, display_name)
-VALUES (set(@person_id_2, next value for person_id_seq), 'john.doe', 'John Doe');
-
-
-INSERT INTO person(id, username, display_name)
-VALUES (set(@person_id_3, next value for person_id_seq), 'jane.doe', 'Jane Doe');
-
-
-INSERT INTO person(id, username, display_name)
-VALUES (set(@person_id_4, next value for person_id_seq), 'george.doe', 'George Doe');
-
-INSERT INTO person(id, username, display_name)
-VALUES (set(@person_id_5, next value for person_id_seq), 'mario.rossi', 'Mario Rossi');
-
-INSERT INTO person_association(id, follower_id, followed_id)
-VALUES (next value for person_association_id_seq, @person_id_1, @person_id_2);
-
-INSERT INTO person_association(id, follower_id, followed_id)
-VALUES (next value for person_association_id_seq, @person_id_1, @person_id_3);
-
-INSERT INTO person_association(id, follower_id, followed_id)
-VALUES (next value for person_association_id_seq, @person_id_2, @person_id_4);



Mime
View raw message