Research Group for Applied Software Engineering
Forschungsgruppe für Angewandte Softwaretechnik

Paul Schmiedmayer

  • Guided Research - Paul Schmiedmayer - Building Protocol-Agnostic Server-Side Applications Using Domain-Specific Languages

    Guided Research
    Building Protocol-Agnostic Server-Side Applications Using Domain-Specific Languages
    Advisor
    Author
    Mathias Quintero Szillat
    Date
    November 2, 2020 - April 16, 2021
    Abstract When choosing a protocol, server-side developers have many options available, ranging from building a JSON based API, to a RESTful Service, to a GraphQL API or using gRPC. The chosen protoccol will, in practice, shape the structure of a server’s implementation. Schmiedmayer proposes Apodini [Sch20], an internal domain-specific language that focuses on describing a server’s implementation declaratively and independently from the protocol. In this guided research we want to explore the feasibility and nuances of the Apodini internal domain-specific for different programming languages such as Swift and Kotlin.
  • Guided Research - Paul Schmiedmayer - Decentralized Observability Using Distributed User Interface Generation

    Guided Research
    Decentralized Observability Using Distributed User Interface Generation
    Advisor
    Author
    Paul Kraft
    Date
    April 20, 2020 - November 6, 2020
    Abstract Ever-increasing complexity in micro-service architectures requires scaling and deployment of services according to current usage information and resource availability. In order to ensure the availability of a distributed server application, it is crucial to provide a maintainer of a micro-service application wide-reaching monitoring capabilities custom fit to its specific use case. We propose to develop a framework to provide tracing information about a server application and visualizing it on a client device using dynamic UI generation.
  • Theses - Paul Schmiedmayer - A Framework to Build and Maintain GraphQL Client-Server Architectures in Swift

    Master's Thesis
    A Framework to Build and Maintain GraphQL Client-Server Architectures in Swift
    Advisor
    Author
    Date
    November 15, 2019 - May 15, 2020
    Abstract This thesis attempts to address the issue of synchronizing the networking stack of client-server codebases by providing a full solution to write a client-server architecture using GraphQL in Swift. We want to provide a clean and readable declarative API for creating a GraphQL Server and a similar API for the client, as well as tools to ensure that these codebases continue being in sync. We plan to achieve the synchronization by autogenerating client code from the GraphQL schema, and updating the client automatically when the server changes. You can find the open source implementation at https://github.com/nerdsupremacist/GraphZahl and https://github.com/nerdsupremacist/Graphaello
  • Theses - Paul Schmiedmayer - A Process Model for Client Migration after Service Changes in Distributed Systems

    Master's Thesis
    A Process Model for Client Migration after Service Changes in Distributed Systems
    Advisor
    Author
    Andre Weinkötz
    Date
    July 15, 2020 - January 15, 2021
    Abstract Modern web-based APIs offer a broad variety of services for numerous distributed client applications. As with any other software product, Web APIs must evolve to remain functional and successful. Ideally, an API contract creates a consistent, shared understanding of its service between provider and consumer. The provider-side evolution of an API often introduces changes to this contract that consumers need to manually adapt to. Thus far, there is no automated process for migrating between different Web API versions. In this thesis, we propose a tool-supported workflow using a novel machine-readable migration guide. We evaluate our findings by implementing an automated migration tool for OpenAPI specifications. You can find the open source implementation at https://github.com/Apodini/Pallidor.
  • Theses - Paul Schmiedmayer - An Architecture for Sustainability in Cloud-Native Applications

    Master's Thesis
    An Architecture for Sustainability in Cloud-Native Applications
    Advisor
    Author
    Valentin Bootz
    Start Date
    December 15, 2021
    Abstract Cloud providers schedule tasks and distribute resources in data centers resulting in ever-growing global energy demand. Cloud-native application sustainability depends on the cloud providers’ infrastructure, which needs insights to manage applications sustainably - yet information is not available to all stakeholders. Sustainable application design proposes steps to engage organizations in the sustainability of cloud-native applications. The master’s thesis enables web service developers to communicate web service insights in sustainable application models, integrates sustainability development frameworks in web services to annotate and disclose sustainability-related information in web services, and provides an interface that enables cloud providers to leverage the information. We identify use cases to evaluate sustainable application design in the context of cloud-native applications and validate the artifacts’ design.
  • Theses - Paul Schmiedmayer - Automated and User-Configurable Deployment of Web Services

    Bachelor's Thesis
    Automated and User-Configurable Deployment of Web Services
    Advisor
    Author
    Lukas Kollmer
    Date
    December 15, 2020 - April 15, 2021
    Abstract

    We propose the development of a toolkit for automated and user-configurable distributed deployment of a Swift program implementing a web service. The web service is defined as a composition of individual services, via the Apodini internal domain-specific language (DSL) [Sch20]. Our toolkit analyses the web service’s structure as expressed via the DSL, taking into account additional nonfunctional requirements. From this information it determines the deployment strategy which best satisfies these constraints. The resulting distributed system can be deployed to arbitrary target platforms, ranging from conventional web servers to FaaS providers such as AWS Lambda.

  • Theses - Paul Schmiedmayer - Automated Generation of Machine-Readable Migration Guides for Web Services

    Master's Thesis
    Automated Generation of Machine-Readable Migration Guides for Web Services
    Advisor
    Author
    Eldi Cano
    Date
    February 15, 2021 - August 15, 2021
    Abstract

    Web services offer reusable, well-designed and pretested component solutions for their consumers. Whilst striving for stability and reliability, web services experience numerous evolutive phases due to changes in application domain or changed requirements, and often cause breaking compatibility. This thesis proposes automated generation of migration guides, that encapsulate a generic description on how to migrate breaking changes. Our approach focuses on generating migration guides for web services built on Apodini, a novel internal Domain Specific Language that describes web services declaratively. The applicability of our research is demonstrated on industry projects from telecommunication branch and healthcare industry in cooperation with Mobile Software AG. You can find the open source implementation at https://github.com/Apodini/ApodiniMigrator.

  • Theses - Paul Schmiedmayer - Automatic Deployment and Dynamic Reconfiguration of Web Services in Heterogeneous IoT Environments

    Master's Thesis
    Automatic Deployment and Dynamic Reconfiguration of Web Services in Heterogeneous IoT Environments
    Advisor
    Author
    Felix Desiderato
    Date
    May 15, 2021 - November 15, 2021
    Abstract

    The operation of large amounts of data generated by Internet of Things (IoT) devices is challenging for classic centralized IoT systems. Fog Computing solves this issue by shifting the computing responsibility from a centralized instance to fog devices, thus enables large heterogenous environments with different device types. Moving away from a central approach also allows more dynamic environments with devices entering and leaving the network arbitrarily. In this thesis we present an approach that enables the simultaneous and automatic deployment of a webservice to an heterogeneous IoT environment. Our approach assumes certain IoT typical constraints, such as hardware restrictions on devices, limited access due to private and secure networks, heterogenity of devices and nodes as well as dynamic topology changes. To handle the latter, our approach is able to register changes in the network at runtime and reflect them in the components and services. To showcase our approach, we will present an example using a web service created with the Apodini framework that we deploy in selected scenarios. You can find the open source implementation at https://github.com/Apodini/ApodiniIoTDeploymentProvider.

  • Theses - Paul Schmiedmayer - Change Impact Analysis of Web API Evolution

    Guided Research 
    Change Impact Analysis of Web API Evolution
    Advisor
    Author
    Andreas Bauer
    Start Date
    October 15, 2021
    Abstract Web services need to continuously adapt to an ever-changing environment. Therefore, over time, web services evolve. A particular part of web service evolution is Web API evolution, concerning any evolutionary steps happening on the level of a particular API type. Web APIs can be classified into three types: remote procedure calls, message-based and resource-based. In the proposed guided research, we want to investigate differences in the propagation of changes in the individual API types. We will instantiate our approach using Apodini, a domain-specific language to write web services in an abstract and generalized manner that is independent of the concrete instantiation of an API type. Our findings are integrated into ApodiniMigrator, a tool-suite for automated, machine-readable migration guides. The system is validated using replications of common web APIs and applying real-world evolutionary steps from the past to assess the system’s capabilities.
  • Theses - Paul Schmiedmayer - Corvus - A Declarative Server-Side Swift Framework

    Bachelor's Thesis
    Corvus - A Declarative Server-Side Swift Framework
    Advisor
    Author
    Berzan Yildiz
    Date
    October 15, 2019 - February 15, 2020
    Abstract Corvus is a declarative server-side Swift framework that allows you to generate a RESTful service. The framework supports authentication and database connection to a wide variety of database types. Corvus leverages the functionality of server-side Swift frameworks like Vapor, Fluent, and SwiftNIO. You can find Corvus on GitHub: https://github.com/Apodini/corvus
  • Theses - Paul Schmiedmayer - Decentralized Observability of Distributed Web Services

    Bachelor's Thesis
    Observability of Distributed Web Services
    Advisor
    Author
    Philipp Zagar
    Date
    May 15, 2021 - September 15, 2021
    Abstract

    A fog computing architecture represents a solution for the challenges introduced by modern distributed systems containing countless heterogeneous and interconnected components. Monitoring these fog computing architectures is typically achieved by central cloud monitoring platforms, which result in increased network traffic and static responsibilities of maintenance teams. Decentralized Observability addresses the challenges above by transferring the responsibility of monitoring a system from a central cloud monitoring platform to each of the individual components. In the course of this thesis, we will try to integrate this approach into the declarative component-based Apodini framework and use its Domain-Specific Language (DSL) to automate most of the resulting observability overhead. The thesis contributed to the Apodini open source project: https://github.com/Apodini/Apodini.

  • Theses - Paul Schmiedmayer - Declarative Development of Interface-Type-Agnostic Web Services

    Master's Thesis
    Declarative Development of Interface-Type-Agnostic Web Services
    Advisor
    Author
    Lukas Kollmer
    Start Date
    October 15, 2021
    Abstract

    The thesis aims to identify and address the challenges faced when using domain-specific languages (DSLs) to declaratively express the interface of a web service based on the service’s structure and the semantics of its implementation. Apodini proposes an internal DSL, with the intention of using a web service’s structure in combination with run-time type introspection to automatically generate, by the means of so-called interface exporters, client-facing interfaces for a variety of different protocols, such as REST, HTTP, WebSockets, or others. The approach of deriving service interfaces dynamically from an implementation presents an interface exporter developer with several new challenges, such as properly mapping the semantics of the service as expressed in Swift to the semantics of the respective protocols. We will conduct an expansive evaluation by adding two new interface exporters to Apodini: gRPC and GraphQL. These two interface exporters will serve as a validation of our general work on Apodini, and will be used to determine the quality, accuracy, and reliability of the API mappings generated by Apodini.

  • Theses - Paul Schmiedmayer - Development of a Declarative gRPC Framework for Server-Side Swift Applications

    Bachelor's Thesis
    A Server-Side Swift Middleware and Code Generator for gRPC Services in Vapor Applications
    Advisor
    Author
    Michael Schlicker
    Date
    November 15, 2019 - March 15, 2020
    Abstract This thesis explores new ways to easily integrate gRPC in server-side Swift applications using code generation and extending existing frameworks. The goal of the thesis is to offer a simple workflow to connect a gRPC based networking stack to higher-level server-side Swift frameworks like Vapor and ORMs like Fluent. Our solution is a framework offering a gRPC middleware and code generator that can be used with the Vapor server stack. You can find the middleware on GitHub: https://github.com/Apodini/grpc-vapor
  • Theses - Paul Schmiedmayer - ELBRUS - Extension to Limit Boilerplate Code in Reactive UI-Centered Swift Development

    Bachelor's Thesis
    ELBRUS - Extension to Limit Boilerplate Code in Reactive UI-Centered Swift Development
    Advisor
    Author
    Date
    November 15, 2019 - March 15, 2020
    Abstract This thesis focuses on the simplification of connecting application logic to a RESTful server endpoint. We want to explore the advantages of a declarative approach when designing a networking layer by taking advantage of modern Swift features like function builders and property wrappers. We want to provide a lightweight, expressive syntax for the communication with a RESTful service that can be used to connect the service with the user interface of an application. You can find ELBRUS on GitHub: https://github.com/Apodini/ELBRUS
  • Theses - Paul Schmiedmayer - Improving Runtime Performance and Maintainability of the Apodini Server-Side Swift Framework

    Bachelor's Thesis
    Improving Runtime Performance and Maintainability of the Apodini Server-Side Swift Framework
    Advisor
    Author
    Max Obermeier
    Date
    April 15, 2021 - August 15, 2021
    Abstract

    Modern server-side development faces a multitude of challenges. While many of those challenges are solved well by most modern web-frameworks, the following are still subject of active research: Web services often have to use a variety of middlewares to serve a heterogenous set of clients. Moreover, agile development methodologies lead to constant change in regards to both, application logic and middleware. Apodini is a prototypic server-side framework that aims to solve these challenges by providing a declarative and composable syntax for defining a web-service, establishing a full abstraction between the implemented application logic, the web-service’s structure and the middleware in use. This thesis explores different strategies to improve the Apodini framework in terms of maintainability and runtime-performance. The thesis contributed to the Apodini open source project: https://github.com/Apodini/Apodini.

  • Theses - Paul Schmiedmayer - LI.CO.RE - A Lint Code Review Bot for Practical Programming Courses

    Master's Thesis
    LI.CO.RE - A Lint Code Review Bot for Practical Programming Courses
    Advisor
    Author
    Oguz Sutanrikulu
    Date
    November 15, 2019 - May 15, 2020
    Abstract This thesis introduces Li.Co.Re, a new and improved version of a Swift lint bot for automated reviews for pull requests in large scale student courses. During the thesis, we will collect user feedback, recent research, and experiences from the prototype to build a robust and extended application that should be useable across various distributed version control and source code management services. You can find the open source implementation at https://github.com/Apodini/licore
  • Theses - Paul Schmiedmayer - Mobile-Based Mental Health Prevention

    Master's Thesis
    Mobile-Based Mental Health Prevention
    Advisor
    Author
    Ninah Nyaranga Wambugu
    Start Date
    February 15, 2022
    Abstract Internet- and mobile-based interventions (IMIs) can potentially overcome the limitations of traditional psychological prevention programs, hence maximizing the impact of psychological preventive interventions. Producing psychology-based self-help content that addresses mental health is a challenge involving delivering the content to end-users and offering them an engaging experience. The goal of this thesis is to design and implement a mental health application that is built upon a scalable and extensible psychological content delivery process. To validate the design and implementation, we will create an instantiation of a mental health app in collaboration with a startup in the field of mental health prevention.
  • Theses - Paul Schmiedmayer - Reliability and Observability of Declarative Web Services

    Bachelor's Thesis
    Reliability and Observability of Declarative Web Services
    Advisor
    Author
    Moritz Sternemann
    Date
    October 15, 2021 - February 15, 2022
    Abstract To guarantee the reliability and robustness of modern web services, enabling engineers to detect, diagnose, and resolve unpredicted behavior efficiently is crucial. Tracing can provide visibility into characteristics of a request that help to understand the flow through and asynchrony in a distributed system. This thesis aims to extend the domain-specific language of Apodini to support industry-standard techniques of distributed tracing. The frameworks existing error handling system will be improved using the data gathered through tracing. Ultimately, the applicability of our research is validated by comparing tracing functionality in Apodini to an open-source web service. The thesis contributed to the Apodini open source project: https://github.com/Apodini/Apodini.
  • Theses - Paul Schmiedmayer - Requirements Traceability for Web Services

    Bachelor's Thesis
    Requirements Traceability for Web Services
    Advisor
    Author
    Andreas Bauer
    Date
    April 15, 2021 - August 15, 2021
    Abstract

    When designing web services, requirements traceability is a challenging task. In the software engineering process, functional and non-functional requirements are defined in the Requirements Elicitation. Those requirements are structured and formalized in the Analysis, System Design and Object Design activities before the developed models are mapped to code. Therefore, tracing requirements through the individual design artifacts to the actual implementation is a challenge for software engineers. Requirements Traceability is essential as it enables us to verify our implementation against the requirements expected from the system. Furthermore, it improves the ability to deal with the change of requirements, yielding an improved iteration speed of the software engineering process. The thesis explores how a tighter coupling between the implementation and software engineering activities can improve traceability and thus verifiability and changeability of requirements. The research is done in the context of requirements typically encountered with web services, including non-functional requirements like security, performance and availability. The Apodini framework is used for the instantiation and validation of requirements. The thesis contributed to the Apodini open source project: https://github.com/Apodini/Apodini.

  • Theses - Paul Schmiedmayer - WebUI - A Declarative User Interface Framework for Web Apps in Swift

    Master's Thesis
    WebUI - A Declarative User Interface Framework for Web Apps in Swift
    Advisor
    Author
    Date
    November 15, 2019 - May 15, 2020
    Abstract This thesis details the development of a web-based user interface framework for the Swift programming language. The proposed framework can be used to deploy a Swift application to a server that serves a lean JavaScript application. The proposed framework should let a developer define a user interface using the SwiftUI syntax. The server should use a WebSocket based connection to update the server on user input and update the website based on server-side changes. You can find the open source implementation at https://github.com/Apodini/SwiftWeb