Skip to content

Commit fc6efd3

Browse files
committed
Merge branch 'release/v11.2.7' of https://github.com/utmstack/UTMStack into release/v11.2.7
2 parents 39ff859 + bfc4743 commit fc6efd3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

backend/src/main/java/com/park/utmstack/service/application_modules/UtmModuleGroupConfigurationService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public UtmModule updateConfigurationKeys(Long moduleId, List<UtmModuleGroupConfi
110110
* Find all configurations of a module group.
111111
* Sensitive values (password, file) are masked before returning.
112112
*/
113+
@Transactional(readOnly = true)
113114
public List<UtmModuleGroupConfiguration> findAllByGroupId(Long groupId) throws Exception {
114115
final String ctx = CLASSNAME + ".findAllByGroupId";
115116
try {
@@ -124,6 +125,7 @@ public List<UtmModuleGroupConfiguration> findAllByGroupId(Long groupId) throws E
124125
/**
125126
* Gets all configuration parameter for a group and convert it to a map
126127
*/
128+
@Transactional(readOnly = true)
127129
public Map<String, String> getGroupConfigurationAsMap(Long groupId) throws Exception {
128130
final String ctx = CLASSNAME + ".getGroupConfigurationAsMap";
129131
try {
@@ -141,6 +143,7 @@ public Map<String, String> getGroupConfigurationAsMap(Long groupId) throws Excep
141143
/**
142144
* Find a configuration parameter by his group and key
143145
*/
146+
@Transactional(readOnly = true)
144147
public UtmModuleGroupConfiguration findByGroupIdAndConfKey(Long groupId, String confKey) throws Exception {
145148
final String ctx = CLASSNAME + ".findByGroupIdAndConfKey";
146149
try {

0 commit comments

Comments
 (0)