ServiceGroup.add must return a fault if it can not process a given
InitialTerminationTime
-----------------------------------------------------------------------------------------
Key: MUSE-182
URL: https://issues.apache.org/jira/browse/MUSE-182
Project: Muse
Issue Type: Bug
Components: WSRF WSSG ServiceGroup
Affects Versions: 2.1.0
Reporter: Christian Ewers
Assigned To: Dan Jemiolo
Fix For: 2.2.0
I tried to add a Resource to a ServiceGroup with an InitialTerminationTime
by using the standard WS-ServiceGroupEntry-1_2.wsdl.
But the Entries were never destroyed...
I figured out that I didn't declare the wsrl-TerminationTime and
wsrl-CurrentTime properties and I didn't declare the
ScheduledTermination-Capability.
The SimpleServiceGroup capability checks for the
ScheduledTermination-Capability and only if it gets it it schedules the
terminaton of the entry.
When looking for the fault I found a incompatibility to the specification.
According to the standard the add() method should fail when it can not
schedule the termnination:
>From http://docs.oasis-open.org/wsrf/wsrf-ws_service_group-1.2-spec-os.pdf
- line 493
---
If the ServiceGroup is unable or unwilling to set the TerminationTime
resource property of the ServiceGroupEntry resource to the given value of
the "absolute time" form or a value greater, then the Add request MUST
fault"
---
So I think the createEntry-method of the SimpleServiceGroup should throw a
AddRefusedFault when it can't find the "scheduled-termination"-capability.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]