Commit Graph

988 Commits

Author SHA1 Message Date
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
John Blum
003a37a2a4 Update README to refer to 1.1.6.RELEASE and 1.1.7.BUILD-SNAPSHOT versions in reference documentation. 2020-03-04 02:44:04 +01:00
John Blum
9054f641c5 Add 1.2.5.RELEASE notes to the changelog. 2020-03-04 02:42:12 +01:00
John Blum
8de9e0c625 Add 1.1.6.RELEASE notes to the changelog. 2020-03-04 02:41:31 +01:00
John Blum
89075a060a Upgrade to Mockito 3.3.0. 2020-03-03 22:31:23 +01:00
John Blum
5e4f520fb9 Fix typo in changelog. 2020-03-03 22:21:09 +01:00
John Blum
a6b1cb0c8f Upgrade to Spring Framework 5.2.5.BUILD-SNAPSHOT. 2020-03-03 22:19:27 +01:00
John Blum
2f4c8055b4 Fix SDG version in SBDG 1.3.0.M2 release notes.
SDG version in SBDG 1.3.0.M2 should be 2.3.0.M3 and not 2.3.0.M2.
2020-02-24 14:25:33 -08:00
John Blum
340ce779c2 Disable Spring Boot's managed dependency version property overrides. 2020-02-23 18:08:41 -08:00
John Blum
4ae8a27392 Re-organize (reorder) the overridden dependency declarations. 2020-02-23 18:07:45 -08:00
John Blum
59dd9c16d8 Upgrade to Byte Buddy 1.10.8. 2020-02-23 18:06:20 -08:00
John Blum
cc9d6d9673 Update SBDG 1.3.x version to 1.3.0.M2 in Reference Documentation.
Fix reference to Javadoc API in the 1.3.x non-BUILD-SNAPSHOT version (e.g. 1.3.0.M2).
2020-02-23 16:51:05 -08:00
John Blum
0b899a848d Prepare next development iteration.
Set Spring Framework version to 5.2.4.BUILD-SNAPSHOT.

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 2.3.0.BUILD-SNAPSHOT.

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

Set Spring Session BOM version to Dragonfruit-BUILD-SNAPSHOT.

Set version to 1.3.0.BUILD-SNAPSHOT.
2020-02-23 16:26:07 -08:00
John Blum
8148de8deb Release 1.3.0.M2. 2020-02-23 00:05:44 -08:00
John Blum
6edec8cb4c Prepare the 1.3.0.M2 release.
Set Spring Framework version to 5.2.3.RELEASE.

Upgrade to Spring Boot 2.3.0.M2.

Upgrade to Spring Data for Apache Geode & Pivotal GemFire 2.3.0.M3.

Upgrade to Spring Data Release Train Neumann-M3.

Upgrade to Spring Session for Apache Geode & Pivotal GemFire 2.3.0.M2.

Upgrade to Spring Session BOM Dragonfruit-M2.

Upgrade to Spring Test for Apache Geode & Pivotal GemFire 0.0.13.RELEASE.
2020-02-22 23:55:22 -08:00
John Blum
c2fd7f2e52 Edit changelog and add 1.3.0.M2 release notes. 2020-02-22 23:55:10 -08:00
John Blum
665355aa92 Upgrade to FreeFair Lombok Gradle Plugin 5.0.0-rc2. 2020-02-22 23:50:31 -08:00
John Blum
41b050bbb2 Upgrade to Testcontainers 1.12.5. 2020-02-22 23:48:38 -08:00
John Blum
2440fa68a4 Remove unnecessary testCompile dependency on apache-geode-extensions.
apache-geode-extensions is already an optional compile-time dependency.
2020-02-21 20:17:32 -08:00
John Blum
51e7b0e9f9 Remove assertion on the cache instance asserting whether the cache was an instance of o.a.g.internal.cache.GemFireCacheImpl.
Remove assertion on the Region instance asserting whether the Region was an instance of o.a.g.internal.cache.AbstractRegion.

Resolves gh-70.
2020-02-21 20:17:32 -08:00
John Blum
8e88abfebe Add the org.springframework.geode.util.GeodeAssertions abstract class containing assertions for different Apache Geode objects, such as a cache or Region.
GeodeAssertions will help in the effort to remove all uses of internal Apache Geode APIs and restrict all internal Apache Geode API usage to the apache-geode-extensions module.

Resolves gh-70.
2020-02-21 20:17:32 -08:00
John Blum
796f15e876 Change the GeodeConstants abstract class to an interface. 2020-02-21 20:17:32 -08:00
John Blum
d9a9b7d698 Remove use of the org.apache.geode.distributed.internal.DistributionConfig class to refer to the 'gemfire.' property prefix.
Resolves gh-70.
2020-02-21 19:24:52 -08:00
John Blum
295975e73b Remove use of the org.apache.geode.internal.cache.GemFireCacheImpl class to assert the cache instance is a client.
Resolves gh-70.
2020-02-21 19:22:08 -08:00
John Blum
c434873f58 Remove uses of the org.apache.geode.distributed.internal.DistributionConfig interface to refer to configuration property names.
Resolves gh-70.
2020-02-21 19:19:12 -08:00
John Blum
a08f9bb0e8 Remove use of the org.apache.geode.internal.cache.GemFireCacheImpl class to assert the cache instance is not a client.
Resolves gh-70.
2020-02-21 19:19:12 -08:00
John Blum
d266c1c660 Remove uses of the org.apache.geode.management.internal.security.ResourceConstants class to refer to Security constants and properties.
Resolves gh-70.
2020-02-21 19:14:36 -08:00
John Blum
49d5e65a9f Introduce the org.springframework.geode.util.GeodeConstants class to encapsulate common Apache Geode constants used by SBDG.
The GeodeConstants class will help in the effort to remove all uses of internal Apache Geode APIs, isolating all internal Apache Geode API usage to the apache-geode-extensions module.

Resolves gh-70.
2020-02-21 18:52:27 -08:00
John Blum
b7a0af0df0 Escape the Spring property placeholder syntax used in Spring application properties files. 2020-02-21 15:44:34 -08:00
John Blum
cba67e9a8c Escape the REST API HTTP URL variable syntax. 2020-02-21 15:44:34 -08:00
John Blum
61b2e82396 Fix non-unique anchor. 2020-02-21 15:44:34 -08:00
John Blum
183b8f5486 Close the 'runner' tag.
Annotate the CrmApplication class with @SuppressWarnings('unused').
2020-02-21 15:44:34 -08:00
John Blum
7897f46454 Update Copyright Year in Reference Documentation (Guide) to 2020. 2020-02-20 23:49:08 -08:00
John Blum
fef9ba47be Add documentation on the required dependencies used to run an Apache Geode Manager.
Resolves gh-72.
2020-02-20 23:34:15 -08:00
John Blum
32d0b5339e Edit chapter on Building ClientCache Applications. 2020-02-20 22:53:03 -08:00
John Blum
34389d850c Upgrade to Byte Buddy 1.10.7.
This aligns SBDG's Byte Buddy version with Spring Boot core 2.3.0.M2.
2020-02-20 12:02:21 -08:00
John Blum
8447eaad10 Update Copyright to 2020. 2020-02-19 23:04:23 -08:00
John Blum
92af82654e Upgrade to Gradle 6.2. 2020-02-19 22:57:03 -08:00
John Blum
d5ac5f0c1f Add documentation in the reference guide on the new spring-geode-starter-logging module.
Resolves gh-71.
2020-02-19 22:54:20 -08:00