That does sound promising, and we are using drop wizard 0.8.x in helix-ui, so 
it should be compatible. Would need to play around with it a little more to 
know for sure. 

FWIW, the helix-ui module is in a fairly rough beginning state, so if there's 
interest in it maybe we could turn this thread into a discussion about features 
/ improvements. 

We are currently evaluating Helix for use in several projects, and having a 
good community supported UI would be a big selling point. 

-Greg

> On Jan 31, 2016, at 9:39 AM, kishore g <[email protected]> wrote:
> 
> Will this work in this scenario.
> https://github.com/rvs-fluid-it/wizard-in-a-box
> 
>> On Sun, Jan 31, 2016 at 8:27 AM, Greg Brandt <[email protected]> wrote:
>> 
>> Hey Shaofeng,
>> 
>> You can try using this helper class if you want to deploy the helix-ui in
>> a war:
>> 
>> 
>> https://github.com/apache/helix/blob/master/helix-ui/src/main/java/org/apache/helix/ui/util/DropWizardApplicationRunner.java
>> 
>> Since the helix-ui module is intended to be packaged and run as a shaded
>> jar from command line, you might have to be a little careful of dependency
>> versions if your tomcat server has a complicated classpath.
>> 
>> Also here is a link to the latest drop wizard configuration docs
>> https://dropwizard.github.io/dropwizard/0.7.1/docs/manual/configuration.html
>> 
>> -Greg
>> 
>>>> On Jan 31, 2016, at 6:08 AM, ShaoFeng Shi <[email protected]>
>>> wrote:
>>> 
>>> Hello,
>>> 
>>> Just want to get some advice on how to run helix-ui in a Tomcat instance,
>>> is there any doc or guidance? Our app already runs in a tomcat, if
>> helix-ui
>>> can be packaged as a standard war, that would be very easy for ship and
>>> deploy. I checked this page:
>>> https://github.com/apache/helix/tree/master/helix-ui , but the
>> “Dropwizard
>>> Configuration Reference” link is reporting 404 error now.
>>> 
>>> Thanks for any suggestion!
>>> 
>>> --
>>> Best regards,
>>> 
>>> Shaofeng Shi
>> 

Reply via email to