-
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 HTTP Extension #115
Comments
CherfaElyes
added a commit
that referenced
this issue
Apr 9, 2024
* Developed Http Extension and all its classes * Refactored all the tests and made the necessary changes to make them work * Tested the engine and the agent
CherfaElyes
added a commit
that referenced
this issue
Apr 9, 2024
* Added the missing javadoc to the engine and the HTTP Extension * Fixed a bug on the HTTP extension
CherfaElyes
added a commit
that referenced
this issue
Apr 16, 2024
* Fixed some comments * Fixed some imports * Removed dead code
NassimBtk
added a commit
that referenced
this issue
Apr 17, 2024
* Various adjustments and fixes * Refactored unit tests
NassimBtk
added a commit
that referenced
this issue
Apr 18, 2024
…-http-extension Issue #115: Develop HTTP Extension
NassimBtk
added a commit
that referenced
this issue
Apr 18, 2024
* Removed collectTime from `IProtocolExtension#checkProtocol()`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Check List
Agent
HttpConfiguration
class which is located in themetricshub-http-extension
. And adapt the code in ConfigHelper so that we callIConfiguration#validateConfiguration
(httpConfiguration) to validate the content of the Http configuration.Map<Class<? extends IConfiguration>, IConfiguration> protocolConfigurations
map which is built inConfigHelper#buildHostConfiguration
.HttpConfigCli
class.HttpConfigCli.toProtocol
to call theextensionManager
instance responsible of building the right IConfiguration for Http protocol.ConfigHelperTest#testValidateHttpInfo()
because the validation will be moved to the HttpConfiguration class in themetricshub-http-extension
.Engine
org.sentrysoftware:http
dependency frommetricshub-engine
POM.ClientsExecutor.executeHttp
code to themetricshub-http-extension
. Make sure to remove the call from theClientsExecutor.executeWql
method and adapt the caller (SourceProcessor CriterionProcessor) to invoke the extensionManager correctly.HttpConfiguration.class
mapping from theHostConfiguration#CONFIGURATION_TO_SOURCES_MAP
map.metricshub-http-extension
module.ProtocolHealthCheckStrategy#checkHttpHealth
to HttpExtension located at themetricshub-http-extension
module. Make sure to remove the unused constants and methods.CriterionProcessor#CriterionTestResult process(@SpanAttribute("criterion.definition") HttpCriterion HttpCriterion)
to the appropriate class in themetricshub-http-extension
module.SourceProcessor#process(@SpanAttribute("source.definition") final HttpSource httpSource)
HttpConfigurationTest
class to the extension unit tests.Extension
/metricshub-http-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.org.sentrysoftware:http
andorg.sentrysoftware:metricshub-http-extension
)Packaging Windows and Linux
metricshub-http-extension
as dependency.maven-dependency-plugin
, execution-id:unpack-extensions
and add theartifactItem
defining themetricshub-http-extension
.The text was updated successfully, but these errors were encountered: