Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 472cc4b

Browse files
cppwfsjvalkeal
authored andcommitted
Added additional metadata filters for single step job app
The original pass only included the properties for the readers and writers, not the suppporting spring props resolves #4654
1 parent a8f3ea6 commit 472cc4b

File tree

3 files changed

+47
-2
lines changed

3 files changed

+47
-2
lines changed

spring-cloud-dataflow-single-step-batch-job/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,21 @@
107107
<filter>org.springframework.cloud.task.batch.autoconfigure.kafka.KafkaItemWriterProperties</filter>
108108
<filter>org.springframework.cloud.task.batch.autoconfigure.rabbit.AmqpItemReaderProperties</filter>
109109
<filter>org.springframework.cloud.task.batch.autoconfigure.rabbit.AmqpItemWriterProperties</filter>
110+
<filter>org.springframework.boot.autoconfigure.amqp.RabbitProperties</filter>
111+
<filter>org.springframework.boot.autoconfigure.amqp.RabbitProperties$Template</filter>
112+
<filter>org.springframework.boot.autoconfigure.amqp.RabbitProperties$Retry</filter>
113+
<filter>org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry</filter>
114+
<filter>org.springframework.cloud.task.configuration.TaskProperties</filter>
115+
<filter>org.springframework.boot.autoconfigure.kafka.KafkaProperties$Consumer</filter>
116+
<filter>org.springframework.boot.autoconfigure.kafka.KafkaProperties$Producer</filter>
117+
<filter>org.springframework.boot.autoconfigure.kafka.KafkaProperties$Template</filter>
118+
<filter>org.springframework.boot.autoconfigure.kafka.KafkaProperties$Listener</filter>
119+
<filter>org.springframework.boot.autoconfigure.kafka.KafkaProperties$Ssl</filter>
120+
<filter>org.springframework.boot.autoconfigure.kafka.KafkaProperties$Jaas</filter>
121+
<filter>org.springframework.boot.autoconfigure.kafka.KafkaProperties$Security</filter>
122+
<filter>org.springframework.boot.autoconfigure.kafka.KafkaProperties$Cleanup</filter>
123+
<filter>org.springframework.boot.autoconfigure.jdbc.DataSourceProperties</filter>
124+
<filter>org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$Xa</filter>
110125
</sourceTypes>
111126
</metadataFilter>
112127
</configuration>

spring-cloud-dataflow-single-step-batch-job/src/main/resources/META-INF/dataflow-configuration-metadata-whitelist.properties

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,19 @@ configuration-properties.classes=org.springframework.cloud.task.batch.autoconfig
77
org.springframework.cloud.task.batch.autoconfigure.kafka.KafkaItemReaderProperties, \
88
org.springframework.cloud.task.batch.autoconfigure.kafka.KafkaItemWriterProperties, \
99
org.springframework.cloud.task.batch.autoconfigure.rabbit.AmqpItemReaderProperties, \
10-
org.springframework.cloud.task.batch.autoconfigure.rabbit.AmqpItemWriterProperties
10+
org.springframework.cloud.task.batch.autoconfigure.rabbit.AmqpItemWriterProperties, \
11+
org.springframework.boot.autoconfigure.amqp.RabbitProperties, \
12+
org.springframework.boot.autoconfigure.amqp.RabbitProperties$Template, \
13+
org.springframework.boot.autoconfigure.amqp.RabbitProperties$Retry, \
14+
org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry, \
15+
org.springframework.cloud.task.configuration.TaskProperties, \
16+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Consumer, \
17+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Producer, \
18+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Template, \
19+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Listener, \
20+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Ssl, \
21+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Jaas, \
22+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Security, \
23+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Cleanup, \
24+
org.springframework.boot.autoconfigure.jdbc.DataSourceProperties, \
25+
org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$Xa

spring-cloud-dataflow-single-step-batch-job/src/main/resources/META-INF/dataflow-configuration-metadata.properties

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,19 @@ configuration-properties.classes=org.springframework.cloud.task.batch.autoconfig
77
org.springframework.cloud.task.batch.autoconfigure.kafka.KafkaItemReaderProperties, \
88
org.springframework.cloud.task.batch.autoconfigure.kafka.KafkaItemWriterProperties, \
99
org.springframework.cloud.task.batch.autoconfigure.rabbit.AmqpItemReaderProperties, \
10-
org.springframework.cloud.task.batch.autoconfigure.rabbit.AmqpItemWriterProperties
10+
org.springframework.cloud.task.batch.autoconfigure.rabbit.AmqpItemWriterProperties, \
11+
org.springframework.boot.autoconfigure.amqp.RabbitProperties, \
12+
org.springframework.boot.autoconfigure.amqp.RabbitProperties$Template, \
13+
org.springframework.boot.autoconfigure.amqp.RabbitProperties$Retry, \
14+
org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry, \
15+
org.springframework.cloud.task.configuration.TaskProperties, \
16+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Consumer, \
17+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Producer, \
18+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Template, \
19+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Listener, \
20+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Ssl, \
21+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Jaas, \
22+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Security, \
23+
org.springframework.boot.autoconfigure.kafka.KafkaProperties$Cleanup, \
24+
org.springframework.boot.autoconfigure.jdbc.DataSourceProperties, \
25+
org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$Xa

0 commit comments

Comments
 (0)