Task/java 16779 (#13211)

* JAVA-16779 Removed kubernetes-spring from the kubernetes-modules

- Removed kubernete-spring from the parent pom of kubernetes-modules
since it is a JDK11 module

* JAVA-16779 Converted KinesisApplicationIntegrationTest to ManualTest

- Converted KinesisApplicationIntegrationTest to ManualTest since it
needs working AWS credentials to work
- Added missing properties
This commit is contained in:
Dhawal Kapil 2022-12-28 00:27:48 +05:30 committed by GitHub
parent 3ab37c4d42
commit 2850dd5de1
3 changed files with 26 additions and 6 deletions

View File

@ -14,4 +14,5 @@ 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.stream=ips-stream
ips.shard.id=1

View File

@ -5,11 +5,14 @@ import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
/**
* 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)
public class KinesisApplicationIntegrationTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
public class KinesisApplicationManualTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
}
}
}

View File

@ -1,2 +1,18 @@
aws.access.key=my-aws-access-key-goes-here
aws.secret.key=my-aws-secret-key-goes-here
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
cloud.aws.stack.auto=false
cloud.aws.stack.auto=false
spring.cloud.stream.bindings.input.destination=live-ips
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