tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-260) Validate: REST Service has no non-public resources
Date Sun, 01 Jul 2012 16:43:45 GMT

    [ https://issues.apache.org/jira/browse/TOMEE-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404763#comment-13404763
] 

Romain Manni-Bucau commented on TOMEE-260:
------------------------------------------

i don't get the last two validations:

1) the "add public" will sound redundant if we have a warning from the first validation (in
this case do we skip the first one? i'd prefer to keep only a warning, IMO that's far enough)
2) if there is 0 resource method, no call will be done  on this resource so it is not error
prone

wdyt?
                
> Validate: REST Service has no non-public resources
> --------------------------------------------------
>
>                 Key: TOMEE-260
>                 URL: https://issues.apache.org/jira/browse/TOMEE-260
>             Project: TomEE
>          Issue Type: Improvement
>          Components: Compliance Checks
>            Reporter: David Blevins
>
> A warning should be issued if rest resource methods are non-public.
> If there are zero public resource methods and there are non-public resource methods,
a specific "add public" validation failure should be created.
> If there are zero resource methods at all, a more generic "no resource methods" validation
failure should occur.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message