Package restructure
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
|
||||
package org.springframework.zero.sample.integration;
|
||||
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.bootstrap.SpringApplication;
|
||||
import org.springframework.bootstrap.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.ImportResource;
|
||||
import org.springframework.zero.SpringApplication;
|
||||
import org.springframework.zero.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.zero.context.properties.EnableConfigurationProperties;
|
||||
|
||||
@Configuration
|
||||
@EnableAutoConfiguration
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
package org.springframework.zero.sample.integration;
|
||||
|
||||
import org.springframework.zero.context.properties.ConfigurationProperties;
|
||||
import org.springframework.bootstrap.context.properties.ConfigurationProperties;
|
||||
|
||||
@ConfigurationProperties(name = "service", ignoreUnknownFields = false)
|
||||
public class ServiceProperties {
|
||||
|
||||
@@ -24,12 +24,12 @@ import java.util.concurrent.TimeUnit;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
import org.springframework.bootstrap.SpringApplication;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.core.io.DefaultResourceLoader;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.core.io.support.ResourcePatternUtils;
|
||||
import org.springframework.util.StreamUtils;
|
||||
import org.springframework.zero.SpringApplication;
|
||||
import org.springframework.zero.sample.integration.SampleIntegrationApplication;
|
||||
import org.springframework.zero.sample.integration.producer.ProducerApplication;
|
||||
|
||||
|
||||
@@ -19,9 +19,9 @@ package org.springframework.zero.sample.integration.producer;
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
|
||||
import org.springframework.bootstrap.CommandLineRunner;
|
||||
import org.springframework.bootstrap.SpringApplication;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.zero.CommandLineRunner;
|
||||
import org.springframework.zero.SpringApplication;
|
||||
|
||||
@Configuration
|
||||
public class ProducerApplication implements CommandLineRunner {
|
||||
|
||||
Reference in New Issue
Block a user