generated from globus/template-search-portal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
static.json
190 lines (190 loc) · 6.12 KB
/
static.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"_static": {
"generator": {
"name": "@globus/static-search-portal"
}
},
"data": {
"version": "1.0.0",
"attributes": {
"metadata": {
"title": "XPCS",
"description": "XPCS Portal test"
},
"features": {
"jsonata": true,
"requireAuthentication": true
},
"theme": {
"colors": {
"brand": {
"50": "#edeaff",
"100": "#c8c3f1",
"200": "#a39be4",
"300": "#7f73d8",
"400": "#5b4bcc",
"500": "#4232b2",
"600": "#32268b",
"700": "#241b64",
"800": "#15103e",
"900": "#070419"
}
}
},
"content": {
"headline": "XPCS@APS"
},
"components": {
"Footer": {
"partners": [
{
"name": "Argonne National Laboratory",
"href": "https://www.anl.gov"
},
{
"name": "Globus",
"href": "https://www.globus.org"
}
],
"disclaimer": "This site relies on ACDC, a resource of the Argonne Leadership Computing Facility, which is a DOE Office of Science User Facility supported under Contract DE-AC02-06CH11357."
},
"ResultListing": {
"heading": "entries[0].content.dc.titles.title",
"fields": [
{
"label": "Cycle",
"property": "entries[0].content.project_metadata.cycle"
},
{
"label": "Parent",
"property": "entries[0].content.project_metadata.parent"
},
{
"label": "Creator Name",
"property": "entries[0].content.dc.creators[0].creatorName"
},
{
"label": "Dates",
"property": "entries[0].content.dc.dates[0].date"
}
]
},
"Result": {
"summary": "entries[0].content.dc.titles.title",
"fields": [
{
"label": "Scattering Pattern",
"property": "$replace(entries[0].content.files[filename='scattering_pattern_log.png'].url, 'globus://74defd5b-5f61-42fc-bcc4-834c9f376a4f', 'https://g-f6125.fd635.8443.data.globus.org/')",
"type": "globus.embed",
"options": {
"collection": "74defd5b-5f61-42fc-bcc4-834c9f376a4f",
"width": "985px",
"height": "221px"
}
},
{
"label": "Scattering Pattern",
"property": "$replace(entries[0].content.files[filename='scattering_pattern_plotly.json'].url, 'globus://74defd5b-5f61-42fc-bcc4-834c9f376a4f', 'https://g-f6125.fd635.8443.data.globus.org/')",
"type": "globus.embed",
"options": {
"collection": "74defd5b-5f61-42fc-bcc4-834c9f376a4f",
"renderer": "plotly"
}
},
{
"label": "APS Cycle",
"property": "entries[0].content.project_metadata.cycle"
},
{
"label": "Parent Folder",
"property": "entries[0].content.project_metadata.parent"
},
{
"label": "Datafile Name",
"property": "entries[0].content.project_metadata.measurement.instrument.acquisition.datafilename"
},
{
"label": "Stage X",
"property": "entries[0].content.project_metadata.'measurement.instrument.acquisition.stage_x'"
},
{
"label": "Stage Z",
"property": "entries[0].content.project_metadata.'measurement.instrument.acquisition.stage_z'"
},
{
"label": "Attenuation",
"property": "entries[0].content.project_metadata.'measurement.instrument.acquisition.attenuation'"
},
{
"label": "Qins",
"property": "entries[0].content.project_metadata.'xpcs.dnoq'"
},
{
"label": "Execution Tool",
"property": "entries[0].content.project_metadata.executable.name"
},
{
"label": "Source Tool",
"property": "entries[0].content.project_metadata.executable.source"
},
{
"label": "Source Tool Version",
"property": "entries[0].content.project_metadata.executable.tool_version"
},
{
"label": "Execution Device",
"property": "entries[0].content.project_metadata.executable.device"
},
{
"label": "Corr Execution Time in Seconds",
"property": "entries[0].content.project_metadata.executable.execution_time_seconds"
}
]
}
},
"globus": {
"application": {
"client_id": "efc9322d-497f-4876-8ec6-4293cb6f91d9",
"scopes": [
"https://auth.globus.org/scopes/74defd5b-5f61-42fc-bcc4-834c9f376a4f/https"
]
},
"search": {
"index": "6871e83e-866b-41bc-8430-e3cf83b43bdc",
"facets": [
{
"name": "Creator",
"field_name": "dc.creators.creatorName",
"type": "terms",
"size": 10
},
{
"name": "Parent Folder",
"field_name": "project_metadata.parent",
"type": "terms",
"size": 10
},
{
"name": "APS Cycle",
"field_name": "project_metadata.cycle",
"type": "terms",
"size": 10
},
{
"name": "Qmap",
"field_name": "project_metadata.reprocessing.qmap.name",
"type": "terms",
"size": 10
},
{
"name": "Reprocessed Datasets",
"field_name": "project_metadata.reprocessing.suffix",
"type": "terms",
"size": 10
}
]
}
}
}
}
}