23 lines
749 B
Java
23 lines
749 B
Java
package org.gcube.application.perform.service;
|
|
|
|
import java.io.IOException;
|
|
import java.net.MalformedURLException;
|
|
import java.nio.file.Paths;
|
|
import java.sql.SQLException;
|
|
|
|
import org.gcube.application.perform.service.engine.impl.PerformanceManagerImpl;
|
|
import org.gcube.application.perform.service.engine.model.InternalException;
|
|
|
|
public class LoadSchemaTest {
|
|
|
|
public static void main(String[] args) throws MalformedURLException, IOException, SQLException, InternalException {
|
|
LocalConfiguration.init(Paths.get("src/main/webapp/WEB-INF/config.properties").toUri().toURL());
|
|
|
|
PerformServiceLifecycleManager.initSchema("src/main/webapp/WEB-INF");
|
|
|
|
TokenSetter.set("/gcube/preprod/preVRE");
|
|
PerformanceManagerImpl.initDatabase();
|
|
}
|
|
|
|
}
|