Spring Cloud数据流应用程序属性在数据流Ui中显示下拉列表

Spring Cloud数据流应用程序属性在数据流Ui中显示下拉列表,spring,spring-cloud,spring-cloud-stream,spring-cloud-dataflow,Spring,Spring Cloud,Spring Cloud Stream,Spring Cloud Dataflow,我想知道如何在这里指定一个属性,这样当我注册我的应用程序时,我可以在SpringCloudDataFlow ui中获得下拉列表。我正在添加我的应用程序的screeshot 这是我的应用程序的属性文件 import java.nio.charset.Charset; import org.springframework.boot.context.properties.ConfigurationProperties; import java.util.*; @ConfigurationPrope

我想知道如何在这里指定一个属性,这样当我注册我的应用程序时,我可以在SpringCloudDataFlow ui中获得下拉列表。我正在添加我的应用程序的screeshot

这是我的应用程序的属性文件

import java.nio.charset.Charset;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.*;

@ConfigurationProperties("filestream")
public class FileStreamProperties {

/* filePath for file stream */
private String filePath;
private List<String> list = new ArrayList<String>().add("option1");
/* delayMillis the delay between checks of the file for new content in milliseconds */
private long delayMillis = 1000;

private long bufferSize = 4096;
private Charset charset = Charset.defaultCharset();


public String getFilePath() {
    return filePath;
}

public void setFilePath(String filePath) {
    this.filePath = filePath;
}

public long getDelayMillis() {
    return delayMillis;
}

public void setDelayMillis(long delayMillis) {
    this.delayMillis = delayMillis;
}

public long getBufferSize() {
    return bufferSize;
}

public void setBufferSize(long bufferSize) {
    this.bufferSize = bufferSize;
}

public Charset getCharset() {
    return charset;
}

public void setCharset(Charset charset) {
    this.charset = charset;
}
import java.nio.charset.charset;
导入org.springframework.boot.context.properties.ConfigurationProperties;
导入java.util.*;
@配置属性(“文件流”)
公共类filestreamproperty{
/*文件流的文件路径*/
私有字符串文件路径;
private List=new ArrayList().add(“option1”);
/*DelayMilli检查文件中的新内容之间的延迟(毫秒)*/
专用长延迟毫秒=1000;
专用长缓冲区大小=4096;
private Charset Charset=Charset.defaultCharset();
公共字符串getFilePath(){
返回文件路径;
}
public void setFilePath(字符串filePath){
this.filePath=filePath;
}
公共长getDelayMillis(){
返回延迟毫秒;
}
公共无效设置延迟毫秒(长延迟毫秒){
this.delayMillis=delayMillis;
}
公共长getBufferSize(){
返回缓冲区大小;
}
公共空间setBufferSize(长缓冲区大小){
this.bufferSize=bufferSize;
}
公共字符集getCharset(){
返回字符集;
}
公共无效字符集(字符集字符集){
this.charset=charset;
}

}

除了
scrtitable transform
处理器外,我们不支持OOTB下拉列表-UI中有专门针对这一点的硬编码。同样有趣的是,在屏幕截图中有一个部分呈现的UI片段。如果你能澄清你做了什么,我们可以从那里开始。您还可以共享自定义应用程序的GH repo吗?也许你也可以为这个项目做出贡献。嗨,除了这个问题,我想问你,有没有办法使用数据库实现用户身份验证?