Commit Graph

1026 Commits

Author SHA1 Message Date
John Blum
095ad5d9cd Upgrade to Spring Session for Apache Geode & Pivotal GemFire 2.3.0.RC1.
Upgrade to Spring Session BOM Dragonfruit-RC2.
2020-04-09 15:10:33 -07:00
John Blum
e9a7c48587 Upgrade to Apache Geode 1.12.0.
Upgrade to Pivotal GemFire 9.10.0 (which is based on Apache Geode 1.12.0).
2020-04-09 14:46:11 -07:00
John Blum
54fba60831 Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.3.0.RC1.
Upgrade to Spring Data Release Train Neumann-RC1.
2020-04-09 14:42:54 -07:00
John Blum
68d0f6e6e9 Upgrade to Spring Boot 2.3.0.M4. 2020-04-09 14:41:19 -07:00
John Blum
c4c91e0955 Upgrade to Gradle 6.3. 2020-04-09 14:36:20 -07:00
John Blum
9b3a77d92f Add block(:Enviroment) method predicated on a Spring Enviornment resolvable property to prevent the Apache Geode Locator (i.e. JVM) from shutting down immediately.
An Apache Geode Locator only creates daemon Threads on startup, which will not prevent the JVM process from falling all the way through and shutting down.
2020-04-09 14:36:20 -07:00
John Blum
7df0a6487e Add Smoke Tests for a Spring Boot configured and bootstrapped Apache Geode Locator application.
Additionally, the Smoke Tests will test and assert the Spring-based Locator is able to connect to an Apache Geode based Locator.
2020-03-30 14:27:20 -07:00
John Blum
f80f414771 Upgrade to Spring Framework 5.2.5.RELEASE. 2020-03-27 14:28:06 -07:00
John Blum
b348b8189d Edit README to refer to 1.2.6.RELEASE and 1.2.7.BUILD-SNAPSHOT reference documentation. 2020-03-27 14:26:12 -07:00
John Blum
603e23f199 Edit changelog and add 1.2.6.RELEASE notes. 2020-03-27 14:25:17 -07:00
John Blum
069ad68016 Add Unit Test demonstrating how to use Mock objects with Spring's Cache Abstraction in a @Cacheable @Service component/bean. 2020-03-20 14:01:28 -07:00
John Blum
23322048c2 Update README to refer to 1.3.0.M3 in reference documentation. 2020-03-20 09:28:34 -07:00
John Blum
1fccf1a5c8 Prepare next development iteration.
Set Spring Boot version to 2.3.0.BUILD-SNAPSHOT.

Set Spring Data for Apache Geode & Pivotal GemFire version to 2.3.0.BUILD-SNAPSHOT.

Set Spring Data Release Train version to Neumann-BUILD-SNAPSHOT.

Set Spring Session for Apache Geode & Pivotal GemFire version to 2.3.0.BUILD-SNAPSHOT.

Set Spring Session BOM version to Dragonfruit-RC1.

Set version to 1.3.0.BUILD-SNAPSHOT.
2020-03-20 09:16:54 -07:00
John Blum
ed5a95054a Release 1.3.0.M3. 2020-03-20 02:58:30 -07:00
John Blum
2282e94762 Edit changelog and add 1.3.0.M3 release notes. 2020-03-20 02:52:26 -07:00
John Blum
1e73565936 Prepare the 1.3.0.M3 release.
Set Spring Framework version to 5.2.4.RELEASE.

Set Spring Boot version to 2.3.0.M3.

Set Spring Data for Apache Geode & Pivotal GemFire version to 2.3.0.M4.

Set Spring Data Release Train version to Neumann-M4.

Set Spring Session for Apache Geode & Pivotal GemFire to 2.3.0.RC1.

Set Spring Session BOM version to Dragonfruit-M2.

