{'fraction_non_alphanumeric': 0.015060240963855422, 'fraction_numerical': 0.0, 'mean_word_length': 5.69758064516129, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Composing Adaptive Software Systems in Decentralized Infrastructures

In ubiquitous environments smart devices collaborate although they were never designed specifically for each other. A smart tv acts as a display for a smart phone on demand without installing specific software. However, the variety of collaborations among smart devices is limited. Given a smart home environment, a smart door bell equipped with a camera should easily integrate and utilize its newly provided functionality in collaboration with existing devices like using a smart tv as display. Further it should be able to adapt to environmental changes, e.g. when the user changes the room another device should take over the displaying part. Composing distributed adaptive software systems at run time remains a challenging topic in decentralized, frequently changing infrastructures. Such infrastructures consist of a large set of independent, heterogeneous, autonomous subsystems from different providers, but only a few subsystems might be involved in a composition. Centralized selfadaptive approaches maintain a global view on the system which is infeasible for mobile infrastructures where central nodes might be unreachable from time to time. Furthermore it is more flexible to achieve compositions in an ad-hoc manner without additional centralized infrastructure. Decentralized approaches are limited in terms of heterogeneity and lack incorporation of new functionality. Thus we propose a middleware architecture for composing adaptive software systems in decentralized infrastructures using a role-based discovery mechanism, on-demand composition, and subsequent adaptation.