package gr.upatras.ece.nam.fstoolkit.FCIgenerator.project; /** * This class is just for some testing * @author ctranoris * */ public class Main { /** * @param args * @author ctranoris */ public static void main(String[] args) { // //the following makes an update to existing resource uop.rubis_db-20 // TGWClient u = new TGWClient( // "http://62.103.214.70:9000/teaglegw/uop/uop.rubis_db-0", // "<rubis_db action=\"update\"><configuration><context><vctId>ctranoris_rubbis_db</vctId></context><configuration><VLANID>23</VLANID><IP>10.0.0.1</IP><GW>10.0.0.250</GW><MEM>256</MEM><DISKSPACE>10000</DISKSPACE></configuration></configuration></rubis_db>"); // u.execute(); //the following makes a create of a resource, see it goes to uop.top-0 and no action. The return is the resource-id // RepoClient c = new RepoClient( // "http://repos.pii.tssg.org:8080/repository/rest/vct", // "username", "password", "vctname"); // c.execute("http://repos.pii.tssg.org:8080/repository/rest/vct"); } }