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
4fe1c07d
Commit
4fe1c07d
authored
Aug 20, 2019
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged deployment files for deployed services
parent
bc1e49e5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
47 deletions
+46
-47
deployment.yml
message-broker/deployment/deployment.yml
+22
-2
service.yml
message-broker/deployment/service.yml
+0
-23
deployment.yml
rest-gateway/deployment/deployment.yml
+18
-3
service.yml
rest-gateway/deployment/service.yml
+0
-18
read-mongo-db.py
tools/read-mongo-db.py
+6
-1
No files found.
message-broker/deployment/deployment.yml
View file @
4fe1c07d
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
rabbit-mq
spec
:
type
:
LoadBalancer
externalIPs
:
-
143.205.173.36
selector
:
app
:
rabbit-mq
ports
:
-
name
:
management
port
:
15672
targetPort
:
15672
nodePort
:
30301
protocol
:
TCP
-
name
:
message-broker
port
:
5672
targetPort
:
5672
nodePort
:
30302
protocol
:
TCP
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
rabbit-mq
spec
:
replicas
:
1
selector
:
...
...
message-broker/deployment/service.yml
deleted
100644 → 0
View file @
bc1e49e5
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
rabbit-mq
spec
:
type
:
LoadBalancer
externalIPs
:
-
143.205.173.36
selector
:
app
:
rabbit-mq
ports
:
-
name
:
management
port
:
15672
targetPort
:
15672
nodePort
:
30301
protocol
:
TCP
-
name
:
message-broker
port
:
5672
targetPort
:
5672
nodePort
:
30302
protocol
:
TCP
\ No newline at end of file
rest-gateway/deployment/deployment.yml
View file @
4fe1c07d
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
rest-gateway
spec
:
type
:
LoadBalancer
externalIPs
:
-
143.205.173.36
selector
:
app
:
rest-gateway
ports
:
-
name
:
http
port
:
80
targetPort
:
5000
nodePort
:
30401
protocol
:
TCP
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
rest-gateway
spec
:
replicas
:
2
replicas
:
1
selector
:
matchLabels
:
app
:
rest-gateway
...
...
rest-gateway/deployment/service.yml
deleted
100644 → 0
View file @
bc1e49e5
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
rest-gateway
spec
:
type
:
LoadBalancer
externalIPs
:
-
143.205.173.36
selector
:
app
:
rest-gateway
ports
:
-
name
:
http
port
:
80
targetPort
:
5000
nodePort
:
30401
protocol
:
TCP
\ No newline at end of file
tools/read-mongo-db.py
View file @
4fe1c07d
...
...
@@ -20,6 +20,11 @@ class MongoRepository:
def
get_traces
(
self
,
selection
:
dict
=
{}):
return
self
.
_collection
.
find
(
selection
)
def
drop_collection
(
self
):
self
.
_collection
.
drop
()
traces
=
MongoRepository
()
.
get_traces
()
for
t
in
traces
:
print
(
str
(
t
))
\ No newline at end of file
print
(
str
(
t
))
# MongoRepository().drop_collection()
\ 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