Skip to content

0.3.0

Compare
Choose a tag to compare
@kobaltz kobaltz released this 12 Feb 03:40
· 61 commits to main since this release

Public Links! Addresses #3

You can now create public links for Projects. When you are on the projects#index page, you will now see a Public LInks. You can generate a public link and also set some URL Parameters at the same time. Setting the parameters will automatically update the URLs. You can always revoke the public link by removing it.

ScreenShot-2024-02-11-22-13-27

Don't forget to run bin/rails mission_control_servers:install:migrations

If you are using constraints when mounting the engine, then you will need to add a route.

  get "/mission_control-servers/projects/:project_id/dashboards/project_table", to: "mission_control/servers/dashboards/project_tables#show"
  get "/mission_control-servers/projects/:project_id/dashboards/cpu_usage", to: "mission_control/servers/dashboards/cpu_usages#show"
  get "/mission_control-servers/projects/:project_id/dashboards/memory_usage", to: "mission_control/servers/dashboards/memory_usages#show"
  get "/mission_control-servers/projects/:project_id/dashboards/disk_free", to: "mission_control/servers/dashboards/disk_frees#show"
  get "/mission_control-servers/projects/:project_id/dashboards/last_seen", to: "mission_control/servers/dashboards/last_seens#show"
  get "/mission_control-servers/projects/:project_id/dashboards/cpu_history", to: "mission_control/servers/dashboards/cpu_histories#show"
  get "/mission_control-servers/projects/:project_id/dashboards/memory_history", to: "mission_control/servers/dashboards/memory_histories#show"
  get "/mission_control-servers/projects/:project_id/dashboards/combo_history", to: "mission_control/servers/dashboards/combo_histories#show"
  get '/mission_control-servers/projects/:project_id/public_projects/:id', to: 'mission_control/servers/public_projects#show'
  get '/mission_control-servers/projects/:project_id/script', to: 'mission_control/servers/scripts#show'
  post '/mission_control-servers/projects/:project_id/ingress', to: 'mission_control/servers/ingresses#create'
constraints AdminConstraint do
  mount MissionControl::Servers::Engine => "/mission_control-servers"
end