Red Hat Bugzilla – Bug 813856
[eap6] mail sessions & mail subsystem not working at all
Last modified: 2015-11-01 19:42:50 EST
Description of problem:I do not understand how RHQ manages mail subsystem on EAP6. It seems to be completely broken and also the design IMHO does not follow EAP semantics.
In my understanding of EAP6:
There is a mail subsystem on EAP
this mail subsystem can define several child resources = Mail-Session
Each Mail-Session resource can be either smtp-server, pop3-server or imap-server, has JNDI name and outbound-socket-binding-ref, optionally login information, + SSL
Version-Release number of selected component (if applicable):
Build Number: 0fe1b14
RHQ transforms mail subsystem into this tree:
on -mail level, there is NO way how to add a child resource (Mail-Session)
on --Mail-Session level, there are operations 'Add' and 'Remove'.
'Add' - does not work and does not make sense on this place.
'Remove' - I don not understand, what should be removed, operation succeeds, but nothing happens
on ---Mail-Session-type level - there are operations 'Add' 'Remove' which do nothing too (they succeed without any impact)
I suggest reorganize mail subsystem into simpler structure
--Mail-Session (that would be 3 resource types SMTP/IMAP/POP3)
get rid of operations and replace it by 'Create Child'
get creating/removing child resources work
The extra operations have been removed, there should be no operations available for the mail subsystem or children. Create/remove is now handled through Inventory->Child Resources only.
SMTP, IMAP, and POP3 are now sub-resources for Mail-Sessions. These sub-resources are singletons, so it is possible to add only one of each. The creation/removal each of these sub-resources is done through the Child Resources sub-tab of the Mail Session.
Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago.