New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an audit
method to IAppliance
#47
Comments
Some implementation questions:
Erroring would halt Logging and returning false might be appropriate as well, since a doctor method is actually functioning properly if it detects error (whereas throwing an error might indicate doctor itself failed somehow). |
Without exploring what others do yet: the result of doctor should be a clean bill of health or a dirty bill of health with specifics. (When I run |
I do wonder if Here's the
Meanwhile here is documentation for
|
Some quick names for consideration: A few terms and notes that came out of Slack discussion:
Note that Ruby has |
Names aside; how should appliances access the logger. If |
After lots of thought I think |
I think @louh nailed it! |
What do you mean @louh, I clearly came up with it, here, in GitHub, just now, me. |
(For the sake of future digital archeologists: yes, the rest of us were babbling about hoopsuckers and hudswingers when @louh came in with a "fellas, fellas, I got something!") |
doctor
method to IApplianceaudit
method to IAppliance
Appliances are often going to require system level tools or configurations. The audit method is an opportunity for an Appliance author to check for the existance of those things, and convey the necessary corrective steps if anything is missing or incorrect. Issue #47
Appliances are often going to require system level tools or configurations. The audit method is an opportunity for an Appliance author to check for the existance of those things, and convey the necessary corrective steps if anything is missing or incorrect. Issue #47
Appliances are often going to require system level tools or configurations. The audit method is an opportunity for an Appliance author to check for the existance of those things, and convey the necessary corrective steps if anything is missing or incorrect. Issue #47
Task
Description
Appliances will regularly have external dependencies outside of npm (e.g. imagemagick, ffmpeg, ccextractor, tesseract, etc). Given this, we would like appliances to have a health check that makes it possible to programmatically confirm that the dependency needs are met (and ideally share some clues as to what action must be taken to meet them).
Lets add an abstract
audit
method to IAppliance.Relevant Resources / Research
None.
Related Issues
The text was updated successfully, but these errors were encountered: