> On May 4, 2016, at 8:12 AM, Shawn McKinney <[email protected]> wrote:
>
> 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:
To clarify, it is this member variable:
URI=null://null:null/fortress-rest-null/
that is not being properly initialized when the junit tests run via http. It
is comprised of these members:
private String HTTP_PW;
private String HTTP_HOST;
private String HTTP_PORT;
private String HTTP_PROTOCOL;
which initialized in the
private void init()
during instance construction. Not sure what the problem is, it should work.
Looking in the debugger atm….
Shawn