Files
spring-cloud-dataflow-samples/dataflow-template-example
Spring Operator 4876279a01 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://my-token.com (200) with 1 occurrences could not be migrated:
   ([https](https://my-token.com) result ConnectTimeoutException).
* [ ] http://xslthl.sf.net (301) with 4 occurrences could not be migrated:
   ([https](https://xslthl.sf.net) result AnnotatedConnectException).
* [ ] http://exslt.org/common (404) with 1 occurrences could not be migrated:
   ([https](https://exslt.org/common) result SSLHandshakeException).
* [ ] http://data-flow-server-dpvuo77-stocks-http.apps.scdf-gcp.springapps.io/ (502) with 1 occurrences could not be migrated:
   ([https](https://data-flow-server-dpvuo77-stocks-http.apps.scdf-gcp.springapps.io/) result SSLHandshakeException).

These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://192.168.64.1:23057 (ConnectTimeoutException) with 1 occurrences migrated to:
  https://192.168.64.1:23057 ([https](https://192.168.64.1:23057) result ConnectTimeoutException).
* [ ] http://192.168.64.1:60081 (ConnectTimeoutException) with 1 occurrences migrated to:
  https://192.168.64.1:60081 ([https](https://192.168.64.1:60081) result ConnectTimeoutException).
* [ ] http://dataflow-server.local.pcfdev.io (ConnectTimeoutException) with 1 occurrences migrated to:
  https://dataflow-server.local.pcfdev.io ([https](https://dataflow-server.local.pcfdev.io) result ConnectTimeoutException).
* [ ] http://www.w3.org/2000/09/xmldsig (ReadTimeoutException) with 2 occurrences migrated to:
  https://www.w3.org/2000/09/xmldsig ([https](https://www.w3.org/2000/09/xmldsig) result SSLException).
* [ ] http://.../pulse (UnknownHostException) with 3 occurrences migrated to:
  https://.../pulse ([https](https://.../pulse) result UnknownHostException).
* [ ] http://cassandrastream-http.app.io (UnknownHostException) with 1 occurrences migrated to:
  https://cassandrastream-http.app.io ([https](https://cassandrastream-http.app.io) result UnknownHostException).
* [ ] http://dataflow-server.app.io (UnknownHostException) with 3 occurrences migrated to:
  https://dataflow-server.app.io ([https](https://dataflow-server.app.io) result UnknownHostException).
* [ ] http://dataflow.local:8080/uaa/check_token (UnknownHostException) with 2 occurrences migrated to:
  https://dataflow.local:8080/uaa/check_token ([https](https://dataflow.local:8080/uaa/check_token) result UnknownHostException).
* [ ] http://dataflow.local:8080/uaa/oauth/authorize (UnknownHostException) with 2 occurrences migrated to:
  https://dataflow.local:8080/uaa/oauth/authorize ([https](https://dataflow.local:8080/uaa/oauth/authorize) result UnknownHostException).
* [ ] http://dataflow.local:8080/uaa/oauth/token (UnknownHostException) with 2 occurrences migrated to:
  https://dataflow.local:8080/uaa/oauth/token ([https](https://dataflow.local:8080/uaa/oauth/token) result UnknownHostException).
* [ ] http://dataflow.local:8080/uaa/userinfo (UnknownHostException) with 2 occurrences migrated to:
  https://dataflow.local:8080/uaa/userinfo ([https](https://dataflow.local:8080/uaa/userinfo) result UnknownHostException).
* [ ] http://link.to/icon.jpg (UnknownHostException) with 1 occurrences migrated to:
  https://link.to/icon.jpg ([https](https://link.to/icon.jpg) result UnknownHostException).
* [ ] http://my-auth.com (UnknownHostException) with 2 occurrences migrated to:
  https://my-auth.com ([https](https://my-auth.com) result UnknownHostException).
* [ ] http://mysqlstream-http.app.io (UnknownHostException) with 2 occurrences migrated to:
  https://mysqlstream-http.app.io ([https](https://mysqlstream-http.app.io) result UnknownHostException).

These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://cassandra.apache.org/ with 1 occurrences migrated to:
  https://cassandra.apache.org/ ([https](https://cassandra.apache.org/) result 200).
* [ ] http://cloud.spring.io/spring-cloud-dataflow/ with 14 occurrences migrated to:
  https://cloud.spring.io/spring-cloud-dataflow/ ([https](https://cloud.spring.io/spring-cloud-dataflow/) result 200).
* [ ] http://cloud.spring.io/spring-cloud-function/ with 1 occurrences migrated to:
  https://cloud.spring.io/spring-cloud-function/ ([https](https://cloud.spring.io/spring-cloud-function/) result 200).
* [ ] http://cloud.spring.io/spring-cloud-task/ with 1 occurrences migrated to:
  https://cloud.spring.io/spring-cloud-task/ ([https](https://cloud.spring.io/spring-cloud-task/) result 200).
* [ ] http://docs.spring.io/spring-cloud-dataflow/docs/2.0.0.BUILD-SNAPSHOT/reference/htmlsingle/ with 8 occurrences migrated to:
  https://docs.spring.io/spring-cloud-dataflow/docs/2.0.0.BUILD-SNAPSHOT/reference/htmlsingle/ ([https](https://docs.spring.io/spring-cloud-dataflow/docs/2.0.0.BUILD-SNAPSHOT/reference/htmlsingle/) result 200).
* [ ] http://docs.spring.io/spring-cloud-dataflow/docs/current/reference/htmlsingle/ with 2 occurrences migrated to:
  https://docs.spring.io/spring-cloud-dataflow/docs/current/reference/htmlsingle/ ([https](https://docs.spring.io/spring-cloud-dataflow/docs/current/reference/htmlsingle/) result 200).
* [ ] http://docs.spring.io/spring-cloud-stream/docs/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-cloud-stream/docs/ ([https](https://docs.spring.io/spring-cloud-stream/docs/) result 200).
* [ ] http://example.com/ with 2 occurrences migrated to:
  https://example.com/ ([https](https://example.com/) result 200).
* [ ] http://geode.apache.org with 1 occurrences migrated to:
  https://geode.apache.org ([https](https://geode.apache.org) result 200).
* [ ] http://geode.apache.org/ with 1 occurrences migrated to:
  https://geode.apache.org/ ([https](https://geode.apache.org/) result 200).
* [ ] http://kafka.apache.org/downloads.html with 5 occurrences migrated to:
  https://kafka.apache.org/downloads.html ([https](https://kafka.apache.org/downloads.html) result 200).
* [ ] http://projects.spring.io/spring-batch/ with 1 occurrences migrated to:
  https://projects.spring.io/spring-batch/ ([https](https://projects.spring.io/spring-batch/) result 200).
* [ ] http://prometheus.io with 3 occurrences migrated to:
  https://prometheus.io ([https](https://prometheus.io) result 200).
* [ ] http://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow/master/spring-cloud-dataflow-docs/src/main/asciidoc/images/micrometer-arch.png with 1 occurrences migrated to:
  https://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow/master/spring-cloud-dataflow-docs/src/main/asciidoc/images/micrometer-arch.png ([https](https://raw.githubusercontent.com/spring-cloud/spring-cloud-dataflow/master/spring-cloud-dataflow-docs/src/main/asciidoc/images/micrometer-arch.png) result 200).
* [ ] http://repo.spring.io/snapshot/org/springframework/cloud/spring-cloud-skipper-server/2.0.0.BUILD-SNAPSHOT/spring-cloud-skipper-server-2.0.0.BUILD-SNAPSHOT.jar with 1 occurrences migrated to:
  https://repo.spring.io/snapshot/org/springframework/cloud/spring-cloud-skipper-server/2.0.0.BUILD-SNAPSHOT/spring-cloud-skipper-server-2.0.0.BUILD-SNAPSHOT.jar ([https](https://repo.spring.io/snapshot/org/springframework/cloud/spring-cloud-skipper-server/2.0.0.BUILD-SNAPSHOT/spring-cloud-skipper-server-2.0.0.BUILD-SNAPSHOT.jar) result 200).
* [ ] http://start.spring.io/ with 1 occurrences migrated to:
  https://start.spring.io/ ([https](https://start.spring.io/) result 200).
* [ ] http://www.mysql.com/ with 1 occurrences migrated to:
  https://www.mysql.com/ ([https](https://www.mysql.com/) result 200).
* [ ] http://bit.ly/Dearborn-GA-task-applications-maven with 1 occurrences migrated to:
  https://bit.ly/Dearborn-GA-task-applications-maven ([https](https://bit.ly/Dearborn-GA-task-applications-maven) result 301).
* [ ] http://bit.ly/Einstein-RC1-stream-applications-rabbit-maven with 1 occurrences migrated to:
  https://bit.ly/Einstein-RC1-stream-applications-rabbit-maven ([https](https://bit.ly/Einstein-RC1-stream-applications-rabbit-maven) result 301).
* [ ] http://dbeaver.jkiss.org/ with 4 occurrences migrated to:
  https://dbeaver.jkiss.org/ ([https](https://dbeaver.jkiss.org/) result 301).
* [ ] http://www.okta.com/k2lw4l5bPODCMIIDBRYZ with 1 occurrences migrated to:
  https://www.okta.com/k2lw4l5bPODCMIIDBRYZ ([https](https://www.okta.com/k2lw4l5bPODCMIIDBRYZ) result 301).
* [ ] http://www.okta.com/k36wkjw6EAEJVZXFFDAU with 1 occurrences migrated to:
  https://www.okta.com/k36wkjw6EAEJVZXFFDAU ([https](https://www.okta.com/k36wkjw6EAEJVZXFFDAU) result 301).
* [ ] http://bit.ly/ with 2 occurrences migrated to:
  https://bit.ly/ ([https](https://bit.ly/) result 302).
* [ ] http://repo.spring.io/libs-milestone with 1 occurrences migrated to:
  https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302).
* [ ] http://repo.spring.io/libs-release with 1 occurrences migrated to:
  https://repo.spring.io/libs-release ([https](https://repo.spring.io/libs-release) result 302).

These URLs were intentionally ignored.

* http://docbook.org/ns/docbook with 4 occurrences
* http://docbook.sourceforge.net/xmlns/l10n/1.0 with 2 occurrences
* http://localhost:3000 with 2 occurrences
* http://localhost:3001 with 1 occurrences
* http://localhost:35357/v2.0/tokens with 1 occurrences
* http://localhost:5000/v3/auth/tokens with 1 occurrences
* http://localhost:7577/login with 1 occurrences
* http://localhost:8080/dashboard with 1 occurrences
* http://localhost:8080/uaa with 4 occurrences
* http://localhost:8080/uaa/approvals with 1 occurrences
* http://localhost:8080/uaa/authenticate with 1 occurrences
* http://localhost:8080/uaa/oauth/authorize with 1 occurrences
* http://localhost:8080/uaa/oauth/token with 3 occurrences
* http://localhost:8081/openam/saml2/jsp/exportmetadata.jsp?entityid=http://localhost:8081/openam with 1 occurrences
* http://localhost:8787 with 3 occurrences
* http://localhost:8888 with 3 occurrences
* http://localhost:9000 with 14 occurrences
* http://localhost:9001 with 23 occurrences
* http://localhost:9090 with 6 occurrences
* http://localhost:9100 with 3 occurrences
* http://localhost:9393 with 4 occurrences
* http://localhost:9393/about with 1 occurrences
* http://localhost:9393/apps with 1 occurrences
* http://localhost:9393/audit-records with 1 occurrences
* http://localhost:9393/completions with 1 occurrences
* http://localhost:9393/dashboard with 2 occurrences
* http://localhost:9393/jobs with 1 occurrences
* http://localhost:9393/login with 1 occurrences
* http://localhost:9393/runtime with 1 occurrences
* http://localhost:9393/runtime/apps with 1 occurrences
* http://localhost:9393/security with 1 occurrences
* http://localhost:9393/streams with 1 occurrences
* http://localhost:9393/tasks with 1 occurrences
* http://localhost:9393/tasks/executions/current with 1 occurrences
* http://localhost:9393/tools with 1 occurrences
* http://localhost:9900 with 1 occurrences
* http://www.w3.org/1999/XSL/Format with 2 occurrences
* http://www.w3.org/1999/XSL/Transform with 6 occurrences
* http://www.w3.org/1999/xlink with 1 occurrences
2019-08-07 12:05:16 +05:30
..
2019-08-07 12:05:16 +05:30
2019-03-18 23:13:31 +05:30
2019-08-07 11:19:05 +05:30

= 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-1.0.0.BUILD-SNAPSHOT.jar`