i have some questions about MobileFirst Adapters:
We are implementing javascript adapters on a MobileFirst 8 server. Where is the best place to write javascript utils functions?
I also have some utils on java classes (called from javascript adapters) and i need to use the ConfigurationAPI class to get properties. The problem is that the configurationAPI variable (instantiated with the @Context annotation) is always null. Why? How can i get properties values from Java code?
I have a lot of properties (for example low-level backend endpoints) that should be shared between all the adapters. At the moment i used the
<property name="" displayName="" defaultValue="" />
syntax, should i copy and paste them in all adapters?! Or where should i put them?
Thank you
configurationAPI
context works in pure Java adapters, not in "java in javascript". – Nathan H