OSC / ood_appkit

https://osc.github.io/Open-OnDemand/
MIT License
1 stars 2 forks source link

Default states if components are not configured? #35

Open brianmcmichael opened 7 years ago

brianmcmichael commented 7 years ago

It looks like the URL handlers specify defaults if they are not explicitly configured at https://github.com/OSC/ood_appkit/blob/master/lib/ood_appkit/configuration.rb#L88-L108

Does OodAppkit actually check to see if these resources are available on the system though?

For example, could an OodAppkit.files? method be used to determine whether the Files app is properly configured to the appropriate path?

Having this logic here would be helpful in apps that rely on these resources, since we could disable features if the helper apps aren't available.

┆Issue is synchronized with this Asana task by Unito

nickjer commented 7 years ago

Does OodAppkit actually check to see if these resources are available on the system though?

No.

could an OodAppkit.files? method be used to determine whether the Files app is properly configured to the appropriate path?

I believe those apps are considered the base system apps. So, they should be a requirement for any OOD install. We would have to discuss if these apps are actually optional. Also, they hopefully will be all integrated into the dashboard in the future and be a single app.