Skip to content
Snippets Groups Projects
Commit 72cbcd16 authored by Diego Francisco Carvajal Flores's avatar Diego Francisco Carvajal Flores
Browse files

Component adapted for internal tests and Add file with postman collection

parent 5223e36e
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,8 @@ RUN npm install
EXPOSE 4005
RUN npm install typescript
RUN npm install -g ts-node
CMD [ "ts-node", "./upmclient.ts" ]
This diff is collapsed.
LINE_2_URL=opc.tcp://10.100.151.40:4840
TypeNoCur_NODEID_L2=ns=4;s=DataHandling.TypeNoCur
BlisterEntry_NODEID_L2=ns=4;s=Station090.BlisterEntry
LINE_2_URL=opc.tcp://10.151.233.6:4334
TypeNoCur_NODEID_L2=ns=1;s=DataHandling.TypeNoCur
BlisterEntry_NODEID_L2=ns=1;s=Station090.BlisterEntry
LINE_5_URL=opc.tcp://192.168.10.90:4840
TypeNoCur_NODEID_L5=ns=4;s=DataHandling.TypeNoCur
BlisterEntry_NODEID_L5=ns=4;s=Station090.BlisterEntry
LINE_5_URL=opc.tcp://10.151.233.6:4334
TypeNoCur_NODEID_L5=ns=1;s=DataHandling.TypeNoCur2
BlisterEntry_NODEID_L5=ns=1;s=Station090.BlisterEntry2
FIWARE_NODE_ID=urn:ngsi-ld:Alert:BOSH:feed-trigger-
FIWARE_SERVER_URL=http://10.100.147.11:1026
FIWARE_SERVER_URL=http://10.151.233.6:1026
#FIWARE_RECORD_TYPE=https://uri.fiware.org/ns/data-models%23Alert
\ No newline at end of file
This diff is collapsed.
......@@ -17,9 +17,9 @@
"license": "MIT",
"dependencies": {
"@types/node": "^14.11.2",
"async": "~3.2.0",
"async": "^3.2.3",
"axios": "^0.21.4",
"node-opcua": "~2.18.0",
"node-opcua": "^2.68.0",
"ts-node": "^3.0.4"
},
"devDependencies": {
......
......@@ -11,6 +11,7 @@ var axios= require("axios")
//Fiware Configuration
const fiware_url=process.env.FIWARE_SERVER_URL || undefined
const fiware_node_id=process.env.FIWARE_NODE_ID || undefined
//const fiware_node_id="urn:ngsi-ld:Alert:BOSH:feed-trigger-";
//Line 2 configuration
const LINE_2_URL=process.env.LINE_2_URL || undefined
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment