sling-org-apache-sling-connection-timeout-agent.git
8 months agoSLING-11051 - Fixing JavaDoc badge master
Dan Klco [Tue, 11 Jan 2022 13:10:22 +0000 (08:10 -0500)] 
SLING-11051 - Fixing JavaDoc badge

14 months agoSLING-10676 - remove SECURITY.md which is not needed
Bertrand Delacretaz [Fri, 30 Jul 2021 08:43:52 +0000 (10:43 +0200)] 
SLING-10676 - remove SECURITY.md which is not needed

14 months agoSLING-10676 - add or update SECURITY.md
Bertrand Delacretaz [Wed, 28 Jul 2021 14:24:13 +0000 (16:24 +0200)] 
SLING-10676 - add or update SECURITY.md

14 months agoSLING-10676 - add or update SECURITY.md
Bertrand Delacretaz [Wed, 28 Jul 2021 14:11:28 +0000 (16:11 +0200)] 
SLING-10676 - add or update SECURITY.md

2 years agoAdding sonarqube badges as per SLING-9682
Dan Klco [Mon, 24 Aug 2020 21:17:59 +0000 (17:17 -0400)] 
Adding sonarqube badges as per SLING-9682

2 years agoUpdating badges for org-apache-sling-connection-timeout-agent
Radu Cotescu [Mon, 24 Aug 2020 16:42:17 +0000 (18:42 +0200)] 
Updating badges for org-apache-sling-connection-timeout-agent

2 years ago[maven-release-plugin] prepare for next development iteration
Robert Munteanu [Tue, 18 Feb 2020 10:40:23 +0000 (11:40 +0100)] 
[maven-release-plugin] prepare for next development iteration

2 years ago[maven-release-plugin] prepare release org.apache.sling.connection-timeout-agent... org.apache.sling.connection-timeout-agent-1.0.2
Robert Munteanu [Tue, 18 Feb 2020 10:40:03 +0000 (11:40 +0100)] 
[maven-release-plugin] prepare release org.apache.sling.connection-timeout-agent-1.0.2

2 years agoSLING-8837 - Add extra verbose mode to startup options
Robert Munteanu [Mon, 11 Nov 2019 13:44:47 +0000 (14:44 +0100)] 
SLING-8837 - Add extra verbose mode to startup options

2 years agoSLING-8788 - Record code coverage
Robert Munteanu [Fri, 18 Oct 2019 15:19:31 +0000 (17:19 +0200)] 
SLING-8788 - Record code coverage

2 years agoSLING-8787 - Add OSGi smoke test
Robert Munteanu [Fri, 18 Oct 2019 14:58:25 +0000 (16:58 +0200)] 
SLING-8787 - Add OSGi smoke test

3 years ago[maven-release-plugin] prepare for next development iteration
Robert Munteanu [Thu, 27 Jun 2019 14:33:42 +0000 (16:33 +0200)] 
[maven-release-plugin] prepare for next development iteration

3 years ago[maven-release-plugin] prepare release org.apache.sling.connection-timeout-agent... org.apache.sling.connection-timeout-agent-1.0.0
Robert Munteanu [Thu, 27 Jun 2019 14:33:23 +0000 (16:33 +0200)] 
[maven-release-plugin] prepare release org.apache.sling.connection-timeout-agent-1.0.0

3 years agoPrepare for release
Robert Munteanu [Thu, 27 Jun 2019 14:26:29 +0000 (16:26 +0200)] 
Prepare for release

3 years agoMerge branch 'master' of https://github.com/apache/sling-org-apache-sling-connection...
Robert Munteanu [Thu, 27 Jun 2019 14:18:16 +0000 (16:18 +0200)] 
Merge branch 'master' of https://github.com/apache/sling-org-apache-sling-connection-timeout-agent.git

3 years agoFix or ignore some Sonar warnings
Robert Munteanu [Thu, 27 Jun 2019 13:41:51 +0000 (15:41 +0200)] 
Fix or ignore some Sonar warnings

3 years agoClassPool.get never returns null, so skip that check
Robert Munteanu [Thu, 27 Jun 2019 13:36:34 +0000 (15:36 +0200)] 
ClassPool.get never returns null, so skip that check

3 years agoAdjust class location mechanism for OSGi environments
Robert Munteanu [Thu, 27 Jun 2019 13:36:11 +0000 (15:36 +0200)] 
Adjust class location mechanism for OSGi environments

3 years agoRemove 'impl' from MBean name
Robert Munteanu [Wed, 19 Jun 2019 12:54:39 +0000 (14:54 +0200)] 
Remove 'impl' from MBean name

