Red Hat Bugzilla – Bug 839216
[eap6] support for editing OSGi capabilities
Last modified: 2015-09-02 20:01:05 EDT
Description of problem:
JON can list Capability and Property resources of AS7 OSGi subsystem, can add new resources, can edit Property resources but there is no way to edit child resources of these capability type. AS7 Web console supports this.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start EAP server
2. Start Jon server & agent, inventory agent in server gui with eap in it
3. create new child resource under OSGI - capabilities
4. Enter configuration of new child
It is not possible to edit child resource configuration
It is possible to edit child resource configuration
It is possible to edit capability resource in web console.
As per 8/20 triage 8/20 pushing to JON312
The only attribute the OSGi capability has (startLevel) is marked as read only. I was looking into AS console code and AS console allows for changing it by simply removing the whole OSGi capability and adding it again with a changed value of the attribute startLevel. It is a question if we should mimic the AS console in this particular behavior.
Per triage with loleary, crouch, mfoley: Move to JBoss ON product, set target release JON 3.2, clear priority (will be subject to further triage in JON 3.2 timeframe).
The EAP API only allows configuring OSGi related sub-resources at creation. The plugin exposes the correct functionality and works as intended and correctly.
Removing resources under the covers just to recreate them is not a good option because of the JON resource model.