Downloads On-Demand from the Cessing) Description of Each Endpoint, Which Server

Total Page:16

File Type:pdf, Size:1020Kb

Downloads On-Demand from the Cessing) Description of Each Endpoint, Which Server Моделі та засоби систем баз даних і знань UDC 004.724, 004.62 https://doi.org/10.15407/pp2018.04.059 Kyrylo Malakhov, Aleksandr Kurgaev, Vitalii Velychko MODERN RESTFUL API DLS AND FRAMEWORKS FOR RESTFUL WEB SERVICES API SCHEMA MODELING, DOCUMENTING, VISUALIZING The given paper presents an overview of modern RESTful API description languages (belongs to interface description languages set) – OpenAPI, RAML, WADL, Slate – designed to provide a structured description of a RESTful web APIs (that is useful both to a human and for automated machine processing), with related RESTful web API modelling frameworks. We propose an example of the schema model of web API of the service for pre-trained distributional semantic models (word embedding’s) processing. This service is a part of the “Personal Research Information System” services ecosystem – the “Research and Development Workstation Environment” class system for supporting research in the field of ontology engineering: the au- tomated building of applied ontology in an arbitrary domain area as a main feature; scientific and technical creativity: the automated preparation of application documents for patenting inventions in Ukraine. It also presents a quick look at the relationship of Service-Oriented Architecture and Web services as well as REST fundamentals and RESTful web services; RESTful API creation process. Key words: Service-Oriented Architecture, Web service, REST, RESTful API, OpenAPI, RAML, WADL, Slate. Introduction Databases, web sites, business applica- tivity: the automated preparation of applica- tions and services need to exchange data. This tion documents for patenting inventions in is accomplished by defining standard data Ukraine) with related RESTful web API formats such as Extensible Markup Language modelling frameworks. (XML) or JavaScript Object Notation (JSON), as well as transfer protocols or Web Service-Oriented Architecture style services such as the Simple Object Access and Web services Protocol (SOAP) or the more popular today – According to the Open Group [3] (a Representational State Transfer (REST). De- global consortium that develops open, ven- velopers often have to design their own Ap- dor-neutral information technology stand- plication Programming Interfaces (APIs) to ards), an SOA is an architectural style that make applications work while integrating supports service orientation. Service orienta- specific business logic around operating sys- tion is a way of thinking in terms of the out- tems, or servers. This paper introduces these comes of services, and how they can be de- concepts with a focus on the RESTful APIs veloped and combined. In this definition, a and presents an overview of modern RESTful service is a repeatable business activity that API description languages (RESTful API can be logically represented; the Open Group DLs): OpenAPI Specification, RAML, and gives the examples: “check customer credit,” the example of modeling the schema of web and “provide weather data.” Further, a service API of the service for pre-trained distribu- is self-contained, may be composed of other tional semantic models (word embeddings) services, and consumers of the service treat processing (is a part of the “Personal Re- the service as a black box. SOA is a distinct search Information System” [1] services eco- architectural style which is a major improve- system – the “Research and Development ment over earlier ideas, although it includes Workstation Environment” [2] class system some of the earlier ideas. Also, traditional ar- for supporting research in the field of ontolo- chitectural methods must be employed in or- gy engineering: the automated building of ap- der to obtain maximum benefit from using plied ontology in an arbitrary domain area as SOA. a main feature; scientific and technical crea- © Kyrylo Malakhov, Aleksandr Kurgaev, Vitalii Velychko, 2018 ISSN 1727-4907. Проблеми програмування. 2018. № 4 59 Моделі та засоби систем баз даних і знань Another definition of Service-Oriented Figure 1 uses a Venn diagram to illus- Architecture comes from [4]: a paradigm for trate the relationship between SOA and Web organizing and utilizing distributed capabili- services. The overlapping area in the center ties that may be under the control of different represents SOA using Web services for con- ownership domains. It provides a uniform nections. The nonoverlapping area of Web means to offer, discover, interact with and use services represents that Web services can be capabilities to produce desired effects con- used for connections, but connections alone sistent with measurable preconditions and ex- do not make for an SOA. The non- pectations. According to [4], the focus of overlapping area of SOA indicates that an SOAs is to perform a task (business function). SOA can use Web services as well as connec- This is different from some other paradigms, tions other than Web services (the original such as object-oriented architectures, where specifications of CORBA and DCOM are ex- the focus is more on structure of the solution amples). in the case of an object-oriented architecture, the focus is on how to package data inside an object. SOAs address ownership boundaries through service descriptions and service inter- faces. SOA provides reuse of externally de- veloped frameworks by providing easy in- teroperability between systems. Generally speaking, in order to perform a task, an SOA groups services on different systems, possibly running on different operating systems, possi- bly written using different programming lan- guages. Most current SOA-based applications employ an asynchronous client/server-type architectural style – asynchronous event- Figure 1. Relationship of Web services driven architectural style [5]. Event-driven and SOA SOA (also known as SOA 2.0) is the current Key to SOA is the identification and and advanced form of SOA. In this approach design of services. The idea is that services at present, unlike the older SOA approach should be designed in such a way that they where services used to be designed as pre- become components that can be assembled in defined processes, the events generally trigger multiple ways to support or automate business the execution of activities. The asynchronous functions. It is not necessarily easy to proper- event-driven architectural style is better for ly identify and design services. When done real time or proactive systems, since business well, the services allow an organization to processes are treated as a sequence of events, quickly assemble services – or modify the as- and therefore different business processes that sembly of services – of add or modify the sup- have little relationship with each other, except port or automation of business functions. Here for a few individual shared tasks, do not have are basic concepts related to services [8]. to obey the same kind of centralized man- agement. In an asynchronous event-driven Atomic service. An atomic service architecture, an event message carries a state is a well-defined, self-contained function that change to an event server. The event server does not depend on the context or state of passes these events along to the servers, pos- other services. Generally, an atomic service sibly with value added. Servers may then would be seen as fine grained or having a fin- generate messages for other event servers (of- er granularity. ten calls “publish/subscribe” architecture). Composite service. A composite More detailed in-depth look at the current service is an assembly of atomic or other state of SOA presented in [6, 7]. composite services. The ability to assemble 60 Моделі та засоби систем баз даних і знань services is referred to as composability. Com- He coined the term “REST” an architectural posite services are also referred to as com- style for distributed hypermedia systems. Put pound services. Generally, a composite ser- simply, REST (short for Representational vice would be seen as coarse grained or hav- State Transfer) is an architectural style de- ing a larger granularity. fined to help create and organize distributed Loosely coupled. This is a design systems. The key word from that definition concept where the internal workings of one should be “style,” because an important as- service are not “known” to another service. pect of REST is that it is an architectural style All that needs to be known is the external be- – not a guideline, not a standard, or anything havior of the service. This way, the underly- that would imply that there are a set of hard ing programming of a service can be modified rules to follow in order to end up having a and, as long as external behavior has not RESTful architecture. changed, anything that uses that service con- The RESTful architectural style con- tinues to function as expected. This is similar sists of constraints on data, constraints on the to the concept of information hiding that has interpretation of data, constraints on compo- been used in computer science for a long nents, and constraints on connectors between time. components. The RESTful architectural style pos- The design challenge is to find a bal- sesses the following constraints [9]. ance between fine-grained and coarse-grained services to minimize communication over- Client-Server. The separation of con- head yet keep the services loosely coupled. cerns is the core theme of the Web’s client- Services are assembled to support or server constraints. The Web is a client-server- automate business functions. Figure 2 illus- based system, in which clients and servers trates the assembly of services. This repre- have distinct parts to play. They may be im- sents an SOA. Web services are used to con- plemented and deployed independently, using nect the services in an SOA [8]. any language or technology, so long as they conform to the Web’s uniform interface. Services Stateless. The client-server interaction is stateless. There is no stored context on the Web services server. Any session information must be kept by the client. Cacheable. Data in a response (a re- sponse to a previous request) is labeled as cacheable or non-cacheable.
Recommended publications
  • Automatic Test Generation of REST Apis Automatiserad Testgenerering Av REST API
    Linköping University | Department of Computer and Information Science Master’s thesis, 30 ECTS | Datateknik 2020 | LIU-IDA/LITH-EX-A--20/068--SE Automatic Test Generation of REST APIs Automatiserad testgenerering av REST API Axel Karlsson Supervisor : Anders Fröberg Examiner : Erik Berglund External supervisor : Linus Lindholm Linköpings universitet SE–581 83 Linköping +46 13 28 10 00 , www.liu.se Upphovsrätt Detta dokument hålls tillgängligt på Internet - eller dess framtida ersättare - under 25 år från publicer- ingsdatum under förutsättning att inga extraordinära omständigheter uppstår. Tillgång till dokumentet innebär tillstånd för var och en att läsa, ladda ner, skriva ut enstaka ko- pior för enskilt bruk och att använda det oförändrat för ickekommersiell forskning och för undervis- ning. Överföring av upphovsrätten vid en senare tidpunkt kan inte upphäva detta tillstånd. All annan användning av dokumentet kräver upphovsmannens medgivande. För att garantera äktheten, säker- heten och tillgängligheten finns lösningar av teknisk och administrativ art. Upphovsmannens ideella rätt innefattar rätt att bli nämnd som upphovsman i den omfattning som god sed kräver vid användning av dokumentet på ovan beskrivna sätt samt skydd mot att dokumentet ändras eller presenteras i sådan form eller i sådant sammanhang som är kränkande för upphovsman- nens litterära eller konstnärliga anseende eller egenart. För ytterligare information om Linköping University Electronic Press se förlagets hemsida http://www.ep.liu.se/. Copyright The publishers will keep this document online on the Internet - or its possible replacement - for a period of 25 years starting from the date of publication barring exceptional circumstances. The online availability of the document implies permanent permission for anyone to read, to down- load, or to print out single copies for his/hers own use and to use it unchanged for non-commercial research and educational purpose.
    [Show full text]
  • API Providers Guideанаapi Design
    API Providers Guide ­ API Design Prepared By Kin Lane June 2014 Table of Contents Overview of The API Design Space A New Generation Of API Design Developing The Language We Need To Communicate Leading API Definition Formats Building Blocks of API Design Companies Who Provide API Design Services API Design Tools API Design Editors API Definitions Providing A Central Truth For The API Lifecycle Contributing To The Deployment Lifecycle Contributing To The Management Lifecycle Contributing To The Testing & Monitoring Lifecycle Contributing To The Discovery Lifecycle An Evolutionary Period For API Design Overview of The API Design Space In the early days of APIs, everything was just about deploying and consuming—you were doing one or the other. Then by 2006 we saw the stabilization of common API management practices emerge from providers like Mashery, and then 3Scale. Now in 2014 we are stabilizing again, and the API universe is expanding around the area of API design, with new approaches, tools and entire companies emerging to provide services that are dedicated to helping companies design the best APIs they can. I define the world of API design as everything that goes into planning and designing your API, as well as the definition of your API that will eventually be deployed as your production endpoints, drive your documentation, generate the code samples your developers will use to integrate, test, monitor, and allow your API to be found­­through this lens, API design is fast becoming the driver for all areas of the API lifecycle. Depending on our needs, API design may begin with understanding HTTP, and REST, or may learning more about applying hypermedia as part of your design constraints, or API design might simply be about generating a Swagger definition, so you can generate interactive API documentation.
    [Show full text]
  • Next Gen Integration and API Economy
    WHITE PAPER NEXT GEN INTEGRATION AND API ECONOMY Executive Summary Industry leaders say that Integration is where developers are designing innovative All such ecosystems emerged slowly in the key to Digital Economy. APIs are the applications, reaching new customers and last few years, and monetized transactions foundation of Next Gen Integration, be it exploring new markets, all around APIs. on the APIs, which created new digital Cloud integration, Application integration, revenue streams, which in turn, led to API In an Enterprise Integration ecosystem, B2B integration or Enterprise Integration. economy. APIs help in exposing an enterprise’s In current context, APIs are simple backend-as-a-service so that new Businesses, both large and small, both B2C to understand interfaces focused on applications can quickly be built on top of and B2B, all participate in the API economy. business’ recognizable assets, that facilitate that. Why this works is because a significant This paper brings connectivity and integration with peer applications or useful data is almost locked inside big and integration into spotlight, showcasing the systems in an Agile manner. complex legacy enterprise systems, and entire journey that has taken place and the data warehouses, and APIs unlock that A new Developer Ecosystem is emerging pace it’s moving ahead in. data, that precious data. External Document © 2019 Infosys Limited External Document © 2019 Infosys Limited Introduction Traditional integration We live in an economy powered by digital Traditional integration methods are: 2. Hub and Spoke (H&S) computing technologies, cushioned by 1. Point to Point (P2P) 3. Enterprise Service Bus (ESB) the Internet and the World Wide Web.
    [Show full text]
  • Community-Based API Builder to Manage Apis and Their Connections with Cloud-Based Services
    Community-based API Builder to manage APIs and their connections with Cloud-based Services Romanos Tsouroplis1, Michael Petychakis1, Iosif Alvertis1, Evmorfia Biliri1, Fenareti Lampathaki1, Dimitris Askounis1 1 National Technical University of Athens, School of Electrical and Computer Engineering, Athens, Greece { rtsouroplis, mpetyx, alvertisjo, ebiliri, flamp, askous} @epu.ntua.gr Abstract. Creating added value, innovative applications and services in the web is hindered by the prevailing different formats and models of information retrieved by the various Cloud-based Services (CBS). Additionally, CBS tend to change their Application Programming Interface (API) versions very often, not sufficiently helping the interested enterprises with their adoption as they need to be up-to-date and always functional. The API Builder is a community- based platform that aims to facilitate developers in adopting a Graph API that unifies the experience of multiple cloud-based services APIs and personal cloudlets, building and maintaining their software applications easily, despite any changes made in the CBS APIs. Keywords: APIs, Cloud-based Services, Evolving APIs, Graph API, Community-based platform, Social Enterprise 1. Introduction These days, more and more users tend to share their data through the World Wide Web. Social Networks have gathered large silos of information for each of their users and their interconnections. The Web APIs (Application Programming Interface) provide all the endpoints needed for a developer to request access into this plethora of information. All the major social networks like Facebook, Twitter, etc., have an API, providing most of their core services to third parties for several reasons [1]. Currently, on the site Programmable Web, which indexes, categorizes and makes mashups of APIs, 12,987 public APIs are listed and this number is continuously growing [2].
    [Show full text]
  • CICS TS for Z/OS: Using Web Services with CICS Chapter 1
    CICS Transaction Server for z/OS 5.5 Using Web Services with CICS IBM Note Before using this information and the product it supports, read the information in “Notices” on page 635. This edition applies to the IBM® CICS® Transaction Server for z/OS® Version 5 Release 5 (product number 5655-Y04) and to all subsequent releases and modifications until otherwise indicated in new editions. © Copyright International Business Machines Corporation 1974, 2020. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents About this PDF.....................................................................................................vii Chapter 1. CICS and web services..........................................................................1 CICS and SOAP web services ......................................................................................................................3 Message handlers and pipelines............................................................................................................4 SOAP nodes.......................................................................................................................................... 12 SOAP messages and the application data structure........................................................................... 12 WSDL and the application data structure............................................................................................15 WSDL and message exchange patterns...............................................................................................16
    [Show full text]
  • Schema Validation Based on Swagger
    Schema Validation Based On Swagger gyratesIs Jonny or pantheistic schematising when some Danie citronellal spot-welds participantly, profanely? however Unrisen organometallic Walton shaping Verne some deferring toolbox aftersmack quantitative or deconsecrates. Hall reflect south. Disconcerting Vance The cupboard provided should validate against the schema sucessfully descriptionmodel desc. To all said to an api design visually and. Validating JSON Schemas with an RSpec Matcher Thoughtbot. PhoenixSwaggerSchema phoenixswagger v03. If referencing an error icon, swagger in an http call to generate api. A subset of blade flex tooling implements JSON schema validation from. ASPNET Core FluentValidation Swagger Anexinet. Mule 4 JSON Schema Validation DZone Integration. Define a Schema for as External graduate Unit Salesforce. The schema validation in a way, we share our local. Building a Nodejs service using the API-first approach Red. Checks whether in swagger specifications in this post has no value will try and swagger schema. Part 2 A day solve using Ruby JSON Schema Validator and the. Some trouble importing yours and it looks like at may be what few errors according to a validation tool. It leverages JSON Schema as real data model and is built based on 10. Validating JSON against Swagger API schema Stack Overflow. Output of an initial policy. Let us improve technical details for requests and abstraction of having tests and it will also change. Host or base template to swagger ui, only contain examples are applied to be very useful toolkit that implementing an archived thread. The structure defined by save a language can perhaps turn be used to verify implementations validate inputs or generate code.
    [Show full text]
  • Swagger Ui Generate Documentation
    Swagger Ui Generate Documentation anyIntegrative step-up! and Is Silviopinier nineteenthEdmond often or subventionary wigwagged some when cannonry diabolizing lengthwise some Maseru or denying sleys boozily.aback? Bonzer or oilier, Alasdair never soliloquise The spec in every time it We believe serve the future child the necessary business economy will be driven by data. Can add new ideas in small businesses are sent, and make bad small businesses and output is it seems intuitive, and bulleted information? Nevertheless, audio equipment, you over usually just Google the solution. Also exacerbated by swagger ui documentation, assertible is documented in any process? We generate swagger ui generation based on a specific industry knowledge to generating documentation! Enigma Services in a manner for which Enigma Services were not designed or intended or as not described in the Documentation. This is the nature of working with docker images. Marketing teams can also integrate bankruptcy data would lead qualification to segment out bankrupted leads. In liberty a except it is clearly efficient to hassle a ball control code to signal the separation of two files. This part of generators, generating your api! Thanks a place, generate the target for each other small business loan exposures and contract from swagger ui generate documentation! The jwt token, and restaurant in jsdoc comments are available version support for you regenerate your developers can have you can i did. Other its is to generate documentation from code. You will notice that there are no descriptions displayed or even a name associated with the operation. He covers how they stayed lean and were able to gain enough traction to eventually catch the eye of their first real investor.
    [Show full text]
  • Comparing Description Languages for REST Apis in Industry and Academia
    Institute of Architecture of Application Systems University of Stuttgart Universitätsstraße 38 D–70569 Stuttgart Masterarbeit Nr. 50 Description Languages for REST APIs - State of the Art, Comparison, and Transformation Anton Scherer Course of Study: Softwaretechnik Examiner: Prof. Dr. Dr. h.c. Frank Leymann Supervisor: Dipl.-Inf. Florian Haupt Dipl.-Inf. Karolina Vukojevic-Haupt Commenced: July 21, 2015 Completed: January 20, 2016 CR-Classification: D.2.2, D.2.11 Abstract In recent years, the architectural style for building Web Services called "Representational State Transfer" (REST) gained a lot of popularity in industry and academia. Since designing complex, distributed hypermedia systems still meeting all the REST constraints is a difficult task, an academic, model-driven approach based on a multi-layered metamodel was developed in order to enforce REST compliance. Apart from that, multiple REST API description languages emerged in industry, providing means to formally define the structure of an API for human (e.g. API documentation) and machine (e.g. automated creation of client/server stubs) consumption. This work aims to compare the academic metamodel with API description languages widely used in industry. As a comparison methodology, bidirectional model transformations were designed and implemented between the academic metamodel and each of the two leading API description languages, Swagger and RAML. The model transformations were evaluated with a quantitative method by applying them on real world API descriptions as well as manually evaluating the quality of the transformed models. The model transformations show that indeed various mappings can be established between model elements of different metamodels. However, there are also crucial differences which are also examined in this thesis.
    [Show full text]
  • REST API Modeling Languages - a Developer’S
    IJSTE - International Journal of Science Technology & Engineering | Volume 2 | Issue 10 | April 2016 ISSN (online): 2349-784X REST API Modeling Languages - A Developer’s Perspective Vijay Surwase Student Department of Computer Engineering Pune Institute of Computer Technology, Pune Abstract Service Oriented Architecture (SOA) is generally used while developing enterprise software solutions. This provides flexibility to develop different business modules as services there by providing scalability and reliability. So application becomes loosely coupled. SOAP and REST are two famous approaches of web services. SOAP (Simple Object Access Protocol) is protocol while REST (Representational State Transfer) is architectural style in which services are accessed in form of Resources and generally deployed over web communicates through standard HTTP protocol. Modeling Languages are used to express knowledge/information about system that we are going to develop. For REST service Various Modeling languages / framework are present in REST API worlds. RAML, Swagger and API Blueprint are now a day widely used in development of REST APIs. The paper contains survey of existing modeling languages and guide for choosing best modeling language for REST API development. Keywords: Modeling Languages, Web services, REST, Service Oriented Architecture (SOA) ________________________________________________________________________________________________________ I. INTRODUCTION REST stands for Representational State transfer. This term was first coined by Roy Fielding[17]. REST refers to architectural Style. REST architectural style is gaining popularity but there is lot of debate and growing concern about modeling of REST web services (REST API). The REST architectural style describes six constraints. These constraints, applied to the architecture, were originally communicated by Roy Fielding in his doctoral dissertation and define the basis of RESTful-style.
    [Show full text]
  • CWS/8/2 (In English)
    E CWS/8/2 ORIGINAL: ENGLISH DATE: OCTOBER 20, 2020 Committee on WIPO Standards (CWS) Eighth Session Geneva, November 30 to December 4, 2020 PROPOSAL FOR A NEW STANDARD ON WEB API Document prepared by the International Bureau INTRODUCTION 1. At the fifth session of the Committee of WIPO Standards (CWS), held from May 29 to June 2, 2017, one of the important areas for standardization identified was web services (see paragraph 2 of document CWS/5/15). The CWS agreed at this meeting to create Task No. 56, so that the XML4IP Task Force could conduct development of this draft standard (see paragraph 92 of document CWS/5/22). 2. At its sixth session, held in October 2018, the CWS agreed that the draft standard should include the Application Programming Interface (API) specification of two example models: the first inspired by one of the four One Portal Dossier (OPD) APIs developed by the IP5 Offices1 and the second to provide a web service to retrieve patent legal status event information, compliant with WIPO Standard ST.27. 3. During the XML4IP Task Force Meeting, held in Seoul, Republic of Korea, in March 2019, the XML4IP Task Force decided that the new API standard was outside the scope of the of the XML4IP Task Force, and proposed that a new Task Force should be established in order to capture API development practices in the intellectual property (IP) domain. 1 The IP5 Offices consist of the European Patent Office (EPO), the United States Patent and Trademark Office (USPTO), Chinese National Intellectual Property Administration (CNIPA), Japanese Patent Office (JPO) and Korean Patent Office (KIPO).
    [Show full text]
  • How to Generate a REST CXF3 Application from a Swagger-Contract
    How to Generate a REST CXF3 Application from a Swagger-Contract Johannes Fiala, Developer Agenda • Generate based on contract • Extend using code first • Freeze the contract • Use the REST API • Generate client code (Java/Javascript) • Access with a browser using a UI • View/Share as HTML/PDF • Migrate between frameworks using the code generator only • Customize the code generator Toolchain • Apache CXF 3 • + SwaggerFeature • + Spring configuration • + Spring Boot integration (start/tests) • Swagger-Tools • Swagger-Editor • Swagger-Codegen • Swagger-UI • Swagger2Markup Contract first, then code, then contract Complete process flow About me… • Spring REST / Swagger-Springfox • Added BeanValidation support • Swagger-Codegen • Created Javascript client • Add BeanValidation support for Java • Improved CXF server (generate complete server) • Created CXF client • Swagger2Markup • Added BeanValidation support Contract • WADL (XML-based) • By w3c, Last update 2009 • Swagger (Json/Yaml-based) • By Linux foundation • Version 1.0 – 2011 (Wordnik) • Version 1.2 - 2014 • Version 2.0 – 2015 / transferred to Linux foundation / Open-API initiative • Next version 3.0 • Others: Blueprint, RAML, … Open API / Swagger • A language-agnostic interface to REST APIs • allows to discover and understand the capabilities of a service • Supported Formats: JSON/YAML https://github.com/OAI/OpenAPI-Specification Contract editors • Swagger Editor • by SmartBear • Eclipse SwagEdit • By RepreZen API Studio • Commercial Tools: • Restlet Studio • RepreZen API Studio Swagger-Editor
    [Show full text]
  • A Reliability-Aware Framework for Service-Based Software Development
    A Reliability-Aware Framework for Service-Based Software Development by Ian Andrusiak A Thesis Submitted in Partial Fulfilment of the Requirements for the Degree of Masters of Applied Science in Electrical and Computer Engineering University of Ontario Institute of Technology Oshawa, Ontario, Canada © Ian Andrusiak, 2017 Abstract A Reliability-Aware Framework for Service-Based Software Development Ian Andrusiak Advisor: University of Ontario Institute of Technology, 2017 Dr. Qusay H. Mahmoud It is becoming common to see software applications taking advantage of web services available publicly to meet their needs, rather than developing an in-house solution. This introduces the problem where failures can occur on the network, or on the service provider, outside the influence of the developer. This thesis proposes a reliability-aware framework with a focus on availability, which applies a recovery block scheme to services provided by different developers. The proposed framework allows developers to specify alternative services which meet the core specifications of their primary service. When a failure is determined to have occurred, the request to the primary service is mapped to an alternative service. A prototype has been developed as a proof of concept, which has been evaluated on metrics based on potential use cases. The experimental results show that the system is successful at providing availability when failure occurs, at a cost to overall performance. i Acknowledgments I would like to express my sincere gratitude to my thesis supervisor Dr. Qusay Mahmoud, for his continued support, motivation, and guidance throughout my time as a graduate student. I would not have been able to complete this work without his guidance and motivation.
    [Show full text]