[VOTE] Apache Isis simpleapp archetype 1.13.2.1 RC1

2016-12-31 Thread Dan Haywood
I've cut a release for Apache Isis Core and the simpleapp archetype:

* SimpleApp Archetype 1.13.2.1.

This version runs against Apache Isis 1.13.2, and corrects an issue noted
during the voting of 1.13.2 (a fixture scripts problem).
It also adds in support to package and run the application as a docker
image (see the generated README.adoc for details)

The source code artifacts have been uploaded to staging repositories on
repository.apache.org:

*
http://repository.apache.org/content/repositories/orgapacheisis-1053/org/apache/isis/archetype/simpleapp-archetype/1.13.2.1/simpleapp-archetype-1.13.2.1-source-release.zip

For each zip there is a corresponding signature file (append .asc to the
zip's url).

In the source code repo the code has been tagged as
simpleapp-archetype-1.13.2.1-RC1; see
https://git-wip-us.apache.org/repos/asf?p=isis.git;a=shortlog;h=refs/heads/release-1.13.2.1-RC1

For instructions on how to verify the release (build from binaries and/or
use in Maven directly), see
http://isis.apache.org/guides/cgcom.html#_cgcom_verifying-releases

Please verify the release and cast your vote.  The vote will be open for a
minimum of 72 hours.

[ ] +1
[ ]  0
[ ] -1


[jira] [Commented] (ISIS-1559) Remove the mixins from the simpleapp archetype - adds too much boilerplate

2016-12-31 Thread ASF subversion and git services (JIRA)

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

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

Commit acec89a5b2d0d26a6613fbe8d8bc4b6e527f9c6d in isis's branch 
refs/heads/release-1.13.2.1-RC1 from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=acec89a ]

ISIS-1559: minor edits to README of simpleapp


> Remove the mixins from the simpleapp archetype - adds too much boilerplate
> --
>
> Key: ISIS-1559
> URL: https://issues.apache.org/jira/browse/ISIS-1559
> Project: Isis
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: 1.13.2
>Reporter: Dan Haywood
>Assignee: Dan Haywood
>Priority: Minor
> Fix For: 1.13.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-1560) Release 1.13.2.1 archetype

2016-12-31 Thread ASF subversion and git services (JIRA)

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

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

Commit 2931909d7bf33979151c114820ff90785f8b2017 in isis's branch 
refs/heads/release-1.13.2.1-RC1 from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=2931909 ]

ISIS-1560: recreating simpleapp archetype


> Release 1.13.2.1 archetype
> --
>
> Key: ISIS-1560
> URL: https://issues.apache.org/jira/browse/ISIS-1560
> Project: Isis
>  Issue Type: Task
>  Components: Archetype: SimpleApp
>Affects Versions: 1.13.2
>Reporter: Dan Haywood
>Priority: Minor
> Fix For: 1.13.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ISIS-1562) Metamodel validator if forget to annotate @DomainObject(nature=ENTITY) with @PersistenceCapable

2016-12-31 Thread Dan Haywood (JIRA)
Dan Haywood created ISIS-1562:
-

 Summary: Metamodel validator if forget to annotate 
@DomainObject(nature=ENTITY) with @PersistenceCapable
 Key: ISIS-1562
 URL: https://issues.apache.org/jira/browse/ISIS-1562
 Project: Isis
  Issue Type: Improvement
  Components: Core
Affects Versions: 1.13.2
Reporter: Dan Haywood
Priority: Minor
 Fix For: 1.13.3


Also, RepositoryService#persist(...) is a no-op if the domain object passed in 
is not an entity; this should probably fail-fast.

This was originally prompted by an obscure message being thrown in 
Memento#updateFieldsAndResolveState(...), as the result of an entity being 
treated as transient, because (a) the @PersistenceCapable annotation was 
accidentally omitted, and (b) a call to RepositoryService#persist(...) just did 
nothing.

So, this ticket would be a fail-fast for that scenario.

{code}
private void updateFieldsAndResolveState(final ObjectAdapter objectAdapter, 
final Data data) {

boolean dataIsTransient = data.getOid().isTransient();

if (!dataIsTransient) {
   ...
} else if (objectAdapter.isTransient() && dataIsTransient) {
   ...

} else if (objectAdapter.isParentedCollection()) {
   ...

} else {

   // THIS IS THE BRANCH THAT'S TRIGGERED IF @PersistenceCapable IS 
ACCIDENTALLY OMITTED.

final ObjectData od = (ObjectData) data;
if (od.containsField()) {
throw new IsisException("Resolve state (for " + objectAdapter + 
") inconsistent with fact that data exists for fields");
}
}
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ISIS-1561) Release 1.13.3

2016-12-31 Thread Dan Haywood (JIRA)
Dan Haywood created ISIS-1561:
-

 Summary: Release 1.13.3
 Key: ISIS-1561
 URL: https://issues.apache.org/jira/browse/ISIS-1561
 Project: Isis
  Issue Type: Task
  Components: Core
Affects Versions: 1.13.2
Reporter: Dan Haywood
Priority: Minor
 Fix For: 1.13.3






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ISIS-1558) Extend simpleapp archetype to also build docker images

2016-12-31 Thread Dan Haywood (JIRA)

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

Dan Haywood updated ISIS-1558:
--
Fix Version/s: (was: 1.13.3)
   1.13.2.1

> Extend simpleapp archetype to also build docker images
> --
>
> Key: ISIS-1558
> URL: https://issues.apache.org/jira/browse/ISIS-1558
> Project: Isis
>  Issue Type: Improvement
>Affects Versions: 1.13.2
>Reporter: Dan Haywood
>Assignee: Dan Haywood
>Priority: Minor
> Fix For: 1.13.2.1
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ISIS-1560) Release 1.13.2.1 archetype

2016-12-31 Thread Dan Haywood (JIRA)
Dan Haywood created ISIS-1560:
-

 Summary: Release 1.13.2.1 archetype
 Key: ISIS-1560
 URL: https://issues.apache.org/jira/browse/ISIS-1560
 Project: Isis
  Issue Type: Task
  Components: Archetype: SimpleApp
Affects Versions: 1.13.2
Reporter: Dan Haywood
Priority: Minor
 Fix For: 1.13.2.1






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (ISIS-1280) Provide redirect hints so that when the user clicks on a rendered link, the viewer instead navigates to some other entity.

2016-12-31 Thread Dan Haywood (JIRA)

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

Dan Haywood updated ISIS-1280:
--
Description: 
This was originally raised as ISIS-666, but that ticket was repurposed and 
rescoped to be the ability to return a different object when an action is 
invoked (using the RoutingService SPI service).  That applies on the "response".

This ticket could be implemented through a "RedirectService" that applies on 
the "request".

Perhaps later on we might introduce annotations to support it also.

  was:
This was originally raised as ISIS-666, but that ticket was repurposed and 
rescoped to be the ability to return a different object when an action is 
invoked (using the RoutingService SPI service).  That applies on the "response".

This ticket could be implemented through a "RedirectService" that applies on 
the "request".


> Provide redirect hints so that when the user clicks on a rendered link, the 
> viewer instead navigates to some other entity.
> --
>
> Key: ISIS-1280
> URL: https://issues.apache.org/jira/browse/ISIS-1280
> Project: Isis
>  Issue Type: New Feature
>  Components: Core
>Affects Versions: 1.10.0
>Reporter: Dan Haywood
> Fix For: 1.14.0
>
>
> This was originally raised as ISIS-666, but that ticket was repurposed and 
> rescoped to be the ability to return a different object when an action is 
> invoked (using the RoutingService SPI service).  That applies on the 
> "response".
> This ticket could be implemented through a "RedirectService" that applies on 
> the "request".
> Perhaps later on we might introduce annotations to support it also.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-513) Wicket: Pdf.js display in browser natively

2016-12-31 Thread Dan Haywood (JIRA)

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

Dan Haywood commented on ISIS-513:
--

Had a go at running this yesterday... looks good, if basic.

Looking at pdf.js website they have a demo 
(https://mozilla.github.io/pdf.js/web/viewer.html) which shows off a number of 
other features of the pdf.js plugin.

Perhaps it would be good to have a full-screen mode (a bit like the summernote 
editor?) which could act as an overlay perhaps activated by simply clicking 
on the pdf image, or perhaps a "preview" button?

If we went that way, then perhaps the next/previous buttons wouldn't be needed?

> Wicket: Pdf.js display in browser natively
> --
>
> Key: ISIS-513
> URL: https://issues.apache.org/jira/browse/ISIS-513
> Project: Isis
>  Issue Type: New Feature
>  Components: Core: Viewer: Wicket
>Affects Versions: viewer-wicket-1.2.0
>Reporter: Dan Haywood
>Assignee: Dan Haywood
> Fix For: 1.14.0
>
>
> Render PDFs in browser natively



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)