Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions kubernetes/productcatalogue-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ spec:
spec:
containers:
- name: productcatalogue
image: praveensingam1994/productcatalogue:latest
image: durai54/productcatalogue:latest
ports:
- containerPort: 8020
livenessProbe:
httpGet:
path: /healthcheck
port: 8025
port: 8020
initialDelaySeconds: 30
timeoutSeconds: 1
2 changes: 1 addition & 1 deletion kubernetes/shopfront-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
spec:
containers:
- name: shopfront
image: praveensingam1994/shopfront:latest
image: durai54/shopfront:latest
ports:
- containerPort: 8010
livenessProbe:
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/stockmanager-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ spec:
spec:
containers:
- name: stockmanager
image: praveensingam1994/stockmanager:latest
image: durai54/stockmanager:latest
ports:
- containerPort: 8030
livenessProbe:
httpGet:
path: /health
path: /actuator/health
port: 8030
initialDelaySeconds: 30
timeoutSeconds: 1
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// package com.example.springbootmanagementexample;
package uk.co.danielbryant.djshopping.stockmanager;

// import java.util.Date;
// import org.springframework.web.bind.annotation.GetMapping;
// import org.springframework.web.bind.annotation.RestController;
import java.util.Date;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

// @RestController
// public class SimpleRestController {
// @GetMapping("/example")
// public String example() {
// return "Hello User !! " + new Date();
// }
// }
@RestController
public class SimpleRestController {
@GetMapping("/example")
public String example() {
return "Hello User !! " + new Date();
}
}