Abstract
The creation of adaptive and reconfigurable Service Oriented Architectures (SOA) must take into account the unpredictability of the Internet and of potentially buggy software, and thus requires monitoring subsystems for detecting degradations and failures as soon as possible. In this paper we propose EXOGEM, a novel and lightweight monitoring framework for REpresentational State Transfer (REST) Application Programming Interfaces (APIs). EXOGEM is an extension to the mainstream code generator OpenAPI Generator, and it allows to create a monitoring subsystem for generated APIs with limited changes to the usual API development workflow. We showcase the approach on a smart grid testbed, where EXOGEM monitors the interaction of a heatpump with a system that optimizes its operations. Our measurements estimate EXOGEM’s comparable to the usage of HTTPS when the server is not flooded with requests. Moreover, in one experiment EXOGEM was used to identify high load, and to activate computational elasticity. Together, this suggests that EXOGEM can be a useful monitoring framework for real-life systems and services.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Agesen, M.K., Enevoldsen, S., Le Guilly, T., Mariegaard, A., Olsen, P., Skou, A.: Energy consumption forecast of photo-voltaic comfort cooling using UPPAAL Stratego. In: Aceto, L., Bacci, G., Bacci, G., Ingólfsdóttir, A., Legay, A., Mardare, R. (eds.) Models, Algorithms, Logics and Tools. LNCS, vol. 10460, pp. 603–622. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-63121-9_30
Barth, W.: Nagios: System and Network Monitoring. No Starch Press (2008)
Brabra, H., Mtibaa, A., Gaaloul, W., Benatallah, B.: Model-driven elasticity for cloud resources. In: Krogstie, J., Reijers, H.A. (eds.) CAiSE 2018. LNCS, vol. 10816, pp. 187–202. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-91563-0_12
Chowdhury, S.R., Bari, M.F., Ahmed, R., Boutaba, R.: PayLess: a low cost network monitoring framework for software defined networks. In: 2014 IEEE Network Operations and Management Symposium (NOMS), pp. 1–9. IEEE (2014). https://doi.org/10.1109/NOMS.2014.6838227
David, A., Du, D., Guldstrand Larsen, K., Legay, A., Mikučionis, M.: Optimizing control strategy using statistical model checking. In: Brat, G., Rungta, N., Venet, A. (eds.) NFM 2013. LNCS, vol. 7871, pp. 352–367. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-38088-4_24
Delsing, J., et al.: The arrowhead framework architecture. In: IoT Automation, pp. 79–124. CRC Press (2017)
Ferreira, L.L., Albano, M., Delsing, J.: QoS-as-a-service in the local cloud. In: 2016 IEEE 21st International Conference on Emerging Technologies and Factory Automation (ETFA), pp. 1–8. IEEE (2016). https://doi.org/10.1109/ETFA.2016.7733699
Golmohamadi, H., Larsen, K.G., Jensen, P.G., Hasrat, I.R.: Integration of flexibility potentials of district heating systems into electricity markets: a review. Renew. Sustain. Energy Rev. 159, 112200 (2022)
Hasrat, I., Jensen, P., Larsen, K., Srba, J.: End-to-end heat-pump control using continuous time stochastic modelling and uppaal stratego. In: Aït-Ameur, Y., Crăciun, F. (eds.) TASE 2022. LNCS, vol. 13299, pp. 363–380. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-10363-6_24
Karlsson, S., Čaušević, A., Sundmark, D.: QuickREST: property-based test generation of OpenAPI-described restful APIs. In: 2020 IEEE 13th International Conference on Software Testing, Validation and Verification (ICST), pp. 131–141. IEEE (2020). https://doi.org/10.1109/ICST46399.2020.00023
Katsaros, G., Kousiouris, G., Gogouvitis, S., Kyriazis, D., Varvarigou, T.: A service oriented monitoring framework for soft real-time applications. In: 2010 IEEE International Conference on Service-Oriented Computing and Applications (SOCA),D pp. 1–4. IEEE (2010). https://doi.org/10.1109/SOCA.2010.5707182
Katsaros, G., Kübert, R., Gallizo, G.: Building a service-oriented monitoring framework with rest and nagios. In: 2011 IEEE International Conference on Services Computing, pp. 426–431. IEEE (2011). https://doi.org/10.1109/SCC.2011.53
Klitgaard, A.S., Alexander Sønderby, A., Jørgensen, H.S., Walstrøm Petersen, K., Dongo, J., Albano, M.: Resilience-focused monitoring framework for edge systems. In: 2022 IEEE International Conference on Edge Computing and Communications (EDGE), pp. 153–158 (2022). https://doi.org/10.1109/EDGE55608.2022.00030
The OpenAPI specification. https://github.com/OAI/OpenAPI-Specification/blob/master/README.md
OpenAPI generator. https://openapi-generator.tech/
Who is using this? https://openapi-generator.tech/users
Schwichtenberg, S., Gerth, C., Engels, G.: From open API to semantic specifications and code adapters. In: 2017 IEEE International Conference on Web Services (ICWS), pp. 484–491. IEEE (2017)
Sferruzza, D., Rocheteau, J., Attiogbé, C., Lanoix, A.: Extending openapi 3.0 to build web services from their specification. In: International Conference on Web Information Systems and Technologies (2018)
Wanstrath, C.: Mustache manual. https://mustache.github.io/mustache.5.html
Acknowledgment
Research funded in part by the ERC Advanced Grant LASSO; by the Villum Investigator Grant S4OS; by the European Union through the Horizon 2020 project DomOS (grant agreement 894240).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Holtebo, D.F., Sommer, J.L., Lund, M.M., Tibo, A., Dongo, J., Albano, M. (2023). EXOGEM: Extending OpenAPI Generator for Monitoring of RESTful APIs. In: Troya, J., et al. Service-Oriented Computing – ICSOC 2022 Workshops. ICSOC 2022. Lecture Notes in Computer Science, vol 13821. Springer, Cham. https://doi.org/10.1007/978-3-031-26507-5_10
Download citation
DOI: https://doi.org/10.1007/978-3-031-26507-5_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-26506-8
Online ISBN: 978-3-031-26507-5
eBook Packages: Computer ScienceComputer Science (R0)