ABSTRACT

CONTENTS 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 5.2 Application service design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140

5.2.1 Control application design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 5.2.2 Control service local cloud administration . . . . . . . . . . . . . . 144

5.2.2.1 Service producer design . . . . . . . . . . . . . . . . . . . . . . 144 5.2.2.2 Service consumer design . . . . . . . . . . . . . . . . . . . . . . 146

5.3 Demo system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 5.4 Implementation — Simple examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150

. . . 5.4.3 Authorisation service consumer . . . . . . . . . . . . . . . . . . . . . . . . . 153

5.5 Deployment of a local cloud . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 5.5.1 DNS configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 5.5.2 NTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 5.5.3 Glassfish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 5.5.4 Core systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 5.5.5 Password-less login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 5.5.6 Management tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 5.5.7 Test the configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157

5.6 Arrowhead Framework tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 5.6.1 Management tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 5.6.2 Test tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158

Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159

5.1 Introduction In previous chapters local automation clouds and a SOA based architecture supporting the design and implementation of IoT based automation systems were discussed. This chapter is devoted to design and implementation of application services:

• Design of an Arrowhead Framework system • Implementation of such a system and its services • Interoperability test

5.2 Application service design This section will discuss the design of an automation application system and associated services. For this purpose, we will make use of the simple control loop example addressing the level in a flotation tank.