Hi Chalitha,

Which version that you tried to use of apimgt.impl dependency? According to
[1] and [2], the impl package has exported. You won't be able to use the
APIMgtDAO, because deleting API involve deleting resources from registry as
well.

[1] -
https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.impl/pom.xml#L214
[2] -
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/apimgt/org.wso2.carbon.apimgt.impl/pom.xml

Thanks,
Harsha

On Thu, Apr 16, 2015 at 7:08 PM, Chalitha Kulathunga <chalit...@wso2.com>
wrote:

> Hi all,
>
> I'm looking for a proper way(methods) to *delete an published API and all
> its data* in WSO2 API Manager.
>
> The *deleteAPI* method available in *APIProviderImpl.java* class in
> org.wso2.carbon.apimgt.impl package(bundle) is not public and also not
> exported in the pom.xml. Therefore, it cannot be accessed from the outside.
>
> *APIMgtDAO.java* class in org.wso2.carbon.apimgt.impl.dao package  also
> provides a similar but public method however I'm not certain whether it is
> suitable for my purpose. Could someone please recommend me a standard way
> to delete an API.
>
>
> Thanks & Regards
>
> --
> *Chalitha Sanyuja Kulathunga*
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> email: chalit...@wso2.com cell: +94 77 5927581 <%2B94%2077%207779495>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to