Bug 5444 - Campaign: Add workspace status service and client
: Campaign: Add workspace status service and client
: Nimbus
: TP1.2.4
: PC Linux
: P3 enhancement
: ---
Assigned To:
  Show dependency treegraph
Reported: 2007-07-16 18:36 by
Modified: 2007-10-10 15:21 (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2007-07-16 18:36:11
Campaign: Add workspace status service and client

Campaign Leader: Tim Freeman

Technologies: VWS

Provide a remote query mechanism to allow clients to review their past and
current usage of the service.

Gives clients their past and current usage information to allow them to check
for consistency and see what information the service is using for authorization
and charging.

Implementation details/tasks:
1) Add new service WSDL to the workspace collection
2) Implement this server side by querying the accounting reader (see Bug
3) Implement the query operation in the reference client
4) In the status service implementation support queries against the same WSRF
resource(s) the Workspace Factory Service has for the create operation.
5) Advertise the charge granularity in the status service RP
6) Return used and reserved time as separate fields in the response
------- Comment #1 From 2007-07-16 18:36:56 -------
Salient portion of WSDL:

            <!--               resource properties                -->

            <xs:element name="chargeGranularity" type="xs:int"/>

            <xs:element name="StatusRPSet">
                        <xs:element ref="tns:chargeGranularity" />

            <!--    Operational input/output type declarations    -->

            <xs:element name="queryUsedAndReserved"

            <xs:complexType name="voidType"/>

            <xs:element name="usedAndReservedTime"
                        type="tns:usedAndReservedTime_Type" />

            <xs:complexType name="usedAndReservedTime_Type">
                    <xs:element name="usedTime"
                    <xs:element name="reservedTime"

            <xs:element name="WorkspaceStatusFault">
                        <xs:extension base="wsbf:BaseFaultType"/>
------- Comment #2 From 2007-07-16 18:39:14 -------
New workspace-status program deploys to $GLOBUS_LOCATION/bin

Salient commandline options:

 -q,--queryusage                 Query for used and reserved time
 -r,--queryrp                    Query the status service resource property
 -s,--service <url>              Service URL
 -e,--eprFile <file>             Loads EPR from file
------- Comment #3 From 2007-10-10 15:21:01 -------
Committed to workspace_tp_1_3_0_branch