Skip to content
Snippets Groups Projects
Commit 1512dc3b authored by Adriaan Renting's avatar Adriaan Renting
Browse files

Task #8481: Added session table

parent 7d206341
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@
-- LC_COLLATE = 'en_US.UTF-8'
-- LC_CTYPE = 'en_US.UTF-8'
-- CONNECTION LIMIT = -1;
-- psql resourceassignment -U resourceassignment -f create_database.sql -W
CREATE SCHEMA virtual_instrument;
CREATE SCHEMA resource_monitoring;
CREATE SCHEMA resource_allocation;
......
-- resourceassignment password for testing on mcu005 is the same as the password on the president's luggage +6
-- psql resourceassignment -U resourceassignment -f fill_database.sql -W
BEGIN;
INSERT INTO virtual_instrument.unit VALUES (0, 'station'),(1, 'bytes');
INSERT INTO virtual_instrument.resource_type VALUES (0, 'station', 0),(1, 'storage', 1);
......@@ -20,5 +21,5 @@ INSERT INTO resource_allocation.resource_claim VALUES (0, 0, 0, '2015-11-05 12:0
INSERT INTO resource_monitoring.resource_capacity VALUES (0, 0, 1, 1), (1, 1, 1,1 ), (2, 2, 15000, 100000);
INSERT INTO resource_monitoring.resource_availability VALUES (0, 0, TRUE), (1, 1, TRUE), (2, 2, TRUE);
INSERT INTO resource_monitoring.resource_group_availability VALUES (0, 0, TRUE), (1, 1, TRUE);
INSERT INTO resource_monitoring.config VALUES (0, 'max_fill_percentage_cep4', '85.00'), (1, 'claim_timeout', '172800');
INSERT INTO resource_allocation.config VALUES (0, 'max_fill_percentage_cep4', '85.00'), (1, 'claim_timeout', '172800');
COMMIT;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment