Commit Graph

1965 Commits

Author SHA1 Message Date
John Blum
eeab7c19a6 Refactor RootProjectPlugin to organize build logic in private methods describing the function applied to the build. 2022-02-23 10:47:29 -08:00
John Blum
87cacad589 Refactor Jenkins CI build (Jenkinsfile) to use ci/pipeline.properties to parameterize the build.
* Map and set the 'jenkins' user home directory (/home/jenkins) on the host (Jenkins server / worker node) filesystem to the Docker Container (virtual) filesystem's /tmp/jenkins-home directory.
* Change Docker Container 'inside' environment settings when deploying artifacts and docs to no longer set the '--name' option.
2022-02-23 10:47:07 -08:00
John Blum
0f3945a425 Remove use of temporary directories ('/tmp/geode/*') for bulid artifacts.
The 'gradle.user.home' JVM System property no longer seems valid in Gradle 7.x.
2022-02-23 10:47:07 -08:00
John Blum
cd916995aa Upgrade to Artifactory Gradle Plugin 4.27.1. 2022-02-23 10:47:07 -08:00
John Blum
a7a92f2323 Include Asciidoc documentation into the docs ZIP file. 2022-02-23 10:47:07 -08:00
John Blum
a005407fba Add JVM --add-opens module options for Gradle execution when deploying docs.
Declaring open mnodules will hopefully address this problem in the Jenkins CI build:

