You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by Christian Ewers <CE...@de.ibm.com> on 2007/01/17 11:18:52 UTC

Adding a Resource to a ServiceGroup with InitialTerminationTime

Hi,
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.

Regards,
Christian

Re: Adding a Resource to a ServiceGroup with InitialTerminationTime

Posted by Daniel Jemiolo <da...@us.ibm.com>.
You are correct - can you open this in JIRA, w/ fix version 2.2? I will 
work on this today.

thanks,
Dan



Christian Ewers <CE...@de.ibm.com> wrote on 01/17/2007 05:18:52 AM:

> 
> Hi,
> 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.
> 
> Regards,
> Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org