Skip to content

Commit

Permalink
adjust path for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianDue committed Jan 30, 2025
1 parent 970daa1 commit 2fbf993
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion execution_engine_logic/execution_engine_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def start_server(self, struct_object, data_object):
self.data_object = data_object
self.data_object.set_idx(self.idx)
self.data_object.set_server(self.server)
await self.server.import_xml("model/SWAP.Fraunhofer.Execution.Engine.Model.NodeSet2.xml")
await self.server.import_xml("/app/swap-it-execution-engine/model/SWAP.Fraunhofer.Execution.Engine.Model.NodeSet2.xml")
namespaces = await self.server.get_namespace_array()
for i in range(len(namespaces)):
if str(namespaces[i]) == "http://execution.engine.swap.fraunhofer.de":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class MQTTClient:

def __init__(self, broker="test.mosquitto.org", port=1883, topic="opcua/events"):
def __init__(self, broker="host.docker.internal", port=1884, topic="opcua/events"):
self.client = mqtt.Client()
self.broker = broker
self.port = port
Expand Down

0 comments on commit 2fbf993

Please # to comment.