Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
access-node
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LuFG VR VIS
VR-Group
In Situ Pipeline
access-node
Merge requests
!1
Allow cross origin access
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Allow cross origin access
feature/allow-cross-origin-requests
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Allow cross origin access
Jan Delember
requested to merge
feature/allow-cross-origin-requests
into
develop
Jan 10, 2020
Overview
0
Commits
1
Pipelines
0
Changes
2
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
0af864f7
1 commit,
Jan 10, 2020
2 files
+
3
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
access_node/__main__.py
+
2
−
0
View file @ 0af864f7
Edit in single-file editor
Open in Web IDE
Show full file
@@ -3,6 +3,7 @@
import
connexion
from
access_node
import
encoder
from
flask_cors
import
CORS
from
access_node.models.nodes
import
nodes
import
json
@@ -31,6 +32,7 @@ def main():
app
.
app
.
json_encoder
=
encoder
.
JSONEncoder
app
.
add_api
(
'
swagger.yaml
'
,
arguments
=
{
'
title
'
:
'
In-Situ Pipeline REST API
'
})
CORS
(
app
.
app
)
app
.
run
(
port
=
8080
)
Loading