dev@glassfish.java.net

monitoring: managment-api to replace gfprobe-provider-client (POM & pkg name changes)

From: Jennifer Chou <Jennifer.Chou_at_Sun.COM>
Date: Fri, 17 Jul 2009 01:54:25 +0100

Ken has moved the Statistic API outside of glassfish for external
modules, and combined the Statistic API, probe provider annotations, AMX
constant values into a new external maven module called
'management-api'. Thanks Ken! This describes Part 1 of moving v3
monitoring to this new managment-api. Part 2 will be to remove
Statistic API classes from glassfish-api, remove gfprobe-provider-client
from glassfish nucleus, after external modules have also completely
moved to the new managment-api.

Please review. I will plan to check-in on 7/18 Saturday morning.

More details: https://glassfish.dev.java.net/issues/show_bug.cgi?id=8733

*POM diffs*:
https://glassfish.dev.java.net/nonav/issues/showattachment.cgi/2990/pom-diffs3.txt
*All diffs*:
https://glassfish.dev.java.net/nonav/issues/showattachment.cgi/2989/all-diffs3.txt

*API/annotations move from current artifact => to new artifact
management-api:*
Statistic API: glassfish-api => management-api
ProbeProvider annotations: gfprobe-provider-client => management-api

*Group IDs and Artifact IDs:*
    groupId: org.glassfish.common
    artifactId: glassfish-api

    groupId: org.glassfish.provider
    artifactId: gfprobe-provider-client

   groupId: org.glassfish.external
   artifactId: management-api (no gmbal dependency)

*POM changes:*
* gmbal version from b008 ---> b009 (support for Statistic API)
* remove gfprobe-provider-client dependency from modules with ProbeProviders
* remove glassfish-api dependency from modules that use Statistic API
(if glassfish-api only used for Statistic API)
* add managment-api dependency on modules with ProbeProviders and/or use
Statistic API
* add gmbal dependency to modules with StatsProviders

*Package name changes*

* org.glassfish.api.statistics => org.glassfish.external.statistics
* org.glassfish.api.statistics.impl => org.glassfish.external.statistics.impl
* org.glassfish.probe.provider => org.glassfish.external.probe.provider
* org.glassfish.probe.provider.annotations => org.glassfish.external.probe.provider.annotations


Jennifer