Jenkins build is back to normal : cayenne-master ยป hsql,JDK 1.8 (latest),ubuntu #748

2017-10-13 Thread Apache Jenkins Server
See 




cayenne git commit: CAY-2370 ValueObjectType for byte[] fails lookup

2017-10-13 Thread ntimofeev
Repository: cayenne
Updated Branches:
  refs/heads/STABLE-4.0 859f459c2 -> 29c17b08f


CAY-2370 ValueObjectType for byte[] fails lookup


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/29c17b08
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/29c17b08
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/29c17b08

Branch: refs/heads/STABLE-4.0
Commit: 29c17b08fbeba73190afc887e0d86f3abfb22239
Parents: 859f459
Author: Nikita Timofeev 
Authored: Fri Oct 13 15:06:05 2017 +0300
Committer: Nikita Timofeev 
Committed: Fri Oct 13 15:06:05 2017 +0300

--
 .../access/types/ValueObjectTypeFactory.java| 11 +--
 .../types/ValueObjectTypeFactoryOrderTest.java  | 70 
 .../types/ValueObjectTypeFactoryTest.java   | 84 
 docs/doc/src/main/resources/RELEASE-NOTES.txt   |  3 +-
 4 files changed, 162 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/29c17b08/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
--
diff --git 
a/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
 
b/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
index 5ce4273..bdcf863 100644
--- 
a/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
+++ 
b/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
@@ -22,6 +22,7 @@ package org.apache.cayenne.access.types;
 import java.sql.CallableStatement;
 import java.sql.PreparedStatement;
 import java.sql.ResultSet;
