fix: connect overseas lastleg to print service
This commit is contained in:
+8
@@ -72,6 +72,14 @@ class Phase4BrowserApiBoundaryTest {
|
||||
assertTrue(yaml.contains("enabled: ${LASTLEG_SMART_DISPATCH_API_ENABLED:true}"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void overseasLastlegReachesDomesticPrintThroughSharedInfrastructureNetwork() throws Exception {
|
||||
Path composePath = Path.of("deploy/docker-compose.overseas.yml");
|
||||
if (!Files.exists(composePath)) composePath = Path.of("..").resolve(composePath);
|
||||
String compose = Files.readString(composePath);
|
||||
assertTrue(compose.contains("PRINT_SERVICE_URL: ${PRINT_SERVICE_URL:-http://print:9207}"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void smartDispatchOnlyExposesCandidatePreArrangeAndDraftLifecycleEndpoints() {
|
||||
ConditionalOnProperty condition = SmartDispatchController.class.getAnnotation(ConditionalOnProperty.class);
|
||||
|
||||
Reference in New Issue
Block a user