diff --git a/INSTALL.md b/INSTALL.md index bb97ef23d..92b0f2728 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -431,25 +431,16 @@ $ php deploy/DeployRequiredDataRunner.php requiredData ### OPTIONAL: Deploy Sample Data -You can choose to deploy some sample data to seed your DB with sample users, -sites and services. Two sample data sets are available. Choose one of - +You can choose to deploy some sample data to seed your database. It consists of +a project which contains 2 NGIs, and another NGI not in a project. Each NGI contains +multiple sites which have services belonging to service groups, and the database is +populated with unique sample users, which have roles over relevant site, NGI and +project entities. The sample data has no real-world associations. -1. Minimal - just enough to get going with no real-world associations. - - ```bash - $ cd lib/Doctrine - $ php deploy/DeploySampleDataRunner.php simpleSampleData - ``` -1. Full - A full set of sample data to use. Consists of a project which contains -2 NGIs and another NGI not in a project. Each NGI contains multiple sites which -have services belonging to service groups, and the database is populated with -unique sample users, which have roles over relevant site, NGI or project entities. -The sample data has no real-world associations. - - ```bash - $ cd lib/Doctrine - $ php deploy/DeploySampleDataRunner.php sampleData - ``` +```bash +$ cd lib/Doctrine +$ php deploy/DeploySampleDataRunner.php sampleData +``` ### ORACLE ONLY: Deploy an existing DB .dmp file to populate your DB diff --git a/lib/Doctrine/deploy/simpleSampleData/CertStatusChanges.xml b/lib/Doctrine/deploy/simpleSampleData/CertStatusChanges.xml deleted file mode 100644 index 5be1583ba..000000000 --- a/lib/Doctrine/deploy/simpleSampleData/CertStatusChanges.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - 1262304001 - SITE_1 - Uncertified - Certified - /CN=SOME CN - Record of a change of status - - diff --git a/lib/Doctrine/deploy/simpleSampleData/CertStatusDate.xml b/lib/Doctrine/deploy/simpleSampleData/CertStatusDate.xml deleted file mode 100644 index cd427ac2a..000000000 --- a/lib/Doctrine/deploy/simpleSampleData/CertStatusDate.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - SITE_1 - Certified - 01-JAN-10 00.00.01 AM - - diff --git a/lib/Doctrine/deploy/simpleSampleData/NGIs.xml b/lib/Doctrine/deploy/simpleSampleData/NGIs.xml deleted file mode 100644 index f29e8f9a7..000000000 --- a/lib/Doctrine/deploy/simpleSampleData/NGIs.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - NGI-1 - A sample NGI - ngi-contact@ngi-1.org - ngi-1-security@ngi-1.org - - diff --git a/lib/Doctrine/deploy/simpleSampleData/Scopes.xml b/lib/Doctrine/deploy/simpleSampleData/Scopes.xml deleted file mode 100644 index 80b16439f..000000000 --- a/lib/Doctrine/deploy/simpleSampleData/Scopes.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - Local - - - EGI - - diff --git a/lib/Doctrine/deploy/simpleSampleData/ServiceEndpoints.xml b/lib/Doctrine/deploy/simpleSampleData/ServiceEndpoints.xml deleted file mode 100644 index d1fb8f9d5..000000000 --- a/lib/Doctrine/deploy/simpleSampleData/ServiceEndpoints.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - SITE-1 - service-1.site-1.org - CE - Y - Y - Local - /DC=org/DC=site-1/CN=service-1.site-1.org - 127.0.0.01 - SL5 - 64 bit - A service on Site 1 - - - - - diff --git a/lib/Doctrine/deploy/simpleSampleData/ServiceGroups.xml b/lib/Doctrine/deploy/simpleSampleData/ServiceGroups.xml deleted file mode 100644 index 22d04513e..000000000 --- a/lib/Doctrine/deploy/simpleSampleData/ServiceGroups.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - Group1_Services - A test service group - Y - contact@site-1.org - Local - - - diff --git a/lib/Doctrine/deploy/simpleSampleData/Sites.xml b/lib/Doctrine/deploy/simpleSampleData/Sites.xml deleted file mode 100644 index e99e04048..000000000 --- a/lib/Doctrine/deploy/simpleSampleData/Sites.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - SITE-PK-1 - SITE-1 - SITE NUMBER 1 - Test site description for Site 1. - http://www.site-1.org/ - contact@site-1.org - csirt@site-1.org - +12 34 5678 01 - DK - Denmark - NGI-1 - Test - Certified - Europe/Zurich - 127.0.0.1/127.0.0.99 - +12 34 5678 02 - +12 34 5678 03 - EGI - - site-1.org - - -06.47 - 62.00 - - diff --git a/lib/Doctrine/deploy/simpleSampleData/UsersAndRoles.xml b/lib/Doctrine/deploy/simpleSampleData/UsersAndRoles.xml deleted file mode 100644 index b1ed7d386..000000000 --- a/lib/Doctrine/deploy/simpleSampleData/UsersAndRoles.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - Alpha - Beta - - alpha.beta@beta.com - +01 2345 67 0000 - - - /CN=Alpha Beta - - - SITE-1 - - Site Administrator - SITE-1 - site - - - Regional Staff (ROD) - NGI-1 - group - - - COD Staff - EGI - group - - -