From 1bc6ec6813b98eda8c2b6bf9c6900caeba30c48a Mon Sep 17 00:00:00 2001 From: reynisson Date: Tue, 16 Nov 2021 19:41:56 +0100 Subject: [PATCH 1/2] Small URI fixes --- .../ExternalAuctionStartedEventListenerMqttAdapter.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tapas-auction-house/src/main/java/ch/unisg/tapas/auctionhouse/adapter/in/messaging/mqtt/ExternalAuctionStartedEventListenerMqttAdapter.java b/tapas-auction-house/src/main/java/ch/unisg/tapas/auctionhouse/adapter/in/messaging/mqtt/ExternalAuctionStartedEventListenerMqttAdapter.java index 5e17d96..13374cc 100644 --- a/tapas-auction-house/src/main/java/ch/unisg/tapas/auctionhouse/adapter/in/messaging/mqtt/ExternalAuctionStartedEventListenerMqttAdapter.java +++ b/tapas-auction-house/src/main/java/ch/unisg/tapas/auctionhouse/adapter/in/messaging/mqtt/ExternalAuctionStartedEventListenerMqttAdapter.java @@ -25,11 +25,9 @@ import java.sql.Timestamp; public class ExternalAuctionStartedEventListenerMqttAdapter extends AuctionEventMqttListener{ private static final Logger LOGGER = LogManager.getLogger(ExternalAuctionStartedEventListenerMqttAdapter.class); - @Value("${auction.house.uri}") - String auctionHouseURI; + String auctionHouseURI = "http://tapas-auction-house.86-119-35-40.nip.io/"; - @Value("${tasks.list.uri}") - String taskListURI; + String taskListURI = "http://tapas-tasks.86-119-35-40.nip.io"; @Override public boolean handleEvent(MqttMessage message){ @@ -52,7 +50,7 @@ public class ExternalAuctionStartedEventListenerMqttAdapter extends AuctionEvent var bid = new Bid( new Auction.AuctionId(auctionId), new Bid.BidderName("Group-1"), - new Bid.BidderAuctionHouseUri(URI.create(auctionHouseUri)), + new Bid.BidderAuctionHouseUri(URI.create(auctionHouseURI)), new Bid.BidderTaskListUri(URI.create(taskListURI)) ); From 084270bbb8e0fd9270dc525a0c896ec711187e59 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 16 Nov 2021 19:43:46 +0100 Subject: [PATCH 2/2] env changes --- tapas-auction-house/src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tapas-auction-house/src/main/resources/application.properties b/tapas-auction-house/src/main/resources/application.properties index 7b94a5a..7f8ca02 100644 --- a/tapas-auction-house/src/main/resources/application.properties +++ b/tapas-auction-house/src/main/resources/application.properties @@ -4,7 +4,7 @@ websub.hub=https://websub.appspot.com/ websub.hub.publish=https://websub.appspot.com/ 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 application.environment=development