[jira] [Created] (ISIS-2162) Provide a semantic counterpart to @Programmatic
Andi Huber created ISIS-2162: Summary: Provide a semantic counterpart to @Programmatic Key: ISIS-2162 URL: https://issues.apache.org/jira/browse/ISIS-2162 Project: Isis Issue Type: Improvement Components: Extensions Reporter: Andi Huber Assignee: Andi Huber Fix For: 2.0.0 We might want to introduce {code:java} @Model {code} We've started a discussion on the user-mailing list. Additional ideas popped up, in order to optionally allow for supporting-methods to have arbitrary names: {code:java} @Validate(supports="placeOrder") public String checkIt() // and similarly @Hide, @Disable, @Default, @Choices and @AutoComplete {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2161) Remove domain-object member naming restrictions (reserved prefixes)
[ https://issues.apache.org/jira/browse/ISIS-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937607#comment-16937607 ] Andi Huber commented on ISIS-2161: -- It turns out that we can solve this issue, without having to introduce any new concepts (or extending the programming model): Simply allow explicitly annotated members to be named with currently reserved prefixes. {code:java} // should be a valid action name, even though 'disable' is reserved @Action public void disableUser(User user) { ... } {code} > Remove domain-object member naming restrictions (reserved prefixes) > --- > > Key: ISIS-2161 > URL: https://issues.apache.org/jira/browse/ISIS-2161 > Project: Isis > Issue Type: Improvement > Components: Core >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > > Currently the prefixes 'hide', 'validate', 'disable', etc are reserved for > supporting-methods and may not be used for Actions and Properties. > We can lift this restriction: > * If a member is annotated Action/Property/Collection, then we allow any > names for this member, even if these collide with the 'reserved' prefixes! > It is inconvenient, when misspelling support-methods eg. using 'verify' > instead of 'validate', that one has to troubleshoot the application later, > only to find out that one made a sloppy mistake. > * We can improve on this by introducing a new annotation eg. 'Model' to > enforce a meta-model check on the correct naming of supporting-methods. > {code:java} > @Action > void placeOrder(X x, Y y, Z z) {...} > @Model // <-- enforces a meta-model check on this supporting-method > boolean hidePlaceOrder() {...} > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2158) Miscellaneous tasks in preparation of Version 2
[ https://issues.apache.org/jira/browse/ISIS-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937632#comment-16937632 ] ASF subversion and git services commented on ISIS-2158: --- Commit 50922ffac8fda80d291c058d74613e88c48aac9e in isis's branch refs/heads/v2 from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=50922ff ] ISIS-2158: cleanup serializaion ids no longer needed - also mark NatureOfService deprecated options to be removed with release 2.0.0 > Miscellaneous tasks in preparation of Version 2 > --- > > Key: ISIS-2158 > URL: https://issues.apache.org/jira/browse/ISIS-2158 > Project: Isis > Issue Type: Task >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2158) Miscellaneous tasks in preparation of Version 2
[ https://issues.apache.org/jira/browse/ISIS-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937649#comment-16937649 ] ASF subversion and git services commented on ISIS-2158: --- Commit b2a316ecfc99b26cf8976839ebef4941ca3823fb in isis's branch refs/heads/v2 from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=b2a316e ] ISIS-2158: new behavior on deprecated NatureOfService.VIEW_CONTRIBUTIONS_ONLY - by treating this a synonym for NatureOfService.VIEW, it has the convenient side-effect, that all the contributed actions show up in the 'others' menu, which is a way to dramatically ease migration - added notes in java-doc mentioning this convenient side-effect > Miscellaneous tasks in preparation of Version 2 > --- > > Key: ISIS-2158 > URL: https://issues.apache.org/jira/browse/ISIS-2158 > Project: Isis > Issue Type: Task >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2158) Miscellaneous tasks in preparation of Version 2
[ https://issues.apache.org/jira/browse/ISIS-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937656#comment-16937656 ] ASF subversion and git services commented on ISIS-2158: --- Commit d6e7f061ee32b41d18eb287a5664d7c2474a423b in isis's branch refs/heads/v2 from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=d6e7f06 ] ISIS-2158: NatureOfService remove invalid apiNote > Miscellaneous tasks in preparation of Version 2 > --- > > Key: ISIS-2158 > URL: https://issues.apache.org/jira/browse/ISIS-2158 > Project: Isis > Issue Type: Task >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2158) Miscellaneous tasks in preparation of Version 2
[ https://issues.apache.org/jira/browse/ISIS-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937795#comment-16937795 ] ASF subversion and git services commented on ISIS-2158: --- Commit 37259aa2f5af87f9b8d0baf4ab1a444dbfc79e38 in isis's branch refs/heads/v2 from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=37259aa ] ISIS-2158: DemoApp: preload JRuby stuff for AsciiDoc - this takes ~4 sec, we don't want to wait this long on first request > Miscellaneous tasks in preparation of Version 2 > --- > > Key: ISIS-2158 > URL: https://issues.apache.org/jira/browse/ISIS-2158 > Project: Isis > Issue Type: Task >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2062) Convert website to use Antora
[ https://issues.apache.org/jira/browse/ISIS-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938120#comment-16938120 ] ASF subversion and git services commented on ISIS-2062: --- Commit 43c7a2c4231bf75c9ff502da153b2972651629a5 in isis's branch refs/heads/v2 from danhaywood [ https://gitbox.apache.org/repos/asf?p=isis.git;h=43c7a2c ] ISIS-2062: moves shiro docs to isis-plugins-security-shiro > Convert website to use Antora > - > > Key: ISIS-2062 > URL: https://issues.apache.org/jira/browse/ISIS-2062 > Project: Isis > Issue Type: Improvement >Reporter: Daniel Keir Haywood >Assignee: Daniel Keir Haywood >Priority: Major > Fix For: 2.0.0 > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2062) Convert website to use Antora
[ https://issues.apache.org/jira/browse/ISIS-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938122#comment-16938122 ] ASF subversion and git services commented on ISIS-2062: --- Commit 7a844b58e88087f07620246f2b45118d170b1f17 in isis's branch refs/heads/v2 from danhaywood [ https://gitbox.apache.org/repos/asf?p=isis.git;h=7a844b5 ] ISIS-2062: splitting out security docs > Convert website to use Antora > - > > Key: ISIS-2062 > URL: https://issues.apache.org/jira/browse/ISIS-2062 > Project: Isis > Issue Type: Improvement >Reporter: Daniel Keir Haywood >Assignee: Daniel Keir Haywood >Priority: Major > Fix For: 2.0.0 > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2062) Convert website to use Antora
[ https://issues.apache.org/jira/browse/ISIS-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938121#comment-16938121 ] ASF subversion and git services commented on ISIS-2062: --- Commit 3998aba4fb200b670d04eb29f9f6fae5c42607b2 in isis's branch refs/heads/v2 from danhaywood [ https://gitbox.apache.org/repos/asf?p=isis.git;h=3998aba ] ISIS-2062: factors out isis-security-bypass. > Convert website to use Antora > - > > Key: ISIS-2062 > URL: https://issues.apache.org/jira/browse/ISIS-2062 > Project: Isis > Issue Type: Improvement >Reporter: Daniel Keir Haywood >Assignee: Daniel Keir Haywood >Priority: Major > Fix For: 2.0.0 > > -- This message was sent by Atlassian Jira (v8.3.4#803005)