jira-integration: Avoid getConfigurationWithReadOnlyTransaction as transaction was already opened
JiraOrderElementSynchronizer.getAllJiraLabels() is marked as transactional, so getConfiguration() is enough. FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
This commit is contained in:
parent
89e9a58b6b
commit
a113bf4275
1 changed files with 1 additions and 2 deletions
|
|
@ -62,8 +62,7 @@ public class JiraOrderElementSynchronizer implements IJiraOrderElementSynchroniz
|
|||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public List<String> getAllJiraLabels() {
|
||||
String jiraLabelUrl = configurationDAO
|
||||
.getConfigurationWithReadOnlyTransaction()
|
||||
String jiraLabelUrl = configurationDAO.getConfiguration()
|
||||
.getJiraConfiguration().getJiraLabelUrl();
|
||||
|
||||
return JiraRESTClient.getAllLables(jiraLabelUrl);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue