add refactored stuff

merge-requests/7/head
hasuniea 9 years ago
parent 1fabb0eee3
commit 6471055c3f

@ -6,7 +6,6 @@ import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
import org.wso2.carbon.apimgt.annotations.api.Permission;
import org.wso2.carbon.certificate.mgt.jaxrs.beans.ErrorResponse;
import org.wso2.carbon.device.mgt.common.device.details.DeviceLocation;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
@ -56,4 +55,6 @@ public interface CertificateMgtService {
@HeaderParam("If-Modified-Since") String ifModifiedSince,
String binarySecurityToken);
Response getCA();
}

@ -53,4 +53,10 @@ public class CertificateMgtServiceImpl implements CertificateMgtService {
500l).setMessage(msg).build());
}
}
@POST
@Path("/ca")
public Response getCA() {
}
}

@ -17,7 +17,6 @@
*/
package org.wso2.carbon.certificate.mgt.core.service;
import com.sun.org.apache.xpath.internal.operations.Bool;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.bouncycastle.pkcs.PKCS10CertificationRequest;
@ -33,7 +32,6 @@ import org.wso2.carbon.certificate.mgt.core.util.ConfigurationUtil;
import org.wso2.carbon.device.mgt.common.PaginationRequest;
import org.wso2.carbon.device.mgt.common.PaginationResult;
import org.wso2.carbon.device.mgt.common.TransactionManagementException;
import org.wso2.carbon.device.mgt.core.operation.mgt.dao.OperationManagementDAOFactory;
import java.io.InputStream;
import java.security.PrivateKey;

Loading…
Cancel
Save