Skip to content

Commit

Permalink
fix(web): get routes for FlowForge
Browse files Browse the repository at this point in the history
  • Loading branch information
biancode committed Apr 10, 2023
1 parent f781c2b commit e6be25e
Show file tree
Hide file tree
Showing 15 changed files with 1,368 additions and 16,787 deletions.
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,32 @@
## [4.1.1](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/compare/v4.1.0...v4.1.1) (2022-12-12)
# [4.2.0](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/compare/v4.1.2...v4.2.0) (2023-04-10)


### Bug Fixes

* **web:** get routes for FlowForge ([0251b51](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/commit/0251b514299afb5db4a80b926e1ecf6576737217))



## [4.1.2](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/compare/v4.1.1...v4.1.2) (2022-12-14)


### Bug Fixes

* **write:** [#190](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/issues/190) write 0 and improve test for it ([e12e798](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/commit/e12e798a491e9bf0dd1c06c6eab70ce18c0eec3a))



## [4.1.1](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/compare/v4.1.0...v4.1.1) (2022-12-14)


### Bug Fixes

* **core:** [#190](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/issues/190) data check was wrong ([f560daf](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/commit/f560dafd3d1de415a2af970512028c641cff6943))
* **demo-server:** no events active on i=1234 ([2df5a92](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/commit/2df5a92382e6b3b0c784fa49416fc6d31c643bc2))
* **known-issues:** corrected version num of approximated fix of filter ([6a4d0b5](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/commit/6a4d0b58982dbabc2c66ec3ccf120fea82e5c2d0))
* **node:** now works with int as input again ([d7cdf3a](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/commit/d7cdf3aef40650f8030a3410349821a83a8a1291))
* **opcua-node:** [#202](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/issues/202) set value on write from local value in node ([d6d2dd8](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/commit/d6d2dd82cf2e3c82357b74037fa0451d135cbccb))
* **tests:** removed wrong receives and fixed node tests expect values ([fd8d6ab](https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua/commit/fd8d6ab5095315b5188762299413da4f9064f290))


### Features
Expand Down
18,096 changes: 1,328 additions & 16,768 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "node-red-contrib-iiot-opcua",
"version": "4.1.2",
"version": "4.2.0",
"description": "An Industrial IoT OPC UA toolbox contribution package for Node-RED based on node-opcua.",
"repository": {
"type": "git",
"url": "https://github.com/BiancoRoyal/node-red-contrib-iiot-opcua"
},
"dependencies": {
"@xstate/fsm": "~2.0.0",
"cron": "~2.1.0",
"cron": "~2.3.0",
"debug": "~4.3.4",
"g": "~2.0.1",
"node-opcua": "~2.81.0",
"rimraf": "~3.0.2",
"underscore": "~1.13.6",
"vm2": "~3.9.13"
"vm2": "~3.9.15"
},
"keywords": [
"node-red",
Expand Down Expand Up @@ -117,6 +117,7 @@
"@types/jest": "^29.0.2",
"@types/node-red": "^1.2.1",
"@types/semver": "^7.3.12",
"@types/underscore": "^1.11.4",
"chai": "^4.3.6",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/opcua-iiot-browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
nodeIdLookupButton.on("click", function () {
nodeIdLookupButton.addClass('disabled')
let rootid = nodeIdField.val() || 'ns=0;i=84' // root
$.getJSON('/opcuaIIoT/browse/'+ node.id + '/' + encodeURIComponent(rootid), function (data) {
$.getJSON('opcuaIIoT/browse/'+ node.id + '/' + encodeURIComponent(rootid), function (data) {
nodeIdLookupButton.removeClass('disabled')
node.lookupItems = []

Expand Down
4 changes: 2 additions & 2 deletions src/opcua-iiot-connector.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@

discoveryLookupButton.on("click", function () {
discoveryLookupButton.addClass('disabled')
$.getJSON('/opcuaIIoT/client/discover/' + node.id + '/' + encodeURIComponent(discoveryUrlField.val()), function (data) {
$.getJSON('opcuaIIoT/client/discover/' + node.id + '/' + encodeURIComponent(discoveryUrlField.val()), function (data) {
discoveryLookupButton.removeClass('disabled')
node.lookupItems = []
let security = null
Expand Down Expand Up @@ -166,7 +166,7 @@

endpointsLookupButton.on("click", function () {
endpointsLookupButton.addClass('disabled')
$.getJSON('/opcuaIIoT/client/endpoints/' + node.id + '/' + encodeURIComponent(endpointField.val()), function (data) {
$.getJSON('opcuaIIoT/client/endpoints/' + node.id + '/' + encodeURIComponent(endpointField.val()), function (data) {
endpointsLookupButton.removeClass('disabled')
node.lookupItems = []
let security = null
Expand Down
2 changes: 1 addition & 1 deletion src/opcua-iiot-crawler.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@

filterLookupButton.addClass('disabled')

$.getJSON('/opcuaIIoT/list/FilterTypes', function (data) {
$.getJSON('opcuaIIoT/list/FilterTypes', function (data) {
filterLookupButton.removeClass('disabled')
node.lookupItems = []

Expand Down
2 changes: 1 addition & 1 deletion src/opcua-iiot-event.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

eventTypeLookupField.click(function () {
eventTypeLookupField.addClass('disabled')
$.getJSON('/opcuaIIoT/list/EventTypeIds', function (data) {
$.getJSON('opcuaIIoT/list/EventTypeIds', function (data) {
eventTypeLookupField.removeClass('disabled')
node.lookupItems = []

Expand Down
2 changes: 1 addition & 1 deletion src/opcua-iiot-flex-server.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@

xmlsetLookupButton.addClass('disabled')

$.getJSON('/opcuaIIoT/xmlsets/public', function (data) {
$.getJSON('opcuaIIoT/xmlsets/public', function (data) {
xmlsetLookupButton.removeClass('disabled')
node.xmlsetSelect = []

Expand Down
2 changes: 1 addition & 1 deletion src/opcua-iiot-inject.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@

datatypesLookupButton.addClass('disabled')

$.getJSON('/opcuaIIoT/plain/DataTypeIds', function (data) {
$.getJSON('opcuaIIoT/plain/DataTypeIds', function (data) {
datatypesLookupButton.removeClass('disabled')
node.datatypeNames = []

Expand Down
2 changes: 1 addition & 1 deletion src/opcua-iiot-method-caller.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
style: "margin-left:5px;width:18%;",
}).appendTo(row);

$.getJSON('/opcuaIIoT/plain/DataTypeIds', function (data) {
$.getJSON('opcuaIIoT/plain/DataTypeIds', function (data) {
$(data).each(function () {
datatypeField.append($("<option>").attr('value', this).text(this));
});
Expand Down
2 changes: 1 addition & 1 deletion src/opcua-iiot-node.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

datatypeLookupButton.on("click", function () {
datatypeLookupButton.addClass('disabled')
$.getJSON('/opcuaIIoT/list/DataTypeIds', function (data) {
$.getJSON('opcuaIIoT/list/DataTypeIds', function (data) {
datatypeLookupButton.removeClass('disabled')
node.lookupItems = []

Expand Down
2 changes: 1 addition & 1 deletion src/opcua-iiot-response.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@

filterLookupButton.addClass('disabled')

$.getJSON('/opcuaIIoT/list/FilterTypes', function (data) {
$.getJSON('opcuaIIoT/list/FilterTypes', function (data) {
filterLookupButton.removeClass('disabled')
node.lookupItems = []

Expand Down
2 changes: 1 addition & 1 deletion src/opcua-iiot-result-filter.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

datatypeLookupButton.on("click", function () {
datatypeLookupButton.addClass('disabled')
$.getJSON('/opcuaIIoT/list/DataTypeIds', function (data) {
$.getJSON('opcuaIIoT/list/DataTypeIds', function (data) {
datatypeLookupButton.removeClass('disabled')
node.lookupItems = []

Expand Down
6 changes: 3 additions & 3 deletions src/opcua-iiot-server-aso.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

objecttypeLookupButton.on("click", function () {
objecttypeLookupButton.addClass('disabled')
$.getJSON('/opcuaIIoT/list/InstanceTypeIds', function (data) {
$.getJSON('opcuaIIoT/list/InstanceTypeIds', function (data) {
objecttypeLookupButton.removeClass('disabled')
node.lookupItems = []

Expand Down Expand Up @@ -72,7 +72,7 @@

datatypeLookupButton.on("click", function () {
datatypeLookupButton.addClass('disabled')
$.getJSON('/opcuaIIoT/list/DataTypeIds', function (data) {
$.getJSON('opcuaIIoT/list/DataTypeIds', function (data) {
datatypeLookupButton.removeClass('disabled')
node.lookupItems = []

Expand Down Expand Up @@ -103,7 +103,7 @@

referencetypeLookupButton.on("click", function () {
referencetypeLookupButton.addClass('disabled')
$.getJSON('/opcuaIIoT/list/ReferenceTypeIds', function (data) {
$.getJSON('opcuaIIoT/list/ReferenceTypeIds', function (data) {
referencetypeLookupButton.removeClass('disabled')
node.lookupItems = []

Expand Down
2 changes: 1 addition & 1 deletion src/opcua-iiot-server.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@

xmlsetLookupButton.addClass('disabled')

$.getJSON('/opcuaIIoT/xmlsets/public', function (data) {
$.getJSON('opcuaIIoT/xmlsets/public', function (data) {
xmlsetLookupButton.removeClass('disabled')
node.xmlsetSelect = []

Expand Down

0 comments on commit e6be25e

Please sign in to comment.