[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openmrs-implementers
Subject:    Re: REST web services startup
From:       Darius Jazayeri <djazayeri () gmail ! com>
Date:       2014-02-14 18:54:10
Message-ID: CAA-nHnfiOas-YnFk0jkqD7gmQqO91rg2GtY5Kfze_1sYtHxtdw () mail ! gmail ! com
[Download RAW message or body]

I think it makes sense to have the next version of the REST module leverage
TRUNK-3644 (which has already been backported as far as 1.8.x).

(Personally, I would prefer for startup to be 2 minutes slower, *but
actually be complete*, rather than deferring key top-level things.)

-Darius


On Fri, Feb 14, 2014 at 7:47 AM, Mark Goodrich <mgoodrich@pih.org> wrote:

> We are okay if it slows startup by 1-2 minutes?  (I'm fine with that,
> but wanted to check with others)
> 
> Mark
> 
> 
> 
> On 02/13/2014 10:24 AM, Darius Jazayeri wrote:
> 
> My vote would be to scan and load the resources during
> ModuleActivator.contextRefreshed(), so that if other modules are providing
> resources, those get picked up.
> 
> I don't think it's worth caring about "We'd like to call these method
> *after* the OpenMRS server has completed started"; we'd like web services
> to be a top-level thing, and I don't really think it's correct to have the
> server started up, but the web services not yet ready to go.
> 
> -Darius
> 
> 
> On Thu, Feb 13, 2014 at 7:00 AM, Mark Goodrich <mgoodrich@pih.org> wrote:
> 
> > Any thoughts from the REST people out there about this change?
> > 
> > https://tickets.openmrs.org/browse/RESTWS-416
> > 
> > I can take it on, but was looking for feedback first.
> > 
> > Mark
> > 
> > --
> > OpenMRS Implementers: http://go.openmrs.org/implementers
> > Post: implementers@openmrs.org
> > Unsubscribe: implementers+unsubscribe@openmrs.org
> > Manage your OpenMRS subscriptions at https://id.openmrs.org/
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to implementers+unsubscribe@openmrs.org.
> > 
> 
> --
> OpenMRS Implementers: http://go.openmrs.org/implementers
> Post: implementers@openmrs.org
> Unsubscribe: implementers+unsubscribe@openmrs.org
> Manage your OpenMRS subscriptions at https://id.openmrs.org/
> To unsubscribe from this group and stop receiving emails from it, send an
> email to implementers+unsubscribe@openmrs.org.
> 
> 
> --
> OpenMRS Implementers: http://go.openmrs.org/implementers
> Post: implementers@openmrs.org
> Unsubscribe: implementers+unsubscribe@openmrs.org
> Manage your OpenMRS subscriptions at https://id.openmrs.org/
> 
> To unsubscribe from this group and stop receiving emails from it, send an
> email to implementers+unsubscribe@openmrs.org.
> 

-- 
OpenMRS Implementers: http://go.openmrs.org/implementers
Post: implementers@openmrs.org
Unsubscribe: implementers+unsubscribe@openmrs.org
Manage your OpenMRS subscriptions at https://id.openmrs.org/

To unsubscribe from this group and stop receiving emails from it, send an email to \
implementers+unsubscribe@openmrs.org.


[Attachment #3 (text/html)]

<div dir="ltr">I think it makes sense to have the next version of the REST module \
leverage TRUNK-3644 (which has already been backported as far as \
1.8.x).<div><br></div><div>(Personally, I would prefer for startup to be 2 minutes \
slower, <i>but actually be complete</i>, rather than deferring key top-level \
things.)<br>

<div><br></div><div>-Darius</div></div></div><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Fri, Feb 14, 2014 at 7:47 AM, Mark Goodrich <span \
dir="ltr">&lt;<a href="mailto:mgoodrich@pih.org" \
target="_blank">mgoodrich@pih.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>We are okay if it slows startup by 1-2
      minutes?  (I&#39;m fine with that, but wanted to check with others)<span \
class="HOEnZb"><font color="#888888"><br>  <br>
      Mark</font></span><div><div class="h5"><br>
      <br>
      <br>
      On 02/13/2014 10:24 AM, Darius Jazayeri wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      
      <div dir="ltr">My vote would be to scan and load the resources
        during ModuleActivator.contextRefreshed(), so that if other
        modules are providing resources, those get picked up.
        <div><br>
        </div>
        <div>I don&#39;t think it&#39;s worth caring about &quot;<span \
style="line-height:17.000099182128906px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">We&#39;d
  like to call these method </span><b \
style="line-height:17.000099182128906px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif">after</b><span \
style="line-height:17.000099182128906px;font-size:13px;font-family:Arial,FreeSans,Helvetica,sans-serif"> \
                the
            OpenMRS server has completed started</span>&quot;; we&#39;d like web
          services to be a top-level thing, and I don&#39;t really think
          it&#39;s correct to have the server started up, but the web
          services not yet ready to go.</div>
        <div><br>
        </div>
        <div>-Darius</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Feb 13, 2014 at 7:00 AM, Mark
          Goodrich <span dir="ltr">&lt;<a href="mailto:mgoodrich@pih.org" \
target="_blank">mgoodrich@pih.org</a>&gt;</span>  wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">  <div bgcolor="#FFFFFF" text="#000000"> Any thoughts \
from the  REST people out there about this change?  <br>
              <br>
              <a href="https://tickets.openmrs.org/browse/RESTWS-416" \
target="_blank">https://tickets.openmrs.org/browse/RESTWS-416</a><br>  <br>
              I can take it on, but was looking for feedback first.<span><font \
color="#888888"><br>  <br>
                  Mark<br>
                  <br>
                </font></span></div>
            <span><font color="#888888">
                -- <br>
                OpenMRS Implementers: <a href="http://go.openmrs.org/implementers" \
                target="_blank">http://go.openmrs.org/implementers</a><br>
                Post: <a href="mailto:implementers@openmrs.org" \
                target="_blank">implementers@openmrs.org</a><br>
                Unsubscribe: <a href="mailto:implementers%2Bunsubscribe@openmrs.org" \
                target="_blank">implementers+unsubscribe@openmrs.org</a><br>
                Manage your OpenMRS subscriptions at <a \
href="https://id.openmrs.org/" target="_blank">https://id.openmrs.org/</a><br>  To \
                unsubscribe from this group and stop receiving emails
                from it, send an email to <a \
href="mailto:implementers%2Bunsubscribe@openmrs.org" \
target="_blank">implementers+unsubscribe@openmrs.org</a>.<br>  \
</font></span></blockquote>  </div>
        <br>
      </div>
      -- <br>
      OpenMRS Implementers: <a href="http://go.openmrs.org/implementers" \
                target="_blank">http://go.openmrs.org/implementers</a><br>
      Post: <a href="mailto:implementers@openmrs.org" \
                target="_blank">implementers@openmrs.org</a><br>
      Unsubscribe: <a href="mailto:implementers+unsubscribe@openmrs.org" \
                target="_blank">implementers+unsubscribe@openmrs.org</a><br>
      Manage your OpenMRS subscriptions at <a href="https://id.openmrs.org/" \
target="_blank">https://id.openmrs.org/</a><br>  To unsubscribe from this group and \
                stop receiving emails from it,
      send an email to <a href="mailto:implementers+unsubscribe@openmrs.org" \
target="_blank">implementers+unsubscribe@openmrs.org</a>.<br>  </blockquote>
    <br>
  </div></div></div><div class="HOEnZb"><div class="h5">


<p></p>

-- <br>
OpenMRS Implementers: <a href="http://go.openmrs.org/implementers" \
                target="_blank">http://go.openmrs.org/implementers</a><br>
Post: <a href="mailto:implementers@openmrs.org" \
                target="_blank">implementers@openmrs.org</a><br>
Unsubscribe: <a href="mailto:implementers%2Bunsubscribe@openmrs.org" \
target="_blank">implementers+unsubscribe@openmrs.org</a><br> Manage your OpenMRS \
subscriptions at <a href="https://id.openmrs.org/" \
target="_blank">https://id.openmrs.org/</a><br>

<p></p>

To unsubscribe from this group and stop receiving emails from it, send an email to <a \
href="mailto:implementers%2Bunsubscribe@openmrs.org" \
target="_blank">implementers+unsubscribe@openmrs.org</a>.<br> \
</div></div></blockquote></div><br></div>

<p></p>

-- <br />
OpenMRS Implementers: <a \
href="http://go.openmrs.org/implementers">http://go.openmrs.org/implementers</a><br \
                />
Post: implementers@openmrs.org<br />
Unsubscribe: implementers+unsubscribe@openmrs.org<br />
Manage your OpenMRS subscriptions at <a \
href="https://id.openmrs.org/">https://id.openmrs.org/</a><br />

<p></p>

To unsubscribe from this group and stop receiving emails from it, send an email to \
implementers+unsubscribe@openmrs.org.<br />



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic