[teiid-dev] Changes in Admin API in 6.2

Ramesh Reddy rareddy at redhat.com
Tue Jun 30 12:43:51 EDT 2009


On Tue, 2009-06-30 at 10:24 -0500, Ramesh Reddy wrote:
> > Are the details of the API changed captured somewhere?  In a JIRA?
> 
> Not yet. But it will be, as this task is currently in progress. There
> is
> no separate JIRA for this as was result of Service enrichment in
> "embedded" changes. But I will add one to capture the details.

These are changes I am considering as the first cut, as we move the
server development further along we will add new methods or bring back
old ones to manage the runtime environment. You will mostly see
"configuration" specific functionality missing (ex: addHost, addProcess
etc). Please note this is mostly consolidation phase right now.

These interfaces will be deleted 

 <code>
      com.metamatrix.admin.api.server.ServerConfigAdmin
      com.metamatrix.admin.api.server.ServerMonitoringAdmin
      com.metamatrix.admin.api.server.ServerRuntimeStateAdmin
      com.metamatrix.admin.api.server.ServerSecurityAdmin
 </code>

and replaced with 

 <code>
      org.teiid.adminapi.ConfigurationAdmin
      org.teiid.adminapi.MonitoringAdmin
      org.teiid.adminapi.RuntimeStateAdmin
      org.teiid.adminapi.SecurityAdmin
</code>

apart from containing the previous API methods from "embedded", these
following methods from the "server" API will be 
added to the new API.

<code>
    org.teiid.adminapi.ConfigurationAdmin 
          assignBindingsToModel(String[], String, String, String)

    org.teiid.adminapi.MonitoringAdmin
          getProcess()

    org.teiid.adminapi.RuntimeStateAdmin
          restart()
          shutdown()

    org.teiid.adminapi.SecurityAdmin  
        authenticateUser(String, char[], Serializable, String)
        exportDataRoles(String, String)
        getDomainNames()
        getGroups(String)
        getGroupsForDomain(String)
        getGroupsForUser(String)
        getRolesForGroup(String)
        importDataRoles(String, String, char[], AdminOptions)
        assignRoleToGroup(String, String)
        removeRoleFromGroup(String, String)
</code>




More information about the teiid-dev mailing list