Commit Graph

39 Commits

Author SHA1 Message Date
Oliver Drotbohm
9d95d8715d GH-71 - Prepare next development iteration. 2022-11-16 22:48:27 +01:00
Oliver Drotbohm
3ce2be3c55 GH-71 - Release version 0.1.0-RC1. 2022-11-16 22:48:27 +01:00
Oliver Drotbohm
55b16857f3 GH-69 - Switch to Stream.toList(). 2022-11-11 18:49:03 +01:00
Oliver Drotbohm
dc065653e5 GH-61 - Prepare next development iteration. 2022-11-02 18:45:47 +01:00
Oliver Drotbohm
7a7b49809f GH-61 - Release version 0.1.0-M2. 2022-11-02 18:45:47 +01:00
Oliver Drotbohm
f53ff168f1 GH-21 - Prepare next development iteration. 2022-10-21 11:41:36 +02:00
Oliver Drotbohm
48876e5800 GH-21 - Release version 0.1.0-M1. 2022-10-21 11:41:01 +02:00
Oliver Drotbohm
757e24382c GH-3 - Fix dependency declaration of MySQL Java driver. 2022-10-21 11:17:23 +02:00
Oliver Drotbohm
f82cc11562 GH-3 - Make tests for DatabaseSchemaInitializer more robust against execution order.
The tests previously asserted on no entries being found in the event publication tables. As other tests might have been run before, they could already contain some.
2022-10-21 11:11:27 +02:00
Oliver Drotbohm
ae692e3ac1 GH-45 - Upgrade to Flapdoodle MongoDB 3.5.0. 2022-10-17 12:53:36 +02:00
Oliver Drotbohm
3669d3476e GH-1 - Remove obsolete events starter module. 2022-09-26 21:34:43 +02:00
Oliver Drotbohm
0740edd769 GH-3 - Consistent formatting in schema SQL. 2022-09-20 17:22:58 +02:00
Oliver Drotbohm
2391c758a7 GH-38 - Register Jackson modules available in ApplicationContext in default ObjectMapper. 2022-09-12 15:45:52 +02:00
Oliver Drotbohm
792efa6051 GH-1 - Polish logging incomplete event publications on shutdown. 2022-07-28 19:37:13 +02:00
Oliver Drotbohm
7cf3892360 GH-20 - Polishing. 2022-07-28 19:37:13 +02:00
Oliver Drotbohm
9a52daa0f6 GH-20 - Polishing. 2022-07-28 16:34:24 +02:00
Oliver Drotbohm
af99902951 GH-29 - Polishing.
Added missing Apache license header to test.
2022-07-28 16:29:37 +02:00
Bjoern Kieling
c2f1f1907d GH-20 - Extend repository with capability to delete all completed publications
Signed-off-by: Dmitry Belyaev <dbelyaev@vmware.com>
2022-07-28 14:21:28 +02:00
Bjoern Kieling
1a14e4f9df GH-27 - Remove in-memory implementation of EventPublicationRepository
Signed-off-by: Dmitry Belyaev <dbelyaev@vmware.com>
2022-07-28 11:58:33 +02:00
Oliver Drotbohm
582ad361ae GH-29 - Polishing.
Avoid explicit MySQL database driver dependency to align with Boot. DatabaseSchemaInitializer is now fully immutable, receiving the ResourceLoader in its constructor.
2022-07-28 11:46:21 +02:00
Bjoern Kieling
9b9546f32e GH-29 - Add MySQL support. Introduce DatabaseType to assemble all database type specific code.
Signed-off-by: Dmitry Belyaev <dbelyaev@vmware.com>
2022-07-28 11:33:42 +02:00
Oliver Drotbohm
3ab5072e1e GH-18 - Polishing.
Switch to consistent usage of secrets via environment variables. Remove documentation generation from standard build. Some general POM polishing. A bit of release documentation.
2022-07-28 08:46:11 +02:00
Oliver Drotbohm
9512c36c32 GH-25 - Polishing. 2022-07-27 13:23:54 +02:00
Dmitry Belyaev
97a5051930 GH-25 - Fix #findByEventAndTargetIdentifier in all repositories to return only incomplete EventPublications. Rename the method accordingly.
Signed-off-by: Björn Kieling <bkieling@vmware.com>
2022-07-27 13:16:11 +02:00
Oliver Drotbohm
3916082d6f GH-17 - Polishing.
Formatting. Nullability constraints.
2022-07-27 13:05:26 +02:00
Dmitry Belyaev
ce1ef8c540 GH-17 - Bootstrap PostgreSQL in a container and execute integration tests against it
Signed-off-by: Björn Kieling <bkieling@vmware.com>
2022-07-27 11:51:48 +02:00
Oliver Drotbohm
48a2686112 GH-4 - Add Spring Boot autoconfiguration for the MongoDB event publication registry. 2022-07-26 18:05:48 +02:00
Oliver Drotbohm
9f5d8ec63b GH-4 - Polishing.
Turn embedded MongoDB test setup into proper bean definitions to make sure databases get started and shut down properly with ApplicationContexts. Previously, the database was held in a static variable shut down after a particular test class had been concluded but bean instances held in the cached (and potentially reused ApplicationContext) were still referring to that already shut down database which prevented then from shutting down properly.
2022-07-26 18:04:24 +02:00
Dmitry Belyaev
314a3823ad GH-4 - Implement MongoDB-based event publication repository
Signed-off-by: Björn Kieling <bkieling@vmware.com>
2022-07-26 11:53:40 +02:00
Oliver Drotbohm
3899d9d59c GH-3 - Polishing.
A couple of renames in the exposed APIs. MapBasedEventPublicationRepository now uses a a TreeMap again instead of a List (closer to what the original EventPublicationRegistry did).

Cleanups in the JDBC event registry module. Polish pom.xml to minimize dependencies. Removed custom DatabaseType in favor of Boot's DatabaseDriver. Tweaked the auto-configuration of the JDBC module to not even expose a DatabaseSchemaInitializer in the first place to avoid having to wire the boolean flag into the latter.

Cleanups in test cases to avoid code duplication. Move to @JdbcTest to avoid having to depend on Spring Data JDBC.

Enable nullability checks, formatting, Javadoc, author tags, missing license headers.
2022-07-22 22:24:23 +02:00
Dmitry Belyaev
6a4260471e GH-3 - Implement JDBC based repository
Signed-off-by: Björn Kieling <bkieling@vmware.com>
2022-07-21 15:11:28 +02:00
Björn Kieling
913ec7bb4e GH-3 - Refactor events registration to prepare easy addition of new repository types.
- Introduce Repository interface as a customization point
- Get rid of Registry interface by having one generic implementation
- Combine EventPublication and all its subclasses in one domain object
- Make Repository instead of Registry be dependent on EventSerializer

Signed-off-by: Dmitry Belyaev <dbelyaev@vmware.com>
2022-07-21 15:11:28 +02:00
Oliver Drotbohm
82c18fe509 GH-9 - Rename core, public abstractions from Module to ApplicationModule.
Remove obsolete @since tags and deprecations.
2022-07-19 15:34:44 +02:00
Oliver Drotbohm
8ba6c11e3d GH-1 - Consistent license years and HTTPS URLs. 2022-07-19 15:04:52 +02:00
Oliver Drotbohm
48ea08ae59 GH-1 - Consistent author names. 2022-07-19 15:02:00 +02:00
Oliver Drotbohm
da278f7774 GH-10 - Explicitly order JpaEventPublicationAutoConfiguration before general JPA setup. 2022-07-12 23:55:02 +02:00
Oliver Drotbohm
b2425d024a GH-1 - Polishing.
Fix import order after package renames.
2022-07-08 09:35:55 +02:00
Oliver Drotbohm
1cc44cf065 GH-2 - Upgrade to Spring Boot 3.
Upgrade to Spring Boot 3 and Java 17 as project baselines. Removed legacy JavaEE modules and replaced them by ones compatible with JakartaEE 9.

Disabled the Observability module for now as Spring Cloud Sleuth has been removed the Boot 3 compatible Spring Cloud branch and we need to migrate the module to Micrometer first.
2022-07-07 23:26:19 +02:00
Björn Kieling
417e215993 GH-1 - Update Maven artifact coordinates, package and directory structure.
Original pull request: GH-7.
2022-07-07 20:41:59 +02:00