You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jf...@apache.org on 2020/03/10 21:46:19 UTC

[plc4x] branch feature/PLC4X-185-cert-support-opc-ua updated: [OPCUA] Minor Fixes.

This is an automated email from the ASF dual-hosted git repository.

jfeinauer pushed a commit to branch feature/PLC4X-185-cert-support-opc-ua
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/feature/PLC4X-185-cert-support-opc-ua by this push:
     new 2662008  [OPCUA] Minor Fixes.
2662008 is described below

commit 2662008b962a70aa0b710a0eb0396a1031f7b073
Author: Julian Feinauer <j....@pragmaticminds.de>
AuthorDate: Tue Mar 10 22:46:05 2020 +0100

    [OPCUA] Minor Fixes.
---
 plc4j/drivers/opcua/pom.xml                            |  6 ++++++
 .../plc4x/java/opcua/connection/KeyStoreLoader.java    | 18 ++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/plc4j/drivers/opcua/pom.xml b/plc4j/drivers/opcua/pom.xml
index 54e87c3..62ba2a5 100644
--- a/plc4j/drivers/opcua/pom.xml
+++ b/plc4j/drivers/opcua/pom.xml
@@ -61,6 +61,12 @@
       <version>0.3.6</version>
     </dependency>
     <dependency>
+      <groupId>org.eclipse.milo</groupId>
+      <artifactId>server-examples</artifactId>
+      <version>0.3.6</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-lang3</artifactId>
     </dependency>
diff --git a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/connection/KeyStoreLoader.java b/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/connection/KeyStoreLoader.java
index abd2d48..8cd1ffe 100644
--- a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/connection/KeyStoreLoader.java
+++ b/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/connection/KeyStoreLoader.java
@@ -1,3 +1,21 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+*/
 package org.apache.plc4x.java.opcua.connection;
 
 import com.google.common.collect.Sets;