Project

General

Profile

Actions

Task #130

closed

Modular framework for BE

Added by Vít Švanda over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Modularity
Target version:
Start date:
09/05/2016
Due date:
% Done:

90%

Estimated time:
56.00 h
Owner:

Description

  • Choose framework for modularity on BE
    • OSGi?
  • Requirments:
    • Installation
    • Upgrade
    • Enable/disable
  • Test and documentation

Related issues

Related to IdStory Identity Manager - Task #97: Rest get method for read resource colide with search methodClosedRadek Tomiška08/18/2016

Actions
Actions #1

Updated by Radek Tomiška over 7 years ago

  • Status changed from New to In Progress
  • Estimated time set to 56.00 h
Actions #3

Updated by Radek Tomiška over 7 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • % Done changed from 0 to 90

After some research, study and consultations we will use Spring Plugin framework only. Is the simpliest solution for basic modularity. Module will be simple .jar package and will be added (replaced) in app libs. Then application restart is needed. Every module will contain metadata information abot version, dependendencies etc.

I've made some refactoring which includes:
  • adding service layer to application
    • will be used for security measures
    • will be used as api between modules
  • spring data rest will be used internal only (assemblers, events ..). Rest will be exposed manually.

Review please new interfaces and controllers (BaseService, BaseController etc.) and make a test.

Actions #4

Updated by Radek Tomiška over 7 years ago

  • Related to Task #97: Rest get method for read resource colide with search method added
Actions #5

Updated by Ondřej Kopr over 7 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Ondřej Kopr to Radek Tomiška
Feedback:
  • Documentation - documentation found on Czech DokuWiki. Nice and clean explanation.
  • BaseEntityService - found, services using this interface
  • BaseEntityController - found, there are two constants version of api and root for tree endpoint
  • FE: found agenda for activate and deactivate BE modules, test on example 'CzechIdM Module Example'. Modules: Core and CzechIdM Module Example, These modules do not deactivate.
  • BE: Example module 'CzechIdM Module Example' its nice and for explanation works very well.
  • Other test and review was done on task #138 when refactoring Tree agendas to new BE.
#97
  • Test identity and role controllers. BE test OK, SoapUI OK.
Actions #6

Updated by Radek Tomiška over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF