Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Nov 23, 2023
1 parent 0a00765 commit eeecf00
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public OnboardUserOrchestratorService(
this.emailNotificationService = emailNotificationService;
}

@Transactional(propagation = Propagation.REQUIRES_NEW)
@Transactional(propagation = Propagation.REQUIRED)
public void createPrimaryActivationCode(OnboardSchoolUserSagaData sagaData) {
EdxPrimaryActivationCode edxPrimaryActivationCode = new EdxPrimaryActivationCode();
UUID schoolId = sagaData.getSchoolID();
Expand All @@ -57,7 +57,7 @@ public void createPrimaryActivationCode(OnboardSchoolUserSagaData sagaData) {
}
}

@Transactional(propagation = Propagation.REQUIRES_NEW)
@Transactional(propagation = Propagation.REQUIRED)
public void createPrimaryActivationCode(OnboardDistrictUserSagaData sagaData) {
EdxPrimaryActivationCode edxPrimaryActivationCode = new EdxPrimaryActivationCode();
UUID districtId = sagaData.getDistrictID();
Expand All @@ -72,7 +72,7 @@ public void createPrimaryActivationCode(OnboardDistrictUserSagaData sagaData) {
}
}

@Transactional(propagation = Propagation.REQUIRES_NEW)
@Transactional(propagation = Propagation.REQUIRED)
public void sendPrimaryActivationCodeNotification(OnboardSchoolUserSagaData sagaData) {
UUID schoolId = sagaData.getSchoolID();

Expand All @@ -96,7 +96,7 @@ public void sendPrimaryActivationCodeNotification(OnboardSchoolUserSagaData saga
this.emailNotificationService.sendEmail(emailNotification);
}

@Transactional(propagation = Propagation.REQUIRES_NEW)
@Transactional(propagation = Propagation.REQUIRED)
public void sendPrimaryActivationCodeNotification(OnboardDistrictUserSagaData sagaData) {
UUID districtId = sagaData.getDistrictID();

Expand Down

0 comments on commit eeecf00

Please sign in to comment.