Skip to content

Migrate DependencyTests to ArchUnit #2706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Conversation

schauder
Copy link
Contributor

Replaces the Degraph based implementation with one based on ArchUnit and reenables the test.

The test currently fails since the aot code causes cycles.

schauder added a commit that referenced this pull request Oct 21, 2022
The DependencyTests are reimplemented using ArchUnit and enabled.
This uncovered some dependency circles which got fixed:

AOT related code was abstracted so configuration code doesn't have to know about AOT specific configuration which is injected using spring.factories.
AOT configuration for Querydsl was moved to a separate class as part of the querydsl package.

The tests currently fail because `aot` causes cycles.

Original pull request #2706
@schauder
Copy link
Contributor Author

Will add Javadoc and license headers.

The DependencyTests are reimplemented using ArchUnit and enabled.
This uncovered some dependency circles which got fixed:

AOT related code was abstracted so configuration code doesn't have to know about AOT specific configuration which is injected using spring.factories.
AOT configuration for Querydsl was moved to a separate class as part of the querydsl package.

The tests currently fail because `aot` causes cycles.

Original pull request #2706
@schauder
Copy link
Contributor Author

Done.

@mp911de mp911de added the type: task A general task label Nov 2, 2022
@mp911de mp911de added this to the 3.0 RC2 (2022.0.0) milestone Nov 2, 2022
@mp911de mp911de marked this pull request as ready for review November 2, 2022 10:02
mp911de pushed a commit that referenced this pull request Nov 2, 2022
The DependencyTests are reimplemented using ArchUnit and enabled.
This uncovered some dependency circles which got fixed:

See #2708
Original pull request #2706
@mp911de
Copy link
Member

mp911de commented Nov 2, 2022

That's merged and polished now.

@mp911de mp911de closed this Nov 2, 2022
@mp911de mp911de deleted the issue/dependencies branch November 2, 2022 10:04
mp911de pushed a commit that referenced this pull request Nov 2, 2022
The DependencyTests are reimplemented using ArchUnit and enabled.

See #2708
Original pull request #2706
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants