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

Merge pull request 'ozg-6665-hotfix' (#124) from ozg-6665-hotfix into release

parents 4dbffaa5 3b53ec0c
Branches
Tags 2.10.1
No related merge requests found
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>de.ozgcloud.user</groupId> <groupId>de.ozgcloud.user</groupId>
<artifactId>user-manager</artifactId> <artifactId>user-manager</artifactId>
<version>2.7.0</version> <version>2.7.1</version>
<name>OZG-Cloud User Manager</name> <name>OZG-Cloud User Manager</name>
<packaging>pom</packaging> <packaging>pom</packaging>
......
...@@ -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:
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<parent> <parent>
<groupId>de.ozgcloud.user</groupId> <groupId>de.ozgcloud.user</groupId>
<artifactId>user-manager</artifactId> <artifactId>user-manager</artifactId>
<version>2.7.0</version> <version>2.7.1</version>
</parent> </parent>
<artifactId>user-manager-interface</artifactId> <artifactId>user-manager-interface</artifactId>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<parent> <parent>
<groupId>de.ozgcloud.user</groupId> <groupId>de.ozgcloud.user</groupId>
<artifactId>user-manager</artifactId> <artifactId>user-manager</artifactId>
<version>2.7.0</version> <version>2.7.1</version>
</parent> </parent>
<artifactId>user-manager-server</artifactId> <artifactId>user-manager-server</artifactId>
......
...@@ -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