Rename packages in samples

This commit is contained in:
Dave Syer 2013-12-09 16:16:59 +00:00 committed by Phillip Webb
parent 332f23a0ee
commit ab4dec58ef
15 changed files with 25 additions and 15 deletions

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops.ui;
package org.springframework.boot.sample.actuator.ui;
import java.util.Date;
import java.util.Map;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops.ui;
package org.springframework.boot.sample.actuator.ui;
import static org.junit.Assert.assertEquals;
@ -29,6 +29,7 @@ import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.sample.actuator.ui.SampleActuatorUiApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops.ui;
package org.springframework.boot.sample.actuator.ui;
import java.io.IOException;
import java.util.Arrays;
@ -28,6 +28,7 @@ import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.sample.actuator.ui.SampleActuatorUiApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops;
package org.springframework.boot.sample.actuator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops;
package org.springframework.boot.sample.actuator;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops;
package org.springframework.boot.sample.actuator;
import java.util.Collections;
import java.util.Map;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops;
package org.springframework.boot.sample.actuator;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops;
package org.springframework.boot.sample.actuator;
import java.io.IOException;
import java.util.ArrayList;
@ -28,6 +28,7 @@ import java.util.concurrent.TimeUnit;
import org.junit.After;
import org.junit.Test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.sample.actuator.SampleActuatorApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.http.HttpRequest;
import org.springframework.http.HttpStatus;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops;
package org.springframework.boot.sample.actuator;
import static org.junit.Assert.assertEquals;
@ -32,6 +32,7 @@ import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.security.SecurityProperties;
import org.springframework.boot.sample.actuator.SampleActuatorApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.http.HttpRequest;
import org.springframework.http.HttpStatus;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops;
package org.springframework.boot.sample.actuator;
import java.io.IOException;
import java.util.Map;
@ -27,6 +27,7 @@ import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.sample.actuator.SampleActuatorApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops;
package org.springframework.boot.sample.actuator;
import java.io.IOException;
import java.util.ArrayList;
@ -30,6 +30,7 @@ import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.security.SecurityProperties;
import org.springframework.boot.sample.actuator.SampleActuatorApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.http.HttpRequest;
import org.springframework.http.HttpStatus;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops;
package org.springframework.boot.sample.actuator;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
@ -36,6 +36,7 @@ import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.security.SecurityProperties;
import org.springframework.boot.sample.actuator.SampleActuatorApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops;
package org.springframework.boot.sample.actuator;
import java.io.IOException;
import java.util.ArrayList;
@ -30,6 +30,7 @@ import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.security.SecurityProperties;
import org.springframework.boot.sample.actuator.SampleActuatorApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.http.HttpRequest;
import org.springframework.http.HttpStatus;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops;
package org.springframework.boot.sample.actuator;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
@ -31,6 +31,7 @@ import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.sample.actuator.SampleActuatorApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.sample.ops;
package org.springframework.boot.sample.actuator;
import java.io.IOException;
import java.util.Map;
@ -27,6 +27,7 @@ import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.sample.actuator.SampleActuatorApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;