Skip to content

Commit

Permalink
Merge pull request #90 from steadybit/develop
Browse files Browse the repository at this point in the history
release
  • Loading branch information
joshiste authored Dec 20, 2024
2 parents abc61bf + 667437f commit ee2931d
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 48 deletions.
8 changes: 3 additions & 5 deletions bestseller-fashion/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ spring:

management:
metrics:
web:
server:
request:
autotime:
percentiles: 0.95
distribution:
percentiles:
http.server.requests: 0.5, 0.95, 0.99
endpoints:
jmx:
exposure:
Expand Down
3 changes: 1 addition & 2 deletions bestseller-fashion/src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
spring:
datasource:
platform: hsqldb
sql.init.platform: hsqldb

rest:
endpoint:
Expand Down
8 changes: 3 additions & 5 deletions bestseller-toys/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ spring:

management:
metrics:
web:
server:
request:
autotime:
percentiles: 0.95
distribution:
percentiles:
http.server.requests: 0.5, 0.95, 0.99
endpoints:
jmx:
exposure:
Expand Down
3 changes: 1 addition & 2 deletions bestseller-toys/src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
spring:
datasource:
platform: hsqldb
sql.init.platform: hsqldb

rest:
endpoint:
Expand Down
2 changes: 1 addition & 1 deletion charts/steadybit-shopping-demo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: steadybit-shopping-demo
description: Steadybit shopping-demo application Helm chart for Kubernetes.
version: 1.1.6
version: 1.1.7
appVersion: latest
type: application
home: https://www.steadybit.com/
Expand Down
8 changes: 3 additions & 5 deletions checkout/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ spring:

management:
metrics:
web:
server:
request:
autotime:
percentiles: 0.95
distribution:
percentiles:
http.server.requests: 0.5, 0.95, 0.99
endpoints:
jmx:
exposure:
Expand Down
8 changes: 3 additions & 5 deletions gateway/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ management:
circuitbreakers:
enabled: true
metrics:
web:
server:
request:
autotime:
percentiles: 0.95
distribution:
percentiles:
http.server.requests: 0.5, 0.95, 0.99
endpoints:
jmx:
exposure:
Expand Down
8 changes: 3 additions & 5 deletions hot-deals/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ spring:

management:
metrics:
web:
server:
request:
autotime:
percentiles: 0.95
distribution:
percentiles:
http.server.requests: 0.5, 0.95, 0.99
endpoints:
jmx:
exposure:
Expand Down
3 changes: 1 addition & 2 deletions hot-deals/src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
spring:
datasource:
platform: hsqldb
sql.init.platform: hsqldb

rest:
endpoint:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.steadybit.shopping.inventory;

import java.util.concurrent.ThreadLocalRandom;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
Expand All @@ -10,8 +11,8 @@
public class InventoryRestController {

@GetMapping
public boolean isAvailable(@RequestParam(value = "id") String id) {
return Math.random() > 0.005;
public boolean isAvailable(@RequestParam String id) {
return ThreadLocalRandom.current().nextDouble() > 0.005;
}

}
9 changes: 4 additions & 5 deletions inventory-service-mock/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ spring:
jmx:
enabled: true


management:
metrics:
web:
server:
request:
autotime:
percentiles: 0.75
distribution:
percentiles:
http.server.requests: 0.5, 0.95, 0.99
endpoints:
jmx:
exposure:
Expand Down
8 changes: 3 additions & 5 deletions order/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ spring:

management:
metrics:
web:
server:
request:
autotime:
percentiles: 0.95
distribution:
percentiles:
http.server.requests: 0.5, 0.95, 0.99
endpoints:
jmx:
exposure:
Expand Down
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.5</version>
<version>3.3.7</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<modules>
Expand All @@ -34,7 +34,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>21</java.version>
<spring-cloud.version>2023.0.3</spring-cloud.version>
<spring-cloud.version>2023.0.4</spring-cloud.version>
<!--plugins-->
<exec-maven-plugin.version>3.3.0</exec-maven-plugin.version>
<typescript-generator-maven-plugin.version>3.2.1263</typescript-generator-maven-plugin.version>
Expand Down Expand Up @@ -100,7 +100,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<rerunFailingTestsCount>2</rerunFailingTestsCount>
Expand Down
2 changes: 1 addition & 1 deletion shopping-ui/src-gen/ui-api.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* tslint:disable */
/* eslint-disable */
// Generated using typescript-generator version 3.2.1263 on 2024-06-25 19:14:21.
// Generated using typescript-generator version 3.2.1263 on 2024-12-20 08:28:45.

export interface Order {
id: string;
Expand Down

0 comments on commit ee2931d

Please sign in to comment.