This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/wiki/do/viewPage/projects.graap-wg/wiki/Interoperability at Thu, 03 Nov 2022 00:14:05 GMT SourceForge : View Wiki Page: Interoperability

Project Home

Tracker

Documents

Tasks

Source Code

Discussions

File Releases

Wiki

Project Admin
Search Wiki Pages Project: GRAAP-WG     Wiki > Interoperability > View Wiki Page
wiki1790: Interoperability

WS-Agreement Interoperability

NOTES FROM TELECON.:

1. We need to be clear on what interoperability issues we are trying to demonstrate. The first step would be to demonstrate interoperability on the schema.

2. Identify interoperability on the type of agreement factory mechanism being used. For instance, whether it would be useful to demonstrate interoperability on synchronous vs. asynchronous agreement creation mechanisms.

3. Identify what aspect of interoperability would be needed on the protocol. How would this be verified with respect to the implementation.


INTRODUCTION

The aim of this document is to produce a set of test scenarios for supporting interoperability between different WS-Agreement implementations.

Scenario 1:

An Agreement Factory exists at Location A. This is sent a message from Location B. Location A generates an agreement template and inserts it into a repository at Location B. Location B is then able to make use of this agreement and invoke services based on it. (this should include a Use Case diagram or a Sequence Diagram)

Participants involved:

Use-cases:

  • AssessGrid - VIOLA job submission/reservation
  • SORMA as consumer of Agreements
  • ASKALON
    • Alex Villazon (supervisor)
    • Mumtaz Siddiqui (implemented WS-Agreement for Askalon)

Test-cases: Here we should describe the test-cases we are going to consider for the interoperability test.

Results of text-cases:

INTEROP. DEMONSTRATION

This scenario demonstrates:

Scenario 1 - AgreementFactory Test Cases:

ServiceConsumer - ServiceProvider:

  • consumer discovers endpoint of AgreementFactory
  • consumer queries discovered AgreementFactory for templates
  • consumer stores resolved templates as tupels {Factory EPR, template}*
  • consumer selects one of the template
  • consumer create AgreementOffer based on selected template
  • consumer calls ~createAgreement message on AgreementFacotry via associated EPR
  • provider creates new Agreement Service instance
  • provider returns EPR to created Agreement Service instance
  • consumer validates that Agreeement ServiceTerms are recognized correctly

Template Content:

Content of ServiceDecriptionTerms

  • ServiceDescriptionTerm - JSDL Application Section
    <ws:ServiceDescriptionTerm ws:Name="COMPUTE_JOB"
      ws:ServiceName="INTEROP@DEMO">
           <jsdl:JobDefinition>
	       <jsdl:JobDescription>

                   <jsdl:Application>
                       <jsdl:ApplicationName>demo</jsdl:ApplicationName>
                       <jsdl:ApplicationVersion>1.0</jsdl:ApplicationVersion>
                   </jsdl:Application>

	       </jsdl:JobDescription>
            </jsdl:JobDefinition>
     </ws:ServiceDescriptionTerm>
  • Guarantee Term (REMARK: CustomServiceLevel must e a valid XML-Document.)
	<ws:GuaranteeTerm ws:Name="SCHEDULING_GUARANTEE">
	  <ws:ServiceScope ws:ServiceName="INTEROP@DEMO"/>
	  <ws:ServiceLevelObjective>
	    <ws:KPITarget>
	      <ws:KPIName>ADVANCE_RESERVATION</ws:KPIName>
	      <ws:CustomServiceLevel>2007-03-15T11:53:41.921+01:00</ws:CustomServiceLevel>
	    </ws:KPITarget>
	  </ws:ServiceLevelObjective>
	  <ws:BusinessValueList/>
	</ws:GuaranteeTerm>
CreationConstraints (optional)
        <wsag:Item wsag:Name="ValidReservationTime">
                       

            <wsag:Location>//wsag:GuaranteeTerm[@wsag:Name='SCHEDULING_GUARANTEE']/wsag:ServiceLevelObjective/wsag:KPITarget/wsag:CustomServiceLevel</wsag:Location>
            <wsag:ItemConstraint>
                <xs:simpleType name="Simple" xmlns:xs="http://www.w3.org/2001/XMLSchema">
                    <xs:restriction base="xs:date"/>
                </xs:simpleType>
             </wsag:ItemConstraint>
         </wsag:Item>

Scenario 2 - Agreement Test Cases:

MSS - CSS


This is the template used in Scenario 1:
<wsag:Template
    xmlns:jsdl="https://schemas.ogf.org/jsdl/2005/11/jsdl"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:wsag="https://schemas.ogf.org/graap/2007/03/ws-agreement"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd https://schemas.ogf.org/jsdl/2005/11/jsdl jsdl.xsd-18.xsd http://schemas.ggf.org/graap/2007/03/ws-agreement ws-agreement-xsd-types.xsd"

    wsag:TemplateId="InteropTemplate">

    <wsag:Name>human readable name</wsag:Name>

    <wsag:Context>
        <wsag:AgreementInitiator></wsag:AgreementInitiator>
        <wsag:AgreementResponder></wsag:AgreementResponder>
        <wsag:ServiceProvider>AgreementResponder</wsag:ServiceProvider>
        <wsag:ExpirationTime>2007-12-31T23:59:59</wsag:ExpirationTime>
        <wsag:TemplateId>InteropTemplate</wsag:TemplateId>
    </wsag:Context>

    <wsag:Terms>
        <wsag:All>
            <wsag:ServiceDescriptionTerm wsag:Name="COMPUTE_JOB" wsag:ServiceName="INTEROP@DEMO">
                <jsdl:JobDefinition>
                    <jsdl:JobDescription>

                        <jsdl:Application>
                            <jsdl:ApplicationName>demo</jsdl:ApplicationName>
                            <jsdl:ApplicationVersion>1.0</jsdl:ApplicationVersion>
                        </jsdl:Application>

                    </jsdl:JobDescription>
                </jsdl:JobDefinition>
            </wsag:ServiceDescriptionTerm>

            <wsag:GuaranteeTerm wsag:Name="SCHEDULING_GUARANTEE">
                <wsag:ServiceScope wsag:ServiceName="INTEROP@DEMO"/>
                <wsag:ServiceLevelObjective>
                    <wsag:KPITarget>
                        <wsag:KPIName>ADVANCE_RESERVATION</wsag:KPIName>
                        <wsag:CustomServiceLevel>2007-03-15T11:53:41.921+01:00</wsag:CustomServiceLevel>
                    </wsag:KPITarget>
                </wsag:ServiceLevelObjective>
                <wsag:BusinessValueList/>
            </wsag:GuaranteeTerm>
        </wsag:All>
    </wsag:Terms>
   
    <wsag:CreationConstraints>
        <wsag:Item wsag:Name="ValidReservationTime">
            <wsag:Location>//wsag:GuaranteeTerm[@wsag:Name='SCHEDULING_GUARANTEE']/wsag:ServiceLevelObjective/wsag:KPITarget/wsag:CustomServiceLevel</wsag:Location>
            <wsag:ItemConstraint>
                <xs:simpleType name="Simple" xmlns:xs="http://www.w3.org/2001/XMLSchema">
                    <xs:restriction base="xs:date"/>
                </xs:simpleType>
            </wsag:ItemConstraint>
        </wsag:Item>
    </wsag:CreationConstraints>
</wsag:Template>

Unit Test Ideas

 




The Open Grid Forum Contact Webmaster | Report a problem | GridForge Help
This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/wiki/do/viewPage/projects.graap-wg/wiki/Interoperability at Thu, 03 Nov 2022 00:14:05 GMT