Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-871

Cyclic dependency between CPSDataService and CPSAdminService

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • New Delhi Release
    • None
    • CPS-Core, NCMP
    • None

      cps-service/src/main/java/org/onap/cps/api/impl/CpsAdminServiceImpl.java

      cps-service/src/main/java/org/onap/cps/api/impl/CpsDataServiceImpl.java

      Relying upon circular references between two beans mentioned above is discouraged by Spring Boot Application.

      Update your application to remove the dependency-cycle between beans.

       

      A/C

      Remove @Lazy annotated bean.  

      cps-and-ncmp container should start without issues.

       

            ToineSiebelink Toine Siebelink
            renukumari renukumari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: