MoMagdy14 commented on code in PR #3374:
URL: https://github.com/apache/fineract/pull/3374#discussion_r1298228113


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/tax/starter/TaxAutoConfiguration.java:
##########
@@ -0,0 +1,33 @@
+package org.apache.fineract.portfolio.tax.starter;
+
+import 
org.apache.fineract.accounting.common.AccountingDropdownReadPlatformService;
+import org.apache.fineract.portfolio.tax.domain.TaxComponentRepository;
+import org.apache.fineract.portfolio.tax.domain.TaxComponentRepositoryWrapper;
+import org.apache.fineract.portfolio.tax.domain.TaxGroupRepository;
+import org.apache.fineract.portfolio.tax.domain.TaxGroupRepositoryWrapper;
+import org.apache.fineract.portfolio.tax.serialization.TaxValidator;
+import org.apache.fineract.portfolio.tax.service.*;
+import 
org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.jdbc.core.JdbcTemplate;
+
+@Configuration
+public class TaxAutoConfiguration {
+
+    @Bean
+    @ConditionalOnMissingBean
+    public TaxReadPlatformService taxReadPlatformService(JdbcTemplate 
jdbcTemplate,
+            AccountingDropdownReadPlatformService 
accountingDropdownReadPlatformService) {
+        return new TaxReadPlatformServiceImpl(jdbcTemplate, 
accountingDropdownReadPlatformService);
+    }
+
+    @Bean
+    @ConditionalOnMissingBean

Review Comment:
   done, Updated



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to