Set Spring Test for Apache Geode & Pivotal GemFire version to 0.0.13.RELEASE.
2020-03-20 02:39:52 -07:00
John Blum
619f695a3e Fix SSL auto-configuration when TLS is enabled to properly configure the SSL default context.
Resolves gh-77.
2020-03-20 02:22:31 -07:00
John Blum
8c42646359 Add assertions for instanceof checks on InternalDistributedSystem.
Refactor both instanceof and not instanceof checks.
2020-03-20 02:08:24 -07:00
John Blum
f3e02ef34e Add human readable, formatted JSON, VCAP environment variables file. 2020-03-20 02:06:25 -07:00
John Blum
d90dbf6f7a Use wildcard generic type signature in declaration of the 'VCAP_REQUIRED_PROPERTIES_PREDICATE' Predicate of a parameterized PropertySource type.
Remove unnecessary @SuppressWarnings('all') annotation from iterator() method.
2020-03-18 20:23:04 -07:00
John Blum
f773c19044 Remove unnecessary @SuppressWarnings('all') annotation from deleteKeyStoreFilesInCurrentWorkingDirectory() method. 2020-03-18 20:11:18 -07:00
John Blum
1444a0e394 Upgrade to Mockito 3.3.3. 2020-03-18 14:22:02 -07:00
John Blum
193a857901 Include instructions on how to run the Getting Started Sample, Spring Boot application using Gradle and Maven.
Resolved gh-75.
2020-03-18 14:06:40 -07:00
John Blum
b1e74db29a Add generated Maven POM for the Getting Started Sample.
Resolved gh-75.
2020-03-18 13:29:07 -07:00
John Blum
a3e7a22152 Add generated parent Maven POM for spring-geode-samples module.
Resolves gh-75.
2020-03-18 13:28:40 -07:00
John Blum
9331d4913b Add Gradle build infrastructure code to generate Maven POMs for Samples.
This includes a parent Maven POM template and an example Maven POM template for the Getting Started Sample.

Resolves gh-75.
2020-03-18 13:27:51 -07:00
John Blum
0e5c799f37 Remove explicit, unnecessary include on spring-gemfire-starter-logging.gradle. 2020-03-17 12:48:04 -07:00
John Blum
0a69a3c4e0 Upgrade to Testcontainers 1.13.0. 2020-03-11 00:00:42 -07:00
John Blum
d9f0858a9a Add description of Gradle build file. 2020-03-06 19:03:57 -08:00
John Blum
7318f3c2af Fix broken Guide links referring back to anchors in the index HTML. 2020-03-06 18:59:25 -08:00
John Blum
a631cbdff2 Add commented out configuration to (eventually) generate PDFs for Guides. 2020-03-06 18:25:23 -08:00
John Blum
b72139ac88 Refer to images by location using the 'images-dir' Asciidoc attribute. 2020-03-06 18:25:23 -08:00
John Blum
d6c6582086 Move all Guide images into 'guides/images/'. 2020-03-06 18:10:30 -08:00
John Blum
98b802dd97 Fix broken 'Back to index' link in left nav, table of contents.
Rename 'Back' link to 'Back to Samples'.
2020-03-06 17:41:43 -08:00
John Blum
405114835e Re-arrange the asciidoctor* Gradle build task configurations. 2020-03-06 17:05:11 -08:00
Rob Winch
67a306e0eb Workaround docinfo-footer.html for nested directories.
The default docinfo-footer.html points to a js/ directory. This breaks the reference to JavaScript in nested folders.
To workaround this issue we include a custom docinfo-footer.html that points to '../js'.

