System and adapter
- Last UpdatedNov 11, 2025
- 1 minute read
- PI System
- Adapter for RDBMS 1.1
- Adapters
You can configure the system component and adapter component together using a single file.
Change system and adapter configuration
Complete the following steps to configure system and adapter.
-
Use the PUT method in conjunction with the http://localhost:5590/api/v1/configuration REST endpoint to initialize the configuration.
Note: If you installed the adapter to listen on a non-default port, update 5590 to the port number in use.
-
Using a text editor, create an empty text file.
-
Copy and paste an example configuration for system and adapter into the file.
For sample JSON, see the corresponding adapter configuration examples topic.
-
Save the file. For example, as ConfigureSystemAndAdapter.json.
-
Open a command line session. Change directory to the location of ConfigureSystemAndAdapter.json.
-
Enter the following cURL command (which uses the PUT method) to initialize the system and adapter configuration.
curl -d "@ConfigureSystemAndAdapter.json" -H "Content-Type: application/json" -X PUT "http://localhost:5590/api/v1/configuration"
Note: In order for some of the adapter specific configurations to take effect, you have to restart the adapter. Discoveries and HistoryRecoveries facet details are not required to be supplied as part of the configuration and supplied values will be ignored. Their results will be restored from the previous states
If the operation fails due to errors in the configuration, the count of the error and suitable error messages are returned in the result.
REST URLs
|
Relative URL |
HTTP verb |
Action |
|---|---|---|
|
api/v1/configuration/ |
PUT |
Replaces the configuration for the entire adapter |