VMware offers training and certification to turbo-charge your progress.Learn more
On behalf of the Spring, Apache Geode and VMware GemFire communities, it is my pleasure to announce new releases of Spring Boot for Apache Geode & VMware GemFire (SBDG).
1.1.9.RELEASE is now available and builds on Spring Boot
2.1.16.RELEASE, Spring Data
Lovelace-SR19 and Spring Session
1.2.9.RELEASE is now available and builds on Spring Boot
2.2.9.RELEASE, Spring Data
Moore-SR9 and Spring Session
1.3.1.RELEASE is now available and builds on Spring Boot
2.3.1.RELEASE, Spring Data
Neumann-SR2 and Spring Session
Dragonfruit-RELEASE. In addition, this release pulls in the new Spring Test for Apache Geode & VMware GemFire (STDG)
0.0.17.RELEASE with some nice additions there, discussed under What’s New.
1.4.0-M1 is now available and builds on Spring Boot
2.4.0-M1, Spring Data
2020.0.0-M1 (codename: Ockham) and Spring Session
You can get a complete break down of all direct dependency versions in the Version Compatibility Matrix.
As always you can begin any Spring Boot project using Apache Geode from start.spring.io.
Select your desired Spring Boot version
Click "Add Dependencies"
Select "Spring for Apache Geode"
And, the way you go!
1.4.0-M1 releases were primarily focused on aligning with dependencies and picking up new bits, the SBDG
1.3.1.RELEASE rounds out the Import/Export functionality in Using Data.
Much like Spring Boot’s support for SQL database initialization, SBDG allows you to place 1 or more JSON files on the application classpath to load GemFire/Geode Regions with data on startup.
Unlike Spring Boot, SBDB allows you to subsequently export data from your Regions when the Spring Boot application is shutdown. This is convenient if you want to move data from QA to DEV in order to reproduce and debug an issue.
1.3.1.RELEASE, SBDG further delineates the primary concerns of importing and exporting data:
Data Format (e.g. JSON vs. XML vs. other)
Resource Resolution (e.g. classpath, filesystem, URL)
By default, SBDG imports JSON from the classpath and exports JSON to the filesystem. However, with each of the concerns above broken out, you could import JSON from a Web Service and export XML to an FTP site.
To see an example of changing the Resource Resolution, Reading, and Writing strategies, see the
RestServiceCacheDataImportExportIntegrationTests test class in SBDG’s test suite.
You can learn more in the reference documentation.
In addition, SBDG
1.4.0-M1) pulls in Spring Test for Apache Geode & VMware GemFire (STDG)
0.0.17.RELEASE, which includes a few new notable additions:
How-To control the GemFire/Geode mock objects scope and lifecycle.
How-To mock additional, GemFire/Geode mock object operations (e.g.
Region.putIfAbsent(key, value)) not supported by STDG, OOTB.
How-To perform GemFire/Geode resource and artifact cleanup when Integration Testing.
To use STDG in your Spring Boot application when Unit or Integration Testing with either Apache Geode or VMware, simply add
org.springframework.geode:spring-geode-starter-test to your test compile classpath.
1.3.2.RELEASE (tentatively scheduled for Thurs, Aug 6th) we plan to improve on the documentation with more details on how to use security (Auth, TLS) in your Spring Boot applications with Apache Geode or VMware GemFire. See and follow PR #81 for more information.
In the SBDG
1.4 release line, the focus will be on adding support for Async (i.e. Write Behind), Inline Caching capabilities on top of the existing synchronous (Read/Write Through) Inline Caching capabilities, present today. See and follow Issue #58 for more details.
As always, any feedback is appreciated.
Issues | PR | StackOverflow