juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (Jira)" <j...@apache.org>
Subject [jira] [Created] (JUNEAU-241) RestContext should provide ability to be initialized without calling Servlet.init()
Date Tue, 09 Jun 2020 16:54:00 GMT
James Bognar created JUNEAU-241:
-----------------------------------

             Summary: RestContext should provide ability to be initialized without calling
Servlet.init()
                 Key: JUNEAU-241
                 URL: https://issues.apache.org/jira/browse/JUNEAU-241
             Project: Juneau
          Issue Type: Improvement
          Components: Code
    Affects Versions: 8.1.3
            Reporter: James Bognar


It appears the Spring Boot test framework will not automatically call Servlet.init() on the
top-level resource on beans injected into tests.  This causes the SpringBootResourceResolver
not being used to resolve child resources.

Figure out a way to get this to work in Spring Boot tests without having to rely on servlet
initialization.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message