10:41:50  > Task :spring-geode-docs:asciidoctor
10:41:50  2022-02-23T18:41:49.599Z [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
10:41:50  Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
2022-02-23 10:44:00 -08:00
John Blum
415e3401cc Refactor how the Maven BOM for the SBDG project is created. 2022-02-17 20:03:28 -08:00
John Blum
6ab57409b8 Refactor and simplify Spring Build Conventions Gradle Plugins.
* Declare CHECKSTYLE_VERSION class member constant in the CheckstylePlugin.
* Remove the PlublishLocalPlugin.
* Replace use of the deprecated JavaPluginConvention with JavaPluginExtension in the JavadocApiPlugin.
* Replace the EclipseWtpPlugin with the EclipsePlugin applied in the AbstractSpringJavaPlugin class.
* Review and fix spelling error in CopyPropertiesPlugin Javadoc.
* Review, refactor and polish the Spring Gradle PropDepsPlugins including PropDepsPlugins for IntelliJ IDEA and Eclipse.
2022-02-17 19:05:12 -08:00
John Blum
75c8e06a02 Declare org.slf4j:jul-over-slf4j SLF4J logging dependency. 2022-02-14 10:27:05 -08:00
John Blum
659250755e Switch Jenkins CI build to build with Java 17.
Use the eclipse-temurin:17.0.1_12-jdk Docker Image.
2022-02-11 18:33:16 -08:00
John Blum
6600bb3f23 Fix project Maven BOM generation.
Specifically, fixed the generation of the Maven POM (BOM) dependencyManagement block.
2022-02-10 21:00:15 -08:00
John Blum
11386a4d52 Edit changelog and add 2.0.0-M1 release notes. 2022-02-10 17:05:56 -08:00
John Blum
4f0623df5f Switch to Testcontainers Maven BOM for dependency management of Testcontainers. 2022-02-10 16:37:58 -08:00
John Blum
92fb33b987 Upgrade to VMware Tanzu GemFire for VMs (Pivotal Cloud Cache) 1.14.3. 2022-02-10 16:37:58 -08:00
John Blum
7de06be6bd Upgrade to Apache Geode 1.14.3. 2022-02-10 16:37:58 -08:00
John Blum
c6f6b568d7 Upgrade to Gradle 7.4. 2022-02-10 16:37:58 -08:00
John Blum
babf7163f2 Update Copyright.
Set year from 2017 to present.
2022-02-10 16:37:58 -08:00
John Blum
448e34acf6 Review and refactor the AbstractSpringConfiguredLogLevelPropertiesIntegrationTests class in the spring-geode-smoke-tests-logging module. 2022-02-10 16:37:57 -08:00
John Blum
eb51bc082c Add SpringBootExtensions class to customize and affect configuration and components created by Spring Boot. 2022-02-10 16:37:57 -08:00
John Blum
2d748475c4 Replace use of java.util.Optional with tenary operator in DelegatingAppender.getAppender() method. 2022-02-10 16:37:57 -08:00
John Blum
39a751b637 Add additional logic around Logback logging provider (system) cleanup. 2022-02-10 16:37:57 -08:00
John Blum
9b6d9f711b Refactor the SpringBootApacheGeodeLocatorApplicationSmokeTests class.
Add test.properties to the application classpath to disable the use of direct (main memory) ByteBuffers in Java NIO.

Use of direct ByteBuffers results in the following Exception:

Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make public java.lang.Object java.nio.DirectByteBuffer.attachment() accessible: module java.base does not "opens java.nio" to unnamed module @2e0fa5d3
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
	at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
	at org.apache.geode.internal.net.BufferPool.getPoolableBuffer(BufferPool.java:343)
	... 69 more
2022-02-10 16:37:57 -08:00
John Blum
d21f994fbd Refactor the PetClinicApplicationSmokeTests class.
Cleanup compiler warnings.

Declare pet references as final.

Edit descriptions for assertion errors.
2022-02-10 16:37:57 -08:00
John Blum
5f9e9e75a6 Switch Java Library declared dependencies that should be exposed in the Java Library (Spring module) API to 'api' scope. 2022-02-10 16:37:57 -08:00
John Blum
43f0565795 Handle duplication during Spring Geode (Asciidoc) documentation generation. 2022-02-10 16:37:57 -08:00
John Blum
1b86a029c9 Upgrade Spring Geode Samples parent Maven POM to Spring Boot 3.0.0-M1 and SBDG 2.0.0-SNAPSHOT. 2022-02-10 16:37:57 -08:00
John Blum
358fd03438 Downgrade to Eclipse Jetty 9.4.39.v20210325.
Add dependency management for Eclipse Jetty using the Jetty Maven BOM.

Eclipse Jetty 9.4.x is the required version for Apache Geode 1.14.x.
2022-02-10 16:37:57 -08:00
John Blum
821144bfcd Annotate tests with Spring Test's @DirtiesContext. 2022-02-10 16:37:57 -08:00
John Blum
09b12ec723 Add additional, commented out Apache Geode configuration (in GemFire Properties).
Edit Javadoc.
2022-02-10 16:37:57 -08:00
John Blum
d118cc2eb8 Remove use of deprecated Apache Geode Pool API.
Remove the configuration of Pool.threadLocalConnections and replace with Pool.subcriptionEnabled configuration.
2022-02-10 16:37:57 -08:00
John Blum
74b58d507b Optimize imports. 2022-02-10 16:37:57 -08:00
John Blum
a1ecc430ee Fix Javadoc to comply with Java 17 Javadoc syntax restrictions. 2022-02-10 16:37:57 -08:00
John Blum
14a3b73add Add test.properties to spring-geode-autoconfigure module to configure Apache Geode behavior (JTA) at (prior to) test runtime / execution. 2022-02-10 16:37:57 -08:00
John Blum
1676b3c06b Upgrade to Spring Test for Apache Geode 1.0.0-M2. 2022-02-10 16:37:57 -08:00
John Blum
4c399330b5 Remove the 'geode.home' System property configuration in Integration Tests.
The 'geode.home' System property configuration was used to resolve the Apache Geode Management (Admin) REST API interface WAR file, which is not resolved the application / test runtime classpath.
2022-02-10 16:37:57 -08:00
John Blum
75b37bbf59 Remove supplied Apache Geode geode-web-1.11.0.war file from spring-geode-autoconfigure module.
The Apache Geode WAR file containing the Web application for the Management (Admin) REST API interface is resolvable from the application / test runtime classpath when the org.apache.geode:geode-web module is on the classpath.

Therefore, the project supplied Apache Geode WAR file is no longer necessary.
2022-02-10 16:37:57 -08:00
John Blum
af928e5f4a Fix failing test in ByteArrayResourceReaderUnitTests.
Due to either the Java 17 upgrade or Mockito 4.2.0 upgrade, it seems it is no longer possible to Spy on the java.io.ByteArrayInputStream class.
2022-02-10 16:37:57 -08:00
John Blum
55ffae046c Replace testRuntime configuration with testRuntimeOnly. 2022-02-10 16:37:57 -08:00
John Blum
dcabde9f13 Add [test] implementation dependency on 'jakarta.persistence:jakarta.persistence-api'.
Correct test source import and use Jakarta EE types (e.g. @jakarta.persistence.Id) rather than Java EE types.
2022-02-10 16:37:49 -08:00
John Blum
17f7e644b7 Edit and fix Javadoc to comply with Java 17, Javadoc syntax. 2022-01-27 18:46:54 -08:00
John Blum
a069263ca5 Replace Java EE 8 with Jakarta EE 9 bits.
Replace all javax package namespace imports with jakarta packages.

Declare the jakarta.annotations:jakarta.annotations-api dependency in the spring-geode-autoconfigure module.
2022-01-27 17:36:33 -08:00
John Blum
ed1aa69a39 Upgrade to Spring Test for Apache Geode 1.0.0-M1. 2022-01-27 17:32:50 -08:00
John Blum
3e4cdde1e5 Upgrade to Spring Session for Apache Geode 3.0.0-M1. 2022-01-27 17:31:23 -08:00
John Blum
3c196a8d34 Upgrade to Spring Session BOM 2022.0.0-M1. 2022-01-27 17:30:25 -08:00
John Blum
bbdfc9874d Upgrade to Spring Data for Apache Geode 3.0.0-M1. 2022-01-27 17:27:32 -08:00
John Blum
792763cd01 Upgrade to Spring Data BOM 2022.0.0-M1 (Turing-M1). 2022-01-27 17:27:07 -08:00
John Blum
10e5f7760e Upgrade to Spring Boot 3.0.0-M1. 2022-01-27 17:20:14 -08:00
John Blum
58301d2dc5 Upgrade to Spring Framework 6.0.0-M2. 2022-01-27 17:18:16 -08:00
John Blum
62d88ff34e Upgrade to FreeFair Lombok Gradle Plugin 6.3.0. 2022-01-27 17:11:15 -08:00
John Blum
678a5646a7 Upgrade to Java 17. 2022-01-27 17:07:56 -08:00