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
a58cc362
Commit
a58cc362
authored
Jun 09, 2020
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed depreciated microservices
parent
64618ea6
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
0 additions
and
218 deletions
+0
-218
Dockerfile
src/data-hub/democratic-reasoning-microservice/Dockerfile
+0
-17
README.md
src/data-hub/democratic-reasoning-microservice/README.md
+0
-9
swagger.yml
...democratic-reasoning-microservice/app/configs/swagger.yml
+0
-30
debug.py
src/data-hub/democratic-reasoning-microservice/app/debug.py
+0
-6
main.py
src/data-hub/democratic-reasoning-microservice/app/main.py
+0
-13
deployment.yml
...mocratic-reasoning-microservice/deployment/deployment.yml
+0
-34
Dockerfile
src/data-hub/geo-profiling-microservice/Dockerfile
+0
-17
README.md
src/data-hub/geo-profiling-microservice/README.md
+0
-9
swagger.yml
...ta-hub/geo-profiling-microservice/app/configs/swagger.yml
+0
-30
debug.py
src/data-hub/geo-profiling-microservice/app/debug.py
+0
-6
main.py
src/data-hub/geo-profiling-microservice/app/main.py
+0
-13
deployment.yml
...-hub/geo-profiling-microservice/deployment/deployment.yml
+0
-34
No files found.
src/data-hub/democratic-reasoning-microservice/Dockerfile
deleted
100644 → 0
View file @
64618ea6
FROM
python:3
LABEL
maintainer="Alexander Lercher"
ENV
http_proxy http://proxy.uni-klu.ac.at:3128/
ENV
https_proxy http://proxy.uni-klu.ac.at:3128/
RUN
apt-get update
RUN
pip
install
flask
RUN
pip
install
connexion[swagger-ui]
EXPOSE
5000
WORKDIR
/app
COPY
src/data-hub/democratic-reasoning-microservice/app/ /app/
RUN
chmod
a+x main.py
CMD
["python", "./main.py"]
\ No newline at end of file
src/data-hub/democratic-reasoning-microservice/README.md
deleted
100644 → 0
View file @
64618ea6
# Democratic Reasoning Microservice
The democratic reasoning microservice serves as a central knowledge-based component providing all facts and rules for other microservices.
## Technologies
-
Python 3.x
-
Python module Flask
-
Python module Connexion with Swagger
-
Docker
-
Kubernetes
\ No newline at end of file
src/data-hub/democratic-reasoning-microservice/app/configs/swagger.yml
deleted
100644 → 0
View file @
64618ea6
swagger
:
"
2.0"
info
:
title
:
Democratic Reasoning microservice
description
:
This is the documentation for the democratic reasoning microservice.
version
:
"
1.0.0"
consumes
:
-
"
application/json"
produces
:
-
"
application/json"
basePath
:
"
/api"
paths
:
/debug
:
post
:
operationId
:
"
debug.echo"
tags
:
-
"
Echo"
summary
:
"
Echo
function
for
debugging
purposes"
description
:
"
Echoes
the
input
back
to
the
caller."
parameters
:
-
in
:
body
name
:
"
Object"
required
:
true
schema
:
type
:
object
responses
:
200
:
description
:
"
Successful
echo
of
request
data"
src/data-hub/democratic-reasoning-microservice/app/debug.py
deleted
100644 → 0
View file @
64618ea6
from
flask
import
request
def
echo
():
return
request
.
json
\ No newline at end of file
src/data-hub/democratic-reasoning-microservice/app/main.py
deleted
100644 → 0
View file @
64618ea6
import
connexion
# load swagger config
app
=
connexion
.
App
(
__name__
,
specification_dir
=
'configs/'
)
app
.
add_api
(
'swagger.yml'
)
@
app
.
route
(
'/'
,
methods
=
[
'GET'
])
def
api_root
():
return
'Endpoint of democratic-reasoning-microservice!'
# start app
if
__name__
==
'__main__'
:
app
.
run
(
host
=
'0.0.0.0'
,
port
=
5000
,
debug
=
True
)
src/data-hub/democratic-reasoning-microservice/deployment/deployment.yml
deleted
100644 → 0
View file @
64618ea6
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
democratic-reasoning
spec
:
type
:
LoadBalancer
selector
:
app
:
democratic-reasoning
ports
:
-
name
:
http
port
:
80
targetPort
:
5000
nodePort
:
30106
protocol
:
TCP
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
democratic-reasoning
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
democratic-reasoning
template
:
metadata
:
labels
:
app
:
democratic-reasoning
spec
:
containers
:
-
name
:
democratic-reasoning
image
:
alexx882/democratic-reasoning-microservice
ports
:
-
containerPort
:
5000
\ No newline at end of file
src/data-hub/geo-profiling-microservice/Dockerfile
deleted
100644 → 0
View file @
64618ea6
FROM
python:3
LABEL
maintainer="Alexander Lercher"
ENV
http_proxy http://proxy.uni-klu.ac.at:3128/
ENV
https_proxy http://proxy.uni-klu.ac.at:3128/
RUN
apt-get update
RUN
pip
install
flask
RUN
pip
install
connexion[swagger-ui]
EXPOSE
5000
WORKDIR
/app
COPY
src/data-hub/geo-profiling-microservice/app/ /app/
RUN
chmod
a+x main.py
CMD
["python", "./main.py"]
\ No newline at end of file
src/data-hub/geo-profiling-microservice/README.md
deleted
100644 → 0
View file @
64618ea6
# Geo Profiling Microservice
The geo profiling microservice helps to cluster users physically close to each other.
## Technologies
-
Python 3.x
-
Python module Flask
-
Python module Connexion with Swagger
-
Docker
-
Kubernetes
\ No newline at end of file
src/data-hub/geo-profiling-microservice/app/configs/swagger.yml
deleted
100644 → 0
View file @
64618ea6
swagger
:
"
2.0"
info
:
title
:
Geo Profiling microservice
description
:
This is the documentation for the geo profiling microservice.
version
:
"
1.0.0"
consumes
:
-
"
application/json"
produces
:
-
"
application/json"
basePath
:
"
/api"
paths
:
/debug
:
post
:
operationId
:
"
debug.echo"
tags
:
-
"
Echo"
summary
:
"
Echo
function
for
debugging
purposes"
description
:
"
Echoes
the
input
back
to
the
caller."
parameters
:
-
in
:
body
name
:
"
Object"
required
:
true
schema
:
type
:
object
responses
:
200
:
description
:
"
Successful
echo
of
request
data"
src/data-hub/geo-profiling-microservice/app/debug.py
deleted
100644 → 0
View file @
64618ea6
from
flask
import
request
def
echo
():
return
request
.
json
\ No newline at end of file
src/data-hub/geo-profiling-microservice/app/main.py
deleted
100644 → 0
View file @
64618ea6
import
connexion
# load swagger config
app
=
connexion
.
App
(
__name__
,
specification_dir
=
'configs/'
)
app
.
add_api
(
'swagger.yml'
)
@
app
.
route
(
'/'
,
methods
=
[
'GET'
])
def
api_root
():
return
'Endpoint of geo-profiling-microservice!'
# start app
if
__name__
==
'__main__'
:
app
.
run
(
host
=
'0.0.0.0'
,
port
=
5000
,
debug
=
True
)
src/data-hub/geo-profiling-microservice/deployment/deployment.yml
deleted
100644 → 0
View file @
64618ea6
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
geo-profiling
spec
:
type
:
LoadBalancer
selector
:
app
:
geo-profiling
ports
:
-
name
:
http
port
:
80
targetPort
:
5000
nodePort
:
30105
protocol
:
TCP
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
geo-profiling
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
geo-profiling
template
:
metadata
:
labels
:
app
:
geo-profiling
spec
:
containers
:
-
name
:
geo-profiling
image
:
alexx882/geo-profiling-microservice
ports
:
-
containerPort
:
5000
\ No newline at end of file
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