com.digitalpetri.opcua:stack-tests

High-performance OPC-UA stack for Java.

License

License

GroupId

GroupId

com.digitalpetri.opcua
ArtifactId

ArtifactId

stack-tests
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

High-performance OPC-UA stack for Java.

Download stack-tests

How to add to project

<!-- https://jarcasting.com/artifacts/com.digitalpetri.opcua/stack-tests/ -->
<dependency>
    <groupId>com.digitalpetri.opcua</groupId>
    <artifactId>stack-tests</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.digitalpetri.opcua/stack-tests/
implementation 'com.digitalpetri.opcua:stack-tests:1.1.1'
// https://jarcasting.com/artifacts/com.digitalpetri.opcua/stack-tests/
implementation ("com.digitalpetri.opcua:stack-tests:1.1.1")
'com.digitalpetri.opcua:stack-tests:jar:1.1.1'
<dependency org="com.digitalpetri.opcua" name="stack-tests" rev="1.1.1">
  <artifact name="stack-tests" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.digitalpetri.opcua', module='stack-tests', version='1.1.1')
)
libraryDependencies += "com.digitalpetri.opcua" % "stack-tests" % "1.1.1"
[com.digitalpetri.opcua/stack-tests "1.1.1"]

Dependencies

test (4)

Group / Artifact Type Version
com.digitalpetri.opcua : stack-client jar 1.1.1
com.digitalpetri.opcua : stack-server jar 1.1.1
org.testng : testng jar 6.9.10
org.slf4j : slf4j-simple jar 1.7.18

Project Modules

There are no modules declared in this project.

This project has moved!

The digitalpetri OPC-UA projects have been combined and are now part of the Eclipse IoT project umbrella.

Please use https://github.com/eclipse/milo instead.

OPC-UA Stack

Join the chat at https://gitter.im/digitalpetri/opc-ua-stack

A high-performance and open-source OPC-UA stack implementation.

Note: this is just a stack implementation (channels, serialization, structures, security). If you're looking to build a client or server, try the OPC-UA Client SDK or OPC-UA Server SDK.

Running the Example

Certificate validation is implemented in the server stack and so upon running the ClientServerExample for the first time you'll probably see a stack trace containing this exception:

Caused by: com.digitalpetri.opcua.stack.core.UaException: security checks failed
	at UaTcpClientAcknowledgeHandler.onError(UaTcpClientAcknowledgeHandler.java:162)
	at UaTcpClientAcknowledgeHandler.decode(UaTcpClientAcknowledgeHandler.java:89)

You'll now find a "security" folder in whatever you've configured your working directory as when running the example. Inside that folder, you should find "rejected", "revocation", and "trusted" folders. Move the client certificate in the "rejected" folder to the "trusted" folder and run the example again.

Maven

Releases are available from Maven Central:

Stack Server

<dependency>
    <groupId>com.digitalpetri.opcua</groupId>
    <artifactId>stack-server</artifactId>
    <version>1.1.0</version>
</dependency>

Stack Client

<dependency>
    <groupId>com.digitalpetri.opcua</groupId>
    <artifactId>stack-client</artifactId>
    <version>1.1.0</version>
</dependency>

The latest snapshots are available from the Sonatype snapshot repository:

<repository>
    <id>oss-sonatype</id>
    <name>oss-sonatype</name>
    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>

Supported Features

Transport Protocols

  • OPC-UA TCP

Data Encoding

  • OPC-UA Binary

Security Profiles

  • None
  • Basic128Rsa15
  • Basic256
  • Basic256Sha256
Not Supported
  • SOAP/HTTP/HTTPS Transport
  • XML Data Encoding

Get Help

Contact [email protected] for more information.

License

Apache License, Version 2.0

com.digitalpetri.opcua

digitalpetri

Versions

Version
1.1.1
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0