21 lines
759 B
Plaintext
21 lines
759 B
Plaintext
= Data Flow Template Example
|
|
|
|
This example provides an example of using the Spring Cloud Data Flow Template to
|
|
interact with a Spring Cloud Data Flow server programmatically.
|
|
|
|
This examples, will import
|
|
https://cloud.spring.io/spring-cloud-stream-app-starters/[Stream App Starter applications]
|
|
and print the the list of imported application to the console.
|
|
|
|
In order to get everything running we need to setup the following server instances:
|
|
|
|
* Spring Cloud Skipper (secured by OAUTH2, port `7577`)
|
|
* Spring Cloud Data Flow (secured by OAUTH2, port `9393`)
|
|
|
|
== Build + Run
|
|
|
|
Configure the example application in `DataflowTemplateApplication.java`. Then build
|
|
using `$ mvn clean package` and run using
|
|
`$ java -jar target/dataflow-template-2.0.0-SNAPSHOT.jar`
|
|
|