File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/main/java/com/iexec/blockchain/broker Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 55import io .swagger .v3 .oas .annotations .security .SecurityRequirement ;
66import lombok .extern .slf4j .Slf4j ;
77import org .apache .commons .lang3 .StringUtils ;
8+ import org .springframework .context .annotation .Profile ;
89import org .springframework .http .ResponseEntity ;
910import org .springframework .web .bind .annotation .PostMapping ;
1011import org .springframework .web .bind .annotation .RequestBody ;
1415import static com .iexec .blockchain .swagger .OpenApiConfig .SWAGGER_BASIC_AUTH ;
1516
1617@ Slf4j
18+ @ Profile ("itest" )
1719@ RestController
1820@ RequestMapping ("/broker" )
1921public class BrokerController {
Original file line number Diff line number Diff line change 1616
1717package com .iexec .blockchain .broker ;
1818
19- import com .iexec .blockchain .tool .ChainConfig ;
2019import com .iexec .blockchain .tool .IexecHubService ;
2120import com .iexec .common .sdk .broker .BrokerOrder ;
22- import com .iexec .common .utils .FeignBuilder ;
2321import com .iexec .commons .poco .chain .ChainAccount ;
2422import com .iexec .commons .poco .contract .generated .IexecHubContract ;
2523import com .iexec .commons .poco .order .AppOrder ;
2624import com .iexec .commons .poco .order .DatasetOrder ;
2725import com .iexec .commons .poco .order .RequestOrder ;
2826import com .iexec .commons .poco .order .WorkerpoolOrder ;
2927import com .iexec .commons .poco .utils .BytesUtils ;
30- import feign .Logger ;
3128import lombok .extern .slf4j .Slf4j ;
3229import org .apache .commons .lang3 .StringUtils ;
30+ import org .springframework .context .annotation .Profile ;
3331import org .springframework .stereotype .Service ;
3432import org .web3j .protocol .core .methods .response .TransactionReceipt ;
3533
4240
4341@ Slf4j
4442@ Service
43+ @ Profile ("itest" )
4544public class BrokerService {
4645
4746 private final IexecHubService iexecHubService ;
You can’t perform that action at this time.
0 commit comments