/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package se.kth.karamel.common.util;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.junit.Ignore;
import se.kth.karamel.common.exception.KaramelException;
/**
*
* @author kamal
*/
@Ignore
public class SshKeyServiceTest {
// @Test
public void testNonexistenceConfs() {
Confs confs = Confs.loadAllConfsForCluster("HopsHup");
System.out.println(confs.getProperty(Settings.SSH_PRIVKEY_PATH_KEY));
}
// @Test
public void testGenerateKeys() {
try {
SshKeyService.generateAndStoreSshKeys("HopsHup");
} catch (KaramelException ex) {
Logger.getLogger(SshKeyServiceTest.class.getName()).log(Level.SEVERE, null, ex);
}
}
}