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
a697b99c
Commit
a697b99c
authored
Jun 09, 2020
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merging Role/Stage/Agent microservices
parent
e7437efb
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
8 additions
and
228 deletions
+8
-228
README.md
src/data-hub/agent-discovery-microservice/README.md
+0
-9
swagger.yml
...-hub/agent-discovery-microservice/app/configs/swagger.yml
+0
-30
main.py
src/data-hub/agent-discovery-microservice/app/main.py
+0
-13
deployment.yml
...ub/agent-discovery-microservice/deployment/deployment.yml
+0
-34
Dockerfile
src/data-hub/role-discovery-microservice/Dockerfile
+0
-17
README.md
src/data-hub/role-discovery-microservice/README.md
+0
-9
debug.py
src/data-hub/role-discovery-microservice/app/debug.py
+0
-6
Dockerfile
src/data-hub/role-stage-discovery-microservice/Dockerfile
+1
-1
README.md
src/data-hub/role-stage-discovery-microservice/README.md
+7
-0
swagger.yml
...role-stage-discovery-microservice/app/configs/swagger.yml
+0
-0
debug.py
src/data-hub/role-stage-discovery-microservice/app/debug.py
+0
-0
main.py
src/data-hub/role-stage-discovery-microservice/app/main.py
+0
-0
deployment.yml
...le-stage-discovery-microservice/deployment/deployment.yml
+0
-0
Dockerfile
src/data-hub/stage-discovery-microservice/Dockerfile
+0
-17
README.md
src/data-hub/stage-discovery-microservice/README.md
+0
-9
swagger.yml
...-hub/stage-discovery-microservice/app/configs/swagger.yml
+0
-30
debug.py
src/data-hub/stage-discovery-microservice/app/debug.py
+0
-6
main.py
src/data-hub/stage-discovery-microservice/app/main.py
+0
-13
deployment.yml
...ub/stage-discovery-microservice/deployment/deployment.yml
+0
-34
No files found.
src/data-hub/agent-discovery-microservice/README.md
deleted
100644 → 0
View file @
e7437efb
# Agent Discovery Microservice
The semantic linking microservice labels anonymous logins with individual agents, e.g. a human or an automated device.
## Technologies
-
Python 3.x
-
Python module Flask
-
Python module Connexion with Swagger
-
Docker
-
Kubernetes
\ No newline at end of file
src/data-hub/agent-discovery-microservice/app/configs/swagger.yml
deleted
100644 → 0
View file @
e7437efb
swagger
:
"
2.0"
info
:
title
:
Agent Discovery microservice
description
:
This is the documentation for the agent discovery 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/agent-discovery-microservice/app/main.py
deleted
100644 → 0
View file @
e7437efb
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 agent-discovery-microservice!'
# start app
if
__name__
==
'__main__'
:
app
.
run
(
host
=
'0.0.0.0'
,
port
=
5000
,
debug
=
True
)
src/data-hub/agent-discovery-microservice/deployment/deployment.yml
deleted
100644 → 0
View file @
e7437efb
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
agent-discovery
spec
:
type
:
LoadBalancer
selector
:
app
:
agent-discovery
ports
:
-
name
:
http
port
:
80
targetPort
:
5000
nodePort
:
30104
protocol
:
TCP
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
agent-discovery
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
agent-discovery
template
:
metadata
:
labels
:
app
:
agent-discovery
spec
:
containers
:
-
name
:
agent-discovery
image
:
alexx882/agent-discovery-microservice
ports
:
-
containerPort
:
5000
\ No newline at end of file
src/data-hub/role-discovery-microservice/Dockerfile
deleted
100644 → 0
View file @
e7437efb
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/role-discovery-microservice/app/ /app/
RUN
chmod
a+x main.py
CMD
["python", "./main.py"]
\ No newline at end of file
src/data-hub/role-discovery-microservice/README.md
deleted
100644 → 0
View file @
e7437efb
# Role Discovery Microservice
The role discovery microservice labels anonymous users with individual roles which are important for classification, e.g. the role father in the concept family.
## Technologies
-
Python 3.x
-
Python module Flask
-
Python module Connexion with Swagger
-
Docker
-
Kubernetes
\ No newline at end of file
src/data-hub/role-discovery-microservice/app/debug.py
deleted
100644 → 0
View file @
e7437efb
from
flask
import
request
def
echo
():
return
request
.
json
\ No newline at end of file
src/data-hub/
agent
-discovery-microservice/Dockerfile
→
src/data-hub/
role-stage
-discovery-microservice/Dockerfile
View file @
a697b99c
...
@@ -11,7 +11,7 @@ RUN pip install connexion[swagger-ui]
...
@@ -11,7 +11,7 @@ RUN pip install connexion[swagger-ui]
EXPOSE
5000
EXPOSE
5000
WORKDIR
/app
WORKDIR
/app
COPY
src/data-hub/
agent
-discovery-microservice/app/ /app/
COPY
src/data-hub/
role-stage
-discovery-microservice/app/ /app/
RUN
chmod
a+x main.py
RUN
chmod
a+x main.py
CMD
["python", "./main.py"]
CMD
["python", "./main.py"]
\ No newline at end of file
src/data-hub/role-stage-discovery-microservice/README.md
0 → 100644
View file @
a697b99c
# Role Stage Discovery Microservice
The role stage discovery microservice detects communities, their roles based on contextualized features and stages of roles over time.
## Technologies
-
Python 3.x
-
Docker
-
Kubernetes
\ No newline at end of file
src/data-hub/role-discovery-microservice/app/configs/swagger.yml
→
src/data-hub/role-
stage-
discovery-microservice/app/configs/swagger.yml
View file @
a697b99c
File moved
src/data-hub/
agent
-discovery-microservice/app/debug.py
→
src/data-hub/
role-stage
-discovery-microservice/app/debug.py
View file @
a697b99c
File moved
src/data-hub/role-discovery-microservice/app/main.py
→
src/data-hub/role-
stage-
discovery-microservice/app/main.py
View file @
a697b99c
File moved
src/data-hub/role-discovery-microservice/deployment/deployment.yml
→
src/data-hub/role-
stage-
discovery-microservice/deployment/deployment.yml
View file @
a697b99c
File moved
src/data-hub/stage-discovery-microservice/Dockerfile
deleted
100644 → 0
View file @
e7437efb
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/stage-discovery-microservice/app/ /app/
RUN
chmod
a+x main.py
CMD
["python", "./main.py"]
\ No newline at end of file
src/data-hub/stage-discovery-microservice/README.md
deleted
100644 → 0
View file @
e7437efb
# Stage Discovery Microservice
The stage discovery microservice detects individual activities between roles inside of a concept, e.g. teacher giving an assignment to students.
## Technologies
-
Python 3.x
-
Python module Flask
-
Python module Connexion with Swagger
-
Docker
-
Kubernetes
\ No newline at end of file
src/data-hub/stage-discovery-microservice/app/configs/swagger.yml
deleted
100644 → 0
View file @
e7437efb
swagger
:
"
2.0"
info
:
title
:
Stage Discovery microservice
description
:
This is the documentation for the stage discovery 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/stage-discovery-microservice/app/debug.py
deleted
100644 → 0
View file @
e7437efb
from
flask
import
request
def
echo
():
return
request
.
json
\ No newline at end of file
src/data-hub/stage-discovery-microservice/app/main.py
deleted
100644 → 0
View file @
e7437efb
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 stage-discovery-microservice!'
# start app
if
__name__
==
'__main__'
:
app
.
run
(
host
=
'0.0.0.0'
,
port
=
5000
,
debug
=
True
)
src/data-hub/stage-discovery-microservice/deployment/deployment.yml
deleted
100644 → 0
View file @
e7437efb
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
stage-discovery
spec
:
type
:
LoadBalancer
selector
:
app
:
stage-discovery
ports
:
-
name
:
http
port
:
80
targetPort
:
5000
nodePort
:
30103
protocol
:
TCP
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
stage-discovery
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
stage-discovery
template
:
metadata
:
labels
:
app
:
stage-discovery
spec
:
containers
:
-
name
:
stage-discovery
image
:
alexx882/stage-discovery-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