+import java.util.Objects;
 
 /**
  * @since 4.0
@@ -45,19 +46,19 @@ public class ValueObjectTypeFactory implements 
ExtendedTypeFactory {
 if(valueObjectType == null) {
 return null;
 }
-ExtendedType decorator = 
map.getExplictlyRegisteredType(valueObjectType.getTargetType().getName());
+ExtendedType decorator = 
map.getExplictlyRegisteredType(valueObjectType.getTargetType().getCanonicalName());
 
 return new ExtendedTypeConverter(decorator, valueObjectType);
 }
 
 static class ExtendedTypeConverter implements ExtendedType {
 
-private ExtendedType extendedType;
-private ValueObjectType valueObjectType;
+ExtendedType extendedType;
+ValueObjectType valueObjectType;
 
 ExtendedTypeConverter(ExtendedType extendedType, ValueObjectType valueObjectType) {
-this.extendedType = extendedType;
-this.valueObjectType = valueObjectType;
+this.extendedType = Objects.requireNonNull(extendedType);
+this.valueObjectType = Objects.requireNonNull(valueObjectType);
 }
 
 @Override

http://git-wip-us.apache.org/repos/asf/cayenne/blob/29c17b08/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
--
diff --git 
a/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
 
b/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
new file mode 100644
index 000..41843a9
--- /dev/null
+++ 
b/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
@@ -0,0 +1,70 @@
+package org.apache.cayenne.access.types;
+
+import org.junit.Before;
+import org.junit.Test;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.UUID;
+
+import static org.junit.Assert.*;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
+
+public class ValueObjectTypeFactoryOrderTest {
+ExtendedTypeMap extendedTypeMap;
+ValueObjectType valueObjectType1, valueObjectType2;
+ExtendedType tstType1, tstType2;
+
+@Before
+public void setUpRegistry(){
+valueObjectType1 = createMockValueType(UUID.class, byte[].class);
+valueObjectType2 = createMockValueType(UUID.class, String.class);
+
+extendedTypeMap = new ExtendedTypeMap();
+
+tstType1 = mock(ExtendedType.class);
+when(tstType1.getClassName()).thenReturn("byte[]");
+extendedTypeMap.registerType(tstType1);
+
+tstType2 = new MockExtendedType(String.class);
+extendedTypeMap.registerType(tstType2);
+}
+
+private ValueObjectType createMockValueType(Class valueClass, Class 
targetClass) {
+ValueObjectType valueObjectType = mock(ValueObjectType.class);
+when(valueObjectType.getValueType()).thenReturn(valueClass);
+

[jira] [Commented] (CAY-2370) ValueObjectType for byte[] fails lookup

2017-10-13 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CAY-2370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16203435#comment-16203435
 ] 

ASF GitHub Bot commented on CAY-2370:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/245


> ValueObjectType for byte[] fails lookup
> ---
>
> Key: CAY-2370
> URL: https://issues.apache.org/jira/browse/CAY-2370
> Project: Cayenne
>  Issue Type: Bug
>  Components: Core Library
>Affects Versions: 4.0.B2
>Reporter: Dirk Lattermann
>Assignee: Nikita Timofeev
>  Labels: pull-request-available
> Fix For: 4.0.B3, 4.1.M2
>
>
> Trying to register a ValueObjectType using
>   .addModule(binder -> ServerModule.contributeValueObjectTypes(binder)
>   .add(H2UUIDValueObjectType.class))
> does not work, because in ValueObjectTypeFactory, method getType(Class), 
> the lookup map.getExplicitlyRegisteredType() returns null. This is because a 
> key of "byte[]" is present in the typeMap of the ExtendedTypeMap, but the 
> lookup is done with the className, which is "[B".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] cayenne pull request #245: CAY-2370 ValueObjectType for byte[] fails lookup

2017-10-13 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/245


---


[3/5] cayenne git commit: Merge remote-tracking branch 'remotes/parent/pr/245' into asf-master

2017-10-13 Thread ntimofeev
Merge remote-tracking branch 'remotes/parent/pr/245' into asf-master


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/1957e9dd
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/1957e9dd
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/1957e9dd

Branch: refs/heads/master
Commit: 1957e9ddec279aa13ccb7ccddf39edf6552d211c
Parents: 4637acd f731a4a
Author: Nikita Timofeev 
Authored: Fri Oct 13 14:34:44 2017 +0300
Committer: Nikita Timofeev 
Committed: Fri Oct 13 14:34:44 2017 +0300

--
 .../access/types/ValueObjectTypeFactory.java| 11 ++-
 .../types/ValueObjectTypeFactoryOrderTest.java  | 73 +++
 .../types/ValueObjectTypeFactoryTest.java   | 96 
 docs/doc/src/main/resources/RELEASE-NOTES.txt   |  1 +
 4 files changed, 176 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/1957e9dd/docs/doc/src/main/resources/RELEASE-NOTES.txt
--



[4/5] cayenne git commit: Add 4.1.M2 version

2017-10-13 Thread ntimofeev
Add 4.1.M2 version


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/cf12122d
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/cf12122d
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/cf12122d

Branch: refs/heads/master
Commit: cf12122dbc1c8fb58413c57def8624a36283e926
Parents: 1957e9d
Author: Nikita Timofeev 
Authored: Fri Oct 13 14:36:11 2017 +0300
Committer: Nikita Timofeev 
Committed: Fri Oct 13 14:36:11 2017 +0300

--
 docs/doc/src/main/resources/RELEASE-NOTES.txt | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/cf12122d/docs/doc/src/main/resources/RELEASE-NOTES.txt
--
diff --git a/docs/doc/src/main/resources/RELEASE-NOTES.txt 
b/docs/doc/src/main/resources/RELEASE-NOTES.txt
index 2d21a1a..01cab73 100644
--- a/docs/doc/src/main/resources/RELEASE-NOTES.txt
+++ b/docs/doc/src/main/resources/RELEASE-NOTES.txt
@@ -8,6 +8,17 @@ To browse individual bug reports check out project issue 
tracker:
 https://issues.apache.org/jira/browse/CAY
 
 --
+Release: 4.1.M2
+Date:
+--
+Changes/New Features:
+
+
+Bug Fixes:
+
+CAY-2370 ValueObjectType for byte[] fails lookup
+
+--
 Release: 4.1.M1
 Date:
 --
@@ -49,7 +60,6 @@ CAY-2365 SQLExec query tries to convert (unexpected) result 
set into objects
 CAY-2366 Incorrect EJBQL COUNT translation
 CAY-2367 ClassCastException reading object with an attribute of type 'char'
 CAY-2368 ColumnSelect: Property.self() translates into wrong SQL code
-CAY-2370 ValueObjectType for byte[] fails lookup
 
 --
 Release: 4.0.B1



[5/5] cayenne git commit: Cleanup tests

2017-10-13 Thread ntimofeev
Cleanup tests


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/beabacef
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/beabacef
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/beabacef

Branch: refs/heads/master
Commit: beabacefa5464dbfda353461ad6306bb8aafba64
Parents: cf12122
Author: Nikita Timofeev 
Authored: Fri Oct 13 14:43:57 2017 +0300
Committer: Nikita Timofeev 
Committed: Fri Oct 13 14:43:57 2017 +0300

--
 .../types/ValueObjectTypeFactoryOrderTest.java  | 37 +++
 .../types/ValueObjectTypeFactoryTest.java   | 50 
 2 files changed, 36 insertions(+), 51 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/beabacef/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
--
diff --git 
a/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
 
b/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
index 94ed3b7..41843a9 100644
--- 
a/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
+++ 
b/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
@@ -1,6 +1,5 @@
 package org.apache.cayenne.access.types;
 
-import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
 
@@ -13,30 +12,30 @@ import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
 public class ValueObjectTypeFactoryOrderTest {
-ExtendedTypeMap map;
-DefaultValueObjectTypeRegistry registry;
-ValueObjectTypeFactory factory;
+ExtendedTypeMap extendedTypeMap;
 ValueObjectType valueObjectType1, valueObjectType2;
 ExtendedType tstType1, tstType2;
 
 @Before
 public void setUpRegistry(){
-valueObjectType1 = mock(ValueObjectType.class);
-when(valueObjectType1.getValueType()).thenReturn(UUID.class);
-when(valueObjectType1.getTargetType()).thenReturn(byte[].class);
+valueObjectType1 = createMockValueType(UUID.class, byte[].class);
+valueObjectType2 = createMockValueType(UUID.class, String.class);
 
-valueObjectType2 = mock(ValueObjectType.class);
-when(valueObjectType2.getValueType()).thenReturn(UUID.class);
-when(valueObjectType2.getTargetType()).thenReturn(String.class);
-
-map = new ExtendedTypeMap();
+extendedTypeMap = new ExtendedTypeMap();
 
 tstType1 = mock(ExtendedType.class);
 when(tstType1.getClassName()).thenReturn("byte[]");
-map.registerType(tstType1);
+extendedTypeMap.registerType(tstType1);
 
 tstType2 = new MockExtendedType(String.class);
-map.registerType(tstType2);
+extendedTypeMap.registerType(tstType2);
+}
+
+private ValueObjectType createMockValueType(Class valueClass, Class 
targetClass) {
+ValueObjectType valueObjectType = mock(ValueObjectType.class);
+when(valueObjectType.getValueType()).thenReturn(valueClass);
+when(valueObjectType.getTargetType()).thenReturn(targetClass);
+return valueObjectType;
 }
 
 @Test
@@ -45,9 +44,8 @@ public class ValueObjectTypeFactoryOrderTest {
 list.add(valueObjectType1);
 list.add(valueObjectType2);
 
-registry = new DefaultValueObjectTypeRegistry(list);
-
-factory = new ValueObjectTypeFactory(map,registry);
+DefaultValueObjectTypeRegistry registry = new 
DefaultValueObjectTypeRegistry(list);
+ValueObjectTypeFactory factory = new 
ValueObjectTypeFactory(extendedTypeMap,registry);
 
 ValueObjectTypeFactory.ExtendedTypeConverter converter = 
(ValueObjectTypeFactory.ExtendedTypeConverter) factory.getType(UUID.class);
 assertNotNull(converter);
@@ -61,9 +59,8 @@ public class ValueObjectTypeFactoryOrderTest {
 list.add(valueObjectType2);
 list.add(valueObjectType1);
 
-registry = new DefaultValueObjectTypeRegistry(list);
-
-factory = new ValueObjectTypeFactory(map,registry);
+DefaultValueObjectTypeRegistry registry = new 
DefaultValueObjectTypeRegistry(list);
+ValueObjectTypeFactory factory = new 
ValueObjectTypeFactory(extendedTypeMap,registry);
 
 ValueObjectTypeFactory.ExtendedTypeConverter converter = 
(ValueObjectTypeFactory.ExtendedTypeConverter) factory.getType(UUID.class);
 assertNotNull(converter);

http://git-wip-us.apache.org/repos/asf/cayenne/blob/beabacef/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryTest.java

[2/5] cayenne git commit: CAY-2370 ValueObjectType for byte[] fails lookup with tests

2017-10-13 Thread ntimofeev
CAY-2370 ValueObjectType for byte[] fails lookup with tests


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/f731a4a3
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/f731a4a3
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/f731a4a3

Branch: refs/heads/master
Commit: f731a4a3f353c03c2d3728742c7b34b93deb9526
Parents: d226eee
Author: Arseni Bulatski 
Authored: Wed Oct 11 13:33:40 2017 +0300
Committer: Arseni Bulatski 
Committed: Wed Oct 11 13:33:40 2017 +0300

--
 .../access/types/ValueObjectTypeFactory.java|  9 +-
 .../types/ValueObjectTypeFactoryOrderTest.java  | 73 +++
 .../types/ValueObjectTypeFactoryTest.java   | 96 
 3 files changed, 174 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/f731a4a3/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
--
diff --git 
a/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
 
b/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
index f67b621..bdcf863 100644
--- 
a/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
+++ 
b/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
@@ -22,6 +22,7 @@ package org.apache.cayenne.access.types;
 import java.sql.CallableStatement;
 import java.sql.PreparedStatement;
 import java.sql.ResultSet;
+import java.util.Objects;
 
 /**
  * @since 4.0
@@ -52,12 +53,12 @@ public class ValueObjectTypeFactory implements 
ExtendedTypeFactory {
 
 static class ExtendedTypeConverter implements ExtendedType {
 
-private ExtendedType extendedType;
-private ValueObjectType valueObjectType;
+ExtendedType extendedType;
+ValueObjectType valueObjectType;
 
 ExtendedTypeConverter(ExtendedType extendedType, ValueObjectType valueObjectType) {
-this.extendedType = extendedType;
-this.valueObjectType = valueObjectType;
+this.extendedType = Objects.requireNonNull(extendedType);
+this.valueObjectType = Objects.requireNonNull(valueObjectType);
 }
 
 @Override

http://git-wip-us.apache.org/repos/asf/cayenne/blob/f731a4a3/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
--
diff --git 
a/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
 
b/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
new file mode 100644
index 000..94ed3b7
--- /dev/null
+++ 
b/cayenne-server/src/test/java/org/apache/cayenne/access/types/ValueObjectTypeFactoryOrderTest.java
@@ -0,0 +1,73 @@
+package org.apache.cayenne.access.types;
+
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Test;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.UUID;
+
+import static org.junit.Assert.*;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
+
+public class ValueObjectTypeFactoryOrderTest {
+ExtendedTypeMap map;
+DefaultValueObjectTypeRegistry registry;
+ValueObjectTypeFactory factory;
+ValueObjectType valueObjectType1, valueObjectType2;
+ExtendedType tstType1, tstType2;
+
+@Before
+public void setUpRegistry(){
+valueObjectType1 = mock(ValueObjectType.class);
+when(valueObjectType1.getValueType()).thenReturn(UUID.class);
+when(valueObjectType1.getTargetType()).thenReturn(byte[].class);
+
+valueObjectType2 = mock(ValueObjectType.class);
+when(valueObjectType2.getValueType()).thenReturn(UUID.class);
+when(valueObjectType2.getTargetType()).thenReturn(String.class);
+
+map = new ExtendedTypeMap();
+
+tstType1 = mock(ExtendedType.class);
+when(tstType1.getClassName()).thenReturn("byte[]");
+map.registerType(tstType1);
+
+tstType2 = new MockExtendedType(String.class);
+map.registerType(tstType2);
+}
+
+@Test
+public void testByteFirstOrder(){
+List list = new ArrayList<>();
+list.add(valueObjectType1);
+list.add(valueObjectType2);
+
+registry = new DefaultValueObjectTypeRegistry(list);
+
+factory = new ValueObjectTypeFactory(map,registry);
+
+ValueObjectTypeFactory.ExtendedTypeConverter converter = 
(ValueObjectTypeFactory.ExtendedTypeConverter) factory.getType(UUID.class);
+

[1/5] cayenne git commit: CAY-2370 ValueObjectType for byte[] fails lookup

2017-10-13 Thread ntimofeev
Repository: cayenne
Updated Branches:
  refs/heads/master 4637acdf5 -> beabacefa


CAY-2370 ValueObjectType for byte[] fails lookup


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/d226eeeb
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/d226eeeb
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/d226eeeb

Branch: refs/heads/master
Commit: d226eeeb390d840fa53cbde79f24910bed1518e2
Parents: 2568f02
Author: Arseni Bulatski 
Authored: Tue Oct 10 12:40:26 2017 +0300
Committer: Arseni Bulatski 
Committed: Tue Oct 10 12:40:26 2017 +0300

--
 .../org/apache/cayenne/access/types/ValueObjectTypeFactory.java| 2 +-
 docs/doc/src/main/resources/RELEASE-NOTES.txt  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/cayenne/blob/d226eeeb/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
--
diff --git 
a/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
 
b/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
index 5ce4273..f67b621 100644
--- 
a/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
+++ 
b/cayenne-server/src/main/java/org/apache/cayenne/access/types/ValueObjectTypeFactory.java
@@ -45,7 +45,7 @@ public class ValueObjectTypeFactory implements 
ExtendedTypeFactory {
 if(valueObjectType == null) {
 return null;
 }
-ExtendedType decorator = 
map.getExplictlyRegisteredType(valueObjectType.getTargetType().getName());
+ExtendedType decorator = 
map.getExplictlyRegisteredType(valueObjectType.getTargetType().getCanonicalName());
 
 return new ExtendedTypeConverter(decorator, valueObjectType);
 }

http://git-wip-us.apache.org/repos/asf/cayenne/blob/d226eeeb/docs/doc/src/main/resources/RELEASE-NOTES.txt
--
diff --git a/docs/doc/src/main/resources/RELEASE-NOTES.txt 
b/docs/doc/src/main/resources/RELEASE-NOTES.txt
index a4e62b9..c91ec34 100644
--- a/docs/doc/src/main/resources/RELEASE-NOTES.txt
+++ b/docs/doc/src/main/resources/RELEASE-NOTES.txt
@@ -48,6 +48,7 @@ CAY-2365 SQLExec query tries to convert (unexpected) result 
set into objects
 CAY-2366 Incorrect EJBQL COUNT translation
 CAY-2367 ClassCastException reading object with an attribute of type 'char'
 CAY-2368 ColumnSelect: Property.self() translates into wrong SQL code
+CAY-2370 ValueObjectType for byte[] fails lookup
 
 --
 Release: 4.0.B1



svn commit: r1019452 - /websites/production/cayenne/content/

2017-10-13 Thread ntimofeev
Author: ntimofeev
Date: Fri Oct 13 11:30:18 2017
New Revision: 1019452

Log:
4.1.M1 documentation

Added:
websites/production/cayenne/content/
  - copied from r1019451, websites/staging/cayenne/trunk/content/



svn commit: r1019450 - in /websites/staging/cayenne/trunk/content: ./ docs/ docs/4.1/ docs/4.1/api/ docs/4.1/api/org/ docs/4.1/api/org/apache/ docs/4.1/api/org/apache/cayenne/ docs/4.1/api/org/apache/

2017-10-13 Thread buildbot
Author: buildbot
Date: Fri Oct 13 10:45:48 2017
New Revision: 1019450

Log:
Staging update by buildbot for cayenne


[This commit notification would consist of 530 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]


svn commit: r1812105 - in /cayenne/site/cms/trunk/content/docs: ./ 4.1/ 4.1/api/ 4.1/api/org/ 4.1/api/org/apache/ 4.1/api/org/apache/cayenne/ 4.1/api/org/apache/cayenne/access/ 4.1/api/org/apache/caye

2017-10-13 Thread ntimofeev
Author: ntimofeev
Date: Fri Oct 13 10:22:59 2017
New Revision: 1812105

URL: http://svn.apache.org/viewvc?rev=1812105=rev
Log:
4.1.M1 documentation


[This commit notification would consist of 535 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]


[jira] [Updated] (CAY-2333) Project XML extensions

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2333:
-
Fix Version/s: (was: 4.1.M1)
   4.1.M2

> Project XML extensions
> --
>
> Key: CAY-2333
> URL: https://issues.apache.org/jira/browse/CAY-2333
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Modeler, Non-GUI Tools
>Affects Versions: 4.1.M1
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
> Fix For: 4.1.M2
>
>
> Cayenne need flexible project XML extensions mechanism to allow attach some 
> meta information to project, that will not affect runtime.
> Use cases can be following:
> * General comments for entities, attributes and relationships
> * Reverse engineering config
> * Cgen config
> * ER and Class diagram
> Possible linked tasks CAY-400 and CAY-56
> Here is main API for project extensions:
> {code}
> public interface ProjectExtension {
> /**
>  * @return delegate that handle loading phase of XML processing
>  */
> LoaderDelegate createLoaderDelegate();
> /**
>  * @return delegate that handle saving phase of XML processing
>  */
> SaverDelegate createSaverDelegate();
> }
> public interface LoaderDelegate {
> /**
>  * @return target namespace that this extension is using
>  */
> String getTargetNamespace();
> /**
>  * Create handler that will handle parsing process further.
>  */
> NamespaceAwareNestedTagHandler 
> createHandler(NamespaceAwareNestedTagHandler parent, String tag);
> }
> public interface SaverDelegate extends ConfigurationNodeVisitor {
> /**
>  * @param encoder provided by caller
>  */
> void setXMLEncoder(XMLEncoder encoder);
> void setParentDelegate(SaverDelegate parentDelegate);
> SaverDelegate getParentDelegate();
> }
> {code}
> Extension can be contributed via 
> {{ProjectModule.contributeExtensions(Binder)}} method.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2253) Cayenne JDK9 compatibility

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2253:
-
Fix Version/s: (was: 4.1.M1)
   4.1.M2

