-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Pipe: Implemented OPC Sink for outer server & Set configuration and changed the default value of the server security policies & Made the default quality configurable and does not throw when non-value/quality measurement is encountered #16944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #16944 +/- ##
============================================
+ Coverage 39.18% 39.30% +0.11%
Complexity 212 212
============================================
Files 5053 5056 +3
Lines 335671 337501 +1830
Branches 42812 42955 +143
============================================
+ Hits 131525 132643 +1118
- Misses 204146 204858 +712 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
...main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/client/IoTDBKeyStoreLoaderClient.java
Fixed
Show fixed
Hide fixed
...main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/client/IoTDBKeyStoreLoaderClient.java
Fixed
Show fixed
Hide fixed
...main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/client/IoTDBKeyStoreLoaderClient.java
Fixed
Show fixed
Hide fixed
...main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/client/IoTDBKeyStoreLoaderClient.java
Fixed
Show fixed
Hide fixed
...main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/client/IoTDBKeyStoreLoaderClient.java
Fixed
Show fixed
Hide fixed
| placeHolder = | ||
| parameters.getStringOrDefault( | ||
| Arrays.asList(CONNECTOR_OPC_UA_PLACEHOLDER_KEY, SINK_OPC_UA_PLACEHOLDER_KEY), | ||
| CONNECTOR_OPC_UA_PLACEHOLDER_DEFAULT_VALUE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
placeHolder -> placeHolderForNullTag
| if (Objects.nonNull(nameSpace)) { | ||
| nameSpace.transfer(tablet, isTableModel, this); | ||
| } else if (Objects.nonNull(client)) { | ||
| client.transfer(tablet, this); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else print some log?
|
|
||
| public class IoTDBOpcUaClient { | ||
| private static final Logger LOGGER = LoggerFactory.getLogger(OpcUaNameSpace.class); | ||
| private static final int NAME_SPACE_INDEX = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a comment to explain this.
| null, // arrayDimensions | ||
| AccessLevel.toValue(AccessLevel.READ_WRITE), | ||
| AccessLevel.toValue(AccessLevel.READ_WRITE), | ||
| 500.0, // samplingInterval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
500 -> SAMPLING_INTERVAL_PLACE_HOLDER?
|



Description
As the title said.
This PR has:
for an unfamiliar reader.
for code coverage.
Key changed/added classes (or packages if there are too many classes) in this PR