Commit Graph
1138 Commits
Author SHA1 Message Date
Martin Regen 62eedc19be Reduce core dependencies, move https binding to optional assembly. (#1157)
* implement transport binding factory
* split https transport into seperate nuget package
* new Opc.Ua.Binding.Https assembly
* Https binding is loaded on demand, if available
* reduce core dependencies to kestrel and others
fixes #600
2020-10-21 00:03:37 +02:00
Alexander Köpke 3514e4d5fe Merge pull request #1154 from OPCFoundation/koepalex/write-encodeable
Avoid invalid Json while encode IEncodeables
2020-10-20 12:20:04 +02:00
Alexander Koepke 1c2d79d1fb fixed new LGTM issues - part 2 2020-10-20 11:48:12 +02:00
Alexander Koepke c3a4bc4500 fixed new LGTM issues 2020-10-20 11:12:50 +02:00
Martin Regen 488bc14caf improve JSON encoder 2020-10-20 10:25:09 +02:00
Martin Regen e1930fb4cd more tests 2020-10-17 12:27:57 +02:00
Alexander Koepke b27751ace8 Merge branch 'master' into koepalex/write-encodeable 2020-10-16 17:14:21 +02:00
Alexander Koepke f3d090aec4 Avoid invalid Json by using JsonEncoder for IEncodeables 2020-10-16 17:01:39 +02:00
Martin Regen bb3e456ef9 Add issue report template (#1151) 2020-10-15 19:17:14 +02:00
Martin Regen d0f5d9e51a Fix confusing async use of Utils.GetHostAddresses (#1148)
- due to the name change of the async version its a breaking change for the 364 release
- fixes #1132
2020-10-14 16:58:18 +02:00
Martin Regen 7f3f0dbbb4 Service update, fix many warnings for Xml comments (#1146)
- no bug fixes, just documentation and formatting
- fix all warnings for xml in core libraries, except
-- protected members
-- suppressed warnings in Opc.Ua.Gds libraries (tbd)
2020-10-14 12:00:01 +02:00
Martin Regen 52bee9f568 Fix the Nuget build debug assemblies signing step (#1147) 2020-10-14 11:58:15 +02:00
Martin Regen 9b8cf2eaf2 Push nuget as artifacts for release (#1143)
* upload pipelineartifacts for release pipeline and sign the symbol packages
* enable deterministic builds for snupkg source debugging
* allow release builds to be in release/x.y.z
* do not rename assemblies for debug builds, to allow for mixing of release and debug packages. Otherwise build issues may occure when packages are mixed.
2020-10-12 15:48:57 +02:00
dependabot[bot] 7fe666e9bb Bump Portable.BouncyCastle from 1.8.6.7 to 1.8.8 (#1131)
Bumps [Portable.BouncyCastle](https://github.com/novotnyllc/bc-csharp) from 1.8.6.7 to 1.8.8.
- [Release notes](https://github.com/novotnyllc/bc-csharp/releases)
- [Commits](https://github.com/novotnyllc/bc-csharp/compare/pcl-v1.8.6.7...pcl-v1.8.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-09 09:36:43 +02:00
Alin Moldovean c2c2801d3e Merge pull request #1138 from AlinMoldovean/master
Increase Nuget version
2020-10-08 12:20:31 +03:00
AlinMoldovean dd12288482 Increase Nuget version 2020-10-08 11:15:33 +03:00
Alin Moldovean eff62d573e Merge pull request #1135 from AlinMoldovean/master
Update NodeSet files and generated code for 1.04.7 Errata
2020-10-08 09:43:43 +03:00
Martin Regen 089afbf28c Fix the license in the nuget packages (#1136)
- the license didn't show up!
- bump up the version offset, the preview feed already contains some higher versions which is confusing
2020-10-07 17:53:55 +02:00
AlinMoldovean 764c481405 Update Copyright year to 2020 2020-10-07 18:04:34 +03:00
AlinMoldovean 7829e34d63 Remove unused NodeSet files 2020-10-07 17:53:19 +03:00
AlinMoldovean 00f718c28f Update NodeSet files and generated code for 1.04.7 Errata. Fixes #1127 2020-10-07 17:52:01 +03:00
Martin Regen 80a422136d Add Versioning and new nuget package structure to preview builds (#1130)
- use nerdbank.gitversioning to determine devops build version
- split nuget packages into new structure, one package per assembly to allow granular use of packages.
- also build .Debug versions
- back compat at least for a while, the old Opc.Ua packages reference also the new packages.
- devops produces preview builds for master
- preview builds are now signed, including nuget packages
- add license files for nuget packages, since licenseUrl is deprecated
2020-10-07 14:50:36 +02:00
dependabot[bot] 24885aa357 Bump Mono.Options from 5.3.0.1 to 6.6.0.161 (#1034)
Bumps Mono.Options from 5.3.0.1 to 6.6.0.161.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-02 06:31:54 +02:00
Alin Moldovean 54f7f8aa9b Add Console Reference Client project (#1129)
* Add Console Reference Client project
2020-10-01 15:46:44 +03:00
Martin Regen a3fbc2ed51 Use release Nugetsigntool (#1123)
* use fixed nuget sign tool which supports the wildcards

Thanks @clairernovotny for https://github.com/novotnyllc/NuGetKeyVaultSignTool/releases/tag/v3.0.45 release!
2020-09-22 11:13:11 +02:00
Martin Regen 757c024031 Add code signing step for preview pipeline (#1122)
Add code signing step if code signing certs and secret access is granted to the pipeline
note: until https://github.com/novotnyllc/NuGetKeyVaultSignTool/pull/77 is fixed, using a private build of the NuGetKeyVaultSignTool
2020-09-21 16:08:30 +02:00
Martin Regen 38c37acd8f Add support for netstandard2.1 in core libs and nuget packages (#1110)
- solutions support still VS2017 and VS 2019
- ci now also tests net462 & netcoreapp3.1
- next rev of nuget packages will have netstandard2.1 support
- a few small fixes for netcoreapp3.1
1.4.363.49
2020-09-04 22:56:20 +02:00
Martin Regen 24e57ca983 Add build pipeline to upload nuget packages to a preview feed (#1107)
preview feed for Nuget.Config:
```
<configuration>
  <packageSources>
    <add key="opcua-preview" value="https://opcfoundation.pkgs.visualstudio.com/opcua-netstandard/_packaging/opcua-preview/nuget/v3/index.json" />
  </packageSources>
</configuration>
```
2020-09-03 13:12:06 +02:00
Martin Regen 783c20f487 Doc updates for reverse connect (#1092) 2020-09-01 15:32:44 +02:00
Kevin Jhang c24ef8798c Fix null reference in UaSCUaBinaryClientChannel. (#1105) 2020-09-01 15:32:14 +02:00
dependabot[bot] d8baf223d9 Bump Microsoft.NET.Test.Sdk from 16.7.0 to 16.7.1 (#1099)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.7.0 to 16.7.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.7.0...v16.7.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-01 06:50:33 +02:00
Alin Moldovean 259306d12a Merge pull request #1098 from AlinMoldovean/master
Revert "Temporary remove test projects from Core solution"
2020-08-18 15:41:30 +03:00
AlinMoldovean 7baa798b91 Revert "Temporary remove test projects from Core solution"
This reverts commit f5e8a87989.
2020-08-18 15:40:36 +03:00
Alin Moldovean 37a6e00bc0 Merge pull request #1097 from AlinMoldovean/master
Temporary remove test projects from Core solution for Nuget build
2020-08-18 15:33:59 +03:00
AlinMoldovean f5e8a87989 Temporary remove test projects from Core solution 2020-08-18 15:33:49 +03:00
Alin Moldovean 3c9bfe9f89 Merge pull request #1096 from AlinMoldovean/master
Increase version in version.props
2020-08-18 15:07:09 +03:00
AlinMoldovean cbf6a7c2ff Increase version in version.props 2020-08-18 15:06:45 +03:00
Alin Moldovean a5702acc61 Dispose failed listeners in TcpListener (#1095)
* Fix log with ChannelId =0 in Channel.Shutdown()

* Fix null reference in TcpListener generated by cleanup timer.

* Dispose listening port in TcpListener if create fails.
2020-08-17 17:08:52 +03:00
Martin Regen 838b99806d Reverse connect improvements for aggregation server (#1073)
- This improvement was tested with an aggregation server update on this branch:

Required for testing: https://github.com/mregen/UA-.NETStandard-Samples/tree/aggregationserver

Main changes: 
- Support holding of reverse connections, then a client can connect faster on a hold connection instead of waiting for the next reverse hello.
- Simplify API to connect with or without reverseconnect manager.
- Reconnect handlers code path added, tested with SessionReconnectHandler
- some locks on lists were not correctly implemented.
2020-08-13 12:50:17 +02:00
Alin Moldovean b74e4d1390 Merge pull request #1087 from AlinMoldovean/master
Improve server closing time. Fixes #1082
2020-08-12 15:38:30 +03:00
dependabot[bot] 5f38fa03db Bump Microsoft.NET.Test.Sdk from 16.6.1 to 16.7.0 (#1084)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.6.1 to 16.7.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.6.1...v16.7.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-12 14:31:39 +02:00
AlinMoldovean d91dc6fd05 Improve server closing time in case all client sessions are closed. Fixes #1082 2020-08-11 17:14:37 +03:00
Alin Moldovean cf44debd5e ReverseConnectServer improvements (#1083)
* ReverseConnectServer improvements.
2020-08-07 10:48:28 +03:00
Alin Moldovean 9c716b2d3b Merge pull request #1074 from AlinMoldovean/master
Sanity check fix for Matrix
2020-07-30 17:54:27 +03:00
AlinMoldovean 390e214b38 Sanity check fix for Matrix - According to specs: "Variant is a union of the built-in types" 2020-07-30 17:34:09 +03:00
Martin Regen 46cd2d990a - Add the reverse connect in the reference server and a few bug fixes (#1071)
- Support the reverse connections in the reference server
- fix an issue when the anonymous token is sent as a null value by the aggregation server
- fix docker build files
2020-07-30 11:48:28 +02:00
Alin Moldovean 3548b9f195 Fix test files location after PR #1069 (#1070)
* Fix test files location after PR #1069
2020-07-29 14:52:50 +03:00
Lauri Saurus d1303d62b5 Index range fixes (#1069)
* Fixed NumericRange ApplyRange method to work also for Matrix objects.

* Fixed NumericRange.UpdateRange to work with multidimensional arrays. Also fixed it to handle Matrix type as destination. Fixed WriteValue validation to also accept Matrix type as value when IndexRange contains SubRanges.

* Fixed WriteValue to validate NumericRange correctly by also accepting string value.

* Fixed typo in NumericRangeTests. Implemented tests for WriteValue Validate method.

* Implemented test case for NumericRange.UpdateRange when using Matrix as destination. Fixed comments.

* Fixed WriteValue.Validate to accept String and ByteString arrays when IndexRange with SubRanges is used. String and ByteString arrays have special handling in this case.

* Added null check.
2020-07-28 09:05:38 +02:00
Martin Regen 423bcaed26 Update README.md (#1068) 2020-07-24 09:31:28 +02:00
Alexander Köpke d9e856dfb1 change LGTM extraction behaviour (#1067)
**Background**
Method of Http Client isn't available (based on documentation) in 4.6.2, but without using it HTTPS isn't working anymore.

**Problem**
LGTM build are failing because they didn't find method mentioned above.

**Solution**
Change LGTM behaviour from building the solution before analysis to just analyze all *.cs files independent, expectation:
* LGTM analysis are more robust
* LGTM may report errors within files that are not part of product (increase number of violations)
2020-07-23 17:04:15 +02:00