private static final String dirName = "src/test/resources/artifacts";
private static final String nsName = "org.onap.test";
private static final String mechID = "m12345";
private static final String dirName = "src/test/resources/artifacts";
private static final String nsName = "org.onap.test";
private static final String mechID = "m12345";
when(certInfoMock.getChallenge()).thenReturn(luggagePassword);
when(certInfoMock.getCerts()).thenReturn(certs);
when(certInfoMock.getChallenge()).thenReturn(luggagePassword);
when(certInfoMock.getCerts()).thenReturn(certs);
when(artiMock.getDir()).thenReturn(dirName);
when(artiMock.getNs()).thenReturn(nsName);
when(artiMock.getMechid()).thenReturn(mechID);
when(artiMock.getDir()).thenReturn(dirName);
when(artiMock.getNs()).thenReturn(nsName);
when(artiMock.getMechid()).thenReturn(mechID);
certs.add(x509String);
certs.add(x509Chain);
assertThat(placer.place(transMock, certInfoMock, artiMock, "machine"), is(true));
certs.add(x509String);
certs.add(x509Chain);
assertThat(placer.place(transMock, certInfoMock, artiMock, "machine"), is(true));
- for (String ext : new String[] {"chal", "keyfile", "pkcs12", "props", "trust.pkcs12"}) {
+ for (String ext : new String[] {"chal", "keyfile", "jks", "props", "trust.jks"}) {