Details
-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Story Points:2
-
Epic Link:
Description
IGB runs in an OSGi container implementation called "felix," a product of the Apache felix project. As such, IGB is a collection of bundles that can be dynamically loaded or un-loaded into the run-time on demand.
Felix container has a "gogo" shell that provides command-line access to various control functions in the container. In theory, we should be able to access the felix shell within IGB and control loading and un-loading of bundles.
If we could do this, our development cycle could be greatly sped up because we could re-compile a bundle and then use the felix shell to re-load it into the container, thus saving one or two minutes required to shut down IGB and restart it just to see the new code in action.
As an example, see the IGB-fx project, which we are not actively developing right now, but which demonstrates how this can work. IGB-fx is also an OSGi-based application, but it uses a different OSGi run-time - karaf. Karaf is also an Apache project; it is a wrapper around felix and has a shell plus a set of commands you can use to manipulate the OSGi run-time in real time, while an application is running.
For this task, investigate what it would require for developers to gain command-line access to the IGB run-time. Look at IGB-fx as an example.
Note: We have not done anything with the IGB-fx code base in a while! If you run into problems building or running it, make a separate issue for that and mark it as a "blocker" for this issue. You would really need to see the IGB-fx karaf integration in action before proceeding with this task here.
References:
- IGB-fx developer's guide - https://docs.google.com/document/d/197DeWPaXFZrAsT7LicmP2U110C6fHacyyETRMqJ8UTI
- OSGi and karaf - introduction - https://www.baeldung.com/osgi
- https://bitbucket.org/lorainelab/igb-fx/src/master/
Attachments
Issue Links
- is blocked by
-
IGBF-1819 Setting up Apache Felix WebConsole in IGB
-
- Closed
-
Sai Charan Reddy Vallapureddy - please review and consider closing
IGBF-1599once Web consoleIGBF-1819is implemented.