Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-3936

Voltha-Lib-GO circular dependency

    XMLWordPrintable

    Details

    • Story Points:
      5
    • Epic Link:
    • Sprint:
      VOLTHA 2.9 - Sprint 1

      Description

      The "PONResourceManager" struct has a pointer to "TechProfileMgr":

      type PONResourceManager struct {
         ...
         TechProfileMgr   tp.TechProfileIf // create object of *tp.TechProfileMgr
         ...
      }

      which has a pointer back to "PONResourceManager":

      type TechProfileMgr struct {
         ...
         resourceMgr       iPonResourceMgr
         ...
      }

      This is achieve via interfaces, thus is not preventing the code from building correctly, but it should probably be avoided if possible.

       

       

        Attachments

          Activity

            People

            Assignee:
            ggowdra Girish Gowdra
            Reporter:
            teone Matteo Scandolo
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: