/ext-interface

Primary LanguageJavaOtherNOASSERTION

view github pages
ext-interface
view javadoc
ext-mapper
view javadoc
ext-model
view javadoc
ext-util
view javadoc

Ext-Interface

External Interface and External Model projects define Rest APIs for the Reference App. We use xsds in order to define a Contract first. In the transport layer we favor JSON over XML but XML is possible should you need it.

We also define a wsdl contract just in case apis have to be ported to other languages or operating systems. The semantics are Rest however.

We also like the tools available to model API contracts.

APIs

There are 2 apis that are documented within the repos that use them. Find the wsdl files in src/main/resources and visulize them in eclipse.

Why a WSDL? It's mostly for the pictures. We really want the XSDs. We use REST, we like REST, we like JSON. We like the type-safety validation and generation tools of XSD. We like to support other languages with the same API. We like polymorphism. We like enumerations. We like contracts. We like the embedded docs. We work with other XSD Industrial Internet based libraries.

Events

  • Field Changed Event - As data changes downstream systems should be notified. The FieldChangedEvent has
    • Field - the field that changed
    • AssetId - the id of the entity containing the Field or leading to the Field
    • EventTime - the time of the event.
    • Map - key/value map to pass to downstream systems

Analytics