【问题标题】:confusion about Spring Data Flow Server关于 Spring Data Flow Server 的困惑
【发布时间】:2019-08-21 15:41:48
【问题描述】:

我对 Spring Cloud Data Flow Server 部署感到困惑...

我们计划在 cloudfoundry 上运行它,the instructions 说应该下载最终的服务器工件(一个 jar)并部署它。

另一方面,another section in the documentation 描述了一种如何使用一些自定义代码为用户自定义角色配置的方法。但是没有说明如何将服务器嵌入到自定义应用程序中,以便我可以提供我的代码(通过@Bean)。

very old blog post 上,我发现提到了@EnableDataFlowServer,但官方文档中不再描述此注释 - 它仍然有效吗?

也没有办法描述我如何使用除 oauth 之外的任何其他安全性,我真的需要使用 oauth 吗?使用我自己的安全配置,甚至只使用基本身份验证怎么样?

我有点期待与 spring cloud config server 提供相同的灵活性......

【问题讨论】:

    标签: spring-boot spring-cloud-dataflow


    【解决方案1】:

    您可以查看 Spring Cloud Data Flow site,了解如何在 Cloud Foundry 上安装 SCDF。本站中的说明有正确的信息在 CF 上设置 SCDF。

    @EnableDataFlowServer 旨在使用/覆盖现有的 DataFlowServerAutoConfigurationDataFlowControllerAutoConfiguration 自定义 Spring Cloud Data Flow 服务器。不过,这并不是 CF 特有的。

    【讨论】:

    • 我知道@EnableDataFlowServer 不是特定于 CF 的,但我上面问的所有内容都没有在您提到的网站上描述(标准安装除外),例如@EnableDataFlowServer 仍然有效吗?如何嵌入 SCDF 以便可以使用我的自定义安全配置?当我想使用@EnableDataFlowServer 时,如何在本地环境中运行 SCDF?我需要包含哪些依赖项(它在 start.spring.io 上不可用)?有@EnableDataFlowServer的例子吗?...
    • 目前,我没有看到这方面的文档并为此创建了github.com/spring-io/dataflow.spring.io/issues/119。您可以在此处的一项测试中找到其用法示例:github.com/spring-cloud/spring-cloud-dataflow/blob/master/…
    • 嗨,@domi。很抱歉,我们还没有关于这个主题的任何具体文档。我们最近添加了一个sample 来演示如何自定义SCDF-server,并且示例使用@EnableDataFlowServer 模型来扩展默认行为。随意使用它作为参考来进行安全自定义。
    猜你喜欢
    • 2015-05-27
    • 2019-06-03
    • 2019-05-17
    • 2020-03-06
    • 2016-03-16
    • 2013-07-27
    • 1970-01-01
    • 2012-09-20
    • 1970-01-01
    相关资源
    最近更新 更多