zowe / zss

Zowe System Services Server for enabling low-level microservices
Eclipse Public License 2.0
13 stars 45 forks source link

Utilize the module registry #732

Closed ifakhrutdinov closed 1 month ago

ifakhrutdinov commented 2 months ago

Proposed changes

To decrease the ZIS LPA footprint, ZIS will use the module registry for its plug-in modules. When not in dev mode, ZIS will use the module registry API for adding plug-in modules to the LPA, and if a module is already registered, ZIS will reuse the existing LPA info. In dev mode, ZIS will load its own copy of plug-in modules to the LPA, just as it does now.

This PR depends upon the following PRs: https://github.com/zowe/zowe-common-c/pull/492

Type of change

Please delete options that are not relevant.

PR Checklist

Please delete options that are not relevant.

Testing

Adding a module to the registry

Module sharing

For the next test, you'll need another ZIS instance upgraded to the same level as the original instance.

Non-eligible module

For this test, you will need a plug-in module which does not use the new feature; i.e., the plug-in does not use the MODREG_MARK_MODULE macro.

Non-LPA module

For this test, you will need a plug-in module which does not use the LPA.

Registry disablement via the new parameter

Registry disablement via the dev option