Reputation: 71
How to enable CORS in spring cloud dataflow to make it api accessible from external web app like angular?
Upvotes: 0
Views: 124
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