Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
eb6c6e13
Commit
eb6c6e13
authored
Mar 15, 2021
by
Manuel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix/cors' into develop
parents
d670155e
03d5379c
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
1 deletion
+9
-1
main.py
src/data-hub/role-stage-discovery-microservice/app/main.py
+2
-0
requirements.txt
...ub/role-stage-discovery-microservice/app/requirements.txt
+1
-0
main.py
src/data-hub/semantic-linking-microservice/app/main.py
+2
-0
requirements.txt
...ta-hub/semantic-linking-microservice/app/requirements.txt
+1
-0
main.py
src/rest-gateway/app/main.py
+2
-0
requirements.txt
src/rest-gateway/app/requirements.txt
+1
-1
No files found.
src/data-hub/role-stage-discovery-microservice/app/main.py
View file @
eb6c6e13
...
...
@@ -18,9 +18,11 @@ from pathlib import Path
from
env_info
import
is_running_locally
,
get_resources_path
from
flask
import
request
from
flask
import
redirect
from
flask_cors
import
CORS
# load swagger config
app
=
connexion
.
App
(
__name__
,
specification_dir
=
'configs/'
)
CORS
(
app
.
app
)
@
app
.
app
.
before_request
def
before_request
():
...
...
src/data-hub/role-stage-discovery-microservice/app/requirements.txt
View file @
eb6c6e13
...
...
@@ -14,6 +14,7 @@ cycler==0.10.0
decorator==4.4.1
Deprecated==1.2.7
Flask==1.1.1
Flask-Cors==3.0.10
idna==2.8
importlib-metadata==1.5.0
inflection==0.3.1
...
...
src/data-hub/semantic-linking-microservice/app/main.py
View file @
eb6c6e13
...
...
@@ -20,6 +20,7 @@ from env_info import is_running_locally, get_resources_path
from
messaging.ReconnectingMessageManager
import
ReconnectingMessageManager
from
messaging.MessageHandler
import
MessageHandler
from
flask
import
request
from
flask_cors
import
CORS
from
flask
import
redirect
# init message handler
...
...
@@ -30,6 +31,7 @@ def message_received_callback(channel, method, properties, body):
# load swagger config
app
=
connexion
.
App
(
__name__
,
specification_dir
=
'configs/'
)
CORS
(
app
.
app
)
@
app
.
app
.
before_request
def
before_request
():
...
...
src/data-hub/semantic-linking-microservice/app/requirements.txt
View file @
eb6c6e13
...
...
@@ -10,6 +10,7 @@ connexion==2.7.0
coverage==5.3.1
cryptography==3.1
Flask==1.1.2
Flask-Cors==3.0.10
idna==2.9
importlib-metadata==1.6.1
inflection==0.5.0
...
...
src/rest-gateway/app/main.py
View file @
eb6c6e13
...
...
@@ -21,12 +21,14 @@ import connexion
from
security
import
swagger_util
from
env_info
import
is_running_locally
,
get_resources_path
from
flask
import
request
from
flask_cors
import
CORS
from
flask
import
redirect
# start app
if
__name__
==
'__main__'
:
app
=
connexion
.
App
(
__name__
,
specification_dir
=
'configs/'
)
CORS
(
app
.
app
)
@
app
.
app
.
before_request
def
before_request
():
...
...
src/rest-gateway/app/requirements.txt
View file @
eb6c6e13
...
...
@@ -9,10 +9,10 @@ click==7.1.2
clickclick==1.2.2
colorama==0.4.3
connexion==2.7.0
coverage==5.3.1
cryptography==2.9.2
Deprecated==1.2.10
Flask==1.1.2
Flask-Cors==3.0.10
idna==2.10
importlib-metadata==1.7.0
inflection==0.5.0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment