Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ALISA executes code that is part of models #1604
While Java or Python code is prototyped it resides in the same workspace as the models. It is constructed as plugin project.
In case of Resolute code, that code is interpreted. Users just need to be aware that Resolute supports call out to (external) Java code.
If we want to keep this functionality we need a way to prevent execution of java/python that wasn't written on the local machine. Maybe we can generate a unique ID in OSATE (per workspace, installation, or computer) that must be included in the script. The script would be executed only if the ID in the script matches the ID in OSATE.
This scheme breaks if users share scripts that contain the ID.