JAVA-14987 Added missing code and split the code in packages (#13238)
- Split the code in respective packages - Added missing codes
This commit is contained in:
+3
-1
@@ -5,11 +5,13 @@ import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
import com.baeldung.kclkpl.KinesisKPLApplication;
|
||||
|
||||
/**
|
||||
* Manual Test - this test needs correct AWS Access Key and Secret to build the Amazon Kinesis and complete successfully
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = KinesisApplication.class)
|
||||
@SpringBootTest(classes = KinesisKPLApplication.class)
|
||||
public class KinesisApplicationManualTest {
|
||||
@Test
|
||||
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
|
||||
|
||||
+7
-5
@@ -1,6 +1,12 @@
|
||||
# configurations for AWS SDK consumer and producer
|
||||
aws.access.key=my-aws-access-key-goes-here
|
||||
aws.secret.key=my-aws-secret-key-goes-here
|
||||
|
||||
ips.partition.key=ips-partition-key
|
||||
ips.stream=ips-stream
|
||||
ips.shard.id=1
|
||||
|
||||
# configurations for Spring Cloud Stream Kineses Binder consumer and producer
|
||||
cloud.aws.credentials.access-key=my-aws-access-key
|
||||
cloud.aws.credentials.secret-key=my-aws-secret-key
|
||||
cloud.aws.region.static=eu-central-1
|
||||
@@ -11,8 +17,4 @@ spring.cloud.stream.bindings.input.group=live-ips-group
|
||||
spring.cloud.stream.bindings.input.content-type=text/plain
|
||||
|
||||
spring.cloud.stream.bindings.output.destination=myStream
|
||||
spring.cloud.stream.bindings.output.content-type=text/plain
|
||||
|
||||
ips.partition.key=ips-partition-key
|
||||
ips.stream=ips-stream
|
||||
ips.shard.id=1
|
||||
spring.cloud.stream.bindings.output.content-type=text/plain
|
||||
Reference in New Issue
Block a user