-
Notifications
You must be signed in to change notification settings - Fork 99
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
Gabe monitoring plugin #199
Conversation
} | ||
|
||
protected def formatUrl(asset: AssetView) = | ||
GenericFrameConfig.urlTemplate.format(asset.getHostnameMetaValue.get) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
asset.getHostnameMetaValue.map(GFC.urlTemplate.formate) and similarly up the call chain and everything will fall into place not requiring the Some/None explicitness in getContent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I converted those methods to options, but the else None is still required in getContent, because we need to test if the asset is monitorable still. Update incoming
Outside of the questions where I did not understand some of the choices this is lgtm. Also feel free to merge and we can revisit the questions in a second iteration |
@byxorna nice work =) |
@dallasmarlow tyty |
Create a monitoring namespace with a GenericFrame plugin that can frame in a given url, parameterized by hostname. This will allow arbitrary monitoring systems to be integrated into collins, for great justice. I was going to ideally have the url be parameterized like the callbacks are, with
<tag>
or<arbitrary_attribute>
, but couldnt wrap my head around the craziness that is the Decorator being used in the callback module.@dallasmarlow @Primer42 @maddalab RFR