-
Notifications
You must be signed in to change notification settings - Fork 4
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
Develop IPMI Extension #114
Comments
alexdgilbert
added a commit
that referenced
this issue
Apr 12, 2024
Developed IPMI extension, pending final work on extension tests.
alexdgilbert
added a commit
that referenced
this issue
Apr 15, 2024
Issue #114: Last modification and tests
alexdgilbert
added a commit
that referenced
this issue
Apr 15, 2024
Issue #114: Developed IPMI extension Developed IPMI extension.
NassimBtk
added a commit
that referenced
this issue
Apr 23, 2024
* Various updates before EPIC merge.
NassimBtk
added a commit
that referenced
this issue
Apr 23, 2024
…n-from-epic Issue #114: Develop IPMI Extension
NassimBtk
added a commit
that referenced
this issue
Apr 23, 2024
* Fixed IPMI configuration setup in ConfigHelper.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Check List
Agent
ConfigHelperTest#testValidateIpmiInfo()
because the validation will be moved to the IpmiConfiguration class in themetricshub-ipmi-extension
.IpmiConfiguration
class which is located in themetricshub-ipmi-extension
. And adapt the ConfigHelper code so that we callIConfiguration#validateConfiguration
(ipmiConfiguration) to validate the content of the Ipmi configuration.Map<Class<? extends IConfiguration>, IConfiguration> protocolConfigurations
map which is built inConfigHelper#buildHostConfiguration
.IpmiConfigCli
class.IpmiConfigCli.toProtocol
to call theextensionManager
instance responsible of building the right IConfiguration for Ipmi protocol.Engine
org.sentrysoftware:ipmi
dependency frommetricshub-engine
POM.metricshub-ipmi-extension
module.IpmiConfigurationTest
class to the extension unit tests.IpmiConfiguration.class
mapping from theHostConfiguration#CONFIGURATION_TO_SOURCES_MAP
map.ClientsExecutor.executeIpmi
code to themetricshub-ipmi-extension
. Make sure to remove the call from theClientsExecutor.executeWql
method and adapt the caller (SourceProcessor CriterionProcessor) to invoke the extensionManager correctly.ProtocolHealthCheckStrategy#checkIpmiHealth
to IpmiExtension located at themetricshub-ipmi-extension
module. Make sure to remove the unused constants and methods.processOutOfBandIpmiSource
method invoked by the method:SourceProcessor#process(@SpanAttribute("source.definition") final IpmiSource ipmiSource)
to the appropriate class in themetricshub-ipmi-extension
module and call the extensionManager in thisprocess
method to execute the OOB source previously done by the moved methodprocessOutOfBandIpmiSource
.processOutOfBandIpmiDetection
method invoked by the method:CriterionProcessor#CriterionTestResult process(@SpanAttribute("criterion.definition") IpmiCriterion IpmiCriterion)
to the appropriate class in themetricshub-ipmi-extension
module and call the extensionManager in thisprocess
method to execute the OOB criterion previously done by the moved methodprocessOutOfBandIpmiDetection
.Extension
org.sentrysoftware:ipmi
andorg.sentrysoftware:metricshub-ipmi-extension
)/metricshub-ipmi-extension/src/main/resources/META-INF/services/org.sentrysoftware.metricshub.engine.extension.IProtocolExtension
file so that the ServiceLoader loads the extension implementation correctly at runtime.Packaging Windows and Linux
metricshub-ipmi-extension
as dependency.maven-dependency-plugin
, execution-id:unpack-extensions
and add theartifactItem
defining themetricshub-ipmi-extension
.The text was updated successfully, but these errors were encountered: