This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
src/test/java/org/springframework/cloud/dataflow/acceptance/test Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 76
76
import org .springframework .cloud .dataflow .rest .client .dsl .StreamDefinition ;
77
77
import org .springframework .cloud .dataflow .rest .client .dsl .task .Task ;
78
78
import org .springframework .cloud .dataflow .rest .client .dsl .task .TaskBuilder ;
79
+ import org .springframework .cloud .dataflow .rest .client .support .VersionUtils ;
79
80
import org .springframework .cloud .dataflow .rest .resource .DetailedAppRegistrationResource ;
80
81
import org .springframework .cloud .dataflow .rest .resource .JobExecutionThinResource ;
81
82
import org .springframework .cloud .dataflow .rest .resource .LaunchResponseResource ;
@@ -3673,6 +3674,21 @@ public void streamWithConfigServer() {
3673
3674
}
3674
3675
}
3675
3676
3677
+ @ Test
3678
+ @ Tag ("smoke" )
3679
+ void checkEndpoints () {
3680
+ AboutResource aboutResource = dataFlowOperations .aboutOperation ().get ();
3681
+ assertThat (aboutResource ).isNotNull ();
3682
+ logger .info ("authenticated:{}" , aboutResource .getSecurityInfo ().isAuthenticated ());
3683
+ logger .info ("testing:tasks/executions" );
3684
+ assertThat (dataFlowOperations .taskOperations ().executionList ()).isNotNull ();
3685
+ String version = aboutResource .getVersionInfo ().getCore ().getVersion ();
3686
+ if (VersionUtils .isDataFlowServerVersionGreaterThanOrEqualToRequiredVersion (VersionUtils .getThreePartVersion (version ), "2.11.3" )) {
3687
+ logger .info ("testing:tasks/thinexecutions" );
3688
+ assertThat (dataFlowOperations .taskOperations ().thinExecutionList ()).isNotNull ();
3689
+ }
3690
+ // TODO add new endpoints
3691
+ }
3676
3692
@ Test
3677
3693
@ Tag ("groupF" )
3678
3694
void willFail () {
You can’t perform that action at this time.
0 commit comments