Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ESAP API Gateway
Manage
Activity
Members
Labels
Plan
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
ESCAPE WP5
ESAP API Gateway
Commits
a40fb030
Commit
a40fb030
authored
Oct 20, 2020
by
Nico Vermaas
Browse files
Options
Downloads
Patches
Plain Diff
database migration after accounts merge
parent
db9bfd12
Branches
Branches containing commit
No related tags found
1 merge request
!41
Esap gateway query
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
esap/accounts/migrations/0001_initial.py
+80
-0
80 additions, 0 deletions
esap/accounts/migrations/0001_initial.py
esap/esap/esap_config.sqlite3
+0
-0
0 additions, 0 deletions
esap/esap/esap_config.sqlite3
esap/logs/esap.log
+35
-0
35 additions, 0 deletions
esap/logs/esap.log
with
115 additions
and
0 deletions
esap/accounts/migrations/0001_initial.py
0 → 100644
+
80
−
0
View file @
a40fb030
# Generated by Django 3.1.1 on 2020-10-20 10:08
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
initial
=
True
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'
EsapComputeResource
'
,
fields
=
[
(
'
id
'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'
ID
'
)),
(
'
resource_name
'
,
models
.
CharField
(
max_length
=
50
,
verbose_name
=
'
Resource Name
'
)),
(
'
resource_type
'
,
models
.
CharField
(
max_length
=
50
,
verbose_name
=
'
Resource Type
'
)),
(
'
resource_url
'
,
models
.
URLField
(
verbose_name
=
'
Resource URL
'
)),
],
options
=
{
'
verbose_name
'
:
'
Compute Resource
'
,
'
verbose_name_plural
'
:
'
Compute Resources
'
,
},
),
migrations
.
CreateModel
(
name
=
'
EsapQuerySchema
'
,
fields
=
[
(
'
id
'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'
ID
'
)),
(
'
schema_name
'
,
models
.
CharField
(
max_length
=
50
,
verbose_name
=
'
Schema Name
'
)),
],
options
=
{
'
verbose_name
'
:
'
Query Schema
'
,
'
verbose_name_plural
'
:
'
Query Schemas
'
,
},
),
migrations
.
CreateModel
(
name
=
'
EsapShoppingItem
'
,
fields
=
[
(
'
id
'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'
ID
'
)),
(
'
item_data
'
,
models
.
JSONField
(
verbose_name
=
'
Item Data
'
)),
],
options
=
{
'
verbose_name
'
:
'
Selected Item
'
,
'
verbose_name_plural
'
:
'
Selected Items
'
,
},
),
migrations
.
CreateModel
(
name
=
'
EsapSoftwareRepository
'
,
fields
=
[
(
'
id
'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'
ID
'
)),
(
'
repository_name
'
,
models
.
CharField
(
max_length
=
50
,
verbose_name
=
'
Repository Name
'
)),
(
'
repository_type
'
,
models
.
CharField
(
max_length
=
50
,
verbose_name
=
'
Repository Type
'
)),
(
'
repository_url
'
,
models
.
URLField
(
verbose_name
=
'
Repository URL
'
)),
],
options
=
{
'
verbose_name
'
:
'
Software Repository
'
,
'
verbose_name_plural
'
:
'
Software Repositories
'
,
},
),
migrations
.
CreateModel
(
name
=
'
EsapUserProfile
'
,
fields
=
[
(
'
id
'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'
ID
'
)),
(
'
user_name
'
,
models
.
CharField
(
max_length
=
50
,
verbose_name
=
'
Username
'
)),
(
'
full_name
'
,
models
.
CharField
(
max_length
=
100
,
null
=
True
,
verbose_name
=
'
Full Name
'
)),
(
'
user_email
'
,
models
.
EmailField
(
max_length
=
254
,
verbose_name
=
'
User Email
'
)),
(
'
compute_resources
'
,
models
.
ManyToManyField
(
blank
=
True
,
to
=
'
accounts.EsapComputeResource
'
,
verbose_name
=
'
Compute Resources
'
)),
(
'
query_schema
'
,
models
.
ForeignKey
(
default
=
'
esap_default
'
,
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
SET_NULL
,
to
=
'
accounts.esapqueryschema
'
,
verbose_name
=
'
Preferred Query Schema
'
)),
(
'
shopping_cart
'
,
models
.
ManyToManyField
(
blank
=
True
,
to
=
'
accounts.EsapShoppingItem
'
,
verbose_name
=
'
Shopping Cart
'
)),
(
'
software_repositories
'
,
models
.
ManyToManyField
(
blank
=
True
,
to
=
'
accounts.EsapSoftwareRepository
'
,
verbose_name
=
'
Software Repositories
'
)),
],
options
=
{
'
verbose_name
'
:
'
User Profile
'
,
'
verbose_name_plural
'
:
'
User Profiles
'
,
},
),
]
This diff is collapsed.
Click to expand it.
esap/esap/esap_config.sqlite3
+
0
−
0
View file @
a40fb030
No preview for this file type
This diff is collapsed.
Click to expand it.
esap/logs/esap.log
+
35
−
0
View file @
a40fb030
...
@@ -6667,3 +6667,38 @@
...
@@ -6667,3 +6667,38 @@
[2020-10-20 08:45:30,417] query_controller.run_query()
[2020-10-20 08:45:30,417] query_controller.run_query()
[2020-10-20 08:45:30,424] query_controller.run_query()
[2020-10-20 08:45:30,424] query_controller.run_query()
[2020-10-20 08:45:30,429] query_controller.run_query()
[2020-10-20 08:45:30,429] query_controller.run_query()
[20/Oct/2020 11:26:35,148] query_controller.create_and_run_query()
[20/Oct/2020 11:26:35,149] query_controller.create_query()
[20/Oct/2020 11:26:35,156] ERROR: could not translating key collection 'collection', using it raw.
[20/Oct/2020 11:26:35,156] ERROR: could not translating key page 'page', using it raw.
[20/Oct/2020 11:26:35,157] construct_query: https://alta.astron.nl/altapi/dataproducts?collection=imaging_and_page=1_and_dataProductSubType__in=calibratedVisibility,continuumMF,continuumChunk,imageCube,beamCube,polarisationImage,polarisationCube,continuumCube_and_page_size=50
[20/Oct/2020 11:26:35,159] query_controller.run_query()
[20/Oct/2020 11:26:35,159] run-query: https://alta.astron.nl/altapi/dataproducts?collection=imaging&page=1&dataProductSubType__in=calibratedVisibility,continuumMF,continuumChunk,imageCube,beamCube,polarisationImage,polarisationCube,continuumCube&page_size=50
[20/Oct/2020 11:26:38,901] query_controller.create_and_run_query()
[20/Oct/2020 11:26:38,902] query_controller.create_query()
[20/Oct/2020 11:26:38,907] ERROR: could not translating key collection 'collection', using it raw.
[20/Oct/2020 11:26:38,907] ERROR: could not translating key page 'page', using it raw.
[20/Oct/2020 11:26:38,908] construct_query: https://alta.astron.nl/altapi/dataproducts?collection=imaging_and_page=4_and_dataProductSubType__in=calibratedVisibility,continuumMF,continuumChunk,imageCube,beamCube,polarisationImage,polarisationCube,continuumCube_and_page_size=50
[20/Oct/2020 11:26:38,909] query_controller.run_query()
[20/Oct/2020 11:26:38,910] run-query: https://alta.astron.nl/altapi/dataproducts?collection=imaging&page=4&dataProductSubType__in=calibratedVisibility,continuumMF,continuumChunk,imageCube,beamCube,polarisationImage,polarisationCube,continuumCube&page_size=50
[20/Oct/2020 11:54:14,149] query_controller.create_and_run_query()
[20/Oct/2020 11:54:14,150] query_controller.create_query()
[20/Oct/2020 11:54:14,156] ERROR: could not translating key collection 'collection', using it raw.
[20/Oct/2020 11:54:14,156] ERROR: could not translating key page 'page', using it raw.
[20/Oct/2020 11:54:14,156] construct_query: https://alta.astron.nl/altapi/dataproducts?collection=imaging_and_page=1_and_dataProductSubType__in=uncalibratedVisibility_and_page_size=50
[20/Oct/2020 11:54:14,160] query_controller.run_query()
[20/Oct/2020 11:54:14,161] run-query: https://alta.astron.nl/altapi/dataproducts?collection=imaging&page=1&dataProductSubType__in=uncalibratedVisibility&page_size=50
[20/Oct/2020 11:54:17,773] query_controller.create_and_run_query()
[20/Oct/2020 11:54:17,774] query_controller.create_query()
[20/Oct/2020 11:54:17,780] ERROR: could not translating key collection 'collection', using it raw.
[20/Oct/2020 11:54:17,780] ERROR: could not translating key page 'page', using it raw.
[20/Oct/2020 11:54:17,781] construct_query: https://alta.astron.nl/altapi/dataproducts?collection=imaging_and_page=2_and_dataProductSubType__in=uncalibratedVisibility_and_page_size=50
[20/Oct/2020 11:54:17,784] query_controller.run_query()
[20/Oct/2020 11:54:17,784] run-query: https://alta.astron.nl/altapi/dataproducts?collection=imaging&page=2&dataProductSubType__in=uncalibratedVisibility&page_size=50
[20/Oct/2020 11:54:21,102] query_controller.create_and_run_query()
[20/Oct/2020 11:54:21,102] query_controller.create_query()
[20/Oct/2020 11:54:21,106] ERROR: could not translating key collection 'collection', using it raw.
[20/Oct/2020 11:54:21,107] ERROR: could not translating key page 'page', using it raw.
[20/Oct/2020 11:54:21,107] construct_query: https://alta.astron.nl/altapi/dataproducts?collection=imaging_and_page=8_and_dataProductSubType__in=uncalibratedVisibility_and_page_size=50
[20/Oct/2020 11:54:21,109] query_controller.run_query()
[20/Oct/2020 11:54:21,110] run-query: https://alta.astron.nl/altapi/dataproducts?collection=imaging&page=8&dataProductSubType__in=uncalibratedVisibility&page_size=50
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