Refactor samples
This commit is contained in:
@@ -8,11 +8,11 @@
|
|||||||
<version>2.1.4.RELEASE</version>
|
<version>2.1.4.RELEASE</version>
|
||||||
<relativePath></relativePath>
|
<relativePath></relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>com.example</groupId>
|
<groupId>io.spring.dataflow.sample</groupId>
|
||||||
<artifactId>usage-cost-logger</artifactId>
|
<artifactId>usage-cost-logger</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<name>usage-cost-logger</name>
|
<name>usage-cost-logger</name>
|
||||||
<description>Demo project for Spring Boot</description>
|
<description>Sample project for Spring Cloud Stream Sink</description>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package com.example.demo;
|
package io.spring.dataflow.sample;
|
||||||
|
|
||||||
import com.example.demo.UsageCostLoggerApplication;
|
import io.spring.dataflow.sample.domain.UsageCostDetail;
|
||||||
import com.example.demo.domain.UsageCostDetail;
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.example.demo;
|
package io.spring.dataflow.sample;
|
||||||
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.example.demo.domain;
|
package io.spring.dataflow.sample.domain;
|
||||||
|
|
||||||
public class UsageCostDetail {
|
public class UsageCostDetail {
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.example.demo;
|
package io.spring.dataflow.sample;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
@@ -8,11 +8,11 @@
|
|||||||
<version>2.1.4.RELEASE</version>
|
<version>2.1.4.RELEASE</version>
|
||||||
<relativePath></relativePath>
|
<relativePath></relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>com.example</groupId>
|
<groupId>io.spring.dataflow.sample</groupId>
|
||||||
<artifactId>usage-cost-processor</artifactId>
|
<artifactId>usage-cost-processor</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<name>usage-cost-processor</name>
|
<name>usage-cost-processor</name>
|
||||||
<description>Demo project for Spring Boot</description>
|
<description>Sample project for Spring Cloud Stream Processor</description>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package com.example.demo;
|
package io.spring.dataflow.sample;
|
||||||
|
|
||||||
import com.example.demo.domain.UsageCostDetail;
|
import io.spring.dataflow.sample.domain.UsageCostDetail;
|
||||||
import com.example.demo.domain.UsageDetail;
|
import io.spring.dataflow.sample.domain.UsageDetail;
|
||||||
|
|
||||||
import org.springframework.cloud.stream.annotation.EnableBinding;
|
import org.springframework.cloud.stream.annotation.EnableBinding;
|
||||||
import org.springframework.cloud.stream.annotation.StreamListener;
|
import org.springframework.cloud.stream.annotation.StreamListener;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.example.demo;
|
package io.spring.dataflow.sample;
|
||||||
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.example.demo.domain;
|
package io.spring.dataflow.sample.domain;
|
||||||
|
|
||||||
public class UsageCostDetail {
|
public class UsageCostDetail {
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.example.demo.domain;
|
package io.spring.dataflow.sample.domain;
|
||||||
|
|
||||||
public class UsageDetail {
|
public class UsageDetail {
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.example.demo;
|
package io.spring.dataflow.sample;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
@@ -8,11 +8,11 @@
|
|||||||
<version>2.1.4.RELEASE</version>
|
<version>2.1.4.RELEASE</version>
|
||||||
<relativePath></relativePath>
|
<relativePath></relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>com.example</groupId>
|
<groupId>io.spring.dataflow.sample</groupId>
|
||||||
<artifactId>usage-detail-sender</artifactId>
|
<artifactId>usage-detail-sender</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<name>usage-detail-sender</name>
|
<name>usage-detail-sender</name>
|
||||||
<description>Demo project for Spring Boot</description>
|
<description>Sample project for Spring Cloud Stream Source</description>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
package com.example.demo;
|
package io.spring.dataflow.sample;
|
||||||
|
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
import com.example.demo.domain.UsageDetail;
|
import io.spring.dataflow.sample.domain.UsageDetail;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.cloud.stream.annotation.EnableBinding;
|
import org.springframework.cloud.stream.annotation.EnableBinding;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.example.demo;
|
package io.spring.dataflow.sample;
|
||||||
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.example.demo.domain;
|
package io.spring.dataflow.sample.domain;
|
||||||
|
|
||||||
public class UsageDetail {
|
public class UsageDetail {
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.example.demo;
|
package io.spring.dataflow.sample;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
Reference in New Issue
Block a user