Bug 734140

Summary: Wiki on remote Java clients is out-of-date due to API changes
Product: [Other] RHQ Project Reporter: Mike Foley <mfoley>
Component: CLIAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: high    
Version: 4.1CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Mike Foley 2011-08-29 14:37:37 UTC
Description of problem:  Wiki on remote Java clients is out-of-date due to API changes 

Version-Release number of selected component (if applicable):
RHQ 4.1

How reproducible:

Steps to Reproduce:
1.  Try to use the Java code in Eclipse

Actual results:
numerous compile errors.  import statements reference packages that have moved or been renamed.  API changes as well.

Expected results:
Sample code compiles and correctly references the RHQ API

Additional info:


Comment 1 Mike Foley 2011-08-29 14:40:43 UTC
API changes here:

            this.resourceGroupManager = this.remoteClient.getResourceGroupManagerRemote();
            this.resourceManager = this.remoteClient.getResourceManagerRemote();
            this.roleManager = this.remoteClient.getRoleManagerRemote();
            this.subjectManager = this.remoteClient.getSubjectManagerRemote();

Comment 2 Mike Foley 2011-08-29 14:41:19 UTC
API changes here:

            // add a fetch criteria to the criteria object to get the optionally returned subjects for the role.

Comment 3 Mike Foley 2011-08-29 14:41:49 UTC
API change here: