un-fao / calipseo-shiny

Calipseo is FAO web- based platform for national Fisheries Authorities to streamline management of fisheries data and the production, analysis and reporting of fishery statistics.
1 stars 0 forks source link

[CALR-29] Add capacity for internal module to be loaded #29

Closed eblondel closed 6 months ago

eblondel commented 6 months ago

Issue migrated from JIRA: https://sdlc.review.fao.org/jira/browse/CALR-29 Creator/Reporter: Emmanuel Blondel @eblondel Assignee: Emmanuel Blondel @eblondel Priority: Medium Status: Done Date of creation: 2021-11-25T16:19:39.000+0000

Internal modules typed as suched should have their source scripts loaded by the modules will not be called by default, they intent to be loaded in several module endpoints.

eblondel commented 6 months ago

Author: Emmanuel Blondel @eblondel Date of creation: 2021-11-25T20:11:28.351+0000 Last update: 2021-11-25T20:11:28.351+0000

Done in [https://bitbucket.org/cioapps/fao-calipseo-stats/commits/b7aeea2701b60a12c9cebb61182c59b275a93a84

eblondel commented 6 months ago

Author: Emmanuel Blondel @eblondel Date of creation: 2021-11-25T20:12:58.265+0000 Last update: 2021-11-25T20:12:58.265+0000

[~alexandre.bennici@fao.org] look at test_internal.json, a simple type = "internal" would tag a module that is not loaded and bound to a server/ui, but its scripts are loaded. You can then test calling this function within other modules, let's see if it will do the job.