180 likes | 261 Views
Aniketos platform : Design of a trustworthy composite service. Summer SOC July 2 nd – July 7 th. Reference scenario for the demo.
E N D
Aniketosplatform:Design of a trustworthy composite service Summer SOC July 2nd – July 7th
Reference scenario for the demo • A service provider wantstooffer a service thattakes in input the geographical position of a user and shows in a webpage a set of information: • A mapshowing the position • Weather information • Point ofinterests in the surroundings • The service provider wants the service tobetrustworthy, so heasks the service designer to exploit the toolsmadeavailablethrough the Aniketosplatform
Abouttrustworthiness in Aniketos… • The trustworthiness value is evaluated by the Trustworthiness Prediction module and is a combination of: • Cognitive trust of the user, based on the service and service provider reputation. • Non-cognitive trust, based on objective and measurable properties of the service such as QoS attributes (reliability, performance, availability)
Service CompositionFramework (SCF) • The SCF is a design timemoduleavailable in the Aniketosenvironmentallowing a service designer tobuildexecutablecompositionplans • Touse the framework the service designer mustbeauthenticated
SCF: getstartedwith BPMN modelling • Once authenticated, the service designer can start the BPMN modelling
BPMN modelofInfoService • From the descriptionof the service in termsoffunctionality, the service designer decidestousedifferentatomicservices and compose themaccordingto the BPMN drafted in the SCF editor
BMPN annotatedwithtrustworthinessrequirement • The service designer isin chargeofdesigning a composite service with a specificrequirementon trusthworthinessvalue • The trustworthinessrequirementisexpressedas a consumer policy written in ConSpecgrammar • The file location isincluded in anextensionElementstagin the xml representing the BPMN
Annotated BPMN • An excerptof the resulting xml for the annotated BPMN isshownbelow:
Service discovery and selectionof the service operation • Tomake the compositionplans the SCF hastobindrealweb servicesto the service tasks in the BPMN • The bindingprocessentails: • Service discoveryusing the ServiceTypeassearchfilter • The SCF shows the operationsofferedby the web servicesmatching the requestbased on the ServiceType • Selectionof the specificoperation the service designer wantstouse in orderto compose the InfoService • Ifthe sameoperationisofferedbydifferentatomicservices the service designer willsee just oneoperation
Discovery and selection: GeoCodingexample (2/2) 2 1 • The service designer discoversoperationsofferedbyGeoCodingtypeservices( ) and selectsgetCoordinates() • The service designer isn’t awareofhowmany web servicesofferthatoperation, it’s the SCF whichwillbind the differentservicesto the service task whenmakingcompositionplans
Creationofcompositionplans • Once the service designer hasselectedanoperationforeach service task the SCF isreadyto create the compositionplans • When the service designer clicks on “Create compositionplans” button, the SCF shows a set offunctionallyvalidcompositionplans
Compositionplanscreatedby the SCF • The SCF hascreated 12 compositionplans: • thisisexplainedby the numberof web servicesoffering the sameoperation: • Geocodingtype: boundto2 web services • PointOfInteresttype: boundto3 web services • WeatherForecasttype: boundto1 web services • Maptype: boundto2 web services • WebPageInfoCollectortype: boundto1 web services • Thusthe numberofcompositionplansis2 X 3 X 1 X 2 X 1 = 12
Selectionoftrustworthycompositionplans • The compositionplansensurefunctionalitybut do notconsider the trustworthinessrequirement • The compositionplanshavetobecheckedagainst the requirementsspecifiedfor the trustworthinessvalue • Thischeckisperformedby the SecureCompositionPlannerModulewhichreceives the compositionplansfrom the SCF and returnsthoseonesthatfulfill the trustworthinessrequirement
Trustworthinesspredictionfor composite services • The SCPM invokes the Trustworthinesspredictionmoduletoevaluate the trustworthinessvaluefor the set ofcompositionplansreceivedfrom the SCF • The trustworthinessvalueof the composite service isevaluatedusing the weakest link principle • The Trustworthinessmoduleevaluates the trustworthinessvalueforeach service taking part in the composition • The lowestvalueisreturnedas the trustworthinessvalueof the composite service
Trustworthy composite services • When the service designer clicks on “VerifyAll” button the SCPM selects the compositionplansthatfulfilsthe trustworthinessrequirement • In ordertovisualize the Trustworthinessvalueof the compositionplans the service designer selects “OrderBy” Trustworthinessand clicks on “Order/Rank” button
Last steps: upload and deploy • The service designer selectsoneof the trustworthycompositionplans and can • Upload the BPMN toanActivitiEngine • Deployitto a web application server