Skip to content

Commit

Permalink
Merge branch '3.1.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjbaxter committed Dec 6, 2024
2 parents 03089b1 + 776ec1e commit e7afe8e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @author wind57
*/
@SpringBootApplication
public class IstioApp {
class IstioApp {

public static void main(String[] args) {
SpringApplication.run(IstioApp.class, args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@
* @author wind57
*/
@RestController
public class IstioController {
class IstioController {

private final Environment environment;

// not used, but just to prove that it is injected
private final IstioClient istioClient;

public IstioController(Environment environment, IstioClient istioClient) {
IstioController(Environment environment, IstioClient istioClient) {
this.environment = environment;
this.istioClient = istioClient;
}

@GetMapping("/profiles")
public List<String> profiles() {
List<String> profiles() {
return Arrays.asList(environment.getActiveProfiles());
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
busybox:1.36.1
istio/istioctl:1.20.5
istio/proxyv2:1.20.5
istio/pilot:1.20.5
istio/istioctl:1.21.6
istio/proxyv2:1.21.6
istio/pilot:1.21.6
confluentinc/cp-kafka:7.2.1
rabbitmq:3-management
wiremock/wiremock:3.4.2

0 comments on commit e7afe8e

Please sign in to comment.