Skip to content
Snippets Groups Projects
Commit fc93f60d authored by erbel's avatar erbel
Browse files

Use Local connector for tests

parent 2c5ccbb8
No related branches found
No related tags found
No related merge requests found
Pipeline #248737 failed
......@@ -23,6 +23,7 @@ import org.modmacao.occi.platform.Component;
import de.ugoe.cs.rwm.docci.MartDeployer;
import de.ugoe.cs.rwm.docci.ModelUtility;
import de.ugoe.cs.rwm.docci.connector.Connector;
import de.ugoe.cs.rwm.docci.connector.LocalhostConnector;
import de.ugoe.cs.rwm.docci.connector.MartConnector;
import de.ugoe.cs.rwm.docci.executor.MartExecutor;
import de.ugoe.cs.rwm.tocci.occi2openstack.OCCI2OPENSTACKTransformator;
......@@ -35,8 +36,9 @@ import de.ugoe.cs.rwm.tocci.occi2openstack.OCCI2OPENSTACKTransformator;
*/
public class MAPE {
protected static final Path RUNTIMEPATH = Paths.get(System.getProperty("user.home") + "/.rwm/runtime.occic");
// static Connector conn = new LocalhostConnector("localhost", 8080, "ubuntu");
static Connector conn = new MartConnector("192.168.35.45", 8080, "ubuntu", "~/key.pem");
static Connector conn = new LocalhostConnector("localhost", 8080, "ubuntu");
// static Connector conn = new MartConnector("192.168.35.45", 8080, "ubuntu",
// "~/key.pem");
static MartExecutor executor = new MartExecutor(conn);
static Resource runtimeModel;
static Component newComp;
......
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