|
69 | 69 | import org.springframework.cloud.dataflow.rest.client.AppRegistryOperations;
|
70 | 70 | import org.springframework.cloud.dataflow.rest.client.DataFlowClientException;
|
71 | 71 | import org.springframework.cloud.dataflow.rest.client.DataFlowTemplate;
|
| 72 | +import org.springframework.cloud.dataflow.rest.client.config.DataFlowClientProperties; |
72 | 73 | import org.springframework.cloud.dataflow.rest.client.dsl.DeploymentPropertiesBuilder;
|
73 | 74 | import org.springframework.cloud.dataflow.rest.client.dsl.Stream;
|
74 | 75 | import org.springframework.cloud.dataflow.rest.client.dsl.StreamApplication;
|
@@ -203,6 +204,9 @@ public class DataFlowIT {
|
203 | 204 | @Autowired
|
204 | 205 | protected RuntimeApplicationHelper runtimeApps;
|
205 | 206 |
|
| 207 | + @Autowired |
| 208 | + protected DataFlowClientProperties dataFlowClientProperties; |
| 209 | + |
206 | 210 | /**
|
207 | 211 | * Folder that collects the external docker-compose YAML files such as coming from
|
208 | 212 | * external classpath, http/https or file locations. Note: Needs to be static, because as
|
@@ -839,7 +843,7 @@ public void dataflowTaskLauncherSink() {
|
839 | 843 | try (Stream stream = Stream.builder(dataFlowOperations).name("tasklauncher-test")
|
840 | 844 | .definition("http | " + dataflowTaskLauncherAppName
|
841 | 845 | + " --trigger.initialDelay=100 --trigger.maxPeriod=1000 " +
|
842 |
| - "--spring.cloud.dataflow.client.serverUri=http://dataflow-server:9393") |
| 846 | + "--spring.cloud.dataflow.client.serverUri=" + dataFlowClientProperties.getServerUri()) |
843 | 847 | .create()
|
844 | 848 | .deploy(testDeploymentProperties())) {
|
845 | 849 |
|
@@ -1049,9 +1053,9 @@ protected StreamApplication app(String appName) {
|
1049 | 1053 |
|
1050 | 1054 | public static final int EXIT_CODE_ERROR = 1;
|
1051 | 1055 |
|
1052 |
| - public static final String TEST_VERSION_NUMBER = "2.1.0.RELEASE"; |
| 1056 | + public static final String TEST_VERSION_NUMBER = "2.0.2"; |
1053 | 1057 |
|
1054 |
| - public static final String CURRENT_VERSION_NUMBER = "2.1.1.RELEASE"; |
| 1058 | + public static final String CURRENT_VERSION_NUMBER = "2.0.1"; |
1055 | 1059 |
|
1056 | 1060 | private List<String> composedTaskLaunchArguments(String... additionalArguments) {
|
1057 | 1061 | // the dataflow-server-use-user-access-token=true argument is required COMPOSED tasks in
|
|
0 commit comments