3 years agoRenamed package to follow artifactId
Robert Munteanu [Wed, 19 Jun 2019 12:43:29 +0000 (14:43 +0200)] 
Renamed package to follow artifactId

3 years agoFix or ignore some Sonar warnings feature/osgi-fixes 1/head
Robert Munteanu [Thu, 27 Jun 2019 13:41:51 +0000 (15:41 +0200)] 
Fix or ignore some Sonar warnings

3 years agoClassPool.get never returns null, so skip that check
Robert Munteanu [Thu, 27 Jun 2019 13:36:34 +0000 (15:36 +0200)] 
ClassPool.get never returns null, so skip that check

3 years agoAdjust class location mechanism for OSGi environments
Robert Munteanu [Thu, 27 Jun 2019 13:36:11 +0000 (15:36 +0200)] 
Adjust class location mechanism for OSGi environments

3 years agoRemove 'impl' from MBean name
Robert Munteanu [Wed, 19 Jun 2019 12:54:39 +0000 (14:54 +0200)] 
Remove 'impl' from MBean name

3 years agoRenamed package to follow artifactId
Robert Munteanu [Wed, 19 Jun 2019 12:43:29 +0000 (14:43 +0200)] 
Renamed package to follow artifactId

3 years agoAdd repo boilerplate files
Robert Munteanu [Wed, 19 Jun 2019 11:46:35 +0000 (13:46 +0200)] 
Add repo boilerplate files

3 years agoIncrease execution timeout to make Jenkins failures less likely
Robert Munteanu [Tue, 18 Jun 2019 14:57:16 +0000 (16:57 +0200)] 
Increase execution timeout to make Jenkins failures less likely

3 years agoAdd a set of positive tests
Robert Munteanu [Tue, 18 Jun 2019 14:48:00 +0000 (16:48 +0200)] 
Add a set of positive tests

Validate that requests go through as expected if the server-side delay is small.

3 years agoMove classes and methods out of AgentIT to make it simpler to understand
Robert Munteanu [Tue, 18 Jun 2019 14:06:57 +0000 (16:06 +0200)] 
Move classes and methods out of AgentIT to make it simpler to understand

3 years agoImprove logging in HttpClientLauncher
Robert Munteanu [Tue, 18 Jun 2019 13:55:00 +0000 (15:55 +0200)] 
Improve logging in HttpClientLauncher

3 years agoAdd tests for client-api enforced timeouts
Robert Munteanu [Tue, 18 Jun 2019 13:46:41 +0000 (15:46 +0200)] 
Add tests for client-api enforced timeouts

This validates that the agent-set timeouts only kick in when no explicit timeouts are set from the client api.

3 years agoAdd support for setting timeouts using the client API in HttpClientLauncher
Robert Munteanu [Tue, 18 Jun 2019 12:45:43 +0000 (14:45 +0200)] 
Add support for setting timeouts using the client API in HttpClientLauncher

3 years agoMinor test cleanups
Robert Munteanu [Tue, 18 Jun 2019 12:13:28 +0000 (14:13 +0200)] 
Minor test cleanups

3 years agoTweak comments in pom.xml
Robert Munteanu [Tue, 18 Jun 2019 09:39:36 +0000 (11:39 +0200)] 
Tweak comments in pom.xml

3 years agoRemove Agent-Class from manifest
Robert Munteanu [Tue, 18 Jun 2019 09:38:16 +0000 (11:38 +0200)] 
Remove Agent-Class from manifest

The agent does not support starting after the VM itself has started, so don't advertise is in the manifest.

3 years agoUpdate artifactId
Robert Munteanu [Tue, 18 Jun 2019 09:35:54 +0000 (11:35 +0200)] 
Update artifactId

3 years agoInclude OK HTTP in the README
Robert Munteanu [Tue, 18 Jun 2019 08:59:19 +0000 (10:59 +0200)] 
Include OK HTTP in the README

3 years agoSimplify child classes by passing a CtClass instance instead of a class name
Robert Munteanu [Tue, 18 Jun 2019 08:49:22 +0000 (10:49 +0200)] 
Simplify child classes by passing a CtClass instance instead of a class name

This also leads to removing a test class since the code it was testing became a one-liner.

3 years agoAdd a support class for JMX
Robert Munteanu [Tue, 18 Jun 2019 08:40:03 +0000 (10:40 +0200)] 
Add a support class for JMX

3 years agoExpose runtime information through JMX
Robert Munteanu [Tue, 18 Jun 2019 08:26:43 +0000 (10:26 +0200)] 
Expose runtime information through JMX

