Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
anis
anis-server
Commits
712acc60
Commit
712acc60
authored
Mar 31, 2020
by
François Agneray
Browse files
Add vipers dr2 test dataset (aspic)
parent
6ca8343f
Pipeline
#2248
passed with stages
in 3 minutes and 30 seconds
Changes
4
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
conf-dev/aspic_vipers_dr2_w1.sql
0 → 100644
View file @
712acc60
This diff is collapsed.
Click to expand it.
conf-dev/create-db.sh
View file @
712acc60
...
...
@@ -19,6 +19,7 @@ curl -d '{"name":"colibri","label":"Colibri Project Test","description":"Project
curl
-d
'{"label":"Default dataset family","display":10}'
-H
"Content-Type: application/json"
-X
POST http://localhost/instance/default/dataset-family
curl
-d
'{"name":"obs_cat","table_ref":"obs_cat","label":"ObsCat dataset","description":"ObsCat","display":10,"count":10000,"vo":false,"data_path":"/mnt/mount","selectable_row":true,"project_name":"anis_project"}'
-H
"Content-Type: application/json"
-X
POST http://localhost/dataset-family/1/dataset
curl
-d
'{"name":"observations","table_ref":"observations_info","label":"Observations dataset","description":"Observations","display":20,"count":177454,"vo":false,"data_path":"/mnt/mount","selectable_row":false,"project_name":"anis_project"}'
-H
"Content-Type: application/json"
-X
POST http://localhost/dataset-family/1/dataset
curl
-d
'{"name":"vipers_dr2_w1","table_ref":"aspic_vipers_dr2_w1","label":"VIPERS-W1 (DR2)","description":"VIPERS W1 dataset","display":30,"count":1000,"vo":false,"data_path":"/mnt/mount","selectable_row":false,"project_name":"anis_project"}'
-H
"Content-Type: application/json"
-X
POST http://localhost/dataset-family/1/dataset
# Add ANIS obs_cat default criteria family, default output family and default output category
curl
-d
'{"label":"Default criteria family","display":10}'
-H
"Content-Type: application/json"
-X
POST http://localhost/dataset/obs_cat/criteria-family
...
...
conf-dev/init-postgres.sh
View file @
712acc60
...
...
@@ -12,3 +12,4 @@ psql -v ON_ERROR_STOP=1 -f /sql/obs_cat.sql --username "anis" --dbname "anis_tes
psql
-v
ON_ERROR_STOP
=
1
-f
/sql/observations_info.sql
--username
"anis"
--dbname
"anis_test"
psql
-v
ON_ERROR_STOP
=
1
-f
/sql/svom_sdb_dc1.sql
--username
"anis"
--dbname
"anis_test"
psql
-v
ON_ERROR_STOP
=
1
-f
/sql/colibridb.sql
--username
"anis"
--dbname
"anis_test"
psql
-v
ON_ERROR_STOP
=
1
-f
/sql/aspic_vipers_dr2_w1.sql
--username
"anis"
--dbname
"anis_test"
docker-compose.yml
View file @
712acc60
...
...
@@ -34,6 +34,7 @@ services:
-
./conf-dev/observations_info.sql:/sql/observations_info.sql
-
./conf-dev/svom_sdb_dc1.sql:/sql/svom_sdb_dc1.sql
-
./conf-dev/colibridb.sql:/sql/colibridb.sql
-
./conf-dev/aspic_vipers_dr2_w1.sql:/sql/aspic_vipers_dr2_w1.sql
-
./conf-dev/init-postgres.sh:/docker-entrypoint-initdb.d/init-postgres.sh
adminer
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment