Spring Cloud Dataflow Server 如何使用为 Spring 批处理和 Spring 云任务创建的新表(带有自定义前缀)? [英] How can Spring Cloud Dataflow Server use new tables( with custom prefix ) created for Spring batch and Spring cloud task?

查看:24
本文介绍了Spring Cloud Dataflow Server 如何使用为 Spring 批处理和 Spring 云任务创建的新表(带有自定义前缀)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了 spring 云任务表,即 TASK_EXECUTIONTASK_TASK_BATCH 前缀为 MYTASK_ 和 spring 批处理表前缀 MYBATCH_ 在 oracle 数据库中.

I have created spring cloud task tables i.e. TASK_EXECUTION, TASK_TASK_BATCH with prefix as MYTASK_ and spring batch Tables with prefix MYBATCH_ in oracle database.

在同一架构中也有默认表,这些表是自动创建的或由其他团队成员创建的.

There are default tables also there in the same schema which got created automatically or by other team mate.

我已将我的 Oracle 数据库服务绑定到部署在 PCF 上的 SCDF 服务器.

I have bound my Oracle database service to SCDF server deployed on PCF.

如何告诉 Spring Cloud Dataflow 服务器使用以我的前缀创建的表在数据流服务器仪表板上呈现数据?

How can i tell my Spring Cloud Dataflow server to use tables created with my prefix to render data on dataflow server dashboard?

目前,SCDF 仪表板使用带有默认前缀的表来呈现数据.它工作正常.我想使用我的表格来呈现 SCDF 仪表板屏幕.

Currently, SCDF dashboard uses tables with default prefix to render data. It works fine. I want to use my tables to render SCDF dashboard screens.

我正在使用 Dataflowserver version - 1.7.3 并使用 manifest.yml

I am using Dataflowserver version - 1.7.3 and Deployed it on PCF using manifest.yml

推荐答案

目前在 spring-cloud-dataflow 和 spring-cloud-skipper 中,我们使用 flyway 来管理数据库模式,并且无法为表名添加前缀.试图对此提供支持会增加太多的复杂性,我什至不确定是否可行.

Currently in a spring-cloud-dataflow and spring-cloud-skipper we use flyway to manage database schemas and it's not possible to prefix table names. Trying to support for this would add too much complexity and I'm not even sure if it'd be possible.

这篇关于Spring Cloud Dataflow Server 如何使用为 Spring 批处理和 Spring 云任务创建的新表(带有自定义前缀)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