Advertisement

APIComposer: Data-Driven Composition of REST APIs

  • Hamza Ed-douibi
  • Javier Luis Cánovas Izquierdo
  • Jordi Cabot
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11116)

Abstract

More and more companies and governmental organizations are publishing data on the Web via REST APIs. The increasing number of REST APIs has promoted the creation of specialized applications aiming to combine and reuse different data sources to generate and deduce new information. However, creating such applications is a tedious and error-prone process since developers must invest much time in discovering the data model behind each candidate REST API, define the composition strategy, and manually implement such strategy. To facilitate this process, we propose an approach to automatically compose and orchestrate data-oriented REST APIs. For an initial set of REST APIs, we discover the data models, identify matching concepts, obtain a global model, and make the latter available on the Web as a global REST API. A prototype tool relying on OpenAPI for describing APIs and on OData for querying them is also provided.

Keywords

REST API Modeling OData OpenAPI API Composition 

References

  1. 1.
  2. 2.
    Aué, J., Aniche, M., Lobbezoo, M., van Deursen, A.: An exploratory study on faults in web API integration in a large-scale payment company. In: International Conference on Software Engineering: Software Engineering in Practice, pp. 13–22 (2018)Google Scholar
  3. 3.
    Baresi, L., Garriga, M., De Renzis, A.: Microservices identification through interface analysis. In: European Conference on Service-Oriented and Cloud Computing, pp. 19–33 (2017)Google Scholar
  4. 4.
    Boronat, A., Carsí, J.Á., Ramos, I., Letelier, P.: Formal model merging applied to class diagram integration. Electron. Notes Theoret. Comput. Sci. 166, 5–26 (2007)CrossRefGoogle Scholar
  5. 5.
    Cánovas Izquierdo, J., Cabot, J.: Composing JSON-based web APIs. In: International Conference on Web Engineering, pp. 390–399 (2014)Google Scholar
  6. 6.
    Cao, H., Falleri, J.-R., Blanc, X.: Automated generation of REST API specification from plain HTML documentation. In: Maximilien, M., Vallecillo, A., Wang, J., Oriol, M. (eds.) ICSOC 2017. LNCS, vol. 10601, pp. 453–461. Springer, Cham (2017).  https://doi.org/10.1007/978-3-319-69035-3_32CrossRefGoogle Scholar
  7. 7.
    Cremaschi, M., De Paoli, F.: Toward automatic semantic API descriptions to support services composition. In: European Conference on Service-Oriented and Cloud Computing, pp. 159–167 (2017)Google Scholar
  8. 8.
    De Giorgio, T., Ripa, G., Zuccalà, M.: An approach to enable replacement of SOAP services and REST services in lightweight processes. In: International Conference on Web Engineering, pp. 338–346 (2010)Google Scholar
  9. 9.
    Ed-Douibi, H., Cánovas Izquierdo, J.L., Cabot, J.: Example-driven Web API Specification Discovery. In: European Conference on Modelling Foundations and Applications (2017)Google Scholar
  10. 10.
    Ed-Douibi, H., Cánovas Izquierdo, J.L., Cabot, J.: OpenAPItoUML: a Tool to Generate UML Models from OpenAPI definitions. In: International Conference on Web Engineering (2018)Google Scholar
  11. 11.
    Espinha, T., Zaidman, A., Gross, H.G.: Web API growing pains: Stories from client developers and their code. In: International Conference on Software Maintenance, Reengineering and Reverse Engineering, pp. 84–93 (2014)Google Scholar
  12. 12.
    Garriga, M., Mateos, C., Flores, A., Cechich, A., Zunino, A.: Restful service composition at a glance: A survey. J. Netw. Comput. Appl. 60, 32–53 (2016)CrossRefGoogle Scholar
  13. 13.
    Lanthaler, M., Gütl, C.: Towards a RESTful service ecosystem. In: International Conference on Digital Ecosystems and Technologies, pp. 209–214 (2010)Google Scholar
  14. 14.
    Musyaffa, F.A., Halilaj, L., Siebes, R., Orlandi, F., Auer, S.: Minimally invasive semantification of light weight service descriptions. In: International Conference on Web Services, pp. 672–677 (2016)Google Scholar
  15. 15.
    Pautasso, C.: RESTful Web service composition with BPEL for REST. Data Knowl. Eng. 68(9), 851–866 (2009)CrossRefGoogle Scholar
  16. 16.
    Pizzo, M., Handl, R., Zurmuehl, M.: OData version 4.0 part 2: URL Conventions. Technical report, OASIS (2014)Google Scholar
  17. 17.
    Rahm, E., Bernstein, P.A.: A survey of approaches to automatic schema matching. VLDB J. 10(4), 334–350 (2001)CrossRefGoogle Scholar
  18. 18.
    Selic, B.: The pragmatics of model-driven development. IEEE Softw. 20(5), 19–25 (2003)CrossRefGoogle Scholar
  19. 19.
    Serrano, D., Stroulia, E., Lau, D., Ng, T.: Linked REST APIs: a middleware for semantic REST API integration. In: International Conference on Web Services, pp. 138–145 (2017)Google Scholar
  20. 20.
    Sheng, Q.Z., Qiao, X., Vasilakos, A.V., Szabo, C., Bourne, S., Xu, X.: Web services composition: a decade’s overview. Inf. Sci. 280, 218–238 (2014)CrossRefGoogle Scholar

Copyright information

© IFIP International Federation for Information Processing 2018

Authors and Affiliations

  1. 1.Internet Interdisciplinary Institute (IN3)Universitat Oberta de Catalunya (UOC)BarcelonaSpain
  2. 2.ICREABarcelonaSpain

Personalised recommendations