> Cayenne JDK9 compatibility
> --
>
> Key: CAY-2253
> URL: https://issues.apache.org/jira/browse/CAY-2253
> Project: Cayenne
>  Issue Type: Task
>Affects Versions: 4.0.M5
> Environment: Java 9
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
> Fix For: 4.0.B3, 4.1.M2
>
>
> # All tests that validate di.spi.ModuleProvider presence fail as 
> ServiceLoader loads 2 providers instead of 1.
> # *cayenne-server*
> All tests related to hessian serialization are in error.
> # *cayenne-client*
> All tests related to hessian serialization are in error.
> {quote}Unable to make private java.lang.StackTraceElement() accessible: 
> module java.base does not "opens java.lang" to unnamed module{quote}
> # *cayenne-crypto*
> javax.xml.bind.DatatypeConverter moved to a module that is not loaded by 
> default
> see http://mail.openjdk.java.net/pipermail/jdk9-dev/2016-May/004309.html
> {quote}
>   Caused by: java.lang.ClassNotFoundException: 
> javax.xml.bind.DatatypeConverter
>   at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:533)
>   at 
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:186)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:476)
>   ... 32 more
> {quote}
> # *cayenne-protostuff*
> All tests related to protostuff serialization are in error.
> {quote}Caused by: java.lang.reflect.InaccessibleObjectException: Unable to 
> make field private final java.lang.Object 
> java.util.Collections$SingletonSet.element accessible: module java.base does 
> not "opens java.util" to unnamed module{quote}
> # *cayenne-doc*
> Not really understood why this module is failing
> # *tutorial-rop-server*
> Seems that maven-war-plugin (3.0.0) is not compatible:
> {quote}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-war-plugin:3.0.0:war (default-war) on project 
> tutorial-rop-server: Execution default-war of goal 
> org.apache.maven.plugins:maven-war-plugin:3.0.0:war failed: Unable to load 
> the mojo 'war' in the plugin 
> 'org.apache.maven.plugins:maven-war-plugin:3.0.0' due to an API 
> incompatibility: 
> org.codehaus.plexus.component.repository.exception.ComponentLookupException: 
> null
> ...
> [ERROR] -: 
> ExceptionInInitializerError: Unable to make field private final 
> java.util.Comparator java.util.TreeMap.comparator accessible: module 
> java.base does not "opens java.util" to unnamed module @7f51f588
> [ERROR] -> [Help 1]{quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2337) Save reverse engineering configuration with datamap XML

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2337:
-
Fix Version/s: (was: 4.1.M1)
   4.1.M2

