Skip to content

Feature/363#390

Draft
uberroot4 wants to merge 34 commits intofeature/backend-newfrom
feature/363
Draft

Feature/363#390
uberroot4 wants to merge 34 commits intofeature/backend-newfrom
feature/363

Conversation

@uberroot4
Copy link
Member

No description provided.

Manuel Stöger and others added 30 commits October 27, 2025 19:37
#349: Removed auto parent adding

#349: Introduced non removable set

#349: Introduced non removable set
#363: Moved MappingContext from infra-sql to core

#363: Updated Project to use super methods

For `equals` and `hashCode`

#363: Updated core module for new domain

#363: Refactored `Branch` to be a `Reference`

`Branch` now only references one head `Commit` not entire history at once

#363: Removed all-open plugin for domain

#363: Refactored `Branch` to be a `Reference`

#363: Updated core module to build

#363: Updated models

#363: Updated README for domain

#363: Centralized fixtures into core tests resources

#363: Added tests for ffi module

#363: Updated mapper for sql module

#363: Updated mapper for sql module

#363: Extracted test data creation into `TestData` object

#363: Added `remotes` section to `Repository`

#363: Updates ffi tests

#363: Updates ffi tests

#363: Updated domain, `committer` is mandatory for `Commit`

#363: Add assemblers for Project and Repository aggregates

Implement ProjectAssembler and RepositoryAssembler to orchestrate
aggregate mapping with identity preservation. Assemblers handle
complete object graph construction including owned entities
(commits, branches, users, remotes) and bidirectional relationships.

Key changes:
- ProjectAssembler: orchestrates Project aggregate assembly
- RepositoryAssembler: two-pass commit graph wiring
- RemoteMapper: maps Remote entities with repository references
- KotlinUuidConverter: JPA converter for Kotlin UUID types
- Update CommitMapper to require committer mapping
- Add aggregate fetch support infrastructure
- Comprehensive test coverage for assemblers and mappers
- Database migration for new entity relationships

chore(ffi): update native libs + Kotlin bindings [skip ci]

#363: remove pitest plugin from pom.xml

#363: migrate File to typed ID pattern

Replaces string-based ID with Uuid value class and business
key for lookups. Removes CommitDiff, FileDiff, and FileState
domain models as part of domain layer refactoring.

#363: migrate File to typed ID pattern

Replaces string-based ID with Uuid value class and business
key for lookups. Removes CommitDiff, FileDiff, and FileState
domain models as part of domain layer refactoring.

#363: migrate File to typed ID pattern

Replaces string-based ID with Uuid value class and business
key for lookups. Removes CommitDiff, FileDiff, and FileState
domain models as part of domain layer refactoring.

#363: Fix failing tests

#363: Updated core

#363: Fix failing compile

#363: Fix failing compile

#363: Fix failing compile

#363: Fix failing compile

#363: Fix failing compile

#363: Fix failing compile

#363: Added maven options `-e -X`

#363: Removed old POJOs

#363: Removed WebServer command idea

#363: Fix failing compile

#363: Fix failing compile

#363: Fix failing compile

#363: Fix failing compile

#363: Fix failing compile

#363: Fix failing compile

#363: Fix failing compile

Revert "#363: Added maven options `-e -X`"

This reverts commit 670b6e2.

#363: Fix failing compile

#363: Fix failing test-compile

#363: Fix failing test-compile

#363: Fix failing test-compile

#363: Update infrastructure-test to align with domain model semantics

#363: Fixed failing ffi test

#363: Fixed broken `maven-jar-plugin`
commit d086d7a
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Mon Nov 17 19:54:25 2025 +0100

    #345 removed done TODO lines

commit 6ffefd7
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Mon Nov 17 19:40:14 2025 +0100

    #345 parameterized the testcases

    Separate and repetitive testcases have been condensed into one parameterized test method. Reduced lines by more than half. Improved readability and maintainability.

commit c67ac0b
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Nov 11 18:48:03 2025 +0100

    #345 added property and edge test for Stats entity/model

commit 498e413
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Nov 11 18:47:26 2025 +0100

    #345 added property and edge test for Note entity/model

commit 5fb95e0
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Nov 11 18:46:48 2025 +0100

    #345 added property and edge test for Module entity/model

commit fb967a9
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Nov 11 18:46:01 2025 +0100

    #345 added property and edge test for Milestone entity/model

commit 7273918
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Nov 11 18:45:14 2025 +0100

    #345 added property and edge test for MergeRequest entity/model

commit 20ec33b
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Nov 11 18:44:26 2025 +0100

    #345 added property and edge test for Mention entity/model

commit d3ad9d5
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Nov 11 18:42:38 2025 +0100

    #345 added property and edge test for Job entity/model

commit 3f0c076
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Nov 11 18:42:01 2025 +0100

    #345 added property and edge test for File entity/model

commit 1915524
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Nov 11 18:41:19 2025 +0100

    #345 added property and edge test for Build entity/model

commit 3f391b2
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Nov 11 18:40:11 2025 +0100

    #345 added property and edge test for Branch entity/model

commit b8d5179
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Nov 11 18:38:53 2025 +0100

    #345 refactored method names

    + added missing parameters in method calls

commit 3e26907
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Nov 11 18:35:54 2025 +0100

    #345 added check for deprecated properties

    Now if a property is deprecated it does not just get compared anymore, a deprecated property gets checkt on if it is still in use or already replaced. A messages will be printed accordingly.

commit b2ca058
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Thu Nov 6 19:12:34 2025 +0100

    #345 added property and edge test for account entity/model

commit 8e583ea
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Thu Nov 6 19:09:56 2025 +0100

    #345 extracted edge comparison method

    Current edge tests had repetitive code lines. Method with comparison logic was extracted from these tests to simplify the test class.

commit 3894071
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Thu Nov 6 19:08:12 2025 +0100

    #345 tweaked generalized property comparison method

    also added method description

commit 6b75b95
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Thu Nov 6 15:29:35 2025 +0100

    #345 extracted mapping variable for model and entity classes

    several classes were mapped multiple times and therefore redundant.

commit fae7855
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Thu Nov 6 15:15:40 2025 +0100

    #345 extracted property comparison method

    Current tests had repetitive code lines. Method with comparison logic was extracted from these tests to simplify the test class.

commit cd54aed
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Thu Oct 30 21:28:27 2025 +0100

    #345 written equivalence tests for User, Issue and Commit

    tests if models and entities have matching attributes and edges

commit 6afe6a9
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Thu Oct 23 21:58:19 2025 +0200

    #345 adjust AccountMapper

    to correctly map Enum Platform and Enum PlatfomEntity

commit c5ca016
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Thu Oct 23 21:36:27 2025 +0200

    #345 refactor ArangoDB Enum "Platform"

    Enum Platform in ArangoDB was renamed to PlatformEntity.kt

commit 80c6652
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Thu Oct 23 21:11:54 2025 +0200

    #345 fix AccountEntity

    field "platform" was still referencing domain model enummeration. changed it to aramgodb entity enummeration

commit 580fed9
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Tue Oct 21 17:30:52 2025 +0200

    #345 first issue properties test

    currently tests only for name and type equalities in issue. Starting with issue because amount and name of properties in the domain model are the same as in the entity. Only difference is the date type discrepancy that gets handled through conversion.

commit e345c68
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Thu Oct 9 19:04:20 2025 +0200

    #345 refactoring of new document annotation values

     to better match the existing ones in the arango entities

commit 3e77d57
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Thu Oct 9 19:02:51 2025 +0200

    #345 created arangodb enum for Platform

    final seperation between arango and domain entities to keep a clean structure and seperation between the domains

commit 1ebb8e3
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Sun Oct 5 17:25:01 2025 +0200

    #345 added @document annotation to new arangodb entities

    simplified Job, Stats and Mention mappers

commit ce82ef2
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Sun Oct 5 12:31:49 2025 +0200

    #345 adjusted DateTime properties in JobEntity.kt and JobMapper.kt

    MentionMapper.kt and MergeRequestMapper.kt only had some formatting adjustments

commit 1dfa35d
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Mon Sep 29 21:37:15 2025 +0200

    #345 disconnected cross-referencing from ArangoDB entities to domain entities Job, Mention, Stats by creating new ArangoDB entities

    adjusted affected ArangoDB entities BuildEntity.kt, CommitEntity.kt, MergeRequestEntity.kt and IssueEntity.kt as well as their respective mappers. Created new mappers for new entities.

commit 54ced3b
Author: SurfingCaterpillar <e1402642@student.tuwien.ac.at>
Date:   Sun Sep 28 22:10:45 2025 +0200

    #345 extracted nestled entities Job, Mention, Platform and Stats from Account.kt, Build.kt, Commit.kt and Issue.kt into own files

    adjusted affected test TestDataProvider.kt and arangodb entity BuildEntity.kt
Moved into `core` module
Instead of root `com.inso_world.binocular`
#363: Fixing pipeline

#363: Fixing pipeline

#363: Fixing pipeline

Fixes so the app can run on windows

(cherry picked from commit 4add9b2)

# Conflicts:
#	binocular-backend-new/cli/src/main/resources/application-arangodb.yaml

#363: Fixing pipeline

#363: Fixing pipeline

#363: Fixing pipeline

#363: Fixing pipeline

#363: Fixing pipeline

#363: Fixing pipeline

#363: Fixing pipeline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant