techpro
techpro

Reputation: 71

CORS Spring Cloud Data Flow

How to enable CORS in spring cloud dataflow to make it api accessible from external web app like angular?

enter image description here

Upvotes: 0

Views: 124

Answers (1)

Ilayaperumal Gopinathan
Ilayaperumal Gopinathan

Reputation: 4179

Cross Origin Resource Sharing is not supported out of the box in SCDF. But, Spring Cloud Data Flow server application is a Spring Boot app and can be customized and extended.

You could add global CORS configuration to SCDF custom application. For information on how to do this, you can refer to Spring Boot documentation.

You can also check the sample here on how to customize SCDF server application.

Upvotes: 1

Related Questions