[java-identity-provider] branch main updated: IDP-1732 - Registry service metrics were not added to configuration

Scott Cantor cantor.2 at osu.edu
Wed Dec 30 14:14:51 UTC 2020


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=46cdc417fae25a5ed423343c292e1aa6312fb6f7

The following commit(s) were added to refs/heads/main by this push:
       new  46cdc417f IDP-1732 - Registry service metrics were not added to configuration
46cdc417f is described below

commit 46cdc417fae25a5ed423343c292e1aa6312fb6f7
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Dec 30 09:14:47 2020 -0500

    IDP-1732 - Registry service metrics were not added to configuration
    
    https://issues.shibboleth.net/jira/browse/IDP-1732
---
 .../src/main/resources/net/shibboleth/idp/conf/admin-system.xml      | 5 +++++
 idp-conf/src/main/resources/conf/admin/metrics.xml                   | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/admin-system.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/admin-system.xml
index 691cf74f6..4df932c6b 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/admin-system.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/admin-system.xml
@@ -187,6 +187,11 @@
         c:metricName="nameid"
         p:service-ref="shibboleth.NameIdentifierGenerationService" />
 
+    <bean id="shibboleth.metrics.AttributeRegistryGaugeSet"
+        class="net.shibboleth.idp.metrics.ReloadableServiceGaugeSet" lazy-init="true"
+        c:metricName="attribute.registry"
+        p:service-ref="shibboleth.AttributeRegistryService" />
+
     <bean id="shibboleth.metrics.AttributeResolverGaugeSet"
         class="net.shibboleth.idp.attribute.resolver.impl.AttributeResolverServiceGaugeSet" lazy-init="true"
         c:metricName="attribute.resolver"
diff --git a/idp-conf/src/main/resources/conf/admin/metrics.xml b/idp-conf/src/main/resources/conf/admin/metrics.xml
index 7badad9d6..208ab6b2e 100644
--- a/idp-conf/src/main/resources/conf/admin/metrics.xml
+++ b/idp-conf/src/main/resources/conf/admin/metrics.xml
@@ -26,6 +26,7 @@
                 <ref bean="shibboleth.metrics.MetadataGaugeSet" />
                 <ref bean="shibboleth.metrics.NameIdentifierGaugeSet" />
                 <ref bean="shibboleth.metrics.RelyingPartyGaugeSet" />
+                <ref bean="shibboleth.metrics.AttributeRegistryGaugeSet" />
                 <ref bean="shibboleth.metrics.AttributeResolverGaugeSet" />
                 <ref bean="shibboleth.metrics.AttributeFilterGaugeSet" />
                 <ref bean="shibboleth.metrics.CASServiceRegistryGaugeSet" />
@@ -59,6 +60,7 @@
         <entry key="metadata" value-ref="shibboleth.metrics.MetadataGaugeSet" />
         <entry key="nameid" value-ref="shibboleth.metrics.NameIdentifierGaugeSet" />
         <entry key="relyingparty" value-ref="shibboleth.metrics.RelyingPartyGaugeSet" />
+        <entry key="registry" value-ref="shibboleth.metrics.AttributeRegistryGaugeSet" />
         <entry key="resolver" value-ref="shibboleth.metrics.AttributeResolverGaugeSet" />
         <entry key="filter" value-ref="shibboleth.metrics.AttributeFilterGaugeSet" />
         <entry key="cas" value-ref="shibboleth.metrics.CASServiceRegistryGaugeSet" />

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list