% title _("Provisioning details for application instance #{@app_instance}") %> <% content_for(:javascripts) do %> <%= webpacked_plugins_js_for :foreman_acd %> <% end %> <% content_for(:stylesheets) do %> <%= webpacked_plugins_css_for :foreman_acd %> <% end %> <% json = { "deploymentState": @app_instance.deployment_state.to_s, "initialConfigureState": @app_instance.initial_configure_state.to_s, "appInstanceName": @app_instance.name, "hosts": @report_hosts, "deployTaskUrl": foreman_tasks_task_path(@app_instance.last_deploy_task), "configureJobUrl": job_invocations_path(search: "description ~ \"ACD application #{@app_instance.name}\""), "reportDataUrl": ui_acd_report_data_path("__id__"), "appInstanceId": @app_instance.id, } json["initialConfigureJobUrl"] = job_invocation_path(@app_instance.initial_configure_job) unless @app_instance.initial_configure_job.nil? %>
<%= react_component('ApplicationInstanceReport', :data => json) %>