> Save reverse engineering configuration with datamap XML
> ---
>
> Key: CAY-2337
> URL: https://issues.apache.org/jira/browse/CAY-2337
> Project: Cayenne
>  Issue Type: Sub-task
>  Components: Modeler, Non-GUI Tools
>Affects Versions: 4.1.M1
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
> Fix For: 4.1.M2
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2338) Support comments in cgen and default templates

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2338:
-
Fix Version/s: (was: 4.1.M1)
   4.1.M2

> Support comments in cgen and default templates
> --
>
> Key: CAY-2338
> URL: https://issues.apache.org/jira/browse/CAY-2338
> Project: Cayenne
>  Issue Type: Sub-task
>  Components: Modeler, Non-GUI Tools
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
> Fix For: 4.1.M2
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2334) cgen: option to force run from maven/gradle

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2334:
-
Fix Version/s: (was: 4.1.M1)
   4.1.M2

> cgen: option to force run from maven/gradle
> ---
>
> Key: CAY-2334
> URL: https://issues.apache.org/jira/browse/CAY-2334
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Non-GUI Tools
>Affects Versions: 4.1.M1
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
> Fix For: 4.1.M2
>
>
> Currently {{cgen}} checks file modification and skips class generation 
> completely if data map file hasn't changed.  This can lead to minor annoyance 
> in case you need to generate new classes when templates changed (or whatever 
> reason user might have), plus there can be some bugs in this mechanics.
> Additionally this behavior should be mentioned in docs.
> Offered change is as simple as adding new option in {{cgen}} config that 
> forces complete java code regeneration.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2370) ValueObjectType for byte[] fails lookup

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2370:
-
Fix Version/s: (was: 4.1.M1)
   4.1.M2

