FINERACT-1532: Create an example for pluggability
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
2ebde6d080
commit
83eb0842dc
@@ -18,3 +18,4 @@
|
||||
#
|
||||
|
||||
cucumber.publish.quiet=true
|
||||
cucumber.glue=org.apache.fineract
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
Feature: Example Modules
|
||||
|
||||
@modules
|
||||
Scenario Outline: Verify that the dummy service returns the correct message
|
||||
Given A dummy service configuration <configurationClass>
|
||||
When The user gets the dummy service message
|
||||
Then The dummy service message should match <message>
|
||||
|
||||
Examples:
|
||||
| configurationClass | message |
|
||||
| org.apache.fineract.module.example.TestDefaultConfiguration | Hello: DEFAULT DUMMY! |
|
||||
| org.apache.fineract.module.example.TestFooConfiguration | Hello: FOO! |
|
||||
@@ -0,0 +1,14 @@
|
||||
Feature: Service Modules
|
||||
|
||||
@modules
|
||||
Scenario Outline: Verify that the dummy service returns the correct message
|
||||
Given An auto configuration <autoConfigurationClass> and a service configuration <configurationClass>
|
||||
When The user retrieves the service of interface class <interfaceClass>
|
||||
Then The service class should match <serviceClass>
|
||||
|
||||
Examples:
|
||||
| autoConfigurationClass | configurationClass | interfaceClass | serviceClass |
|
||||
| org.apache.fineract.portfolio.note.starter.NoteAutoConfiguration | org.apache.fineract.module.service.TestDefaultConfiguration | org.apache.fineract.portfolio.note.service.NoteReadPlatformService | org.apache.fineract.portfolio.note.service.NoteReadPlatformServiceImpl |
|
||||
| org.apache.fineract.portfolio.note.starter.NoteAutoConfiguration | org.apache.fineract.module.service.TestDefaultConfiguration | org.apache.fineract.portfolio.note.service.NoteWritePlatformService | org.apache.fineract.portfolio.note.service.NoteWritePlatformServiceJpaRepositoryImpl |
|
||||
| org.apache.fineract.portfolio.note.starter.NoteAutoConfiguration | org.apache.fineract.module.service.TestOverrideConfiguration | org.apache.fineract.portfolio.note.service.NoteReadPlatformService | org.apache.fineract.module.service.custom.CustomNoteReadPlatformService |
|
||||
| org.apache.fineract.portfolio.note.starter.NoteAutoConfiguration | org.apache.fineract.module.service.TestOverrideConfiguration | org.apache.fineract.portfolio.note.service.NoteWritePlatformService | org.apache.fineract.module.service.custom.CustomNoteWritePlatformService |
|
||||
Reference in New Issue
Block a user