Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NOTE:  Delhi has been released.  See the release page for details of this release.

Table of Contents

Delivery:  ~ October November 2018

The Delhi release is slated to implement provide the first system management capabilities while also implementing additional features in the security and manageability roadmap, .  Delhi will continue to improve overall performance and establish the certification program within the EdgeX project for both commercial instances of the full platform and drop-in "EdgeX-compliant" microservices.  The release will also start to look at EdgeX in a wider context use - with instances spread across a fog deployment.

Key release themes and planned features to be implemented will be detailed after the mid-year TSC Face-to-face meeing (~June 2018).

Release Themes and Objectives

  • Implementation of message bus alternative for intercommunication between microservices as an alternative to REST (REST won't go away, but alternative to be provided for asynchronous and better QoS needs)
  • Improved performance to continually lower footprint, data collection and actuation latency, lower startup time, etc. which began with the California Release
  • Implementation of additional priority features for security and manageability
  • Potentially, implementation of specific services and SDKs in C to support deterministic real time use cases
  • Certification process for EdgeX-compliant microservices to enable a plug-and-play ecosystem 
    • Validate commercial implementations of EdgeX (full platform or discrete microservice) satisfies key APIs and deployment/delivery facilities
  • Facilitate East/West capability
    • Microservice load balancing, failover, scale-over, ...
    • Device from EdgeX A triggers action on device on EdgeX B
  • Address data privacy concerns
    • EU laws and affirmation about data use/storage/etc.
    • HIP-A

General Tasks and Notes

  • Certification Process - want to have outlined by Delhi

    • Probably will include different levels of certification (micro service, versus “box”, etc.)

  • Provide roadmap around technical debt/refactor (what and when)

    • Example:  Device service rewrites (ex: BLE, Bacnet)

  • Improving EdgeX resiliency in face of issues or non-availability of some resources/services/etc.
  • Potentially, provide EdgeX User Interface(s)

Micro Service Tasks and Notes

  • Refresh (to latest releases) and improve north side connectors (like Azure IoT Hub connector)
  • Support additional backend integration(s) such as Watson, AWS/Greengrass, …

  • Support additional export feature(s)

    • Support additional formats (Ex: Haystack, OPC-UA, …)

    • Support additional endpoint types (Ex:  DDS, AMQP, …)

    • Provide enrichment services

  • How best to facilitate client command requests/actuation

  • Expose command information north bound (export of actuation information and APIs)

  • More dynamic configuration

  • Potentially, alternate message infrastructure between some or all the services

Device Services and SDK Tasks and Notes

  • Provide new and/or updated Device Services
    • Real BACnet or BLE
    • Additional DS (i.e. Zigbee, OPC-UA, CANBus, …)

Security Tasks and Notes

  • California release was focused on initially securing the EdgeX “gateway” and remains the priority
    • This work will be extended / augmented in this release (looking at alternative authentication, adding MQTT and other protocol reverse proxy, etc.)
  • Code signing – how to certify integrity of the system
  • The release will start to explore, potentially, securing EdgeX’s devices
  • Explore potential use of hyperledger

System Management Tasks and Notes

  • California release was focused on an API and System Management API centered on micro service management.  This release will continue that work and expand beyond micro service management.
  • Potentially explore "Gateway management" to include:
    • Demonstrate basic management of EdgeX via select 3rd party console (ex: VMware Pulse IoT Center, System Center, …)
    • Demonstrate EdgeX software updates
    • Updates to non-EdgeX components (drivers, end-devices)
  • Explore alternate deployment/orchestration options (e.g. Kubernetes)

Stretch Goals for the Release

...

  • Micro service load balancing, failover, scale-over, ...
  • Device from EdgeX A triggers action on device on EdgeX B

...

  • EU laws and affirmation about data use/storage/etc.
  • HIP-A

...

show improvements in performance by offering Device Service SDKs in Go and C.  Improved testing at all levels (unit, blackbox, performance, etc.) to ensure the quality of the system going forward while also providing a means to check backward compatibility.  Finally, this release will include design and implementation plans (scheduled for Edinburgh release and beyond) for the replacement of MongoDB as the reference implementation database, and a replacement to the export services to allow for better scale and flexibility at the northbound layer.  The scope of this release is smaller given the development cycle for the prior California release was made longer to accommodate all the Go Lang refactoring.

Release Themes and Objectives

  • Deliver system management APIs in all the microservices and provide a system management agent for orchestrating multi-service system management commands and communications to 3rd party system management tools/platforms.
  • Go and C device service SDKs with at least one device service implementation for example sake.
  • The next wave of security features to include access control lists to grant access to appropriate services, and improved security service bootstrapping.
  • Refactored and improved Go Lang microservices
  • Options and implementation plan for database replacement
  • Design and implementation plans for export service replacement with application services
  • Provide an EdgeX UI suitable for use in exploring several instances of EdgeX

General Tasks and Notes

  • Provide an initial EdgeX user interface.  This Javascript-based user interface will allow users to explore the sensor data collected by EdgeX as well as provide some provisioning and management capability.  Used for prototyping, demonstration and management of small clusters of EdgeX instances.
  • Update all services to return proper HTTP status codes on HTTP requests

Core & Supporting Services Tasks and Notes

  • Replace Java scheduling microserice.

  • Improve the configuration of EdgeX

    • Refactor config-seed to only load the configuration appropriate to the application setting based on profiles (i.e. development, production, production docker or snap, etc.)
    • Replace the simple key/value pair organization of service configuration with more structured and hierarchical configuration as supported by Consul
    • Upgrade Consul and improve the configuration seed
    • Implement a process to move the latest configuration into the config-seed through the CI process
  • Core, supporting and export services are refactored to offer better code organization, abstraction from certain resources (offering better flexibility) and improve unit testing.
  • Implement security & system management API hooks.  Depending on the implementation needs of security and system management, there may be a need to make changes to the micro service code in support of these facets.  It is likely that each micro service will implement some sort of base service to provide data and system management functionality to the system management agent.  Access control to the service APIs will also be managed by the security services and code added to the service to require authentication before accessing the services will be needed.

  • A design and implementation plan will be provided with Delhi (for Edinburgh implementation) to add support for binary data (namely via CBOR) through device services, core data, and export services.
  • While MongoDB has been the foundational EdgeX data persistence store since its beginning, concerns around its license, ARM 32 support, and size/performance have the community looking into possible alternatives.  At the very least, the platform should  more easily support the swap of the database by 3rd parties.  The Delhi release will provide designs and plans for implementation in the Edinburgh.

Export Services Tasks and Notes

  • Implement security & system management API hook.  Depending on the implementation needs of security and system management, there may be a need to make changes to the micro service code in support of these facets.  It is likely that each micro service will implement some sort of base service to provide data and system management functionality to the system management agent.  Access control to the service APIs will also be managed by the security services and code added to the service to require authentication before accessing the services will be needed.

  • Design the application services - a replacement of export services.  The existing export services will not scale because additional code must be added to the client and distribution services with each additional transformation, filter, formatting, or endpoint need.  Further, it does not allow for eliminating filter, transformation, or endpoint distribution code when it is not needed.  Adding additional capability requires additional code be added to the existing service.  The new application services (as initially specified in the document here) will be backed by requirement specifications and designed in time for the Delhi release with the goal of implementing this replacement service(s) for the Edinburgh release.

Device Services and SDK Tasks and Notes

  • Implement device service SDKs in Go Lang and C.   The device service SDKs and resulting device services will allow the EdgeX community to retire the last of the Java micro services and complete the dramatic performance improvement of EdgeX.  

  • Implement security & system management API hooks.  Depending on the implementation needs of security and system management, there may be a need to make changes to the SDKs and existing micro service code in support of these facets.  It is likely that each micro service will implement some sort of base service to provide data and system management functionality to the system management agent.  As device services are typically created from an SDK, the same boilerplate code for the base service needs to be added to the SDK(s).  Access control to the service APIs will also be managed by the security services and code added to the service to require authentication before accessing the services will be needed.

Security Tasks and Notes

  • In California, some of the initial security services were put in place - namely the reverse proxy to protect the micro service APIs and a secure store for storing EdgeX secrets (like database passwords, certificates, etc.)  Additional security capability will be added on top of these initial building blocks in Delhi.  New security features to be added include:
    • Use an ACL plugin to provide access control to micro services
    • Adding various EdgeX secrets to the secure storage
    • Improve the secure bootstrapping

System Management Tasks and Notes

  • System management API (action, alerts, metric) as discussed and outlined here

  • System management Agent (see same document above outlining the agent functionality and duties)

Testing/QA

  • Performance tests on startup time, request/response times on all APIs, latency to actuation from device service collection, through core data, to rules engine, command back to a device service.
    • Performance metric testing will include CPU and memory usage statistics
  • Implement a performance test harness to establish a baseline of performance characteristics that can be used to understand EdgeX resource utilization, data throughput, etc.