[ 
https://issues.apache.org/jira/browse/EAGLE-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wujinhu updated EAGLE-742:
--------------------------
    Description: 
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){
}

  was:When we want to remove site, we need to check applications. If 
applications number is not zero, then remove failed.


> 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)

Reply via email to