Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GstLAL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
lscsoft
GstLAL
Merge requests
!598
Encode job and analysis tag in the URLs created by gstlal servers
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Encode job and analysis tag in the URLs created by gstlal servers
o4b-online-new-urls
into
o4b-online
Overview
0
Commits
3
Pipelines
2
Changes
3
Merged
Prathamesh Joshi
requested to merge
o4b-online-new-urls
into
o4b-online
9 months ago
Overview
0
Commits
3
Pipelines
2
Changes
3
Expand
0
0
Merge request reports
Compare
o4b-online
version 1
420bb7e1
9 months ago
o4b-online (base)
and
latest version
latest version
12ba1395
3 commits,
9 months ago
version 1
420bb7e1
3 commits,
9 months ago
3 files
+
37
−
15
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
gstlal/python/httpinterface.py
+
12
−
0
Options
@@ -172,3 +172,15 @@ class HTTPServers(list):
except
Exception
as
e
:
if
self
.
verbose
:
print
(
"
failed: %s
"
%
str
(
e
),
file
=
sys
.
stderr
)
def
get_rule_from_proxy_route
(
route
):
# Method to trace back the rules defined
# by a PROXY method from the GET methods
# of the original application
if
route
.
method
!=
'
PROXY
'
:
raise
ValueError
(
"
The route provided is not a PROXY route
"
)
# Make sure we only consider GET methods
# Make sure we don't create links back here
original_rules
=
[
r
.
rule
for
r
in
route
.
config
()[
'
mountpoint.target
'
].
routes
if
r
.
method
==
"
GET
"
and
r
.
rule
not
in
(
"
/
"
,
"
/index.html
"
)]
return
[
route
.
config
()[
'
mountpoint.prefix
'
][:
-
1
]
+
r
for
r
in
original_rules
]
# [:-1] removes a / at the end
Loading