1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <wsag:Agreement xmlns:wsag="http://www.ggf.org/namespaces/ws-agreement"
\r
3 AgreementId="agreement02">
\r
5 <wsag:Name>ExampleAgreement</wsag:Name>
\r
7 <wsag:AgreementInitiator>RandomClient</wsag:AgreementInitiator>
\r
8 <wsag:AgreementResponder>provider-prueba</wsag:AgreementResponder>
\r
10 The AgreementResponder (in this case) is mandatory if sla is multi service provider
\r
12 <wsag:ServiceProvider>AgreementResponder</wsag:ServiceProvider>
\r
13 <wsag:ExpirationTime>2014-03-07T12:00:00</wsag:ExpirationTime>
\r
14 <wsag:TemplateId>template02</wsag:TemplateId>
\r
18 <!-- FUNCTIONAL DESCRIPTION -->
\r
19 <wsag:ServiceDescriptionTerm Name="SDTName1" ServiceName="ServiceName">
\r
21 </wsag:ServiceDescriptionTerm>
\r
22 <wsag:ServiceDescriptionTerm Name="SDTName2" ServiceName="ServiceName">
\r
24 </wsag:ServiceDescriptionTerm>
\r
26 <!-- OPTIONAL SERVICE REFERENCE -->
\r
28 <!-- OPTIONAL SERVICE PROPERTIES : non funcional properties-->
\r
29 <wsag:ServiceProperties Name="NonFunctional" ServiceName="ServiceName">
\r
31 <wsag:Variable Name="ResponseTime" Metric="xs:double">
\r
32 <wsag:Location>qos:ResponseTime</wsag:Location>
\r
34 <wsag:Variable Name="Performance" Metric="xs:double">
\r
35 <wsag:Location>qos:Performance</wsag:Location>
\r
38 </wsag:ServiceProperties>
\r
39 <wsag:GuaranteeTerm Name="GT_ResponseTime">
\r
40 <wsag:ServiceScope ServiceName="ServiceName"/>
\r
41 <!-- The qualifying conditions that must be met before the guarantee is evaluated -->
\r
43 <wsag:QualifyingCondition>state EQ 'ready'</wsag:QualifyingCondition>
\r
45 <wsag:ServiceLevelObjective>
\r
47 <wsag:KPIName>ResponseTime</wsag:KPIName> <!-- same name as property for the moment -->
\r
48 <wsag:CustomServiceLevel>{"constraint" : "ResponseTime LT 0.9"}</wsag:CustomServiceLevel> <!-- the ServiceProperty is referenced here -->
\r
50 </wsag:ServiceLevelObjective>
\r
51 </wsag:GuaranteeTerm>
\r
52 <wsag:GuaranteeTerm Name="GT_Performance">
\r
53 <wsag:ServiceScope ServiceName="ServiceName"/>
\r
54 <wsag:ServiceLevelObjective>
\r
56 <wsag:KPIName>Performance</wsag:KPIName> <!-- same name as property for the moment -->
\r
57 <wsag:CustomServiceLevel>{"constraint" : "Performance GT 0.1"}</wsag:CustomServiceLevel>
\r
59 </wsag:ServiceLevelObjective>
\r
60 <wsag:BusinessValueList>
\r
61 <wsag:Importante>3</wsag:Importante> <!-- optional importance (integer) -->
\r
63 <wsag:AssessmentInterval>
\r
64 <wsag:Count>10</wsag:Count>
\r
65 </wsag:AssessmentInterval>
\r
66 <wsag:ValueUnit>EUR</wsag:ValueUnit>
\r
67 <wsag:ValueExpression>99</wsag:ValueExpression>
\r
70 <wsag:Reward></wsag:Reward>
\r
71 <wsag:Preference></wsag:Preference>
\r
72 <wsag:CustomBusinessValue></wsag:CustomBusinessValue>
\r
73 </wsag:BusinessValueList>
\r
74 </wsag:GuaranteeTerm>
\r