See https://github.com/spring-gradle-plugins/spring-build-conventions/issues/80
2020-03-06 17:02:11 -08:00
Rob Winch
a0280fba46 Workaround duplicate adoc files.
guides/*.adoc are copied to guides/*.adoc and ./ when being processed. This breaks links to JavaScript.
To workaround this, we explicitly state which sources we want to process and avoid the copy found in './'.

See https://github.com/spring-gradle-plugins/spring-build-conventions/issues/80
2020-03-06 16:52:56 -08:00
Rob Winch
fb1e56bb92 Ensure Asciidoctor attributes are configured for PDFs too.
In previous versions of the Asciidoctor Gradle Plugin, Asciidoctor was an extension that was read by all Asciidoctor
tasks. This meant that configuring the following impacted all Asciidoctor tasks (including PDF):

asciidoctor {
   attributes ...
}

The latest version of Asciidoctor moved conventions to AsciidoctorJ. The reason for this is there was a task named
'asciidoctor' and a convention named 'asciidoctor' which caused confusion for users on which was being configured.

This commit switches to the new 'asciidoctorj' convention/extension so that attributes are configured for all
Asciidoctor tasks (i.e. both the 'asciidoctor' and 'asciidoctorPdf' tasks).
2020-03-06 16:33:26 -08:00
Rob Winch
3915c3dcc0 Configure asciidoctorPdf for index.adoc.
We only want index.adoc to be processed by asciidoctorPdf so explicitly configure only index.adoc.
2020-03-06 16:33:26 -08:00
Rob Winch
9a7a9b7dad Remove absolute path to stylesheet.
Using an absolute path breaks the css resolution for a few reasons:

a) Locally it is missing because everything is copied into a temporary directory for processing. The temp directory
exists when the HTML is written out, but is removed once processing is done. The output is still referring to
the styles in the temp dir after processing is done.

b) When the HTML is deployed it will refer to the styles on the local directory that the docs were built. When other
users view it on the web server, the dir will not exist.

This commit removes the 'stylesheet' attribute definition to fix this.
2020-03-06 16:33:26 -08:00
Rob Winch
2ad8af578f Fix missing attribute '{apache-geode-docs}'.
The attribute syntax was incorrect and did not have a space after its definition thereby causing the attribute
to not be found.
2020-03-06 16:33:26 -08:00
Rob Winch
08fbdad6c0 Fix possible invalid references.
Guides are processed separately from index.adoc and the includes, so the guides must provide a path to the adoc file
that has the reference.
2020-03-06 16:33:26 -08:00
John Blum
6d2c788021 Move all included adoc files into _includes. 2020-03-06 16:33:26 -08:00
John Blum
6e3a511c38 Define location to stylesheet and JS files as Asciidoc attributes.
Tag guides dir with 'docinfodir'.
2020-03-06 16:33:26 -08:00
John Blum
a9d45b24b4 Define location to the spring.css stylesheet using an absolute path.
Also applied the same approach used in
d8f160c178.

However, this had no effect.
2020-03-06 16:33:26 -08:00
John Blum
52145da1c9 Align Table of Contents (TOC) to the left.
Set TOC level to 2 in Sample Guides.
2020-03-06 16:31:18 -08:00
Rob Winch
e6dbce7925 Customize Gradle Asciidoctor build task to properly identify doc source.
Other Spring Build Conventions based projects assume includes are in _includes but SBDG has includes outside of
_includes. This means we must change the sources to only be 'index.adoc'.

Update docs build to configure every task of type AbstractAsciidoctorTask so that asciidoctorPdf picks up
the custom attributes set and the updated sources.
2020-03-06 16:31:29 -08:00
Rob Winch
9d600cd7c4 Migrate deprecated footnoteref to footnote. 2020-03-06 16:31:18 -08:00
Rob Winch
10d39a4fb4 Upgrade to Spring Build Conventions Gradle Plugin 0.0.31.RELEASE.
0.0.31.RELEASE fixes block switch related issues.

See https://github.com/spring-gradle-plugins/spring-build-conventions/issues/79.
2020-03-06 16:31:18 -08:00
John Blum
9776382472 Update README to refer to 1.2.5.RELEASE and 1.2.6.BUILD-SNAPSHOT versions in reference documentation. 2020-03-04 02:44:57 +01:00