Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 2.47 KB

microcomponents.md

File metadata and controls

27 lines (19 loc) · 2.47 KB

##Microcomponents

Microcomponents are reusable libraries that can be used in any microservice. The Adoption team has developed many Bootstrap Microcomponents, the following are relevent to the current version of Predix.

###PredixMicroserviceTemplates A collection of back-end Microservice bootstraps that gets you creating a Microservice much quicker than starting from scratch. For Java, we started with SpringBoot helloWorld and added CXF, Tomcat, Spring Profiles and Property File management features that you would need anyway. Other templates for NodeJS, etc are on their way.

###Predix Rest Client Predix Rest Client has GET, PUT, POST, DELETE calls that integrate with Predix UAA Security. Everything is property-ized from the Hostname to Port to Proxy server urls to JWT vs SAML token support. It works backwards compatible to Predix 1.0 security as well so you can use it port services from Predix 1.0 to 2.0 in the cloud.

###Predix WebSocket Client Coming Soon. Predix Web Socket Client has WebSocket OPEN, CLOSE, SEND, RECEIVE calls that integrate with Predix UAA Security. Everything is property-ized from the Hostname to Port to Proxy server urls to JWT token support.

###Asset Bootstrap Client Asset Bootstrap exposes the Predix Asset APIs for Groups, Classifications, Assets and Meters. It also provides the ability to pass through or get tokens from Predix UAA Security. This is also backwards compatible, at this time, to Predix Asset 14.3.

###Timeseries Bootstrap Client Timeseries Bootstrap exposes the Predix Timeseries APIs. Support for Start/End Date based timeseries calls are much more easily exposed including support for Predix UAA calls to Security Authorization.