Skip to content
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

EXAMPLE URL-based Status Indicator Plugin #32

Open
omegabytes opened this issue Oct 25, 2016 · 1 comment
Open

EXAMPLE URL-based Status Indicator Plugin #32

omegabytes opened this issue Oct 25, 2016 · 1 comment

Comments

@omegabytes
Copy link
Contributor

_EXAMPLE ISSUE_
The below is a great example of an issue. It has explains (1) why it's there, (2) a proposed basic solution or solution approach, (3) desired outcome.

(1)
After talking with a few customers it would be great to have a simple plugin for registering URL-based status indicators, i.e. those that poll a URL and show "connected/disconnected" or similar based on the availability of the URL.

(2)
Basic functionality might be

var googleIndicator = new IndicatorPlugin({ 
    url: 'https://google.com', 
    icon: 'database',
    label: 'Google',
    interval: 15000
});
openmct.install(googleIndicator);

(3)
And then you'd get an indicator icon that would go red/green based on whether or not it is connected to the server.

@omegabytes
Copy link
Contributor Author

The actual issue I stole for this example can be found here; with a wonderful github issue structure you can browse for more examples here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
@omegabytes and others