Skip to content

Conversation

@basseche
Copy link
Contributor

No description provided.

@basseche basseche self-assigned this Oct 22, 2025
@basseche basseche force-pushed the limitsProperties_modification branch 3 times, most recently from 2bf48ed to 967f9e3 Compare October 22, 2025 11:56
@basseche basseche force-pushed the limitsProperties_modification branch 2 times, most recently from 1335bbd to 967f9e3 Compare October 29, 2025 14:49
Base automatically changed from addTagProperties to main October 30, 2025 12:44
@basseche basseche force-pushed the limitsProperties_modification branch from 967f9e3 to 6d45fcc Compare October 30, 2025 12:56
@basseche basseche force-pushed the limitsProperties_modification branch from 069ef25 to 281c14f Compare October 30, 2025 13:08
@Mathieu-Deharbe Mathieu-Deharbe self-requested a review October 31, 2025 14:45
Copy link
Contributor

@Mathieu-Deharbe Mathieu-Deharbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The TUs don't work anymore (and I think that it is logical : they are using a stringified json of the netmod and you added entities to those netmods) :

image

Comment on lines +66 to +76
@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
@JoinColumn(name = "operational_limit_group_id", foreignKey = @ForeignKey(name = "operational_limit_group_modification_id_fk"))
private List<LimitsPropertyModificationEntity> limitsProperties;

private static List<LimitsPropertyModificationEntity> toLimitPropertyEntities(List<LimitsPropertyInfos> properties) {
List<LimitsPropertyModificationEntity> result = new ArrayList<>();
if (!CollectionUtils.isEmpty(properties)) {
result = properties.stream().map(LimitsPropertyModificationEntity::fromLimitsPropertyInfos).toList();
}
return result;
}
Copy link
Contributor

@Mathieu-Deharbe Mathieu-Deharbe Oct 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this could be a List<LimitsPropertyEntity> (given that we only create properties and never modify, the structure is the same)

Then LimitsPropertyModificationEntity wouldn't be needed (for now anyway)

Copy link
Contributor

@Mathieu-Deharbe Mathieu-Deharbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way please remove WIP from the title.

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.

3 participants