Fixing Wamo-Config-Generator. Using correct Mirror Module now

This commit is contained in:
Martin Karkowski 2021-04-22 07:42:26 +02:00
parent 20d8d313f0
commit 0895a013cb

View File

@ -12,26 +12,31 @@ import { createFile } from "../../../lib/helpers/fileMethods";
const name = hostname(); const name = hostname();
const num: number = +(name.split("-")[1]); const num: number = +name.split("-")[1];
const config = { const config = {
functions: [], functions: [],
packages: [ packages: [
// Bridge // Mirrpr
{ {
nameOfPackage: "bridgeLayer", nameOfPackage: "mirrorPackage",
defaultInstances: [ defaultInstances: [
{ {
options: { options: {
identifier: ("wamo-" + name + "-bridge").toLowerCase(), identifier: ("wamo-" + name + "-mirror").toLowerCase(),
params: ["io-client", "http://localhost:7000"], params: [
type: "AdditionalBridgeModule" "http://nope-master.demonstrator04.local:7001",
"info", // Logger-Level
false, // considerConnection
false // waitForConnection
],
type: "MirrorLinkModule"
}, },
selector: "AdditionalBridgeModule" selector: "MirrorLinkModule"
} }
], ],
autostart: {}, autostart: {},
path: "dist\\modules\\bridge\\src\\bridge.package.js" path: "dist\\modules\\mirror\\src\\mirror-link.package.js"
}, },
// Beckhoff // Beckhoff
{ {