commit
778535a437
|
@ -25,11 +25,9 @@ import java.sql.Timestamp;
|
||||||
public class ExternalAuctionStartedEventListenerMqttAdapter extends AuctionEventMqttListener{
|
public class ExternalAuctionStartedEventListenerMqttAdapter extends AuctionEventMqttListener{
|
||||||
private static final Logger LOGGER = LogManager.getLogger(ExternalAuctionStartedEventListenerMqttAdapter.class);
|
private static final Logger LOGGER = LogManager.getLogger(ExternalAuctionStartedEventListenerMqttAdapter.class);
|
||||||
|
|
||||||
@Value("${auction.house.uri}")
|
String auctionHouseURI = "http://tapas-auction-house.86-119-35-40.nip.io/";
|
||||||
String auctionHouseURI;
|
|
||||||
|
|
||||||
@Value("${tasks.list.uri}")
|
String taskListURI = "http://tapas-tasks.86-119-35-40.nip.io";
|
||||||
String taskListURI;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean handleEvent(MqttMessage message){
|
public boolean handleEvent(MqttMessage message){
|
||||||
|
@ -52,7 +50,7 @@ public class ExternalAuctionStartedEventListenerMqttAdapter extends AuctionEvent
|
||||||
var bid = new Bid(
|
var bid = new Bid(
|
||||||
new Auction.AuctionId(auctionId),
|
new Auction.AuctionId(auctionId),
|
||||||
new Bid.BidderName("Group-1"),
|
new Bid.BidderName("Group-1"),
|
||||||
new Bid.BidderAuctionHouseUri(URI.create(auctionHouseUri)),
|
new Bid.BidderAuctionHouseUri(URI.create(auctionHouseURI)),
|
||||||
new Bid.BidderTaskListUri(URI.create(taskListURI))
|
new Bid.BidderTaskListUri(URI.create(taskListURI))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ websub.hub=https://websub.appspot.com/
|
||||||
websub.hub.publish=https://websub.appspot.com/
|
websub.hub.publish=https://websub.appspot.com/
|
||||||
|
|
||||||
group=tapas-group-tutors
|
group=tapas-group-tutors
|
||||||
auction.house.uri=https://tapas-auction-house.86-119-34-23.nip.io/
|
auction.house.uri=http://tapas-auction-house.86-119-35-40.nip.io
|
||||||
tasks.list.uri=http://localhost:8081
|
tasks.list.uri=http://localhost:8081
|
||||||
|
|
||||||
application.environment=development
|
application.environment=development
|
||||||
|
|
Loading…
Reference in New Issue
Block a user