[java-identity-provider COMMIT] in /trunk: idp-conf/src/main/resources/system/conf/general-admin-system.xml idp-core/...

noreply at shibboleth.net noreply at shibboleth.net
Fri Oct 21 22:13:57 EDT 2016


Author: scantor
Date: Fri Oct 21 22:13:56 2016
New Revision: 8526

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8526&view=rev
Log:
Add a Metrics Reporter that can do periodic delivery of metrics in JSON to an HTTP collection point.

Added:
    trunk/idp-core/src/main/java/net/shibboleth/idp/metrics/impl/HTTPReporter.java   (with props)
Modified:
    trunk/idp-conf/src/main/resources/system/conf/general-admin-system.xml
    trunk/idp-core/pom.xml
    trunk/idp-profile-impl/pom.xml

Modified: trunk/idp-conf/src/main/resources/system/conf/general-admin-system.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/conf/general-admin-system.xml?rev=8526&r1=8525&r2=8526&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/conf/general-admin-system.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/conf/general-admin-system.xml	Fri Oct 21 22:13:56 2016
@@ -56,6 +56,12 @@
         class="org.springframework.beans.factory.config.MethodInvokingBean"
         p:targetObject-ref="shibboleth.metrics.MetricRegistry"
         p:targetMethod="register" />
+        
+    <bean id="shibboleth.metrics.HTTPReporter" abstract="true" destroy-method="stop"
+        class="net.shibboleth.idp.metrics.impl.HTTPReporter"
+        c:registry-ref="shibboleth.metrics.MetricRegistry"
+        c:filter="#{null}"
+        p:httpClient-ref="shibboleth.NonCachingHttpClient" />
     
     <!-- Some predefined metric sets, only created if installed by user. -->
     

Modified: trunk/idp-core/pom.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-core/pom.xml?rev=8526&r1=8525&r2=8526&view=diff
==============================================================================
--- trunk/idp-core/pom.xml	(original)
+++ trunk/idp-core/pom.xml	Fri Oct 21 22:13:56 2016
@@ -52,11 +52,30 @@
             <artifactId>logback-core</artifactId>
             <scope>compile</scope><!-- normally runtime -->
         </dependency>
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-databind</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.fasterxml.jackson.datatype</groupId>
+            <artifactId>jackson-datatype-joda</artifactId>
+        </dependency>    
+        <dependency>
+            <groupId>io.dropwizard.metrics</groupId>
+            <artifactId>metrics-json</artifactId>
+        </dependency>
 
         <dependency>
             <groupId>net.shibboleth.ext</groupId>
             <artifactId>spring-extensions</artifactId>
         </dependency>
+        
+        <dependency>
+            <groupId>${opensaml.groupId}</groupId>
+            <artifactId>opensaml-security-api</artifactId>
+            <version>${opensaml.version}</version>
+        </dependency>
+        
         <!-- Provided Dependencies -->
 
         <!-- Runtime Dependencies -->

Modified: trunk/idp-profile-impl/pom.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-impl/pom.xml?rev=8526&r1=8525&r2=8526&view=diff
==============================================================================
--- trunk/idp-profile-impl/pom.xml	(original)
+++ trunk/idp-profile-impl/pom.xml	Fri Oct 21 22:13:56 2016
@@ -74,21 +74,6 @@
             <artifactId>spring-webflow</artifactId>
         </dependency>
         
-        <dependency>
-            <groupId>com.fasterxml.jackson.core</groupId>
-            <artifactId>jackson-databind</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>com.fasterxml.jackson.datatype</groupId>
-            <artifactId>jackson-datatype-joda</artifactId>
-            <version>${jackson.version}</version>
-        </dependency>    
-        <dependency>
-            <groupId>io.dropwizard.metrics</groupId>
-            <artifactId>metrics-json</artifactId>
-            <version>${metrics.version}</version>
-        </dependency>
-
         <!-- Provided Dependencies -->
 
         <!-- Runtime Dependencies -->



More information about the commits mailing list