You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: custom-data-connector/postgresdb-ref-impl-data-connector/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
#Reference Data Connector for PostgreSQL
1
+
#Reference Data Connector for PostgreSQL
2
2
3
3
Custom Data Connectors allow the Predix Analytics service to read and write the analytic data from the external data sources.
4
4
This implementation is a reference implementation for reading or writing data to a Postgres data source.
@@ -37,7 +37,7 @@ and “vibration”.
37
37
The selection of which schema is to be used can be done through the custom attributes in orchestration
38
38
execution request as specified in the section below.
39
39
40
-
##Generic Schema (sensor_data)
40
+
##Generic Schema (sensor_data)
41
41
42
42
43
43
Schema for sensor_data table:
@@ -287,7 +287,7 @@ Write Response:
287
287
}
288
288
```
289
289
290
-
##Normalized Schema (turbine_compressor)
290
+
##Normalized Schema (turbine_compressor)
291
291
292
292
Schema for turbine_compressor table:
293
293
```
@@ -534,7 +534,7 @@ Write Response:
534
534
}
535
535
}
536
536
```
537
-
##Port-to-Field Map
537
+
##Port-to-Field Map
538
538
When this data connector service is integrated with Predix Analytics service, the port-to-field maps of the orchestrations should be configured to point to this datasource. The port-to-field map for the orchestration which needs to use a custom data connector would be specified
539
539
as follows:
540
540
@@ -640,7 +640,7 @@ as follows:
640
640
}
641
641
```
642
642
643
-
##Orchestration Execution Request
643
+
##Orchestration Execution Request
644
644
The payload for the orchestration Execution Request would be as follows:
645
645
[Note the use of custom attributes to pass to the external data connector implementation. This would let the
646
646
orchestration engine know whether to use the generic or the normalized schema]
@@ -667,7 +667,7 @@ orchestration engine know whether to use the generic or the normalized schema]
667
667
}
668
668
```
669
669
670
-
##Generating skeleton implementation
670
+
##Generating skeleton implementation
671
671
672
672
This reference implementation is based on the source code generated from the CustomDataProviderServiceImpl.wadl file located under /src/main/resources/wadl. To generate the source code from the wadl file, please use ‘mvn clean install -P wadl2java’ command. NOTE: Running this command would overwrite the existing add-on implementation with the generated code. Please use with care.
0 commit comments