Skip to content

Commit

Permalink
test(build-dependants) update build dependants workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
SvitlanaKovalova1 committed Nov 27, 2024
1 parent 1e90b27 commit 8fe00ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@

import java.util.UUID;

public record SpecificationUpdatedEvent(UUID specificationId,
String tenantId,
Family family,
FamilyProfile profile,
UpdateExtent updateExtent) {
public record SpecificationUpdatedEvent(UUID specificationId) {

public enum UpdateExtent {
FULL, PARTIAL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ protected SpecificationUpdatedEvent buildEvent(UUID specificationId) {
var specification = specificationRepository.findById(specificationId)
.orElseThrow(() -> ResourceNotFoundException.forSpecification(specificationId));
return new SpecificationUpdatedEvent(
specification.getId(),
tenantId(),
specification.getFamily(),
specification.getProfile(),
updateExtent()
specification.getId()
);
}

Expand Down

0 comments on commit 8fe00ba

Please sign in to comment.