You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2019/06/27 14:26:53 UTC

[sling-org-apache-sling-connection-timeout-agent] branch master updated (de74ef0 -> f53a880)

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-connection-timeout-agent.git.


    from de74ef0  Fix or ignore some Sonar warnings
     add cae7e99  Renamed package to follow artifactId
     add 786c243  Remove 'impl' from MBean name
     add af55e24  Adjust class location mechanism for OSGi environments
     add 1519e97  ClassPool.get never returns null, so skip that check
     add 0f8511b  Fix or ignore some Sonar warnings
     new 6481995  Merge branch 'master' of https://github.com/apache/sling-org-apache-sling-connection-timeout-agent.git
     new f53a880  Prepare for release

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md | 21 ++-------------------
 pom.xml   |  7 +++++++
 2 files changed, 9 insertions(+), 19 deletions(-)


[sling-org-apache-sling-connection-timeout-agent] 02/02: Prepare for release

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-connection-timeout-agent.git

commit f53a880ededd9fae8be85875a8452e146cbade50
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Jun 27 16:26:29 2019 +0200

    Prepare for release
---
 README.md | 21 ++-------------------
 pom.xml   |  7 +++++++
 2 files changed, 9 insertions(+), 19 deletions(-)

diff --git a/README.md b/README.md
index 9319c69..ae38d6c 100644
--- a/README.md
+++ b/README.md
@@ -4,14 +4,7 @@ This module is part of the [Apache Sling](https://sling.apache.org) project.
 
 This module provides a java agent that uses the [instrumentation API](https://docs.oracle.com/javase/7/docs/api/java/lang/instrument/package-summary.html) to add connect and read timeouts to `connect` made via HTTP or HTTPs. It only applies these timeouts if none were set explicitly.
 
-The agent is intended as an additional layer of control to use when running untrusted client code that may make calls without explicitly setting timeouts. It is always recommended to set timeouts in client code, rather than relying on this agent.
-
-It currently supports setting timeouts for HTTP connections done using:
-
-* [java.net.URL](https://docs.oracle.com/javase/7/docs/api/java/net/URL.html) and/or [java.net.URLConnection](https://docs.oracle.com/javase/7/docs/api/java/net/URLConnection.html)
-* [Apache Commons HttpClient 3.x](https://hc.apache.org/httpclient-3.x/)
-* [Apache HttpComponents Client 4.x](https://hc.apache.org/httpcomponents-client-ga/)
-* [OK Http](https://square.github.io/okhttp/)
+End-user documentation can be found on the Apache Sling Website in the [Connection Timeout Agent](https://sling.apache.org/documentation/bundles/connection-timeout-agent.html) section.
 
 ## Validation
 
@@ -42,14 +35,4 @@ In contrast, the execution below should succeed:
 
 ```
 java -javaagent:target/org.apache.sling.connection-timeout-agent-0.0.1-SNAPSHOT-jar-with-dependencies.jar=1000,1000 -cp target/test-classes:target/it-dependencies/* org.apache.sling.cta.impl.HttpClientLauncher https://sling.apache.org JavaNet
-```
-
-To use this in your own project you should 
-
-## Tested platforms
-
-* openjdk version "1.8.0_212"
-* openjdk version "11.0.2" 2019-01-15
-* commons-httpclient 3.1
-* httpclient 4.5.4
-* okhttp 3.14.2
\ No newline at end of file
+```
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 5bb68b0..2193c7c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,8 +26,15 @@
         <version>35</version>
         <relativePath/>
     </parent>
+    <name>Apache Sling Connection Timeout Agent</name>
     <artifactId>org.apache.sling.connection-timeout-agent</artifactId>
     <version>0.0.1-SNAPSHOT</version>
+    
+    <scm>
+        <connection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-connection-timeout-agent.git</connection>
+        <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-connection-timeout-agent.git</developerConnection>
+        <url>https://gitbox.apache.org/repos/asf?p=sling-org-apache-sling-connection-timeout-agent.git</url>        
+    </scm>
 
     <build>
         <plugins>


[sling-org-apache-sling-connection-timeout-agent] 01/02: Merge branch 'master' of https://github.com/apache/sling-org-apache-sling-connection-timeout-agent.git

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-connection-timeout-agent.git

commit 6481995ff50d5d27d22fc02e5635c3264cc3c3e5
Merge: 0f8511b de74ef0
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Jun 27 16:18:16 2019 +0200

    Merge branch 'master' of https://github.com/apache/sling-org-apache-sling-connection-timeout-agent.git