Commit Graph

30 Commits

Author SHA1 Message Date
Oliver Drotbohm
80cf808012 GH-18 - Add GitHub actions workflows for releases. 2022-07-27 20:49:37 +02:00
Oliver Drotbohm
aedd063e3b GH-18 - Setup deployment to Artifactory for general builds.
Tweak build to contain a dedicated ci build profile for Javadoc creation post delombokification. Added an artifactory build profile to set up Artifactory deployment for milestones and snapshots.

Cleanups in sonatype build profile to avoid the definition of a snapshot repository to avoid snapshots accidentally be deployed there.
2022-07-27 19:01:14 +02:00
Oliver Drotbohm
13b83ef947 GH-28 - Consolidate sample and integration tests module. 2022-07-27 14:57:15 +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
32de1846de GH-4 - Add Spring Boot starter for MongoDB event publication registry. 2022-07-26 18:09:07 +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
1e295039c4 GH-3 - Add dedicated starter for JDBC-based event publication registry. 2022-07-23 21:53:19 +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
5f83f7ac13 GH-13 - Add BOM to ease version handling. 2022-07-21 09:37:01 +02:00
Oliver Drotbohm
3da6fd9cdc GH-8 - Rename configuration properties for the Moments module.
moduliths.moments -> spring.modulith.moments
2022-07-19 15:36:50 +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
3eaea6dea7 GH-5 - Switch to Boot's actuator starter for observability integration testing. 2022-07-12 10:46:34 +02:00
Oliver Drotbohm
911ba08478 GH-5 - Upgrade observability module to Micrometer.
Re-enable observability module after a migration from Spring Cloud Sleuth to Micrometer. Bind the application of the observability instrumentation to the management.tracing.enabled flag.
2022-07-11 07:35:14 +02:00
Bjoern Kieling
194c5ade74 GH-1 - Fix package name for Moments autoconfiguration. 2022-07-11 07:35:13 +02:00
Oliver Drotbohm
b2425d024a GH-1 - Polishing.
Fix import order after package renames.
2022-07-08 09:35:55 +02:00
Björn Kieling
13a86654e3 GH-1 - Move remaining application properties 2022-07-08 09:34:53 +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
Oliver Drotbohm
817aaabbdb GH-1 - Tweak CI build to avoid obsolete integration builds. 2022-07-07 20:47:28 +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
Oliver Drotbohm
6c444769d7 GH-1 - Initial port of Moduliths project.
Basically the state of commit c7cf939 of https://github.com/moduliths/moduliths for further development under the Spring umbrella.
2022-07-06 13:03:01 +02:00