Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3611

Extends obr gogo commands

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.0.0.M1
    • Fix Version/s: 2.0.0.M1
    • Component/s: @ ROO SHELL
    • Labels:
      None

      Description

      Spring Roo Shell provides the following commands to install and start Osgi Bundles:

      • osgi obr deploy --bundleSymbolicName:
        • INSTALL a bundle from OBR providing bundleSymbolicName.
        • After deploy bundle, status is INSTALLED.
        • Delegates on obr:deploy gogo command.
      • osgi obr start --bundleSymbolicName:
        • Start a bundle providing bundleSymbolicName.
        • Delegates on felix:start gogo command.
        • FAILS because felix:start gogo command needs a url or a Bundle ID not a bundleSymbolicName.
      • osgi start --url :
        • Start a bundle providing a URL.
        • Delegates on felix:start gogo command.

      On Spring Roo 2.0 version, some of explained above is going to change:

      • osgi obr deploy --bundleSymbolicName --start:
        • By default start parameter gives value true (NEW)
        • INSTALL a bundle from OBR providing bundleSymbolicName.
        • If start is true, the bundle is going to be started. (NEW)
        • After deploy bundle status is STARTED. (NEW)
        • Installation delegates on obr:deploy gogo command
        • Start delegates on obr:start gogo command. (NEW)
      • osgi obr start --bundleSymbolicName:
        • Start a bundle providing bundleSymbolicName.
        • Delegates on obr:start gogo command. (NEW)
      • osgi start --url :
        • Works as previous version

      To be able to do this, is necessary to develop new Gogo Command that starts a bundle using its bundleSymbolicName instead of URL or ID.

        Attachments

          Activity

            People

            Assignee:
            jcgarcia Juan Carlos García del Canto
            Reporter:
            jcgarcia Juan Carlos García del Canto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: