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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
ESCAPE WP5
ESAP API Gateway
Merge requests
!219
add CTA archive backend
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Merged
add CTA archive backend
add_CTA_archive
into
main
Overview
1
Commits
4
Pipelines
8
Changes
5
Merged
Nuria Álvarez Crespo
requested to merge
add_CTA_archive
into
main
2 years ago
Overview
1
Commits
4
Pipelines
8
Changes
5
Expand
Add the CTA archive to ESAP.
0
0
Merge request reports
Compare
main
version 3
94fd95d5
2 years ago
version 2
e4ad4bb7
2 years ago
version 1
da275c36
2 years ago
main (base)
and
latest version
latest version
b04a4fc0
4 commits,
2 years ago
version 3
94fd95d5
2 commits,
2 years ago
version 2
e4ad4bb7
2 commits,
2 years ago
version 1
da275c36
1 commit,
2 years ago
5 files
+
200
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
esap/esap/configuration/esap_cta.py
0 → 100644
+
38
−
0
Options
#import requests
#import urllib.parse
#import json
title
=
"
cta
"
logo
=
"
https://upload.wikimedia.org/wikipedia/commons/d/d1/Cherenkov_Telescope_Array_logo.jpg
"
# definition of the query
query_schema
=
{
"
name
"
:
"
cta
"
,
"
title
"
:
"
CTA Query
"
,
"
type
"
:
"
object
"
,
"
properties
"
:
{
"
particle
"
:
{
"
type
"
:
"
string
"
,
"
title
"
:
"
particle
"
,
"
default
"
:
"
proton
"
,
"
enum
"
:
[
"
proton
"
,
"
gamma-diffuse
"
],
"
enumNames
"
:
[
"
Proton
"
,
"
Gamma-diffuse
"
]
},
#"keyword": {
# "type": "string",
# "title": "keyword",
#},
"
catalog
"
:
{
"
type
"
:
"
string
"
,
"
title
"
:
"
Catalog
"
,
"
enum
"
:
[
"
cta
"
],
"
enumNames
"
:
[
"
Cta
"
]
}
}
#,
#"required": ["community"]
}
#ui_schema = {"keyword": {"ui:help": "e.g. CTA", "ui:placeholder": "optional"}, "catalog": {"ui:widget": "hidden"}}
ui_schema
=
{
#"keyword": {"ui:help": "e.g. CTA"},
#"particle": {"ui:placeholder": "Proton"},
"
catalog
"
:
{
"
ui:widget
"
:
"
hidden
"
}}
Loading