org.springframework.cloud.stream.app.test.BinderTestPropertiesInitializer Java Examples
The following examples show how to use
org.springframework.cloud.stream.app.test.BinderTestPropertiesInitializer.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SftpSourceTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public static BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("username", "foo"); return new BinderTestPropertiesInitializer(context, properties); }
Example #2
Source File: RabbitSourceTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public static BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("queues", "foo"); return new BinderTestPropertiesInitializer(context, properties); }
Example #3
Source File: RabbitSinkTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public static BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("routingKey", "foo"); return new BinderTestPropertiesInitializer(context, properties); }
Example #4
Source File: LoadGeneratorSourceTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public static BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("messageCount", 0); return new BinderTestPropertiesInitializer(context, properties); }
Example #5
Source File: PmmlProcessorTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("modelLocation", "classpath:pmml/iris-flower-classification-naive-bayes-1.pmml.xml"); return new BinderTestPropertiesInitializer(context, properties); }
Example #6
Source File: JmsSourceTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public static BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("destination", "foo"); return new BinderTestPropertiesInitializer(context, properties); }
Example #7
Source File: HttpClientProcessorTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("url", "http://localhost:8080/foo"); return new BinderTestPropertiesInitializer(context, properties); }
Example #8
Source File: RedisSinkTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("key", "foo"); return new BinderTestPropertiesInitializer(context, properties); }
Example #9
Source File: JdbcSourceTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public static BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("query", "foo"); return new BinderTestPropertiesInitializer(context, properties); }
Example #10
Source File: TensorflowProcessorTestConfiguration.java From tensorflow-spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("modelLocation", "classpath:tensorflow/model/linear_regression_graph.proto"); properties.put("outputName", "add"); return new BinderTestPropertiesInitializer(context, properties); }
Example #11
Source File: SftpSinkTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public static BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("username", "foo"); return new BinderTestPropertiesInitializer(context, properties); }
Example #12
Source File: FtpSourceTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public static BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("username", "foo"); properties.put("password", "bar"); return new BinderTestPropertiesInitializer(context, properties); }
Example #13
Source File: FtpSinkTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public static BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("username", "foo"); properties.put("password", "bar"); return new BinderTestPropertiesInitializer(context, properties); }
Example #14
Source File: IpSourceTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public static BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("port", 0); return new BinderTestPropertiesInitializer(context, properties); }
Example #15
Source File: IpSinkTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public static BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("host", "localhost"); return new BinderTestPropertiesInitializer(context, properties); }
Example #16
Source File: ScriptableTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("script", "foo"); properties.put("language", "ruby"); return new BinderTestPropertiesInitializer(context, properties); }
Example #17
Source File: FieldValueCounterSinkTestConfiguration.java From spring-cloud-stream-app-starters with Apache License 2.0 | 5 votes |
@Bean public BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("fieldName", "foo"); return new BinderTestPropertiesInitializer(context, properties); }
Example #18
Source File: TensorflowProcessorTestConfiguration.java From tensorflow with Apache License 2.0 | 5 votes |
@Bean public static BinderTestPropertiesInitializer loadProps(ConfigurableApplicationContext context) { // minimal properties for the context to load Properties properties = new Properties(); properties.put("modelLocation", "classpath:tensorflow/model/linear_regression_graph.proto"); properties.put("outputName", "add"); return new BinderTestPropertiesInitializer(context, properties); }