Mbs SDK 8.2 Features
Total Page:16
File Type:pdf, Size:1020Kb
ProSyst Gateway Software mBS SDK 8.2 Features Bosch Software Innovations Overview of revisions INST/PSY Anastas Chobanov Status: July 2017 mBS SDK 8.2 Overview of revisions Date Changes/Comments Author 18-07-2017 Migrated the doc to the new layout and did some minor version-wise changes. Anastas Chobanov © Bosch Software Innovations GmbH 2 mBS SDK 8.2 Content 1 INTRODUCTION .................................................................................................................... 4 2 OSGI RUNTIME ..................................................................................................................... 5 2.1 Supported OSGi Specifications ................................................................................................................. 5 2.1.1 OSGi Core Release 5 Specification ........................................................................................................... 5 2.1.2 OSGi Compendium Release 5 and OSGi Residential 4.3 Specifications ................................................... 6 2.1.3 Supported Java Virtual Machines ............................................................................................................. 8 2.2 Core Extensions ....................................................................................................................................... 9 2.3 IoT Extension .............................................................................................. Error! Bookmark not defined.4 2.4 I/O Extensions............................................................................................. Error! Bookmark not defined.4 2.5 Persistence Extension ................................................................................ Error! Bookmark not defined.5 2.6 Tooling Extension ........................................................................................ Error! Bookmark not defined.5 2.7 Remote Access Extension ........................................................................... Error! Bookmark not defined.6 2.8 Test Execution Environment... .................................................................... Error! Bookmark not defined.6 2.9 Remote Management Extension ................................................................. Error! Bookmark not defined.7 3 ECLIPSE PLUG-INS ............................................................................................................... 18 3.1 mToolkit ..................................................................................................... Error! Bookmark not defined.8 3.2 mBProfiler................................................................................................... Error! Bookmark not defined.0 3.2.1 Supported Platforms for mBProfiler Agent ............................................. Error! Bookmark not defined.1 3.3 System Plug-ins ........................................................................................... Error! Bookmark not defined.3 4 OSGI RUNTIME VALIDATOR ................................................................................................ 24 5 ADDONS ............................................................................................................................. 25 5.1 Board Support Packages ........................................................................................................................ 25 6 APPENDIX A: RESOURCES ................................................................................................... 26 © Bosch Software Innovations GmbH 3 mBS SDK 8.2 1 Introduction mBS SDK provides the ProSyst OSGi stack and a number of additional features for various use cases as well as a powerful toolset for Eclipse and a validation pack. mBS SDK consists of three main components: OSGi Runtime. Contains our implementation of the OSGi standard and a set of functional ProSyst components. In the next sections, we will also use the name “mBS Runtime” for this component. The purpose of the OSGi Runtime is to serve as the base for tailoring runtime images for specific target devices. Typically, these images represent a subset of the features provided by the mBS Runtime, which covers the requirements for the target device without keeping unnecessary components. Eclipse Plug-ins. A powerful set of tools to aid the development, testing and profiling of OSGi-based applications both in an emulated runtime environment and directly on the target device. OSGi Runtime Validator. Supplies the option to validate the components of the OSGi Runtime on a specific target platform. The validation comprises functional as well as non- functional (performance and stability) tests. © Bosch Software Innovations GmbH 4 mBS SDK 8.2 2 OSGi Runtime 2.1 Supported OSGi Specifications 2.1.1 OSGi Core Release 5 Specification ProSyst’s OSGi Runtime fully implements the OSGi Core Specification, Release 5, including all optional features. The supported features are outlined in the following table. OSGi Core Release 5 Features Supported Security Layer Module Layer Life Cycle Layer Service Layer Resource API Specification Bundle Wiring API Specification Framework Namespaces Specification Start Level API Specification Framework API Specification Framework Launcher API Specification Conditional Permission Admin Service Specification Permission Admin Service Specification URL Handlers Service Specification Resolver Hook Service Specification Bundle Hook Service Specification Service Hook Service Specification Weaving Hook Service Specification Tracker Specification Bundle Hook Service Specification © Bosch Software Innovations GmbH 5 mBS SDK 8.2 2.1.2 OSGi Compendium Release 5 and OSGi Residential 4.3 Specification The mBS Runtime fully implements most of the features of the OSGi Compendium Release 5 Specification and the OSGi Service Platform Residential Specification, Release 4, Version 4.3. The support for each feature outlined in the following table is related to its version within the specification to which it belongs. For convenience, all features are numbered and ordered as they appear in the corresponding specification. Features OSGi Specifications OSGi Compendium OSGi Residential Release 5 Release 4.3 2 – Residential Device Management Tree Specification 3 – TR-157 Amendment 3 Software Module Guidelines 100 – Remote Services 101 – Log Service Specification 102 – Http Service Specification 103 – Device Access Specification 104 – Configuration Admin Service Specification 105 – Metatype Service Specification 106 – Preferences Service Specification 107 – User Admin Service Specification 108 – Wire Admin Service Specification 109 – IO Connector Service Specification 110 – Initial Provisioning Specification 111 – UPnP Device Service Specification 112 – Declarative Services Specification 113 – Event Admin Service Specification 114 – Deployment Admin Specification 115 – Auto Configuration Specification 116 – Application Admin Specification 117 – Dmt Admin Service Specification 119 – Monitor Admin Service Specification 120 – Foreign Application Access Specification 121 – Blueprint Container Specification 122 – Remote Service Admin Service Specification 123 – JTA Transaction Services Specification © Bosch Software Innovations GmbH 6 mBS SDK 8.2 125 – JDBC Service Specification 126 – JNDI Services Specification 127 – JPA Service Specification 128 – Web Applications Specification 130 – Coordinator Service Specification 131 – TR069 Connector Service Specification 132 – Repository Service Specification 133 – Service Loader Mediator Specification 134 – Subsystem Service Specification 135 – Common Namespaces Specification 136 – Resolver Service Specification 701 – Tracker Specification 702 – XML Parser Service Specification 703 – Position Specification 704 – Measurement and State Specification 999 – Execution Environment Specification Legend: The feature is supported The feature is not supported The feature is not part of the specification © Bosch Software Innovations GmbH 7 mBS SDK 8.2 2.1.3 Supported Java Virtual Machines The following table outlines the JVMs that mBS SDK is tested on and is known to run on. Java Virtual Machines Desktop JVMs Oracle Java SE (7, 8) Embedded JVMs Oracle Java SE Embedded (7, 8) full and compact profiles JBED full and compact profiles Azul full and compact profiles Oracle Java SE (older versions) 1 JVMs known to run on Skelmir CEE-J ® VM Atego Aonix Perc® Ultra phoneME Advanced Kaffe VM JamVM JamaicaVM Kiffer Open Mika GNU Compiler for Java CacaoVM Open JDK Microdoc J9 2.4 Android Runtime (Dalvik VM) © Bosch Software Innovations GmbH 8 mBS SDK 8.2 2.2 Core Extensions The heart of mBS Runtime is the implementation of the OSGi Core Specification. This section covers the extensions to this specification and the other special features that make our OSGi environment unique. Security Together with the full implementation of the OSGi security model, mBS Runtime offers the following optimizations and unique characteristics: Proper usage of doPriviledged blocks (based on the support of the OSGi security model). Optimized permission checks – Installed bundles can be divided in two groups: core and application. Core bundles permission checks can be bypassed assuming that they are always trusted. Support of signed bundles. Enhanced policy management – The OSGi specification introduces a security paradigm based on the Java Security Model. However, as this model is very complicated, configuring the security