View Issue Details

IDProjectCategoryView StatusLast Update
0009340CTT UA Scripts3 - Feature Requestpublic2024-01-25 14:50
ReporterYannik Klaass Assigned ToYannik Klaass  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Fixed in Version1.04.507 
Summary0009340: Library changes for adding and using new OpcServer
Description

For the binary changes regarding the new embedded global OpcServer object (MantisId=9339), some additions and changes have to be made to the library. These include:

  • Instantiation and startup of the new OpcServer object in beforeTest and shutdown in afterTest
  • New helper functions to make use of the new generic method functionalities
  • Changes to the PubSub scripts, as the PubSubManger class will be obsolete and the global OpcServer object should be used instead
TagsNo tags attached.
Files Affected

/library/ClassBased/UaA.js
/library/ClassBased/UaO.js
/library/RunOnce/afterTest.js
/library/RunOnce/beforeTest.js
/library/Utilities/GenericMethodUtilities.js
/libmodel.xml
/library/PubSub/PubSubUtilities.js
/maintree/PubSub General/PubSub Publisher UADP chunking/Test Cases/cleanup.js
/maintree/PubSub General/PubSub Publisher UADP chunking/Test Cases/initialize.js
/maintree/PubSub General/PubSub Publisher UADP Defined Ordering/Test Cases/cleanup.js
/maintree/PubSub General/PubSub Publisher UADP Defined Ordering/Test Cases/initialize.js
/maintree/PubSub General/PubSub Publisher UADP Dynamic Data or Events Settings/Test Cases/cleanup.js
/maintree/PubSub General/PubSub Publisher UADP Dynamic Data or Events Settings/Test Cases/initialize.js
/maintree/PubSub General/PubSub Publisher UADP Periodic Fixed Settings/Test Cases/cleanup.js
/maintree/PubSub General/PubSub Publisher UADP Periodic Fixed Settings/Test Cases/initialize.js
/maintree/PubSub General/PubSub Publisher UADP Periodic Fixed Settings/Test Cases/Test_013.js

Activities

Yannik Klaass

2024-01-18 10:11

developer   ~0020655

Adding global OpcServer and library extensions to use the new generic method functionalities in the CTT binary:

  • Adding instantiation/start of global OpcServer in beforeTest and shutdown of the server in afterTest
  • Adding utility functions for using the generic method functionalities
  • Adding function UaOpcServer.restartServer()
  • Extending function UaArgument.New() by members 'Description' and 'Name'

Making PubSub refactorings as PubSubManager is obsolete and replaced by global OpcServer:

  • Removing all instantiations of PubSubManager and rewriting code to use the gOpcServer instead
  • Removing deprecated function ConfigureSubscriberFromSettings() from PubSubUtilities.js
  • Replacing routines in initialize scripts to restart the server for config changes to take effect by the new function UaOpcServer.restartServer();

Paul Hunkar

2024-01-18 17:20

administrator   ~0020662

reviewed in call, agreed to changes and closed issue

Issue History

Date Modified Username Field Change
2024-01-08 15:55 Yannik Klaass New Issue
2024-01-08 15:55 Yannik Klaass Status new => assigned
2024-01-08 15:55 Yannik Klaass Assigned To => Yannik Klaass
2024-01-18 10:09 Yannik Klaass Files Affected => /library/ClassBased/UaA.js
/library/ClassBased/UaO.js
/library/RunOnce/afterTest.js
/library/RunOnce/beforeTest.js
/library/Utilities/GenericMethodUtilities.js
/libmodel.xml
/library/PubSub/PubSubUtilities.js
/maintree/PubSub General/PubSub Publ...
2024-01-18 10:11 Yannik Klaass Status assigned => resolved
2024-01-18 10:11 Yannik Klaass Resolution open => fixed
2024-01-18 10:11 Yannik Klaass Note Added: 0020655
2024-01-18 17:20 Paul Hunkar Status resolved => closed
2024-01-18 17:20 Paul Hunkar Fixed in Version => 1.03.506
2024-01-18 17:20 Paul Hunkar Note Added: 0020662
2024-01-25 14:50 Paul Hunkar Fixed in Version 1.03.506 => 1.04.507