FINERACT-1529: Update dependencies
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
da03d73704
commit
863d70c081
@@ -19,6 +19,7 @@
|
||||
package org.apache.fineract.dummy.core.data;
|
||||
|
||||
public class DummyMessage {
|
||||
|
||||
private String message;
|
||||
|
||||
public DummyMessage(String message) {
|
||||
|
||||
+1
@@ -21,5 +21,6 @@ package org.apache.fineract.dummy.core.service;
|
||||
import org.apache.fineract.dummy.core.data.DummyMessage;
|
||||
|
||||
public interface DummyService {
|
||||
|
||||
DummyMessage getMessage();
|
||||
}
|
||||
|
||||
@@ -20,4 +20,5 @@
|
||||
dependencies {
|
||||
implementation(project(':module:dummy:core'),
|
||||
'org.springframework:spring-context')
|
||||
testImplementation('io.cucumber:cucumber-spring')
|
||||
}
|
||||
|
||||
+1
@@ -22,6 +22,7 @@ import org.apache.fineract.dummy.core.data.DummyMessage;
|
||||
import org.apache.fineract.dummy.core.service.DummyService;
|
||||
|
||||
public class DummyServiceImpl implements DummyService {
|
||||
|
||||
@Override
|
||||
public DummyMessage getMessage() {
|
||||
return new DummyMessage("Hello: DEFAULT DUMMY!");
|
||||
|
||||
@@ -21,4 +21,5 @@ dependencies {
|
||||
implementation(project(':module:dummy:core'),
|
||||
project(':module:dummy:service'),
|
||||
'org.springframework.boot:spring-boot-starter')
|
||||
testImplementation('io.cucumber:cucumber-spring')
|
||||
}
|
||||
|
||||
+1
@@ -27,6 +27,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
@Configuration
|
||||
@ConditionalOnMissingBean(DummyService.class)
|
||||
public class DummyAutoConfiguration {
|
||||
|
||||
@Bean
|
||||
public DummyService dummyService() {
|
||||
return new DummyServiceImpl();
|
||||
|
||||
Reference in New Issue
Block a user