[
https://issues.apache.org/jira/browse/EAGLE-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15643614#comment-15643614
]
ASF GitHub Bot commented on EAGLE-742:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-eagle/pull/615
> 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)