Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vospace-file-service
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
VOSpace INAF
vospace-file-service
Commits
c790b0ac
Commit
c790b0ac
authored
3 years ago
by
Sonia Zorba
Browse files
Options
Downloads
Patches
Plain Diff
Added storages and locations to test-data.sql
parent
98b22e26
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#1751
passed
3 years ago
Stage: test
Stage: dockerize
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/resources/test-data.sql
+11
-0
11 additions, 0 deletions
src/test/resources/test-data.sql
with
11 additions
and
0 deletions
src/test/resources/test-data.sql
+
11
−
0
View file @
c790b0ac
INSERT
INTO
storage
(
storage_type
,
base_path
,
base_url
,
hostname
)
VALUES
(
'cold'
,
'/ia2_tape/users'
,
NULL
,
'tape-server'
);
INSERT
INTO
storage
(
storage_type
,
base_path
,
base_url
,
hostname
)
VALUES
(
'hot'
,
'/mnt/hot_storage/users'
,
NULL
,
'server'
);
INSERT
INTO
storage
(
storage_type
,
base_path
,
base_url
,
hostname
)
VALUES
(
'local'
,
'/home'
,
NULL
,
'localhost'
);
INSERT
INTO
storage
(
storage_type
,
base_path
,
base_url
,
hostname
)
VALUES
(
'local'
,
'/home/vospace/upload'
,
NULL
,
'localhost'
);
INSERT
INTO
storage
(
storage_type
,
base_path
,
base_url
,
hostname
)
VALUES
(
'portal'
,
NULL
,
'/files/lbt'
,
'archive.lbto.org'
);
INSERT
INTO
location
(
location_type
,
storage_src_id
,
storage_dest_id
)
VALUES
(
'async'
,
1
,
3
);
INSERT
INTO
location
(
location_type
,
storage_src_id
,
storage_dest_id
)
VALUES
(
'async'
,
2
,
3
);
INSERT
INTO
location
(
location_type
,
storage_src_id
,
storage_dest_id
)
VALUES
(
'user'
,
4
,
4
);
INSERT
INTO
location
(
location_type
,
storage_src_id
,
storage_dest_id
)
VALUES
(
'portal'
,
5
,
5
);
DELETE
FROM
node
;
ALTER
SEQUENCE
node_node_id_seq
RESTART
WITH
1
;
...
...
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