1 <?xml version="1.0" encoding="UTF-8"?>
\r
3 xmlns:wsag="http://www.ggf.org/namespaces/ws-agreement"
\r
4 xmlns:sla="http://sla.atos.eu"
\r
5 AgreementId="agreement02">
\r
7 <wsag:Name>ExampleAgreement</wsag:Name>
\r
9 <wsag:AgreementInitiator>RandomClient</wsag:AgreementInitiator>
\r
10 <wsag:AgreementResponder>provider-prueba</wsag:AgreementResponder>
\r
12 The AgreementResponder (in this case) is mandatory if slagui is multi service provider
\r
14 <wsag:ServiceProvider>AgreementResponder</wsag:ServiceProvider>
\r
15 <wsag:ExpirationTime>2014-03-07T12:00:00</wsag:ExpirationTime>
\r
16 <wsag:TemplateId>contract-template-2007-12-04</wsag:TemplateId>
\r
17 <sla:Service>ExampleService</sla:Service>
\r
21 <!-- FUNCTIONAL DESCRIPTION -->
\r
22 <wsag:ServiceDescriptionTerm wsag:Name="SDTName1" wsag:ServiceName="ServiceName">
\r
24 </wsag:ServiceDescriptionTerm>
\r
25 <wsag:ServiceDescriptionTerm wsag:Name="SDTName2" wsag:ServiceName="ServiceName">
\r
27 </wsag:ServiceDescriptionTerm>
\r
29 <!-- OPTIONAL SERVICE REFERENCE -->
\r
31 <!-- OPTIONAL SERVICE PROPERTIES : non funcional properties-->
\r
32 <wsag:ServiceProperties wsag:Name="NonFunctional" wsag:ServiceName="ServiceName">
\r
34 <wsag:Variable wsag:Name="ResponseTime" wsag:Metric="xs:double">
\r
35 <wsag:Location>qos:ResponseTime</wsag:Location>
\r
37 <wsag:Variable wsag:Name="Performance" wsag:Metric="xs:double">
\r
38 <wsag:Location>qos:Performance</wsag:Location>
\r
41 </wsag:ServiceProperties>
\r
42 <wsag:GuaranteeTerm Name="GT_ResponseTime">
\r
43 <wsag:ServiceScope ServiceName="ServiceName">/operation1</wsag:ServiceScope>
\r
44 <wsag:ServiceScope ServiceName="ServiceName">/operation2</wsag:ServiceScope>
\r
45 <!-- The qualifying conditions that must be met before the guarantee is evaluated -->
\r
47 <wsag:QualifyingCondition>state EQ 'ready'</wsag:QualifyingCondition>
\r
49 <wsag:ServiceLevelObjective>
\r
51 <wsag:KPIName>ResponseTime</wsag:KPIName> <!-- same name as property for the moment -->
\r
52 <wsag:CustomServiceLevel>{"constraint" : "ResponseTime BETWEEN (0,0.9)"}</wsag:CustomServiceLevel> <!-- the ServiceProperty is referenced here -->
\r
54 </wsag:ServiceLevelObjective>
\r
55 </wsag:GuaranteeTerm>
\r
56 <wsag:GuaranteeTerm Name="GT_Performance">
\r
57 <wsag:ServiceScope ServiceName="ServiceName"/>
\r
58 <wsag:ServiceLevelObjective>
\r
60 <wsag:KPIName>Performance</wsag:KPIName> <!-- same name as property for the moment -->
\r
61 <wsag:CustomServiceLevel>{"constraint" : "Performance BETWEEN (0.1,1)"}</wsag:CustomServiceLevel>
\r
63 </wsag:ServiceLevelObjective>
\r
64 <wsag:BusinessValueList>
\r
65 <wsag:Important>3</wsag:Important> <!-- optional importance (integer) -->
\r
67 <wsag:AssessmentInterval>
\r
68 <wsag:Count>10</wsag:Count>
\r
69 </wsag:AssessmentInterval>
\r
70 <wsag:ValueUnit>EUR</wsag:ValueUnit>
\r
71 <wsag:ValueExpression>99</wsag:ValueExpression>
\r
74 <wsag:Reward></wsag:Reward>
\r
75 <wsag:Preference></wsag:Preference>
\r
76 <wsag:CustomBusinessValue></wsag:CustomBusinessValue>
\r
77 </wsag:BusinessValueList>
\r
78 </wsag:GuaranteeTerm>
\r