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
cc35cc82
Commit
cc35cc82
authored
Aug 12, 2019
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed Docker and K8s config files
parent
325a5941
Changes
32
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
35 additions
and
30 deletions
+35
-30
Dockerfile
data-hub/agent-discovery-microservice/Dockerfile
+1
-1
service.yml
data-hub/agent-discovery-microservice/deployment/service.yml
+1
-1
Dockerfile
data-hub/community-detection-microservice/Dockerfile
+1
-1
service.yml
...b/community-detection-microservice/deployment/service.yml
+1
-1
Dockerfile
data-hub/democratic-reasoning-microservice/Dockerfile
+1
-1
service.yml
.../democratic-reasoning-microservice/deployment/service.yml
+1
-1
Dockerfile
data-hub/geo-profiling-microservice/Dockerfile
+1
-1
service.yml
data-hub/geo-profiling-microservice/deployment/service.yml
+1
-1
Dockerfile
data-hub/pareto-trust-microservice/Dockerfile
+1
-1
service.yml
data-hub/pareto-trust-microservice/deployment/service.yml
+1
-1
Dockerfile
data-hub/reputation-calculation-microservice/Dockerfile
+1
-1
service.yml
...eputation-calculation-microservice/deployment/service.yml
+1
-1
Dockerfile
data-hub/role-discovery-microservice/Dockerfile
+1
-1
service.yml
data-hub/role-discovery-microservice/deployment/service.yml
+1
-1
Dockerfile
data-hub/semantic-linking-microservice/Dockerfile
+1
-1
service.yml
...-hub/semantic-linking-microservice/deployment/service.yml
+1
-1
Dockerfile
data-hub/stage-discovery-microservice/Dockerfile
+1
-1
service.yml
data-hub/stage-discovery-microservice/deployment/service.yml
+1
-1
deploy.py
deploy.py
+1
-1
service.yml
message-broker/deployment/service.yml
+0
-0
Dockerfile
...-hub-in/network-metrics-retrieval-microservice/Dockerfile
+1
-1
service.yml
...ork-metrics-retrieval-microservice/deployment/service.yml
+1
-1
main.py
transaction-hub-in/trace-retrieval-microservice/app/main.py
+6
-1
service.yml
...ub-in/trace-retrieval-microservice/deployment/service.yml
+0
-0
Dockerfile
transaction-hub-out/event-detection-microservice/Dockerfile
+1
-1
service.yml
...b-out/event-detection-microservice/deployment/service.yml
+1
-1
Dockerfile
transaction-hub-out/smart-matching-microservice/Dockerfile
+1
-1
service.yml
...ub-out/smart-matching-microservice/deployment/service.yml
+1
-1
Dockerfile
...hub-out/tokenized-decision-making-microservice/Dockerfile
+1
-1
service.yml
...nized-decision-making-microservice/deployment/service.yml
+1
-1
Dockerfile
transaction-hub-out/trust-sla-microservice/Dockerfile
+1
-1
service.yml
...ion-hub-out/trust-sla-microservice/deployment/service.yml
+1
-1
No files found.
data-hub/agent-discovery-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
data-hub/agent-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
data-hub/agent-discovery-microservice/deployment/
loadbalancer
.yml
→
data-hub/agent-discovery-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
agent-discovery
-endpoint
name
:
agent-discovery
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
data-hub/community-detection-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
data-hub/community-detecion-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
data-hub/community-detection-microservice/deployment/
loadbalancer
.yml
→
data-hub/community-detection-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
community-detection
-endpoint
name
:
community-detection
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
data-hub/democratic-reasoning-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
data-hub/democratic-reasoning-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
data-hub/democratic-reasoning-microservice/deployment/
loadbalancer
.yml
→
data-hub/democratic-reasoning-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
democratic-reasoning
-endpoint
name
:
democratic-reasoning
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
data-hub/geo-profiling-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
data-hub/geo-profiling-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
data-hub/geo-profiling-microservice/deployment/
loadbalancer
.yml
→
data-hub/geo-profiling-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
geo-profiling
-endpoint
name
:
geo-profiling
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
data-hub/pareto-trust-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
data-hub/pareto-trust-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
data-hub/pareto-trust-microservice/deployment/
loadbalancer
.yml
→
data-hub/pareto-trust-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
pareto-trust
-endpoint
name
:
pareto-trust
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
data-hub/reputation-calculation-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
data-hub/reputation-calculation-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
data-hub/reputation-calculation-microservice/deployment/
loadbalancer
.yml
→
data-hub/reputation-calculation-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
reputation-calculation
-endpoint
name
:
reputation-calculation
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
data-hub/role-discovery-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
data-hub/role-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
data-hub/role-discovery-microservice/deployment/
loadbalancer
.yml
→
data-hub/role-discovery-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
role-discovery
-endpoint
name
:
role-discovery
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
data-hub/semantic-linking-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
data-hub/semantic-linking-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
data-hub/semantic-linking-microservice/deployment/
loadbalancer
.yml
→
data-hub/semantic-linking-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
semantic-linking
-endpoint
name
:
semantic-linking
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
data-hub/stage-discovery-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
data-hub/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
data-hub/stage-discovery-microservice/deployment/
loadbalancer
.yml
→
data-hub/stage-discovery-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
stage-discovery
-endpoint
name
:
stage-discovery
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
deploy.py
View file @
cc35cc82
...
@@ -10,5 +10,5 @@ for r, _, f in os.walk('./'):
...
@@ -10,5 +10,5 @@ for r, _, f in os.walk('./'):
for
path
in
paths
:
for
path
in
paths
:
os
.
system
(
f
"kubectl apply -f {path}deployment.yml"
)
os
.
system
(
f
"kubectl apply -f {path}deployment.yml"
)
os
.
system
(
f
"kubectl apply -f {path}
loadbalancer
.yml"
)
os
.
system
(
f
"kubectl apply -f {path}
service
.yml"
)
message-broker/deployment/
loadbalancer
.yml
→
message-broker/deployment/
service
.yml
View file @
cc35cc82
File moved
transaction-hub-in/network-metrics-retrieval-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
transaction-hub-in/network-metrics-retrieval-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
transaction-hub-in/network-metrics-retrieval-microservice/deployment/
loadbalancer
.yml
→
transaction-hub-in/network-metrics-retrieval-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
network-metrics-retrieval
-endpoint
name
:
network-metrics-retrieval
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
transaction-hub-in/trace-retrieval-microservice/app/main.py
View file @
cc35cc82
# add modules folder to interpreter path
import
sys
import
sys
sys
.
path
.
insert
(
1
,
'../../../modules/'
)
import
os
modules_path
=
'../../../modules/'
if
os
.
path
.
exists
(
modules_path
):
sys
.
path
.
insert
(
1
,
modules_path
)
# init logging to file
import
logging
import
logging
LOG_FORMAT
=
(
'
%(levelname) -5
s
%(asctime)
s
%(name)
s:
%(funcName) -35
s
%(lineno) -5
d:
%(message)
s'
)
LOG_FORMAT
=
(
'
%(levelname) -5
s
%(asctime)
s
%(name)
s:
%(funcName) -35
s
%(lineno) -5
d:
%(message)
s'
)
logging
.
basicConfig
(
filename
=
'trace-retrieval.log'
,
level
=
logging
.
WARNING
,
format
=
LOG_FORMAT
)
logging
.
basicConfig
(
filename
=
'trace-retrieval.log'
,
level
=
logging
.
WARNING
,
format
=
LOG_FORMAT
)
...
...
transaction-hub-in/trace-retrieval-microservice/deployment/
loadbalancer
.yml
→
transaction-hub-in/trace-retrieval-microservice/deployment/
service
.yml
View file @
cc35cc82
File moved
transaction-hub-out/event-detection-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
transaction-hub-out/event-detection-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
transaction-hub-out/event-detection-microservice/deployment/
loadbalancer
.yml
→
transaction-hub-out/event-detection-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
event-detection
-endpoint
name
:
event-detection
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
transaction-hub-out/smart-matching-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
transaction-hub-out/smart-matching-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
transaction-hub-out/smart-matching-microservice/deployment/
loadbalancer
.yml
→
transaction-hub-out/smart-matching-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
smart-matching
-endpoint
name
:
smart-matching
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
transaction-hub-out/tokenized-decision-making-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
transaction-hub-out/tokenized-decision-making-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
transaction-hub-out/tokenized-decision-making-microservice/deployment/
loadbalancer
.yml
→
transaction-hub-out/tokenized-decision-making-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
tokenized-decision-making
-endpoint
name
:
tokenized-decision-making
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
transaction-hub-out/trust-sla-microservice/Dockerfile
View file @
cc35cc82
...
@@ -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
app/ /app/
COPY
transaction-hub-out/trust-sla-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
transaction-hub-out/trust-sla-microservice/deployment/
loadbalancer
.yml
→
transaction-hub-out/trust-sla-microservice/deployment/
service
.yml
View file @
cc35cc82
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
trust-sla
-endpoint
name
:
trust-sla
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
...
...
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