You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2015/08/26 23:12:45 UTC

[jira] [Created] (GEODE-288) Remove deprecated Admin API

Kirk Lund created GEODE-288:
-------------------------------

             Summary: Remove deprecated Admin API
                 Key: GEODE-288
                 URL: https://issues.apache.org/jira/browse/GEODE-288
             Project: Geode
          Issue Type: Sub-task
    Affects Versions: 1.0.0-incubating
            Reporter: Kirk Lund


The Admin API (com.gemstone.gemfire.admin) and old JMX Agent have been deprecated since GemFire 7.0. The Admin API was retired in favor of using the new Management JMX API (com.gemstone.gemfire.management) and GFSH.

#1) move some Admin classes used internally by non-Admin code:
move com.gemstone.gemfire.admin.BackupStatus
move com.gemstone.gemfire.admin.OperationCancelledException
move com.gemstone.gemfire.admin.RegionNotFoundException
move com.gemstone.gemfire.admin.internal.AdminDistributedSystemImpl.backupAllMembers
move com.gemstone.gemfire.admin.internal.AdminDistributedSystemImpl.compactAllDiskStores
move com.gemstone.gemfire.admin.internal.FinishBackupRequest
move com.gemstone.gemfire.admin.internal.FlushToDiskRequest
move com.gemstone.gemfire.admin.internal.InetAddressUtil
move com.gemstone.gemfire.admin.internal.PrepareBackupRequest

#2) move com.gemstone.gemfire.admin to com.gemstone.gemfire.internal.admin.api (temporarily)
#3) remove com.gemstone.gemfire.cache.* usage of admin
#4) remove com.gemstone.gemfire.distributed.* usage of admin
#5) remove com.gemstone.gemfire.internal.* usage of admin (except for internal.admin.*)
#6) remove com.gemstone.gemfire.management.* usage of admin
#7) remove com.gemstone.gemfire.internal.admin.api if possible
#8) remove unused classes from com.gemstone.gemfire.internal.admin.*

Breakdown by package and class:

com.gemstone.gemfire
  --change DataSerializer to use moved RegionNotFoundException

com.gemstone.gemfire.cache
com.gemstone.gemfire.cache.persistence
com.gemstone.gemfire.cache.util
  --remove com.gemstone.gemfire.cache.util.UniversalMembershipListenerAdapter

com.gemstone.gemfire.distributed
  --remove Admin API from javadocs in Locator and DistributedSystem
com.gemstone.gemfire.distributed.internal
  --remove com.gemstone.gemfire.distributed.internal.DistributionManager.createHealthMonitor
  --remove remove com.gemstone.gemfire.distributed.internal.HealthMonitor
  --remove remove com.gemstone.gemfire.distributed.internal.HealthMonitorImpl
  --change com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.hasAlertListenerFor to not use AlertLevel

com.gemstone.gemfire.internal
  --remove DSFIDFactory support for admin messages
  --remove com.gemstone.gemfire.admin.jmx.internal.AgentLauncher from GemFireUtilLauncher
  --change MigrationServer to use moved InetAddressUtil
  --change SocketCreator to use moved InetAddressUtil
  --remove SystemAdmin.backup
  --remove SystemAdmin.compactAllDiskStores
  --remove SystemAdmin.shutDownAll
  --remove SystemAdmin.listMissingDiskStores
  --remove SystemAdmin.revokeMissingDiskStores

com.gemstone.gemfire.internal.cache
  --replace use of com.gemstone.gemfire.admin.OperationCancelledException
  --remove use of com.gemstone.gemfire.admin.internal.SystemMemberCacheEventProcessor
com.gemstone.gemfire.internal.cache.partitioned
  --replace use of com.gemstone.gemfire.admin.OperationCancelledException
com.gemstone.gemfire.internal.cache.snapshot
  --replace use of com.gemstone.gemfire.admin.RegionNotFoundException

com.gemstone.gemfire.internal.tools.gfsh.app.command.task
  --reimplement PartitionedRegionAttributeTask
com.gemstone.gemfire.internal.tools.gfsh.util
  --reimplement RegionUtil

com.gemstone.gemfire.management.internal.beans
  --change DistributedSystemBridge to use moved classes
com.gemstone.gemfire.management.internal.cli.commands
  --change DiskStoreCommands to use moved classes
  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)