Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
order-management-backend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ascend
order-management-backend
Commits
34ba0b58
Commit
34ba0b58
authored
May 13, 2021
by
earndt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kafka deployment test
parent
3780ad8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
deployment.yaml
deployment.yaml
+8
-2
application.properties
src/main/resources/application.properties
+5
-3
No files found.
deployment.yaml
View file @
34ba0b58
...
@@ -17,12 +17,18 @@ spec:
...
@@ -17,12 +17,18 @@ spec:
image
:
nexus.mynisum.com/afp-order-management-backend:7
image
:
nexus.mynisum.com/afp-order-management-backend:7
imagePullPolicy
:
Always
imagePullPolicy
:
Always
ports
:
ports
:
-
containerPort
:
808
0
-
containerPort
:
808
6
env
:
env
:
-
name
:
PORT
-
name
:
PORT
value
:
"
8080"
value
:
"
8080"
-
name
:
MONGOCONNECTION
valueFrom
:
secretKeyRef
:
name
:
mongodb-secret
key
:
spring.data.mongodb.uri
imagePullSecrets
:
imagePullSecrets
:
-
name
:
registry-creds
-
name
:
registry-creds
---
---
apiVersion
:
v1
apiVersion
:
v1
kind
:
Service
kind
:
Service
...
@@ -31,7 +37,7 @@ metadata:
...
@@ -31,7 +37,7 @@ metadata:
spec
:
spec
:
type
:
LoadBalancer
type
:
LoadBalancer
ports
:
ports
:
-
port
:
808
0
-
port
:
808
6
targetPort
:
8080
targetPort
:
8080
selector
:
selector
:
app
:
afp-order-management-backend
app
:
afp-order-management-backend
\ No newline at end of file
src/main/resources/application.properties
View file @
34ba0b58
spring.data.mongodb.uri
=
mongodb+srv://user:password2021@cluster0.g23rm.mongodb.net/myFirstDatabase?
spring.data.mongodb.uri
=
${MONGOCONNECTION}
kafka.producer.bootstrap-servers
=
localhost:9092
spring.data.mongodb.database
=
order_management
kafka.producer.bootstrap-servers
=
10.0.150.130:9091
kafka.producer.acks
=
all
kafka.producer.acks
=
all
kafka.consumer.bootstrap-servers
=
localhost:9092
kafka.consumer.bootstrap-servers
=
10.0.150.130:9091
kafka.consumer.group-id
=
group_id
kafka.consumer.group-id
=
group_id
kafka.topic.input
=
WMOS_ORDER_UPDATE
kafka.topic.input
=
WMOS_ORDER_UPDATE
...
...
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