1 <?xml version="1.0" encoding="UTF-8"?>
2 <wsag:Template xmlns:wsag="http://www.ggf.org/namespaces/ws-agreement"
4 <wsag:Name>ExampleTemplate2</wsag:Name>
6 <wsag:ExpirationTime>2014-03-07T12:00:00:000</wsag:ExpirationTime>
10 <!-- FUNCTIONAL DESCRIPTION -->
11 <wsag:ServiceDescriptionTerm wsag:Name="SDTName1" wsag:ServiceName="ServiceName">
13 </wsag:ServiceDescriptionTerm>
14 <wsag:ServiceDescriptionTerm wsag:Name="SDTName2" wsag:ServiceName="ServiceName">
16 </wsag:ServiceDescriptionTerm>
18 <!-- OPTIONAL SERVICE REFERENCE -->
20 <!-- OPTIONAL SERVICE PROPERTIES : non funcional properties-->
21 <wsag:ServiceProperties wsag:Name="NonFunctional" wsag:ServiceName="ServiceName">
23 <wsag:Variable wsag:Name="ResponseTime" wsag:Metric="xs:double">
24 <wsag:Location>qos:ResponseTime</wsag:Location>
26 <wsag:Variable wsag:Name="Performance" wsag:Metric="xs:double">
27 <wsag:Location>qos:Performance</wsag:Location>
30 </wsag:ServiceProperties>
31 <wsag:GuaranteeTerm wsag:Name="GT_ResponseTime">
32 <wsag:ServiceScope wsag:ServiceName="ServiceName"/>
33 <!-- The qualifying conditions that must be met before the guarantee is evaluated -->
35 <wsag:QualifyingCondition>state EQ 'ready'</wsag:QualifyingCondition>
37 <wsag:ServiceLevelObjective>
39 <wsag:KPIName>ResponseTime</wsag:KPIName> <!-- same name as property for the moment -->
40 <wsag:CustomServiceLevel>{"constraint" : "ResponseTime LT qos:ResponseTime"}</wsag:CustomServiceLevel> <!-- the ServiceProperty is referenced here -->
42 </wsag:ServiceLevelObjective>
44 <wsag:GuaranteeTerm wsag:Name="GT_Performance">
45 <wsag:ServiceScope wsag:ServiceName="ServiceName"/>
46 <wsag:ServiceLevelObjective>
48 <wsag:KPIName>Performance</wsag:KPIName> <!-- same name as property for the moment -->
49 <wsag:CustomServiceLevel>{"constraint" : "Performance GT qos:Performance"}</wsag:CustomServiceLevel>
51 </wsag:ServiceLevelObjective>
52 <wsag:BusinessValueList>
53 <wsag:Importante>3</wsag:Importante> <!-- optional importance (integer) -->
55 <wsag:AssessmentInterval>
56 <wsag:Count>10</wsag:Count>
57 </wsag:AssessmentInterval>
58 <wsag:ValueUnit>EUR</wsag:ValueUnit>
59 <wsag:ValueExpression>99</wsag:ValueExpression>
62 <wsag:Reward></wsag:Reward>
63 <wsag:Preference></wsag:Preference>
64 <wsag:CustomBusinessValue></wsag:CustomBusinessValue>
65 </wsag:BusinessValueList>