[
https://issues.apache.org/jira/browse/EAGLE-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15643527#comment-15643527
]
ASF GitHub Bot commented on EAGLE-742:
--------------------------------------
GitHub user wujinhu opened a pull request:
https://github.com/apache/incubator-eagle/pull/615
[EAGLE-742] check applications when remove site
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wujinhu/incubator-eagle EAGLE-742
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-eagle/pull/615.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #615
----
commit cd66b1c5017223b2b95382ea0dc92e247513c788
Author: wujinhu <[email protected]>
Date: 2016-11-07T08:43:25Z
check applications when remove site
----
> 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)