-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/dynamic deck dynamo prod #2
Feature/dynamic deck dynamo prod #2
Conversation
@@ -41,8 +41,11 @@ | |||
@Override | |||
public Map<String, String> getOptions() { | |||
Map<String, String> options = new LinkedHashMap<>(); | |||
ResourceResolver resourceResolver = getHelper().getRequest().getResourceResolver(); | |||
if (null != resourceResolver) { | |||
if (null != getHelper() && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getHelper()
returned null in the "unrelated" DialogResourceProviderFactoryTest
@@ -24,7 +24,7 @@ | |||
import org.osgi.service.component.annotations.Component; | |||
import org.osgi.service.metatype.annotations.Designate; | |||
|
|||
@Component(service = DynamicDeckConfigurationService.class) | |||
@Component(service = DynamicDeckConfigurationService.class, immediate = true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can leave this - but you definitely shouldn't need it to slingscripthelper to get the service... might be something weird going on w/ the MCP forms
import org.mockito.invocation.InvocationOnMock; | ||
import org.mockito.stubbing.Answer; | ||
import org.slf4j.Logger; | ||
import org.slf4j.LoggerFactory; | ||
import sun.rmi.runtime.Log; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleaned up these deps as my local didn't like running this tests with sun.rmi...
Fixed issue with failing test