> ValueObjectType for byte[] fails lookup
> ---
>
> Key: CAY-2370
> URL: https://issues.apache.org/jira/browse/CAY-2370
> Project: Cayenne
>  Issue Type: Bug
>  Components: Core Library
>Affects Versions: 4.0.B2
>Reporter: Dirk Lattermann
>Assignee: Nikita Timofeev
>  Labels: pull-request-available
> Fix For: 4.0.B3, 4.1.M2
>
>
> Trying to register a ValueObjectType using
>   .addModule(binder -> ServerModule.contributeValueObjectTypes(binder)
>   .add(H2UUIDValueObjectType.class))
> does not work, because in ValueObjectTypeFactory, method getType(Class), 
> the lookup map.getExplicitlyRegisteredType() returns null. This is because a 
> key of "byte[]" is present in the typeMap of the ExtendedTypeMap, but the 
> lookup is done with the className, which is "[B".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2371) Convert all docs to AsciiDoc format

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2371:
-
Fix Version/s: 4.1.M2
   4.0.B3

> Convert all docs to AsciiDoc format
> ---
>
> Key: CAY-2371
> URL: https://issues.apache.org/jira/browse/CAY-2371
> Project: Cayenne
>  Issue Type: Task
>  Components: Documentation
>Reporter: Nikita Timofeev
> Fix For: 4.0.B3, 4.1.M2
>
>
> After some experiments with AsciiDoc it seems much user-friendlier format for 
> Cayenne documentation.
> And it looks nicer even in default styling (both HTML and PDF versions), and 
> can be customized far more easier.
> Additional goal to pursue is an ease of integration into new Cayenne web site.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2376) Review tutorials and docs code for compatibility with 4.1 version

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2376:
-
Fix Version/s: 4.1.M2

> Review tutorials and docs code for compatibility with 4.1 version
> -
>
> Key: CAY-2376
> URL: https://issues.apache.org/jira/browse/CAY-2376
> Project: Cayenne
>  Issue Type: Improvement
>Reporter: Nikita Timofeev
> Fix For: 4.1.M2
>
>
> * Java 8 / Java 7
> * Deprecated _Java8Module_
> * New _cgen_ templates (change in /tutorial/ projects and if visible in 
> tutorial docs)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2375) cayenne-osgi module

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2375:
-
Fix Version/s: 4.1.M2

> cayenne-osgi module
> ---
>
> Key: CAY-2375
> URL: https://issues.apache.org/jira/browse/CAY-2375
> Project: Cayenne
>  Issue Type: Sub-task
>  Components: Core Library
>Reporter: Nikita Timofeev
> Fix For: 4.1.M2
>
>
> package org.apache.cayenne.configuration.osgi



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2373) cayenne-rop-server module

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2373:
-
Fix Version/s: 4.1.M2

> cayenne-rop-server module
> -
>
> Key: CAY-2373
> URL: https://issues.apache.org/jira/browse/CAY-2373
> Project: Cayenne
>  Issue Type: Sub-task
>  Components: Core Library
>Reporter: Nikita Timofeev
> Fix For: 4.1.M2
>
>
> packages org.apache.cayenne.configuration.rop.server and 
> org.apache.cayenne.rop



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2374) cayenne-web module

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2374:
-
Fix Version/s: 4.1.M2

> cayenne-web module
> --
>
> Key: CAY-2374
> URL: https://issues.apache.org/jira/browse/CAY-2374
> Project: Cayenne
>  Issue Type: Sub-task
>  Components: Core Library
>Reporter: Nikita Timofeev
> Fix For: 4.1.M2
>
>
> package org.apache.cayenne.configuration.web, should be mentioned in tutorial 
> (web-app part)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2372) Extract new modules from cayenne-server

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2372:
-
Fix Version/s: 4.1.M2

> Extract new modules from cayenne-server
> ---
>
> Key: CAY-2372
> URL: https://issues.apache.org/jira/browse/CAY-2372
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Reporter: Nikita Timofeev
> Fix For: 4.1.M2
>
>
> There are some code inside cayenne-server that is logically independent from 
> it.
> Namely rop.server, web module and OSGI related stuff. This can be pushed out 
> into separate modules. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2377) Cleanup deprecated code

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2377:
-
Fix Version/s: 4.1.M2

> Cleanup deprecated code
> ---
>
> Key: CAY-2377
> URL: https://issues.apache.org/jira/browse/CAY-2377
> Project: Cayenne
>  Issue Type: Task
>Reporter: Nikita Timofeev
> Fix For: 4.1.M2
>
>
> After *4.1.M1* is out the doors I think it's time to make some cleanup and 
> remove code that was deprecated in *4.0*



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2378) Switch usage of SelectQuery to ObjectSelect internally

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2378:
-
Fix Version/s: 4.1.M2

> Switch usage of SelectQuery to ObjectSelect internally
> --
>
> Key: CAY-2378
> URL: https://issues.apache.org/jira/browse/CAY-2378
> Project: Cayenne
>  Issue Type: Task
>Reporter: Nikita Timofeev
> Fix For: 4.1.M2
>
>
> Recommended select query since 4.0 is {{ObjectSelect}}, that is converted 
> internally to {{SelectQuery}}.
> We can gain some performance and maintainability by inverting this, i.e. 
> using {{ObjectSelect}} directly in Cayenne stack and converting 
> {{SelectQuery}} to it.
> Important note: this should not affect any public API.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (CAY-2378) Switch usage of SelectQuery to ObjectSelect internally

2017-10-13 Thread Nikita Timofeev (JIRA)
Nikita Timofeev created CAY-2378:


 Summary: Switch usage of SelectQuery to ObjectSelect internally
 Key: CAY-2378
 URL: https://issues.apache.org/jira/browse/CAY-2378
 Project: Cayenne
  Issue Type: Task
Reporter: Nikita Timofeev


Recommended select query since 4.0 is {{ObjectSelect}}, that is converted 
internally to {{SelectQuery}}.
We can gain some performance and maintainability by inverting this, i.e. using 
{{ObjectSelect}} directly in Cayenne stack and converting {{SelectQuery}} to it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2378) Switch usage of SelectQuery to ObjectSelect internally

2017-10-13 Thread Nikita Timofeev (JIRA)

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

Nikita Timofeev updated CAY-2378:
-
Description: 
Recommended select query since 4.0 is {{ObjectSelect}}, that is converted 
internally to {{SelectQuery}}.
We can gain some performance and maintainability by inverting this, i.e. using 
{{ObjectSelect}} directly in Cayenne stack and converting {{SelectQuery}} to it.

Important note: this should not affect any public API.

  was:
Recommended select query since 4.0 is {{ObjectSelect}}, that is converted 
internally to {{SelectQuery}}.
We can gain some performance and maintainability by inverting this, i.e. using 
{{ObjectSelect}} directly in Cayenne stack and converting {{SelectQuery}} to it.


> Switch usage of SelectQuery to ObjectSelect internally
> --
>
> Key: CAY-2378
> URL: https://issues.apache.org/jira/browse/CAY-2378
> Project: Cayenne
>  Issue Type: Task
>Reporter: Nikita Timofeev
>
> Recommended select query since 4.0 is {{ObjectSelect}}, that is converted 
> internally to {{SelectQuery}}.
> We can gain some performance and maintainability by inverting this, i.e. 
> using {{ObjectSelect}} directly in Cayenne stack and converting 
> {{SelectQuery}} to it.
> Important note: this should not affect any public API.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (CAY-2348) Modeler: improve render on high res displays on MacOS

2017-10-13 Thread Andrus Adamchik (JIRA)

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

Andrus Adamchik updated CAY-2348:
-
Fix Version/s: (was: 4.0.B2)
   Undefined future

> Modeler: improve render on high res displays on MacOS
> -
>
> Key: CAY-2348
> URL: https://issues.apache.org/jira/browse/CAY-2348
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Modeler
>Affects Versions: 4.0.B1
> Environment: MacOS
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
>Priority: Minor
> Fix For: Undefined future
>
>
> MacOS version of Modeler have blurry fonts on high res displays, at the same 
> time Generic version on same display has normal render. So it's not a 
> platform to blame, but Cayenne launcher and/or startup settings.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (CAY-2377) Cleanup deprecated code

2017-10-13 Thread Nikita Timofeev (JIRA)
Nikita Timofeev created CAY-2377:


 Summary: Cleanup deprecated code
 Key: CAY-2377
 URL: https://issues.apache.org/jira/browse/CAY-2377
 Project: Cayenne
  Issue Type: Task
Reporter: Nikita Timofeev


After *4.1.M1* is out the doors I think it's time to make some cleanup and 
remove code that was deprecated in *4.0*




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (CAY-2376) Review tutorials and docs code for compatibility with 4.1 version

2017-10-13 Thread Nikita Timofeev (JIRA)
Nikita Timofeev created CAY-2376:


 Summary: Review tutorials and docs code for compatibility with 4.1 
version
 Key: CAY-2376
 URL: https://issues.apache.org/jira/browse/CAY-2376
 Project: Cayenne
  Issue Type: Improvement
Reporter: Nikita Timofeev


* Java 8 / Java 7
* Deprecated _Java8Module_
* New _cgen_ templates (change in /tutorial/ projects and if visible in 
tutorial docs)




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (CAY-2375) cayenne-osgi module

2017-10-13 Thread Nikita Timofeev (JIRA)
Nikita Timofeev created CAY-2375:


 Summary: cayenne-osgi module
 Key: CAY-2375
 URL: https://issues.apache.org/jira/browse/CAY-2375
 Project: Cayenne
  Issue Type: Sub-task
Reporter: Nikita Timofeev


package org.apache.cayenne.configuration.osgi



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (CAY-2374) cayenne-web module

2017-10-13 Thread Nikita Timofeev (JIRA)
Nikita Timofeev created CAY-2374:


 Summary: cayenne-web module
 Key: CAY-2374
 URL: https://issues.apache.org/jira/browse/CAY-2374
 Project: Cayenne
  Issue Type: Sub-task
Reporter: Nikita Timofeev


package org.apache.cayenne.configuration.web, should be mentioned in tutorial 
(web-app part)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (CAY-2373) cayenne-rop-server module

2017-10-13 Thread Nikita Timofeev (JIRA)
Nikita Timofeev created CAY-2373:


 Summary: cayenne-rop-server module
 Key: CAY-2373
 URL: https://issues.apache.org/jira/browse/CAY-2373
 Project: Cayenne
  Issue Type: Sub-task
  Components: Core Library
Reporter: Nikita Timofeev


packages org.apache.cayenne.configuration.rop.server and org.apache.cayenne.rop



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (CAY-2372) Extract new modules from cayenne-server

2017-10-13 Thread Nikita Timofeev (JIRA)
Nikita Timofeev created CAY-2372:


 Summary: Extract new modules from cayenne-server
 Key: CAY-2372
 URL: https://issues.apache.org/jira/browse/CAY-2372
 Project: Cayenne
  Issue Type: Task
  Components: Core Library
Reporter: Nikita Timofeev


There are some code inside cayenne-server that is logically independent from it.
Namely rop.server, web module and OSGI related stuff. This can be pushed out 
into separate modules. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (CAY-2371) Convert all docs to AsciiDoc format

2017-10-13 Thread Nikita Timofeev (JIRA)
Nikita Timofeev created CAY-2371:


 Summary: Convert all docs to AsciiDoc format
 Key: CAY-2371
 URL: https://issues.apache.org/jira/browse/CAY-2371
 Project: Cayenne
  Issue Type: Task
  Components: Documentation
Reporter: Nikita Timofeev


After some experiments with AsciiDoc it seems much user-friendlier format for 
Cayenne documentation.
And it looks nicer even in default styling (both HTML and PDF versions), and 
can be customized far more easier.
Additional goal to pursue is an ease of integration into new Cayenne web site.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)