+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<wsag:Template xmlns:wsag="http://www.ggf.org/namespaces/ws-agreement"
- TemplateId="template">
- <wsag:Name>ExampleTemplate2</wsag:Name>
- <wsag:Context>
- <wsag:ExpirationTime>2014-03-07T12:00:00:000</wsag:ExpirationTime>
- </wsag:Context>
- <wsag:Terms>
- <wsag:All>
- <!-- FUNCTIONAL DESCRIPTION -->
- <wsag:ServiceDescriptionTerm wsag:Name="SDTName1" wsag:ServiceName="ServiceName">
- DSL expression
- </wsag:ServiceDescriptionTerm>
- <wsag:ServiceDescriptionTerm wsag:Name="SDTName2" wsag:ServiceName="ServiceName">
- DSL expression
- </wsag:ServiceDescriptionTerm>
-
- <!-- OPTIONAL SERVICE REFERENCE -->
-
- <!-- OPTIONAL SERVICE PROPERTIES : non funcional properties-->
- <wsag:ServiceProperties wsag:Name="NonFunctional" wsag:ServiceName="ServiceName">
- <wsag:Variables>
- <wsag:Variable wsag:Name="ResponseTime" wsag:Metric="xs:double">
- <wsag:Location>qos:ResponseTime</wsag:Location>
- </wsag:Variable>
- <wsag:Variable wsag:Name="Performance" wsag:Metric="xs:double">
- <wsag:Location>qos:Performance</wsag:Location>
- </wsag:Variable>
- </wsag:Variables>
- </wsag:ServiceProperties>
- <wsag:GuaranteeTerm wsag:Name="GT_ResponseTime">
- <wsag:ServiceScope wsag:ServiceName="ServiceName"/>
- <!-- The qualifying conditions that must be met before the guarantee is evaluated -->
- <!--
- <wsag:QualifyingCondition>state EQ 'ready'</wsag:QualifyingCondition>
- -->
- <wsag:ServiceLevelObjective>
- <wsag:KPITarget>
- <wsag:KPIName>ResponseTime</wsag:KPIName> <!-- same name as property for the moment -->
- <wsag:CustomServiceLevel>{"constraint" : "ResponseTime LT qos:ResponseTime"}</wsag:CustomServiceLevel> <!-- the ServiceProperty is referenced here -->
- </wsag:KPITarget>
- </wsag:ServiceLevelObjective>
- </wsag:GuaranteeTerm>
- <wsag:GuaranteeTerm wsag:Name="GT_Performance">
- <wsag:ServiceScope wsag:ServiceName="ServiceName"/>
- <wsag:ServiceLevelObjective>
- <wsag:KPITarget>
- <wsag:KPIName>Performance</wsag:KPIName> <!-- same name as property for the moment -->
- <wsag:CustomServiceLevel>{"constraint" : "Performance GT qos:Performance"}</wsag:CustomServiceLevel>
- </wsag:KPITarget>
- </wsag:ServiceLevelObjective>
- <wsag:BusinessValueList>
- <wsag:Importante>3</wsag:Importante> <!-- optional importance (integer) -->
- <wsag:Penalty>
- <wsag:AssessmentInterval>
- <wsag:Count>10</wsag:Count>
- </wsag:AssessmentInterval>
- <wsag:ValueUnit>EUR</wsag:ValueUnit>
- <wsag:ValueExpression>99</wsag:ValueExpression>
- </wsag:Penalty>
-
- <wsag:Reward></wsag:Reward>
- <wsag:Preference></wsag:Preference>
- <wsag:CustomBusinessValue></wsag:CustomBusinessValue>
- </wsag:BusinessValueList>
- </wsag:GuaranteeTerm>
- </wsag:All>
- </wsag:Terms>
-</wsag:Template>