Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
f3fd0fda
Commit
f3fd0fda
authored
7 years ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
Task #10810: removed obsolete file
parent
3735d598
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitattributes
+0
-1
0 additions, 1 deletion
.gitattributes
SAS/ResourceAssignment/ResourceAssignmentDatabase/tests/fill_database.sql
+0
-26
0 additions, 26 deletions
...gnment/ResourceAssignmentDatabase/tests/fill_database.sql
with
0 additions
and
27 deletions
.gitattributes
+
0
−
1
View file @
f3fd0fda
...
...
@@ -4911,7 +4911,6 @@ SAS/ResourceAssignment/ResourceAssignmentDatabase/radbpglistener -text
SAS/ResourceAssignment/ResourceAssignmentDatabase/radbpglistener.ini -text
SAS/ResourceAssignment/ResourceAssignmentDatabase/radbpglistener.py -text
SAS/ResourceAssignment/ResourceAssignmentDatabase/tests/CMakeLists.txt -text
SAS/ResourceAssignment/ResourceAssignmentDatabase/tests/fill_database.sql -text
SAS/ResourceAssignment/ResourceAssignmentDatabase/tests/t_radb.py -text
SAS/ResourceAssignment/ResourceAssignmentDatabase/tests/t_radb.run -text
SAS/ResourceAssignment/ResourceAssignmentDatabase/tests/t_radb.sh -text
...
...
This diff is collapsed.
Click to expand it.
SAS/ResourceAssignment/ResourceAssignmentDatabase/tests/fill_database.sql
deleted
100644 → 0
+
0
−
26
View file @
3735d598
-- 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
-- todo jk: Please document how to find the president's luggage. I could only find this football thingy, but the password did not produce the desired effect.
BEGIN
;
INSERT
INTO
virtual_instrument
.
unit
VALUES
(
0
,
'station'
),(
1
,
'bytes'
);
INSERT
INTO
virtual_instrument
.
resource_type
VALUES
(
0
,
'station'
,
0
),(
1
,
'storage'
,
1
);
INSERT
INTO
virtual_instrument
.
resource
VALUES
(
0
,
'CS001'
,
0
),
(
1
,
'CS002'
,
0
),
(
2
,
'CEP4_storage:/data'
,
1
);
INSERT
INTO
virtual_instrument
.
resource_group_type
VALUES
(
0
,
'stations'
),(
1
,
'cluster'
);
INSERT
INTO
virtual_instrument
.
resource_group
VALUES
(
0
,
'CORE'
,
0
),(
1
,
'CEP4'
,
1
);
INSERT
INTO
virtual_instrument
.
resource_to_resource_group
VALUES
(
0
,
0
,
0
),(
1
,
1
,
0
),
(
2
,
2
,
1
);
INSERT
INTO
virtual_instrument
.
resource_group_to_resource_group
VALUES
(
0
,
0
,
NULL
),(
1
,
1
,
NULL
);
INSERT
INTO
resource_allocation
.
task_status
VALUES
(
0
,
'SCHEDULED'
),(
1
,
'CONFLICT'
);
INSERT
INTO
resource_allocation
.
task_type
VALUES
(
0
,
'OBSERVATION'
),(
1
,
'PIPELINE'
);
INSERT
INTO
resource_allocation
.
specification
VALUES
(
0
,
'2015-11-05 12:00:00'
,
'2015-11-05 12:30:00'
,
'key=value'
),
(
1
,
'2015-11-05 13:00:00'
,
'2015-11-05 14:00:00'
,
'key=1'
);
INSERT
INTO
resource_allocation
.
task
VALUES
(
0
,
654321
,
12345
,
0
,
0
,
0
),(
1
,
765432
,
2654321
,
1
,
1
,
1
);
INSERT
INTO
resource_allocation
.
claim_session
VALUES
(
0
,
'renting'
,
0
,
'2015-11-05 12:00:00'
,
'renting-token'
),
(
1
,
'paulus'
,
1
,
'2015-11-05 14:00:00'
,
'paulus-token'
);
INSERT
INTO
resource_allocation
.
resource_claim_status
VALUES
(
0
,
'CLAIMED'
),(
1
,
'ALLOCATED'
);
INSERT
INTO
resource_allocation
.
resource_claim
VALUES
(
0
,
0
,
0
,
'2015-11-05 12:00:00'
,
'2015-11-05 12:30:00'
,
0
,
0
,
1
),
(
1
,
2
,
1
,
'2015-11-05 13:00:00'
,
'2015-11-05 14:00:00'
,
1
,
1
,
1234
);
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_allocation
.
config
VALUES
(
0
,
'max_fill_ratio_CEP4_storage'
,
'0.85'
),
(
1
,
'claim_timeout'
,
'172800'
);
COMMIT
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment