Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This module will use a "generic contribution" to get the required parameters and the ExtJson database field will be used to save the parameters (generic backend feature) finally a signal will trigger the calculation/actions. 

Plantumlcloud
filenameprocess.png
dataxVZta9swEP41hvRDwUu6HxDSDfJhUCiB7aMsXRw1smQkOY3//U4ny1FTu80YY2CCHN3Lc889d0nxUDrPrO8aVZRrxr2xxbKkZ+n4ARrA81o0UuMXeGQOPzh7ZwvaW2itdMGeK7DHzB442qOF9H20Ni3o7Y/tM77trdEetIgXycPIPcz7VIwfJ1yq4IJPbU3X4jePsJc64PEHQsUU75j0Roe0hH24QARWVp2XdNUqpjEKFrks7++L1beEZ7WmXE7WOg/acTZ4NkZ0ihKaYDkTGlF/3WimjK7HMK1FV+6DF9XVgpVGIApKnOOoBhyOneCTCsh40jeSF33hhCxHKvMwTxhjJ5gHETgmXgfK6ZzRzMQlWMssa8CDdcGezzB4nAPOjVLAUxWshikGUhzEpQwTUQJ5i6+7cZXkErNYbd6TswfPD2NEZAD7uMGT1Fx1QlLTKI9KiRDBgfmIgwjI9CVpXhSqZuytqV6AWi01jp7msNjtto93cZTkPrTkLJ0PmYjnWQLcwbyOQC0oODHq5C1NACH9VNcSyDfymuvEpJ6azidicsomMp1wdiAcFnD2L45cXll/dyW1pDNhrocYzl8GZU4X6bqqycr8SGz5PhiGb1n+/POib526sDLj4C3j2yYDtxmRPVMF4xDOxt68EeSofJIlTTYjUV8mJU29oB0pinGzZwOEeOoaLG2rtJWQp2Z63KIJI9gu+Cy6NuyPOfqp+0VY5o7yJ8WYBlySwKf9HzbT3K5+s5n6Jpb8weq/RRLpAppWmR7C8dd/18n3Tqn+ifX/VigRWCaUoQ9/I5T4a7gIr6dcLbgcOwvEvVGS95kkHko84B+W3w==
width
compressedtrue
revision1

Use cases

Back-end

UC14-1: add a new calculation (needs to change the openimis.json).
UC14-2: use the front end contribution to select a calculation.
UC14-3: use the fron end contribution to display the parameters required by multiple calculation for on object.
UC14-4: replace a calculation,
UC14-5: remove a calculation,

...

This module won't have ad-hoc authorities.

Entities

CalculationRules

  • UUID (char(24) )

  • CalculationClassName(varchar)

  • Status (int)

  • Description (varchar)

  • Version (int)

  • Json_ext (json)

  • DateCreated(date)

  • DateUpdate(date)

  • UserUpdateUUID(fk users)

  • UserCreateUUID (fk users)

  • DateValidFrom (date)

  • DateValidTo (date)

sub table CalculationRulesDetails

  • UUID (char(24) )

  • CalculationRulesUUID (varchar)

  • Status (int)

  • ClassName

  • Main (bool)

  • Params (Json)

  • ClassParams(json)

    • Type

    • rights

    • Relevance

    • conditions

  • Json_ext (json)

  • DateCreated(date)

  • DateUpdate(date)

  • UserUpdateUUID(fk users)

  • UserCreateUUID (fk users)


Details design


Back end

Backend management code:

...