You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by "wujinhu (JIRA)" <ji...@apache.org> on 2016/11/13 12:45:58 UTC
[jira] [Closed] (EAGLE-742) check applications when remove site
[ https://issues.apache.org/jira/browse/EAGLE-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wujinhu closed EAGLE-742.
-------------------------
Resolution: Fixed
> check applications when remove site
> -----------------------------------
>
> Key: EAGLE-742
> URL: https://issues.apache.org/jira/browse/EAGLE-742
> Project: Eagle
> Issue Type: Bug
> Affects Versions: v0.5.0
> Reporter: wujinhu
> Assignee: wujinhu
> Fix For: v0.5.0
>
>
> When we want to remove site through rest api(below two), we need to check applications. If applications number is not zero, then remove failed.
> Web ui should check success whether it is false or true
> @DELETE
> @Path("/{siteId}")
> @Produces(MediaType.APPLICATION_JSON)
> public RESTResponse<SiteEntity> deleteSiteBySiteId(@PathParam("siteId") String siteId){
> }
> @DELETE
> @Consumes(MediaType.APPLICATION_JSON)
> @Produces(MediaType.APPLICATION_JSON)
> public RESTResponse<SiteEntity> deleteSiteByUUID(UUIDRequest uuidRequest){
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)