Commit Graph

43 Commits

Author SHA1 Message Date
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
Oliver Drotbohm
1b9d27221f GH-6 - Stable anchors for schema appendix in reference documentation. 2022-07-28 12:28:11 +02:00
Oliver Drotbohm
f8e3de1238 GH-6 - Fix structure of the documentation ZIP.
We now render the Asciidoctor documentation into a nested HTML subfolder to be consistent with other project's URL structures.
2022-07-28 12:27:53 +02:00
Oliver Drotbohm
9190c7c97e GH-6 - Fix syntax highlighting in reference docs.
Switch to the correct attribute to set to enable this.
2022-07-28 12:27:04 +02:00
Oliver Drotbohm
945222b72f GH-6 - Allow documentation publication to be triggered manually. 2022-07-28 12:06:30 +02:00
Oliver Drotbohm
af105c8f09 GH-3, GH-6 - Add relation schemas for event publication registry to reference docs. 2022-07-28 12:00:14 +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
0fdabdb9e6 GH-6 - Initial skeleton for project reference documentation. 2022-07-27 22:10:37 +02:00
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