JAVA-117 Standardize spring-boot-modules/spring-boot-client

This commit is contained in:
mikr 2020-04-04 20:40:09 +02:00
parent 487d6b38fc
commit 2d0f2c171b
9 changed files with 12 additions and 11 deletions

View File

@ -1,4 +1,4 @@
package org.baeldung.boot; package com.baeldung.boot;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@ -1,4 +1,4 @@
package org.baeldung.boot.client; package com.baeldung.boot.client;
public class Details { public class Details {

View File

@ -1,4 +1,4 @@
package org.baeldung.boot.client; package com.baeldung.boot.client;
import org.springframework.boot.web.client.RestTemplateBuilder; import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;

View File

@ -1,4 +1,4 @@
package org.baeldung.websocket.client; package com.baeldung.websocket.client;
public class Message { public class Message {

View File

@ -1,4 +1,4 @@
package org.baeldung.websocket.client; package com.baeldung.websocket.client;
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.Logger;

View File

@ -1,4 +1,4 @@
package org.baeldung.websocket.client; package com.baeldung.websocket.client;
import java.util.Scanner; import java.util.Scanner;

View File

@ -1,6 +1,6 @@
package org.baeldung; package com.baeldung;
import org.baeldung.boot.Application; import com.baeldung.boot.Application;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest;

View File

@ -1,10 +1,12 @@
package org.baeldung.boot.client; package com.baeldung.boot.client;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.test.web.client.match.MockRestRequestMatchers.requestTo; import static org.springframework.test.web.client.match.MockRestRequestMatchers.requestTo;
import static org.springframework.test.web.client.response.MockRestResponseCreators.withSuccess; import static org.springframework.test.web.client.response.MockRestResponseCreators.withSuccess;
import org.baeldung.boot.Application; import com.baeldung.boot.Application;
import com.baeldung.boot.client.Details;
import com.baeldung.boot.client.DetailsServiceClient;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;

View File

@ -1,6 +1,5 @@
package com.baeldung.websocket.client; package com.baeldung.websocket.client;
import org.baeldung.websocket.client.MyStompSessionHandler;
import org.junit.Test; import org.junit.Test;
import org.mockito.Mockito; import org.mockito.Mockito;
import org.springframework.messaging.simp.stomp.StompHeaders; import org.springframework.messaging.simp.stomp.StompHeaders;