Merging dev to main #107
|
@ -86,6 +86,7 @@ services:
|
|||
- ./:/data/
|
||||
environment:
|
||||
task.list.uri: http://tapas-tasks:8081
|
||||
auction.house.uri: http://tapas-auction-house:8086
|
||||
executor.robot.uri: http://executor-robot:8084
|
||||
executor.computation.uri: http://executor-computation:8085
|
||||
mqtt.broker.uri: tcp://broker.hivemq.com:1883
|
||||
|
|
|
@ -11,10 +11,14 @@ import com.fasterxml.jackson.core.JsonProcessingException;
|
|||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Primary;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import ch.unisg.roster.roster.application.port.out.LaunchAuctionEventPort;
|
||||
import ch.unisg.roster.roster.domain.event.LaunchAuctionEvent;
|
||||
|
||||
@Component
|
||||
@Primary
|
||||
public class LaunchAuctionEventAdapter implements LaunchAuctionEventPort {
|
||||
|
||||
@Value("${auction.house.uri}")
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
server.port=8082
|
||||
executor.robot.uri=http://127.0.0.1:8084
|
||||
executor.computation.uri=http://127.0.0.1:8085
|
||||
auction.house.uri=http://127.0.0.1:8086
|
||||
task.list.uri=http://127.0.0.1:8081
|
||||
mqtt.broker.uri=tcp://localhost:1883
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user