Sha256: e769f5a7b4027b02609cb696682e8aa0a986aaf3b903006c1af7b7c3d29ee641

Contents?: true

Size: 1.4 KB

Versions: 59

Compression:

Stored size: 1.4 KB

Contents

<% 
if any_services_in_progress? %>
  <complete value="false">false</complete>
  <in_progress>
    <% # URLS delivered by url_for already come with &amp; rather than & seperating query params, no need to XML-escape them. I used to not realize that and send them through REXML::Text to escape them. Old versions of REXML were buggy, and avoided double escaping. New versions are not buggy and the unneccesary trip through REXML::Text messed them up. Phew, that was crazy to debug
    %>
    <umlaut_request_id><%= @user_request.id %></umlaut_request_id>
    <refresh_url><%= 
    url_for(params.merge( :'umlaut.request_id' => @user_request.id, :only_path => false ) ) %></refresh_url>    
    <refresh_url_path><%=  url_for(params.merge( :'umlaut.request_id' => @user_request.id, :only_path => true ) ) %></refresh_url_path>
    <refresh_url_partial_path><%=  url_for(params.merge( :'umlaut.request_id' => @user_request.id, :only_path => true, :skip_relative_url_root => true ) ) %></refresh_url_partial_path>
    <requested_wait_seconds><%= umlaut_config.lookup!("poll_wait_seconds", 4)%></requested_wait_seconds>
    <services_in_progress>
      <% @user_request.services_in_progress.collect { |s| s.service_types_generated}.flatten.uniq.each do |type| %> 
          <service name="<%= type.name %>" />  
      <% end %>
    </services_in_progress>
  </in_progress>
<% else %>
  <complete value="true">true</complete>
<% end %>

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
umlaut-4.1.7 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.1.6 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.1.5 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.1.4 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.1.3 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.1.2 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.1.1 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.1.0 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.1.0.pre3 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.1.0.pre.2 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.1.0.pre.alpha.1 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.0.3 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.0.2 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.0.1 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.0.0 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.0.0.beta5 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.0.0.beta4 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.0.0.beta3 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.0.0.beta2 app/views/resolve/_api_in_progress.xml.erb
umlaut-4.0.0.beta1 app/views/resolve/_api_in_progress.xml.erb