diff --git a/spring-cloud-stream-samples/pom.xml b/spring-cloud-stream-samples/pom.xml index 53c0f3b66..123c86cac 100644 --- a/spring-cloud-stream-samples/pom.xml +++ b/spring-cloud-stream-samples/pom.xml @@ -4,7 +4,7 @@ spring-cloud-stream-samples pom - http://projects.spring.io/spring-xd/ + http://cloud.spring.io/spring-cloud-stream/ Pivotal Software, Inc. http://www.spring.io @@ -22,7 +22,6 @@ source sink transform - tap double extended multibinder diff --git a/spring-cloud-stream-samples/tap/pom.xml b/spring-cloud-stream-samples/tap/pom.xml deleted file mode 100644 index 97476d240..000000000 --- a/spring-cloud-stream-samples/tap/pom.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - 4.0.0 - - spring-cloud-stream-sample-tap - jar - spring-cloud-stream-sample-tap - Demo project for tap module - - - org.springframework.cloud - spring-cloud-stream-samples - 1.0.0.BUILD-SNAPSHOT - - - - demo.TapApplication - - - - - org.springframework.cloud - spring-cloud-stream - - - org.springframework.cloud - spring-cloud-stream-binder-redis - - - org.springframework.boot - spring-boot-configuration-processor - true - - - org.springframework.boot - spring-boot-starter-redis - - - org.springframework.boot - spring-boot-starter-test - test - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - - diff --git a/spring-cloud-stream-samples/tap/src/main/java/demo/TapApplication.java b/spring-cloud-stream-samples/tap/src/main/java/demo/TapApplication.java deleted file mode 100644 index 4e4623085..000000000 --- a/spring-cloud-stream-samples/tap/src/main/java/demo/TapApplication.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2015 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package demo; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; - -@SpringBootApplication -public class TapApplication { - - public static void main(String[] args) { - SpringApplication.run(TapApplication.class, args); - } - -} diff --git a/spring-cloud-stream-samples/tap/src/main/java/demo/TappingLoggingSink.java b/spring-cloud-stream-samples/tap/src/main/java/demo/TappingLoggingSink.java deleted file mode 100644 index aeeaa0fbc..000000000 --- a/spring-cloud-stream-samples/tap/src/main/java/demo/TappingLoggingSink.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2015 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package demo; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.cloud.stream.annotation.EnableBinding; -import org.springframework.cloud.stream.messaging.Sink; -import org.springframework.integration.annotation.ServiceActivator; - -/** - * @author Dave Syer - * @author Marius Bogoevici - */ -@EnableBinding(Sink.class) -public class TappingLoggingSink { - - private static Logger logger = LoggerFactory.getLogger(TappingLoggingSink.class); - - @ServiceActivator(inputChannel = Sink.INPUT) - public void loggerSink(Object payload) { - logger.info("Received: " + payload); - } - -} diff --git a/spring-cloud-stream-samples/tap/src/main/resources/application.yml b/spring-cloud-stream-samples/tap/src/main/resources/application.yml deleted file mode 100644 index 11e54c544..000000000 --- a/spring-cloud-stream-samples/tap/src/main/resources/application.yml +++ /dev/null @@ -1,2 +0,0 @@ -server: - port: 8081 diff --git a/spring-cloud-stream-samples/tap/src/main/resources/bootstrap.yml b/spring-cloud-stream-samples/tap/src/main/resources/bootstrap.yml deleted file mode 100644 index 6f833e659..000000000 --- a/spring-cloud-stream-samples/tap/src/main/resources/bootstrap.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -spring: - cloud: - stream: - group: tocktap - name: logger - index: 0 - tap: - group: testtock - name: ticker - index: 0 - \ No newline at end of file diff --git a/spring-cloud-stream-samples/tap/src/main/resources/config/logger.properties b/spring-cloud-stream-samples/tap/src/main/resources/config/logger.properties deleted file mode 100644 index b13888b25..000000000 --- a/spring-cloud-stream-samples/tap/src/main/resources/config/logger.properties +++ /dev/null @@ -1 +0,0 @@ -base_packages = config \ No newline at end of file diff --git a/spring-cloud-stream-samples/tap/src/test/java/demo/ModuleApplicationTests.java b/spring-cloud-stream-samples/tap/src/test/java/demo/ModuleApplicationTests.java deleted file mode 100644 index ac2c6c83e..000000000 --- a/spring-cloud-stream-samples/tap/src/test/java/demo/ModuleApplicationTests.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2015 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package demo; - -import org.junit.Test; -import org.junit.runner.RunWith; -import org.springframework.test.annotation.DirtiesContext; -import org.springframework.test.context.web.WebAppConfiguration; -import org.springframework.boot.test.SpringApplicationConfiguration; -import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; - -@RunWith(SpringJUnit4ClassRunner.class) -@SpringApplicationConfiguration(classes = TapApplication.class) -@WebAppConfiguration -@DirtiesContext -public class ModuleApplicationTests { - - @Test - public void contextLoads() { - } - -}