<run .ajs script here> | socat - /tmp/mysock.sock
import { Server } from "net";
const server = Server({});
server.on("connection", (client) => {
client.on("data", (data) => {
// use data here
}
});
server.listen("/tmp/mysock.sock");
Quote from: Phil Beauvoir on May 10, 2024, 18:08:11 PMHi Tom,
thanks for sharing. I wonder if your "isAllowedRelationship" is already taken care of in jArchi itself - https://github.com/archimatetool/archi-scripting-plugin/wiki/Model-Functions#isallowedrelationship - or are you trying to achieve this without a dependency on jArchi?
Phil