Commit Graph

1984 Commits

Author SHA1 Message Date
John Blum
56dac6902e Edit README to refer to 1.7.0-M2 release and 1.7.0-SNAPSHOT. 2022-02-28 15:55:11 -08:00
John Blum
fef6f7f7e9 Edit changelog and include 1.7.0-M2 release notes. 2022-02-28 15:54:24 -08:00
John Blum
1a685b432a Edit README to refer to 1.6.4 release and 1.6.5-SNAPSHOT. 2022-02-28 15:53:41 -08:00
John Blum
ec993ff943 Edit changelog and include 1.6.4 release notes. 2022-02-28 15:52:50 -08:00
John Blum
9c03d5a84a Edit README to refer to 1.5.10 release and 1.5.11-SNAPSHOT. 2022-02-28 15:51:38 -08:00
John Blum
9c4cdb3744 Edit changelog and include 1.5.10 release notes. 2022-02-28 15:50:49 -08:00
John Blum
c692920dcd Refactor ci/cleanupArtifacts.sh to clean (remove) the Gradle build/ [and Maven target/] directories. 2022-02-24 19:31:18 -08:00
John Blum
d361a3bbeb Exclude build/ and target/ (output) directories from NoHTTP check. 2022-02-24 19:27:28 -08:00
John Blum
d016e6d480 Edit README and set build status to refer to the Jenkins CI build environment. 2022-02-24 19:00:13 -08:00
John Blum
1a86e82b9e Remove YAML configuration file for Travis CI.
SBDG is no longer built with the public Travis CI build infrastructure.
2022-02-24 19:00:09 -08:00
John Blum
c371115672 Fix grammatical errors in README. 2022-02-24 19:00:03 -08:00
John Blum
73e52c0091 Add missing CloudFoundry cf command shell script and Apache Geode GFSH shell script.
These shell scripts are referenced in documentation.

Resolves gh-60.
2022-02-24 18:59:58 -08:00
John Blum
aa037ce747 Fix project source code references referenced in the reference documentation
Resolves gh-60.
2022-02-24 17:53:39 -08:00
John Blum
192133b95e Restructure the Spring Boot for Apache Geode project to mirror Spring Boot's project structure.
Resolves gh-60.
2022-02-24 16:24:03 -08:00
John Blum
0e8e3baeeb Remove unnecessary testImplementation dependencies (e.g. JUnit, Mockito, etc) from Project (module) Gradle build files.
The testImplementation dependencies have been declared in the testDependencies project extension defined in the DependencySetPlugin.

The testDependencies have been (implicitly) added to the Project's testImplementation dependencies inside the DependencySetPlugin.
2022-02-23 15:39:40 -08:00
John Blum
f3c9565e99 Add Javadoc comment about not invoking (externally-defined) Methods inside Groovy/Gradle DSL (Closures).
Additionally:

* Suppress compiler warnings.
* Guard against possibly null Projecct objects passed to isAuthRequired(:Project) method.
2022-02-23 15:21:06 -08:00
John Blum
94fe7bd387 Ensure authentication requirements are evaluated correctly.
Methods defined outside Groovy/Gradle DSL cannot be invoked (called) inside Groovy/Gradle DSL.
2022-02-23 15:15:26 -08:00
Rob Winch
0db8ff3fb8 Ensure repoKey in Artifactory configuration is not null.
Methods cannot be called (invoked) from inside Groovy/Gradle DSL.
2022-02-23 15:12:10 -08:00
John Blum
749f22dd5a Re-instate the PublishLocalPluin.
Use the PublishLocalPlugin to review and verify Project artifacts locally before they are published to a remove repository, such as Artifactory or Maven Central.
2022-02-23 11:37:21 -08:00
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