3 years agoReduced duplication in the transformer implementations
Robert Munteanu [Thu, 13 Jun 2019 08:51:41 +0000 (10:51 +0200)] 
Reduced duplication in the transformer implementations

3 years agoCorrect usage examples in README
Robert Munteanu [Wed, 12 Jun 2019 16:12:29 +0000 (18:12 +0200)] 
Correct usage examples in README

3 years agoOnly print headers in case of success
Robert Munteanu [Wed, 12 Jun 2019 16:05:01 +0000 (18:05 +0200)] 
Only print headers in case of success

3 years agoExplicitly look for the default contructors when needed instead of relying on the...
Robert Munteanu [Wed, 12 Jun 2019 16:02:59 +0000 (18:02 +0200)] 
Explicitly look for the default contructors when needed instead of relying on the declaration order.

3 years agoSimplify handling of client type specifics in the AgentIT
Robert Munteanu [Wed, 12 Jun 2019 15:57:31 +0000 (17:57 +0200)] 
Simplify handling of client type specifics in the AgentIT

3 years agoSimplify classpath building for ITs
Robert Munteanu [Wed, 12 Jun 2019 14:55:51 +0000 (16:55 +0200)] 
Simplify classpath building for ITs

3 years agoSimplify output parsing logic
Robert Munteanu [Wed, 12 Jun 2019 14:52:38 +0000 (16:52 +0200)] 
Simplify output parsing logic

3 years agoAdded support for okhttp
Robert Munteanu [Wed, 12 Jun 2019 14:51:20 +0000 (16:51 +0200)] 
Added support for okhttp

3 years agoPrevent NPE in test
Robert Munteanu [Wed, 12 Jun 2019 14:23:16 +0000 (16:23 +0200)] 
Prevent NPE in test

3 years agoUse a per-test-method instance of the mock server.
Robert Munteanu [Wed, 12 Jun 2019 14:21:57 +0000 (16:21 +0200)] 
Use a per-test-method instance of the mock server.

3 years agoAgentIT: better handling of missing exception lines
Robert Munteanu [Wed, 12 Jun 2019 14:14:16 +0000 (16:14 +0200)] 
AgentIT: better handling of missing exception lines

3 years agoLauncher cleanup
Robert Munteanu [Fri, 7 Jun 2019 15:18:55 +0000 (17:18 +0200)] 
Launcher cleanup

3 years agoRename 'Main' to 'HttpClientLauncher'
Robert Munteanu [Fri, 7 Jun 2019 14:47:31 +0000 (16:47 +0200)] 
Rename 'Main' to 'HttpClientLauncher'

3 years agoCreate a simple log abstraction
Robert Munteanu [Fri, 7 Jun 2019 14:39:13 +0000 (16:39 +0200)] 
Create a simple log abstraction

3 years agoDocumentation updates
Robert Munteanu [Fri, 7 Jun 2019 14:07:44 +0000 (16:07 +0200)] 
Documentation updates

3 years agoWhitespace fix
Robert Munteanu [Fri, 7 Jun 2019 09:47:57 +0000 (11:47 +0200)] 
Whitespace fix

3 years agoSend back user-agent to help identify which requests come through
Robert Munteanu [Fri, 7 Jun 2019 09:47:48 +0000 (11:47 +0200)] 
Send back user-agent to help identify which requests come through

3 years agoPrevent NPE if agent is launched with no arguments
Robert Munteanu [Fri, 7 Jun 2019 09:47:33 +0000 (11:47 +0200)] 
Prevent NPE if agent is launched with no arguments

3 years agoImplement default timeouts for httpclient 4.x
Robert Munteanu [Fri, 7 Jun 2019 09:33:04 +0000 (11:33 +0200)] 
Implement default timeouts for httpclient 4.x

3 years agoUpdated README to reflect latest state.
Robert Munteanu [Thu, 6 Jun 2019 15:02:11 +0000 (17:02 +0200)] 
Updated README to reflect latest state.

3 years agoImplement default timeouts for httpclient 3.x
Robert Munteanu [Thu, 6 Jun 2019 14:51:45 +0000 (16:51 +0200)] 
Implement default timeouts for httpclient 3.x

3 years agoPrepare tests for running against multiple client types
Robert Munteanu [Wed, 5 Jun 2019 15:54:06 +0000 (17:54 +0200)] 
Prepare tests for running against multiple client types

3 years agoPrepared testing infrastructure for multiple client implementations
Robert Munteanu [Wed, 5 Jun 2019 15:39:07 +0000 (17:39 +0200)] 
Prepared testing infrastructure for multiple client implementations

3 years agoMove launcher out of the jar
Robert Munteanu [Wed, 5 Jun 2019 15:10:04 +0000 (17:10 +0200)] 
Move launcher out of the jar

3 years agoConverted IntegrationTest to a proper IT
Robert Munteanu [Wed, 5 Jun 2019 15:00:17 +0000 (17:00 +0200)] 
Converted IntegrationTest to a proper IT

- load the java agent from the compiled jar
- switch to using a surefire test

3 years agoUse Maven central for connect timeout tests. Accessing sling.apache.org failed with...
Robert Munteanu [Wed, 5 Jun 2019 13:10:45 +0000 (15:10 +0200)] 
Use Maven central for connect timeout tests. Accessing sling.apache.org failed with a 'connection refused' error on Jenkins, presumably since builds.apache.org has direct access to other apache.org servers.

3 years agoAdd missing license header
Robert Munteanu [Wed, 5 Jun 2019 12:37:17 +0000 (14:37 +0200)] 
Add missing license header

3 years agoStubbed out a wait to launch external processes
Robert Munteanu [Wed, 5 Jun 2019 12:32:29 +0000 (14:32 +0200)] 
Stubbed out a wait to launch external processes

3 years agoRemoved unused dependencies
Robert Munteanu [Wed, 5 Jun 2019 12:21:15 +0000 (14:21 +0200)] 
Removed unused dependencies

3 years agoImproved test support classes naming and documentation
Robert Munteanu [Wed, 5 Jun 2019 12:20:44 +0000 (14:20 +0200)] 
Improved test support classes naming and documentation

3 years agoAllow accessing server as an instance field and stop hardcoding the local port.
Robert Munteanu [Wed, 5 Jun 2019 12:13:00 +0000 (14:13 +0200)] 
Allow accessing server as an instance field and stop hardcoding the local port.

3 years agoCleanups in tests
Robert Munteanu [Wed, 5 Jun 2019 11:59:43 +0000 (13:59 +0200)] 
Cleanups in tests

3 years agoProvisional integration tests, currently setting the timeouts manually
Robert Munteanu [Wed, 5 Jun 2019 11:51:45 +0000 (13:51 +0200)] 
Provisional integration tests, currently setting the timeouts manually

3 years agoMigrate to Junit 5 for more fine-grained timeouts and exception checks.
Robert Munteanu [Wed, 5 Jun 2019 09:34:02 +0000 (11:34 +0200)] 
Migrate to Junit 5 for more fine-grained timeouts and exception checks.

3 years agoSome work on integration tests
Robert Munteanu [Wed, 5 Jun 2019 09:03:49 +0000 (11:03 +0200)] 
Some work on integration tests

3 years agoPOC for a Java Agent to set URL connection timeout defaults
Robert Munteanu [Thu, 23 May 2019 15:52:31 +0000 (17:52 +0200)] 
POC for a Java Agent to set URL connection timeout defaults

Fixed Maven warnings

3 years agoPOC for a Java Agent to set URL connection timeout defaults
Robert Munteanu [Thu, 23 May 2019 15:52:09 +0000 (17:52 +0200)] 
POC for a Java Agent to set URL connection timeout defaults

Add license headers

3 years agoAdded README
Robert Munteanu [Thu, 23 May 2019 15:49:54 +0000 (17:49 +0200)] 
Added README

3 years agoPOC for a Java Agent to set URL connection timeout defaults
Robert Munteanu [Thu, 23 May 2019 15:48:55 +0000 (17:48 +0200)] 
POC for a Java Agent to set URL connection timeout defaults

Correct parameter assignment

3 years agoPOC for a Java Agent to set URL connection timeout defaults
Robert Munteanu [Thu, 23 May 2019 15:42:48 +0000 (17:42 +0200)] 
POC for a Java Agent to set URL connection timeout defaults

Completed initial implementation

3 years agoPOC for a Java Agent to set URL connection timeout defaults
Robert Munteanu [Thu, 23 May 2019 14:32:19 +0000 (16:32 +0200)] 
POC for a Java Agent to set URL connection timeout defaults

Start intercepting URL calls

3 years agoPOC for a Java Agent to set URL connection timeout defaults
Robert Munteanu [Tue, 21 May 2019 15:57:28 +0000 (17:57 +0200)] 
POC for a Java Agent to set URL connection timeout defaults

Initial work towards intercepting HashMap calls, to prove that it can work for core JVM classes.