Data Points Configuration
HCC2 Data Points Configuration
A key step in successfully building an application is to define and create the data points that the application needs to run and perform according to given requirements. Data points are items that must be created or configured in the HCC2 internal data storage. Each data point is uniquely identified by a "fully qualified name" (FQN) or topic. A topic is a string that identifies a corresponding data point.
You need to define and create your data points before building the application. Then you can read or write on them (by means of their FQN or topic) using the REST API Interface provided by HCC2.
Danger
Never attempt to write to an internal system data point. Doing so could cause unpredictable behavior and interfere with the operation of the HCC2.
There are two types of data points:
- Configuration Data points: These are data points used to configure your application. You can change their value and submit these changes using the Deploy functionality with the HCC2 Unity Edge interface.
- General Data points: These are all other data points used by your application. These data points can be monitored (but not modified) with the HCC2 Unity Edge interface.
You can create data points in two ways for a new application in an HCC2:
- Use the App Config Editor
- Use the REST API Server (either programmatically or by using REST API Swagger)