Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-4027

CLONE - On-boarding: Step 5 - Learn OSGi basics from OSGi in Action text

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Story Points:
      2
    • Sprint:
      Fall 7 : 11 Nov to 22 Nov, Fall 8 : 25 Nov to 6 Dec, Fall 9 : 9 Dec to 20 Dec, Spring 2 : 20 Jan to 31 Jan, Spring 3 : 3 Feb to 14 Feb, Summer 6: 17 Aug - 28 Aug, Summer 7: 31 Aug - 11 Sep, Fall 1: 14 Sep - 25 Sep, Winter 5 Feb 22 - Mar 5, Winter 6 Mar 8 - Mar 19, Spring 1 2021 Mar 22 - Apr 2, Summer 2 2023 May 29, Summer 3 2023 June 12, Fall 4 2023 Oct 16, Fall 5, Fall 6, Spring 5, Fall 5, Fall 6, Winter 1, Spring 1

      Description

      IGB runs with an OSGi framework, so it's important to understand OSGi and how it works.

      To get familiar with OSGi, read "OSGi in Action" Chapters 1 to 3. Updated companion code for the text is here: https://bitbucket.org/lorainelab/osgi-in-action/src/master/

      To solidify your understanding, do one of the hands-on tasks below. Or, if you like, come up with your own idea for a deliverable that helps you – and others! – understand how OSGi bundles can form a modular application in Java.

      One you have done that, you should continuing reading the remaining chapters on your own time. Aim to finish by the end of your first semester on the team, or by the end of the first semester break after you join the team. Your ultimate goal: Become an expert on OSGi so that you can develop new aspects of the IGB API and help others do the same.

      Task suggestions:

      • Create a new shape implementation for the drawing program described above. Use the shell program from Chapter 3 to dynamically load and unload it. Submit a pull request to the bitbucket repository (see below).
      • Investigate the karaf OSGi container. Run the program from Chapter 3 in the karaf shell instead of the shell from Chapter 3. Create instructions for how to do that. Here's a short tutorial to get you started: https://www.javaindeed.com/playing-with-apache-karaf-console/
      • Look into how IGB application uses the felix OSGi framework. Create a flow diagram showing how launching IGB starts and manages the OSGi container.
      • Review the "core" modules in IGB and make a list of each package exported from same.

      See IGBF-3358 for additional tutorials on OSGI.

        Attachments

        1. How to set up environment and run the Paint Program in Karaf Console.docx
          8 kB
          saideepthi jagarapu
        2. kite_shape.png
          27 kB
          saideepthi jagarapu
        3. paint2.png
          21 kB
          saideepthi jagarapu
        4. PaintFrame.JPG
          52 kB
          saideepthi jagarapu
        5. paintframe.png
          48 kB
          saideepthi jagarapu
        6. PaintFrame2.png
          208 kB
          saideepthi jagarapu
        7. Paint-Frame-Trapezoid.png
          1.08 MB
          Pranav Bhatia
        8. paint test.png
          640 kB
          saideepthi jagarapu
        9. rectangle.PNG
          5 kB
          saideepthi jagarapu
        10. Screenshot.png
          1.20 MB
          saideepthi jagarapu
        11. screenshot-1.png
          287 kB
          saideepthi jagarapu
        12. screenshot-2.png
          383 kB
          saideepthi jagarapu
        13. Screenshot 2023-10-26 at 1.59.31 PM.png
          88 kB
          saideepthi jagarapu
        14. steps to test (1).docx
          249 kB
          saideepthi jagarapu

          Issue Links

            Activity

            Hide
            pbhatia1 Pranav Bhatia added a comment - - edited

            A. Got familiar with OSGi, read "OSGi in Action" Chapters 1 to 3.
            B. Implemented and tested new shape Trapezoid in paint frame.

            Branch - https://bitbucket.org/pranavbhatia1999/osgi-in-action/branch/IGBF-4027

            Attached is the screenshot of working paint frame with Trapezoid shape.

            To test the same please follow instructions mentioned here - https://jira.bioviz.org/browse/IGBF-2125

            Show
            pbhatia1 Pranav Bhatia added a comment - - edited A. Got familiar with OSGi, read "OSGi in Action" Chapters 1 to 3. B. Implemented and tested new shape Trapezoid in paint frame. Branch - https://bitbucket.org/pranavbhatia1999/osgi-in-action/branch/IGBF-4027 Attached is the screenshot of working paint frame with Trapezoid shape. To test the same please follow instructions mentioned here - https://jira.bioviz.org/browse/IGBF-2125
            Hide
            sjagarap saideepthi jagarapu added a comment -

            Code looks good and working as expected, able to draw Trapezoid in paint frame
            Minor suggestion: you can avoid pushing .DS_Store files

            Attaching testing screenshot in my local env

            Show
            sjagarap saideepthi jagarapu added a comment - Code looks good and working as expected, able to draw Trapezoid in paint frame Minor suggestion: you can avoid pushing .DS_Store files Attaching testing screenshot in my local env
            Hide
            pbhatia1 Pranav Bhatia added a comment -
            Show
            pbhatia1 Pranav Bhatia added a comment - Thanks for the suggestion saideepthi jagarapu I have made the changes. Please review the commit - https://bitbucket.org/pranavbhatia1999/osgi-in-action/commits/35dd78ec96dbd809b9e3218269cf4a043e9042bd
            Hide
            sjagarap saideepthi jagarapu added a comment -

            Looks good to me, recommending PR

            Show
            sjagarap saideepthi jagarapu added a comment - Looks good to me, recommending PR
            Hide
            pbhatia1 Pranav Bhatia added a comment -
            Show
            pbhatia1 Pranav Bhatia added a comment - PR raised. Link to PR - https://bitbucket.org/lorainelab/osgi-in-action/pull-requests/10
            Hide
            ann.loraine Ann Loraine added a comment -

            PR is merged. Ready for testing.

            Show
            ann.loraine Ann Loraine added a comment - PR is merged. Ready for testing.
            Hide
            sjagarap saideepthi jagarapu added a comment -

            Tested changes after it is merged, able to draw developed and other shapes in paint frame. Moving this to done state

            Show
            sjagarap saideepthi jagarapu added a comment - Tested changes after it is merged, able to draw developed and other shapes in paint frame. Moving this to done state

              People

              • Assignee:
                pbhatia1 Pranav Bhatia
                Reporter:
                sjagarap saideepthi jagarapu
              • Votes:
                0 Vote for this issue
                Watchers:
                Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: