[jira] [Created] (ISIS-2100) Reduce call-site complexity of 'BuilderScripts'

2019-02-22 Thread Andi Huber (JIRA)
Andi Huber created ISIS-2100:


 Summary: Reduce call-site complexity of 'BuilderScripts'
 Key: ISIS-2100
 URL: https://issues.apache.org/jira/browse/ISIS-2100
 Project: Isis
  Issue Type: Bug
  Components: Core
Reporter: Andi Huber
Assignee: Andi Huber
 Fix For: 2.0.0-M3


Removing type-params, where redundant ...

{code:java}
@Accessors(chain = true)
public class SimpleObjectBuilder 
extends BuilderScriptAbstract { // <= only 1 type param

@Getter
private SimpleObject object;

...
}

@AllArgsConstructor
public enum SimpleObject_persona 
implements PersonaWithBuilderScript /* <= only 1 type 
param */ ... {

FOO("Foo"),
BAR("Bar"),

...

public SimpleObjectBuilder builder() {
return new SimpleObjectBuilder().setName(name);
}

public static class PersistAll
extends PersonaEnumPersistAll /* <= 
only 2 type params */ {
...
}
}
{code}








--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (ISIS-2100) Reduce call-site complexity of 'BuilderScripts'

2019-02-22 Thread Andi Huber (JIRA)


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

Andi Huber updated ISIS-2100:
-
Issue Type: Improvement  (was: Bug)

> Reduce call-site complexity of 'BuilderScripts'
> ---
>
> Key: ISIS-2100
> URL: https://issues.apache.org/jira/browse/ISIS-2100
> Project: Isis
>  Issue Type: Improvement
>  Components: Core
>Reporter: Andi Huber
>Assignee: Andi Huber
>Priority: Major
> Fix For: 2.0.0-M3
>
>
> Removing type-params, where redundant ...
> {code:java}
> @Accessors(chain = true)
> public class SimpleObjectBuilder 
> extends BuilderScriptAbstract { // <= only 1 type param
> @Getter
> private SimpleObject object;
>   ...
> }
> @AllArgsConstructor
> public enum SimpleObject_persona 
> implements PersonaWithBuilderScript /* <= only 1 type 
> param */ ... {
> FOO("Foo"),
> BAR("Bar"),
>   
>   ...
> public SimpleObjectBuilder builder() {
> return new SimpleObjectBuilder().setName(name);
> }
> public static class PersistAll
> extends PersonaEnumPersistAll /* <= 
> only 2 type params */ {
>   ...
> }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ISIS-2100) Reduce call-site complexity of 'BuilderScripts'

2019-02-22 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ISIS-2100:
---

Commit 108d92c08dcf668de3743972e5872200b6c5cc18 in isis's branch refs/heads/v2 
from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=108d92c ]

ISIS-2100: Reduce call-site complexity of 'BuilderScripts'

Task-Url: https://issues.apache.org/jira/browse/ISIS-2100

> Reduce call-site complexity of 'BuilderScripts'
> ---
>
> Key: ISIS-2100
> URL: https://issues.apache.org/jira/browse/ISIS-2100
> Project: Isis
>  Issue Type: Improvement
>  Components: Core
>Reporter: Andi Huber
>Assignee: Andi Huber
>Priority: Major
> Fix For: 2.0.0-M3
>
>
> Removing type-params, where redundant ...
> {code:java}
> @Accessors(chain = true)
> public class SimpleObjectBuilder 
> extends BuilderScriptAbstract { // <= only 1 type param
> @Getter
> private SimpleObject object;
>   ...
> }
> @AllArgsConstructor
> public enum SimpleObject_persona 
> implements PersonaWithBuilderScript /* <= only 1 type 
> param */ ... {
> FOO("Foo"),
> BAR("Bar"),
>   
>   ...
> public SimpleObjectBuilder builder() {
> return new SimpleObjectBuilder().setName(name);
> }
> public static class PersistAll
> extends PersonaEnumPersistAll /* <= 
> only 2 type params */ {
>   ...
> }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ISIS-2100) Reduce call-site complexity of 'BuilderScripts'

2019-02-22 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ISIS-2100:
---

Commit 108d92c08dcf668de3743972e5872200b6c5cc18 in isis's branch refs/heads/v2 
from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=108d92c ]

ISIS-2100: Reduce call-site complexity of 'BuilderScripts'

Task-Url: https://issues.apache.org/jira/browse/ISIS-2100

> Reduce call-site complexity of 'BuilderScripts'
> ---
>
> Key: ISIS-2100
> URL: https://issues.apache.org/jira/browse/ISIS-2100
> Project: Isis
>  Issue Type: Improvement
>  Components: Core
>Reporter: Andi Huber
>Assignee: Andi Huber
>Priority: Major
> Fix For: 2.0.0-M3
>
>
> Removing type-params, where redundant ...
> {code:java}
> @Accessors(chain = true)
> public class SimpleObjectBuilder 
> extends BuilderScriptAbstract { // <= only 1 type param
> @Getter
> private SimpleObject object;
>   ...
> }
> @AllArgsConstructor
> public enum SimpleObject_persona 
> implements PersonaWithBuilderScript /* <= only 1 type 
> param */ ... {
> FOO("Foo"),
> BAR("Bar"),
>   
>   ...
> public SimpleObjectBuilder builder() {
> return new SimpleObjectBuilder().setName(name);
> }
> public static class PersistAll
> extends PersonaEnumPersistAll /* <= 
> only 2 type params */ {
>   ...
> }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (ISIS-2100) Reduce call-site complexity of 'BuilderScripts'

2019-02-22 Thread Andi Huber (JIRA)


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

Andi Huber closed ISIS-2100.

Resolution: Fixed

Implemented. Also added a chapter to the migration notes.

> Reduce call-site complexity of 'BuilderScripts'
> ---
>
> Key: ISIS-2100
> URL: https://issues.apache.org/jira/browse/ISIS-2100
> Project: Isis
>  Issue Type: Improvement
>  Components: Core
>Reporter: Andi Huber
>Assignee: Andi Huber
>Priority: Major
> Fix For: 2.0.0-M3
>
>
> Removing type-params, where redundant ...
> {code:java}
> @Accessors(chain = true)
> public class SimpleObjectBuilder 
> extends BuilderScriptAbstract { // <= only 1 type param
> @Getter
> private SimpleObject object;
>   ...
> }
> @AllArgsConstructor
> public enum SimpleObject_persona 
> implements PersonaWithBuilderScript /* <= only 1 type 
> param */ ... {
> FOO("Foo"),
> BAR("Bar"),
>   
>   ...
> public SimpleObjectBuilder builder() {
> return new SimpleObjectBuilder().setName(name);
> }
> public static class PersistAll
> extends PersonaEnumPersistAll /* <= 
> only 2 type params */ {
>   ...
> }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ISIS-2033) IoC Container Integration

2019-02-22 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ISIS-2033:
---

Commit 3fbea87ec27d6baea2335256b3c7f30e4f07096d in isis's branch 
refs/heads/2033-IoC from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=3fbea87 ]

ISIS-2033: moves PersistenceSessionFactoryMetamodelRefiner to jdo-common

Task-Url: https://issues.apache.org/jira/browse/ISIS-2033

> IoC Container Integration
> -
>
> Key: ISIS-2033
> URL: https://issues.apache.org/jira/browse/ISIS-2033
> Project: Isis
>  Issue Type: Task
>Reporter: Andi Huber
>Assignee: Andi Huber
>Priority: Major
> Fix For: 2.0.0
>
>
> Dan and I discussed an idea, where there could be a way for the framework to 
> no longer 'care' about the persistence layer, session handling and event 
> handling. Instead delegating this responsibility to an IoC Container. With 
> that have all the domain objects being managed by the container and no longer 
> care about domain-object's life-cycles.
> Candidates being Spring and JEE.
> Some inspiring videos (Spring) ...
> [1] [https://www.youtube.com/watch?v=aA4tfBGY6jY]
>  [2] [https://www.youtube.com/watch?v=jDchAEHIht0]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ISIS-2100) Reduce call-site complexity of 'BuilderScripts'

2019-02-22 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ISIS-2100:
---

Commit 108d92c08dcf668de3743972e5872200b6c5cc18 in isis's branch 
refs/heads/2033-IoC from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=108d92c ]

ISIS-2100: Reduce call-site complexity of 'BuilderScripts'

Task-Url: https://issues.apache.org/jira/browse/ISIS-2100

> Reduce call-site complexity of 'BuilderScripts'
> ---
>
> Key: ISIS-2100
> URL: https://issues.apache.org/jira/browse/ISIS-2100
> Project: Isis
>  Issue Type: Improvement
>  Components: Core
>Reporter: Andi Huber
>Assignee: Andi Huber
>Priority: Major
> Fix For: 2.0.0-M3
>
>
> Removing type-params, where redundant ...
> {code:java}
> @Accessors(chain = true)
> public class SimpleObjectBuilder 
> extends BuilderScriptAbstract { // <= only 1 type param
> @Getter
> private SimpleObject object;
>   ...
> }
> @AllArgsConstructor
> public enum SimpleObject_persona 
> implements PersonaWithBuilderScript /* <= only 1 type 
> param */ ... {
> FOO("Foo"),
> BAR("Bar"),
>   
>   ...
> public SimpleObjectBuilder builder() {
> return new SimpleObjectBuilder().setName(name);
> }
> public static class PersistAll
> extends PersonaEnumPersistAll /* <= 
> only 2 type params */ {
>   ...
> }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ISIS-2100) Reduce call-site complexity of 'BuilderScripts'

2019-02-22 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ISIS-2100:
---

Commit 108d92c08dcf668de3743972e5872200b6c5cc18 in isis's branch 
refs/heads/2033-IoC from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=108d92c ]

ISIS-2100: Reduce call-site complexity of 'BuilderScripts'

Task-Url: https://issues.apache.org/jira/browse/ISIS-2100

> Reduce call-site complexity of 'BuilderScripts'
> ---
>
> Key: ISIS-2100
> URL: https://issues.apache.org/jira/browse/ISIS-2100
> Project: Isis
>  Issue Type: Improvement
>  Components: Core
>Reporter: Andi Huber
>Assignee: Andi Huber
>Priority: Major
> Fix For: 2.0.0-M3
>
>
> Removing type-params, where redundant ...
> {code:java}
> @Accessors(chain = true)
> public class SimpleObjectBuilder 
> extends BuilderScriptAbstract { // <= only 1 type param
> @Getter
> private SimpleObject object;
>   ...
> }
> @AllArgsConstructor
> public enum SimpleObject_persona 
> implements PersonaWithBuilderScript /* <= only 1 type 
> param */ ... {
> FOO("Foo"),
> BAR("Bar"),
>   
>   ...
> public SimpleObjectBuilder builder() {
> return new SimpleObjectBuilder().setName(name);
> }
> public static class PersistAll
> extends PersonaEnumPersistAll /* <= 
> only 2 type params */ {
>   ...
> }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ISIS-2033) IoC Container Integration

2019-02-22 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ISIS-2033:
---

Commit ded1cec9883aec14583a9709e408a1584ab2b53d in isis's branch 
refs/heads/2033-IoC from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=ded1cec ]

ISIS-2033: intermediate breaking commit

Task-Url: https://issues.apache.org/jira/browse/ISIS-2033

> IoC Container Integration
> -
>
> Key: ISIS-2033
> URL: https://issues.apache.org/jira/browse/ISIS-2033
> Project: Isis
>  Issue Type: Task
>Reporter: Andi Huber
>Assignee: Andi Huber
>Priority: Major
> Fix For: 2.0.0
>
>
> Dan and I discussed an idea, where there could be a way for the framework to 
> no longer 'care' about the persistence layer, session handling and event 
> handling. Instead delegating this responsibility to an IoC Container. With 
> that have all the domain objects being managed by the container and no longer 
> care about domain-object's life-cycles.
> Candidates being Spring and JEE.
> Some inspiring videos (Spring) ...
> [1] [https://www.youtube.com/watch?v=aA4tfBGY6jY]
>  [2] [https://www.youtube.com/watch?v=jDchAEHIht0]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ISIS-2033) IoC Container Integration

2019-02-22 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ISIS-2033:
---

Commit ded1cec9883aec14583a9709e408a1584ab2b53d in isis's branch 
refs/heads/2033-IoC from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=ded1cec ]

ISIS-2033: intermediate breaking commit

Task-Url: https://issues.apache.org/jira/browse/ISIS-2033

> IoC Container Integration
> -
>
> Key: ISIS-2033
> URL: https://issues.apache.org/jira/browse/ISIS-2033
> Project: Isis
>  Issue Type: Task
>Reporter: Andi Huber
>Assignee: Andi Huber
>Priority: Major
> Fix For: 2.0.0
>
>
> Dan and I discussed an idea, where there could be a way for the framework to 
> no longer 'care' about the persistence layer, session handling and event 
> handling. Instead delegating this responsibility to an IoC Container. With 
> that have all the domain objects being managed by the container and no longer 
> care about domain-object's life-cycles.
> Candidates being Spring and JEE.
> Some inspiring videos (Spring) ...
> [1] [https://www.youtube.com/watch?v=aA4tfBGY6jY]
>  [2] [https://www.youtube.com/watch?v=jDchAEHIht0]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ISIS-2033) IoC Container Integration

2019-02-22 Thread ASF subversion and git services (JIRA)


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

ASF subversion and git services commented on ISIS-2033:
---

Commit 3fbea87ec27d6baea2335256b3c7f30e4f07096d in isis's branch 
refs/heads/2033-IoC from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=3fbea87 ]

ISIS-2033: moves PersistenceSessionFactoryMetamodelRefiner to jdo-common

Task-Url: https://issues.apache.org/jira/browse/ISIS-2033

> IoC Container Integration
> -
>
> Key: ISIS-2033
> URL: https://issues.apache.org/jira/browse/ISIS-2033
> Project: Isis
>  Issue Type: Task
>Reporter: Andi Huber
>Assignee: Andi Huber
>Priority: Major
> Fix For: 2.0.0
>
>
> Dan and I discussed an idea, where there could be a way for the framework to 
> no longer 'care' about the persistence layer, session handling and event 
> handling. Instead delegating this responsibility to an IoC Container. With 
> that have all the domain objects being managed by the container and no longer 
> care about domain-object's life-cycles.
> Candidates being Spring and JEE.
> Some inspiring videos (Spring) ...
> [1] [https://www.youtube.com/watch?v=aA4tfBGY6jY]
>  [2] [https://www.youtube.com/watch?v=jDchAEHIht0]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)