> On May 3, 2016, at 1:49 PM, Chris Pike <[email protected]> wrote: > > I removed the local config and put checks in the factories to try and > initialize remote config (if not using REST). I also made GlobalIds only > contain static vars and moved the 5 config variables into Config and made > them private with getters.
I like what you did removing the local config. It’s much cleaner. But now we have problem bootstrapping the RestUtils which shows running junit test over http protocol. Those statics must be initialized somehow prior to usage. You can test by deploying fortress-rest to tomcat and setting these properties in your build.properties in the fortress-core and rerunning the junit tests: enable.mgr.impl.rest=true # This user account is added automatically during deployment of fortress-rest via -Dload.file=./src/main/resources/FortressRestServerPolicy.xml: http.user=demouser4 http.pw=password http.host=localhost http.port=8080 http.protocol=http Let me know if you have any questions. Thanks, Shawn
