forked from microservices-patterns/ftgo-application
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from pulnara/dev-pulnara
Warm-up improvements
- Loading branch information
Showing
9 changed files
with
169 additions
and
59 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
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
19 changes: 19 additions & 0 deletions
19
...vice/src/main/java/net/chrisrichardson/ftgo/consumerservice/web/GetConsumersResponse.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package net.chrisrichardson.ftgo.consumerservice.web; | ||
|
||
import java.util.List; | ||
|
||
public class GetConsumersResponse { | ||
private List<GetConsumerResponse> consumers; | ||
|
||
public List<GetConsumerResponse> getConsumers() { | ||
return consumers; | ||
} | ||
|
||
public void setConsumers(List<GetConsumerResponse> consumers) { | ||
this.consumers = consumers; | ||
} | ||
|
||
public GetConsumersResponse(List<GetConsumerResponse> consumers) { | ||
this.consumers = consumers; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...er-service/src/main/java/net/chrisrichardson/ftgo/orderservice/web/GetOrdersResponse.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package net.chrisrichardson.ftgo.orderservice.web; | ||
|
||
import java.util.List; | ||
|
||
public class GetOrdersResponse { | ||
private List<GetOrderResponse> orders; | ||
|
||
public GetOrdersResponse(List<GetOrderResponse> orders) { | ||
this.orders = orders; | ||
} | ||
|
||
public List<GetOrderResponse> getOrders() { | ||
return orders; | ||
} | ||
|
||
public void setOrders(List<GetOrderResponse> orders) { | ||
this.orders = orders; | ||
} | ||
} |
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
19 changes: 19 additions & 0 deletions
19
.../src/main/java/net/chrisrichardson/ftgo/restaurantservice/web/GetRestaurantsResponse.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package net.chrisrichardson.ftgo.restaurantservice.web; | ||
|
||
import java.util.List; | ||
|
||
public class GetRestaurantsResponse { | ||
private List<GetRestaurantResponse> restaurants; | ||
|
||
public GetRestaurantsResponse(List<GetRestaurantResponse> restaurants) { | ||
this.restaurants = restaurants; | ||
} | ||
|
||
public List<GetRestaurantResponse> getRestaurants() { | ||
return restaurants; | ||
} | ||
|
||
public void setRestaurants(List<GetRestaurantResponse> restaurants) { | ||
this.restaurants = restaurants; | ||
} | ||
} |
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