Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-100

Research possibility to remove Providers file in META-INF

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • None
    • Saigon 119
    • 2

      Investigate removing the META-INF files

      • rely on @Providers automatic discovery instead
      • maybe did not work because of RestDispatcherServlet?
        • does default #getSingletons return annotated providers?
        • is it because of our RestDispatcherServlet?
          new Application() { 
              @Override 
              public Set<Object> getSingletons() { 
                  Set<Object> singletons = new HashSet<>(); 
                  singletons.addAll(endpoints.values()); 
                  return singletons; 
              } 
          }
          

        Acceptance criteria

              mgeljic Mikaël Geljić
              sang.ngo Sang Ngo Huu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR