BAEL-21730: Migrate r2dbc to com.baeldung
This commit is contained in:
parent
ee06ac88bd
commit
5f9f5dd922
|
@ -3,7 +3,7 @@
|
|||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.baeldung.examples.r2dbc</groupId>
|
||||
<groupId>com.baeldung.examples.r2dbc</groupId>
|
||||
<artifactId>r2dbc-example</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>r2dbc-example</name>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.examples.r2dbc;
|
||||
package com.baeldung.examples.r2dbc;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
|
@ -1,12 +1,8 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.baeldung.examples.r2dbc;
|
||||
package com.baeldung.examples.r2dbc;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
@ -15,8 +11,6 @@ import org.springframework.web.bind.annotation.PostMapping;
|
|||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import io.r2dbc.spi.Connection;
|
||||
import io.r2dbc.spi.ConnectionFactory;
|
||||
import reactor.core.publisher.Flux;
|
||||
import reactor.core.publisher.Mono;
|
||||
|
|
@ -1,16 +1,14 @@
|
|||
package org.baeldung.examples.r2dbc;
|
||||
package com.baeldung.examples.r2dbc;
|
||||
|
||||
import org.springframework.boot.CommandLineRunner;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
import io.netty.util.internal.StringUtil;
|
||||
import io.r2dbc.spi.ConnectionFactories;
|
||||
import io.r2dbc.spi.ConnectionFactory;
|
||||
import io.r2dbc.spi.ConnectionFactoryOptions;
|
||||
import io.r2dbc.spi.ConnectionFactoryOptions.Builder;
|
||||
import io.r2dbc.spi.Option;
|
||||
import reactor.core.publisher.Flux;
|
||||
|
||||
import static io.r2dbc.spi.ConnectionFactoryOptions.*;
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.examples.r2dbc;
|
||||
package com.baeldung.examples.r2dbc;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.examples.r2dbc;
|
||||
package com.baeldung.examples.r2dbc;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
@ -1,9 +1,7 @@
|
|||
package org.baeldung.examples.r2dbc;
|
||||
package com.baeldung.examples.r2dbc;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import io.r2dbc.spi.Connection;
|
|
@ -1,5 +1,5 @@
|
|||
{"properties": [{
|
||||
"name": "r2dbc",
|
||||
"type": "org.baeldung.examples.r2dbc.R2DBCConfigurationProperties",
|
||||
"type": "com.baeldung.examples.r2dbc.R2DBCConfigurationProperties",
|
||||
"description": "R2DBC Connection properties"
|
||||
}]}
|
|
@ -1,19 +1,15 @@
|
|||
package org.baeldung.examples.r2dbc;
|
||||
package com.baeldung.examples.r2dbc;
|
||||
|
||||
import static org.hamcrest.CoreMatchers.*;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.hamcrest.core.IsNull;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.CommandLineRunner;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
import org.springframework.test.web.reactive.server.WebTestClient;
|
Loading…
Reference in New Issue