From d865b2ee22ab4c90a3ab865b0633fc86e770d729 Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 30 Mar 2021 12:04:36 -0700 Subject: [PATCH] Move Spring Geode Security Sample test class to the example.app.security.tests package. Declare both SBDG security auth and SSL environment post-proccessor enabled properties. --- ...ootGeodeSecurityClientApplicationIntegrationTests.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename spring-geode-samples/boot/security/src/test/java/example/app/security/{ => tests}/BootGeodeSecurityClientApplicationIntegrationTests.java (94%) diff --git a/spring-geode-samples/boot/security/src/test/java/example/app/security/BootGeodeSecurityClientApplicationIntegrationTests.java b/spring-geode-samples/boot/security/src/test/java/example/app/security/tests/BootGeodeSecurityClientApplicationIntegrationTests.java similarity index 94% rename from spring-geode-samples/boot/security/src/test/java/example/app/security/BootGeodeSecurityClientApplicationIntegrationTests.java rename to spring-geode-samples/boot/security/src/test/java/example/app/security/tests/BootGeodeSecurityClientApplicationIntegrationTests.java index b8efa2c4..fc44caf2 100644 --- a/spring-geode-samples/boot/security/src/test/java/example/app/security/BootGeodeSecurityClientApplicationIntegrationTests.java +++ b/spring-geode-samples/boot/security/src/test/java/example/app/security/tests/BootGeodeSecurityClientApplicationIntegrationTests.java @@ -13,7 +13,7 @@ * or implied. See the License for the specific language governing * permissions and limitations under the License. */ -package example.app.security; +package example.app.security.tests; import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat; import static org.junit.jupiter.api.Assertions.assertThrows; @@ -63,8 +63,12 @@ import example.app.security.server.BootGeodeSecurityServerApplication; @RunWith(SpringRunner.class) @SpringBootTest( classes = BootGeodeSecurityClientApplication.class, - properties = "spring.boot.data.gemfire.security.ssl.environment.post-processor.enabled=true" + properties = { + "spring.boot.data.gemfire.security.auth.environment.post-processor.enabled=true", + "spring.boot.data.gemfire.security.ssl.environment.post-processor.enabled=true" + } ) +@SuppressWarnings("unused") public class BootGeodeSecurityClientApplicationIntegrationTests extends ForkingClientServerIntegrationTestsSupport { @BeforeClass