Skip to content
Snippets Groups Projects
Commit 39e1e1df authored by OZGCloud's avatar OZGCloud
Browse files

Merge remote-tracking branch 'origin/release'

# Conflicts:
#	pom.xml
#	user-manager-interface/pom.xml
#	user-manager-server/pom.xml
parents 3dd24775 f1c891ec
No related branches found
No related tags found
No related merge requests found
...@@ -137,11 +137,14 @@ spec: ...@@ -137,11 +137,14 @@ spec:
- containerPort: 8080 - containerPort: 8080
name: http name: http
protocol: TCP protocol: TCP
- containerPort: 9002
name: metrics
protocol: TCP
readinessProbe: readinessProbe:
failureThreshold: 3 failureThreshold: 3
httpGet: httpGet:
path: /q/health/ready path: /q/health/ready
port: 8080 port: metrics
scheme: HTTP scheme: HTTP
periodSeconds: 10 periodSeconds: 10
successThreshold: 1 successThreshold: 1
...@@ -150,7 +153,7 @@ spec: ...@@ -150,7 +153,7 @@ spec:
failureThreshold: 10 failureThreshold: 10
httpGet: httpGet:
path: /q/health/started path: /q/health/started
port: 8080 port: metrics
scheme: HTTP scheme: HTTP
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 10
...@@ -161,7 +164,7 @@ spec: ...@@ -161,7 +164,7 @@ spec:
failureThreshold: 10 failureThreshold: 10
httpGet: httpGet:
path: /q/health/started path: /q/health/started
port: 8080 port: metrics
scheme: HTTP scheme: HTTP
initialDelaySeconds: 15 initialDelaySeconds: 15
periodSeconds: 5 periodSeconds: 5
......
...@@ -39,6 +39,9 @@ spec: ...@@ -39,6 +39,9 @@ spec:
- name: http - name: http
port: 8080 port: 8080
protocol: TCP protocol: TCP
- name: metrics
port: 9002
protocol: TCP
selector: selector:
{{- include "app.matchLabels" . | indent 4 }} {{- include "app.matchLabels" . | indent 4 }}
component: user-manager component: user-manager
...@@ -36,7 +36,7 @@ metadata: ...@@ -36,7 +36,7 @@ metadata:
spec: spec:
endpoints: endpoints:
- interval: 30s - interval: 30s
targetPort: 8080 targetPort: metrics
path: /q/metrics path: /q/metrics
scheme: http scheme: http
namespaceSelector: namespaceSelector:
......
...@@ -53,7 +53,7 @@ tests: ...@@ -53,7 +53,7 @@ tests:
failureThreshold: 10 failureThreshold: 10
httpGet: httpGet:
path: /q/health/started path: /q/health/started
port: 8080 port: metrics
scheme: HTTP scheme: HTTP
initialDelaySeconds: 15 initialDelaySeconds: 15
periodSeconds: 5 periodSeconds: 5
...@@ -72,7 +72,7 @@ tests: ...@@ -72,7 +72,7 @@ tests:
failureThreshold: 3 failureThreshold: 3
httpGet: httpGet:
path: /q/health/ready path: /q/health/ready
port: 8080 port: metrics
scheme: HTTP scheme: HTTP
periodSeconds: 10 periodSeconds: 10
successThreshold: 1 successThreshold: 1
...@@ -86,7 +86,7 @@ tests: ...@@ -86,7 +86,7 @@ tests:
failureThreshold: 10 failureThreshold: 10
httpGet: httpGet:
path: /q/health/started path: /q/health/started
port: 8080 port: metrics
scheme: HTTP scheme: HTTP
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 10
......
...@@ -71,7 +71,7 @@ tests: ...@@ -71,7 +71,7 @@ tests:
interval: 30s interval: 30s
path: /q/metrics path: /q/metrics
scheme: http scheme: http
targetPort: 8080 targetPort: metrics
- it: namespace selector should contain the namespace - it: namespace selector should contain the namespace
asserts: asserts:
- contains: - contains:
......
...@@ -85,6 +85,16 @@ tests: ...@@ -85,6 +85,16 @@ tests:
protocol: TCP protocol: TCP
count: 1 count: 1
any: true any: true
- it: ports should contain the metrics port
asserts:
- contains:
path: spec.ports
content:
name: metrics
port: 9002
protocol: TCP
count: 1
any: true
- it: selector should contain the component label with the value user-manager - it: selector should contain the component label with the value user-manager
asserts: asserts:
- equal: - equal:
......
...@@ -31,6 +31,9 @@ quarkus: ...@@ -31,6 +31,9 @@ quarkus:
level: INFO level: INFO
mongodb: mongodb:
database: usermanager database: usermanager
management:
enabled: true
port: 9002
grpc: grpc:
server: server:
......
...@@ -15,6 +15,8 @@ quarkus: ...@@ -15,6 +15,8 @@ quarkus:
level: INFO level: INFO
oidc: oidc:
auth-server-url: https://sso.dev.by.ozg-cloud.de/realms/by-kiel-dev auth-server-url: https://sso.dev.by.ozg-cloud.de/realms/by-kiel-dev
management:
test-port: 9003
keycloak: keycloak:
url: http://localhost:8088 url: http://localhost:8088
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment