Hi Joseph

Re ability to commit resource name change -
is there a Bugzilla entry to track and to vote?

Tagging as an additional way to classify and group resources would be great. But as for me, it cannot be a replacement for clear and easily recognisible resource name familiar to a user. There are many places when tag wouldn't or shouldn't appear: resource path, resources list, inventory tree on the left side etc


Regards
Alexey


On 22.06.2010 22:20, Joseph Marques wrote:
On 06/22/2010 11:29 AM, SALEWSKI, Steffen wrote:

Hi All,

 

@Joseph:

Thank you very much for the instructions how to add a manual resource to RHQ. This helped me a lot!

 

@All:

Now, I also have the problem to rename my added resource. I found out that there is the possibility to change properties (e.g. the name of a resource) by calling the equivalent setter method:

 

var res = ResourceManager.getResource(subject, 10001)

res.setName(“My Resource Name”)

 

The question now is: How to commit this property change via CLI, so it is updated on the server?

 

I could not find an update method or something equal in the CLI API. Btw, another question: Where to find the most recent API description for the CLI interface? The one I currently use is: http://www.redhat.com/docs/en-US/JBoss_ON/2.3/api/remote-api/index.html But there the DiscoveryBoss is completely undescribed. Is there some?

Unfortunately, there is no way to commit these changes yet.  This was a Remote API oversight on our part.  I'll try to get this into the next release.

In the future, however, instead of renaming resources, maybe all you have to do is tag them appropriately.  Please look at the current design doc for tagging, and let us know if you think it would suit your future needs -- http://www.rhq-project.org/display/RHQ/Design+-+Tagging

In the meantime, you might want to look at using group definitions to help identify and aggregate resources of interest into named, dynamic groups -- http://www.rhq-project.org/dosearchsite.action?queryString=dynagroup

-joseph

-joseph
_______________________________________________ rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users