-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for Boot 3 and Framework 6 and CLoud 2022.0.0
- Loading branch information
1 parent
a454119
commit e420671
Showing
172 changed files
with
11,377 additions
and
3,338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
root = true | ||
|
||
[*] | ||
insert_final_newline = true | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.java] | ||
indent_style = space | ||
indent_size = 4 | ||
continuation_indent_size = 8 | ||
ij_java_imports_layout = *,|,javax.**,java.**,|,$* | ||
ij_java_class_count_to_use_import_on_demand = 5 | ||
ij_java_names_count_to_use_import_on_demand = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ logs | |
.DS_STORE | ||
out | ||
.vscode/ | ||
tempo-data/ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
java-baseline=8 | ||
indentation-style=spaces |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 5 additions & 6 deletions
11
...eptance/SleuthBreweryAcceptanceTests.java → .../ObservabilityBreweryAcceptanceTests.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...e-tests/src/test/groovy/io/spring/cloud/samples/brewery/acceptance/common/WhatToTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package io.spring.cloud.samples.brewery.acceptance.common; | ||
|
||
public enum WhatToTest { | ||
SLEUTH, ZOOKEEPER, CONSUL, EUREKA, SCS, WAVEFRONT; | ||
ZOOKEEPER, CONSUL, EUREKA, WAVEFRONT; | ||
|
||
public static final String WHAT_TO_TEST_SYSTEM_PROP = "WHAT_TO_TEST"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
createDockerTaskWithPort(9992) | ||
dependencies { | ||
implementation("org.springframework.boot:spring-boot-starter-webflux") | ||
implementation("org.springframework.cloud:spring-cloud-starter-openfeign") | ||
} | ||
implementation project(":common") | ||
implementation "org.springframework.boot:spring-boot-starter-web" | ||
// Why do we need this? | ||
implementation "org.springframework.cloud:spring-cloud-starter-bootstrap" | ||
implementation "org.springframework.cloud:spring-cloud-starter-config" | ||
implementation "org.springframework.cloud:spring-cloud-starter-circuitbreaker-resilience4j" | ||
} | ||
|
||
bootRun { | ||
jvmArgs = systemPropsFromGradle() | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 6 additions & 7 deletions
13
...ng/cloud/samples/brewery/Application.java → ...d/samples/brewery/BrewingApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
package io.spring.cloud.samples.brewery; | ||
|
||
import io.spring.cloud.samples.brewery.common.TestConfiguration; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.cloud.openfeign.EnableFeignClients; | ||
import org.springframework.context.annotation.EnableAspectJAutoProxy; | ||
import org.springframework.context.annotation.Import; | ||
import org.springframework.scheduling.annotation.EnableAsync; | ||
|
||
import io.spring.cloud.samples.brewery.common.TestConfiguration; | ||
|
||
@SpringBootApplication | ||
@EnableAsync | ||
@EnableFeignClients | ||
@Import(TestConfiguration.class) | ||
public class Application { | ||
public class BrewingApplication { | ||
|
||
public static void main(String[] args) { | ||
new SpringApplication(Application.class).run(args); | ||
} | ||
public static void main(String[] args) { | ||
new SpringApplication(BrewingApplication.class).run(args); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
brewing/src/main/java/io/spring/cloud/samples/brewery/aggregating/Collaborators.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package io.spring.cloud.samples.brewery.aggregating; | ||
|
||
class Collaborators { | ||
public static final String PROXY = "proxy"; | ||
public static final String PROXY = "proxy"; | ||
} |
Oops, something went wrong.