Skip to content

Components: General concepts

Tim Ermilov edited this page Feb 18, 2016 · 1 revision

Components are the smallest entity within Exynize platform. Essentially components are just small single-purpose functions. Exynize provides three different component types:

All components are executed as stand-alone (micro)services and can do data processing in real-time as more events/data comes in.
The components can be combined into more complex processing functions - pipelines.

Private and public components

By default, all new components are created as private. That means that the only person who'll be able to see and use them is the creator.

It is possible to change that by setting public flag during the component creation. Doing so will make the component visible to anyone using the platform.

Making the component public does not published its source code. This means that even though others will be able to see public component, its description and use it, they won't be able to see its source code.
To make source code public, creator needs to set source public flag.

Testing

Exynize provides a basic way to test your components. The component editor in UI will automatically detect all your config parameters of the component and create input fields for them. Those input fields accept any JSON deserializable values allowing you to test component behaviour.

Using third-party node modules from NPM

Exynize provides a way to easily import and use third-party node modules from npm.
All you need to do for it is simply write the import statement, e.g.:

import JSONView from 'react-json-tree';

Exynize will automatically install the required package during the execution of your component.