From 4eb135eeb98d00e7d218f8324bf7ee4a25fb8f70 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sun, 25 Sep 2016 17:32:25 +0200 Subject: [PATCH] Add hosting package data example --- fixtures/default_hostingpackages.json | 227 ++++++++++++++++++++++++++ fixtures/default_osuser_groups.json | 46 ++++++ 2 files changed, 273 insertions(+) create mode 100644 fixtures/default_hostingpackages.json create mode 100644 fixtures/default_osuser_groups.json diff --git a/fixtures/default_hostingpackages.json b/fixtures/default_hostingpackages.json new file mode 100644 index 0000000..359662a --- /dev/null +++ b/fixtures/default_hostingpackages.json @@ -0,0 +1,227 @@ +[ + { + "fields": { + "description": "", + "diskspace": 256, + "created": "2015-01-18T10:50:38.392Z", + "modified": "2015-01-18T10:50:38.409Z", + "diskspace_unit": 0, + "mailboxcount": 10, + "name": "Basispaket I" + }, + "model": "hostingpackages.hostingpackagetemplate", + "pk": 1 + }, + { + "fields": { + "description": "", + "diskspace": 512, + "created": "2015-01-18T10:50:55.413Z", + "modified": "2015-01-18T10:50:55.425Z", + "diskspace_unit": 0, + "mailboxcount": 25, + "name": "Basispaket II" + }, + "model": "hostingpackages.hostingpackagetemplate", + "pk": 2 + }, + { + "fields": { + "description": "", + "diskspace": 1, + "created": "2015-01-18T10:51:13.988Z", + "modified": "2015-01-18T10:51:13.999Z", + "diskspace_unit": 1, + "mailboxcount": 50, + "name": "Basispaket III" + }, + "model": "hostingpackages.hostingpackagetemplate", + "pk": 3 + }, + { + "fields": { + "description": "Hostingpaket, dass ausschlie\u00dflich Mailweiterleitungen und Web-Redirects enth\u00e4lt", + "diskspace": 0, + "created": "2015-01-28T20:45:20.598Z", + "modified": "2015-01-28T20:45:20.616Z", + "diskspace_unit": 0, + "mailboxcount": 0, + "name": "Weiterleitung an externe Services" + }, + "model": "hostingpackages.hostingpackagetemplate", + "pk": 4 + }, + { + "fields": { + "diskspace_unit": 0, + "diskspace": 256 + }, + "model": "hostingpackages.diskspaceoption", + "pk": 3 + }, + { + "fields": { + "diskspace_unit": 0, + "diskspace": 512 + }, + "model": "hostingpackages.diskspaceoption", + "pk": 4 + }, + { + "fields": { + "diskspace_unit": 1, + "diskspace": 1 + }, + "model": "hostingpackages.diskspaceoption", + "pk": 5 + }, + { + "fields": { + "diskspace_unit": 1, + "diskspace": 2 + }, + "model": "hostingpackages.diskspaceoption", + "pk": 6 + }, + { + "fields": { + "diskspace_unit": 1, + "diskspace": 5 + }, + "model": "hostingpackages.diskspaceoption", + "pk": 7 + }, + { + "fields": { + "diskspace_unit": 1, + "diskspace": 10 + }, + "model": "hostingpackages.diskspaceoption", + "pk": 8 + }, + { + "fields": { + "db_type": 0, + "number": 1 + }, + "model": "hostingpackages.userdatabaseoption", + "pk": 1 + }, + { + "fields": { + "db_type": 1, + "number": 1 + }, + "model": "hostingpackages.userdatabaseoption", + "pk": 2 + }, + { + "fields": { + "number": 10 + }, + "model": "hostingpackages.mailboxoption", + "pk": 9 + }, + { + "fields": { + "number": 25 + }, + "model": "hostingpackages.mailboxoption", + "pk": 10 + }, + { + "fields": { + "number": 50 + }, + "model": "hostingpackages.mailboxoption", + "pk": 11 + }, + { + "fields": { + "modified": "2015-01-18T10:51:38.298Z", + "created": "2015-01-18T10:51:38.286Z" + }, + "model": "hostingpackages.hostingoption", + "pk": 1 + }, + { + "fields": { + "modified": "2015-01-18T10:51:41.804Z", + "created": "2015-01-18T10:51:41.792Z" + }, + "model": "hostingpackages.hostingoption", + "pk": 2 + }, + { + "fields": { + "modified": "2015-01-18T10:52:03.193Z", + "created": "2015-01-18T10:52:03.181Z" + }, + "model": "hostingpackages.hostingoption", + "pk": 3 + }, + { + "fields": { + "modified": "2015-01-18T10:52:08.430Z", + "created": "2015-01-18T10:52:08.418Z" + }, + "model": "hostingpackages.hostingoption", + "pk": 4 + }, + { + "fields": { + "modified": "2015-01-18T10:52:14.153Z", + "created": "2015-01-18T10:52:14.134Z" + }, + "model": "hostingpackages.hostingoption", + "pk": 5 + }, + { + "fields": { + "modified": "2015-01-18T10:52:19.151Z", + "created": "2015-01-18T10:52:19.138Z" + }, + "model": "hostingpackages.hostingoption", + "pk": 6 + }, + { + "fields": { + "modified": "2015-01-18T10:52:24.461Z", + "created": "2015-01-18T10:52:24.448Z" + }, + "model": "hostingpackages.hostingoption", + "pk": 7 + }, + { + "fields": { + "modified": "2015-01-18T10:52:30.821Z", + "created": "2015-01-18T10:52:30.807Z" + }, + "model": "hostingpackages.hostingoption", + "pk": 8 + }, + { + "fields": { + "modified": "2015-01-18T10:52:53.657Z", + "created": "2015-01-18T10:52:53.646Z" + }, + "model": "hostingpackages.hostingoption", + "pk": 9 + }, + { + "fields": { + "modified": "2015-01-18T10:52:56.079Z", + "created": "2015-01-18T10:52:56.064Z" + }, + "model": "hostingpackages.hostingoption", + "pk": 10 + }, + { + "fields": { + "modified": "2015-01-18T10:53:01.634Z", + "created": "2015-01-18T10:53:01.622Z" + }, + "model": "hostingpackages.hostingoption", + "pk": 11 + } +] \ No newline at end of file diff --git a/fixtures/default_osuser_groups.json b/fixtures/default_osuser_groups.json new file mode 100644 index 0000000..f570511 --- /dev/null +++ b/fixtures/default_osuser_groups.json @@ -0,0 +1,46 @@ +[ + { + "fields": { + "created": "2014-06-03T10:13:59.796Z", + "descr": "SFTP users", + "groupname": "sftponly", + "modified": "2014-06-03T10:13:59.804Z", + "passwd": "" + }, + "model": "osusers.group", + "pk": 2000 + }, + { + "fields": { + "created": "2014-06-03T10:14:14.353Z", + "descr": "", + "groupname": "wwwusers", + "modified": "2014-06-03T10:14:14.360Z", + "passwd": "" + }, + "model": "osusers.group", + "pk": 2001 + }, + { + "fields": { + "created": "2014-06-03T10:14:31.853Z", + "descr": "", + "groupname": "webserver", + "modified": "2014-06-03T10:14:31.860Z", + "passwd": "" + }, + "model": "osusers.group", + "pk": 2002 + }, + { + "fields": { + "created": "2016-06-18T10:32:26.490Z", + "descr": "Group for git only access", + "groupname": "gitonly", + "modified": "2016-06-18T10:32:26.498Z", + "passwd": "" + }, + "model": "osusers.group", + "pk": 2003 + } +] \ No newline at end of file