Please enable JavaScript.
Coggle requires JavaScript to display documents.
Have a service to import default pages - Coggle Diagram
Have a service to import default pages
:check: move functions from PageServiceImpl to new class
:check: create class DefaultLivingApplicationImporter
:check: move functions
:check: use new class in DefaultLivingApplicationImporterTest
:check: remove functions
:check: use setAddRemovableIfMissing from DefaultLivingApplicationImporter instead of PageService
:check: add functions
:check: add init
:check: move tests from PageServiceImplTest to new class
:check: create class DefaultLivingApplicationImporterTest
:check: move tests containing init() call
:check: move init_should_import_all_editable_provided_pages_if_is_the_first_run
:check: add DEFAULT_LAYOUT_NAME
:check: add DEFAULT_THEME_NAME
:check: add pageServiceImpl
:check: add pageArgumentCaptor
:check: add getHashOfContent
:check: init pageServiceImpl in
before
:check: add missing mocks to construct pageServiceImpl
:check: add missing resources
:check: move init_should_not_insert_not_removable_provided_page_if_is_not_first_run
:check: make test class runnable
:check: add empty test
:check: remove page resources
:check: create constants for custompage_htmlexample, etc.
:check: use ContentType instead of strings
:parking: Parking
:check: use constants in MandatoryLivingApplicationImporterTest for custompage_*
:check: use ContentType in MandatoryLivingApplicationImporterTest instead of strings
refactor addIfMissing
add boolean in SPlatform to set if first run
:check: use constant instead of -1 in importers
:check: make PageServiceImpl a "standalone" service
:check: remove
Order
on PageServiceImpl
:check: remove init()
:check: remove implements TenantLifecycle
:check: refactor PageService.importProvidedPage
:check: create abstract LivingApplicationImporter
:check: copy importProvidedPage to abstract class
:check: remove importProvidedPage from PageServiceImpl
:check: move tests importing provided pages from PageServiceImplTest to LAImporterTest
:check: use LivingApplicationImporter.importProvidedPages implementation
:check: use PageService instead of PageServiceImpl
:check: expose function buildPage in PageService interface
:check: expose function checkIfPageAlreadyExists in PageService interface
:check: expose function insertPage in PageService interface
:check: MandatoryLAImporter extends abstract
:check: DefaultLAImporter extends abstract
:check: remove PageService.initialized
:check: change assert in TenantMaintenanceLocalIT
:check: try assert with logs
:red_cross: add log appender
:check: use SystemOutRule
:check: add a debug log in both LivingAppImporter