See <http://ci.chorem.org/jenkins/job/pollen-rest-api-ci/org.chorem.pollen$pollen-rest-api/537/changes> Changes: [Tony CHEMIT] optimize dependencies [Tony CHEMIT] update license, headers, ... [Tony CHEMIT] refs #885 : move to Topia3 stack [Tony CHEMIT] technical stack is nearly ok [Tony CHEMIT] optimze dependencies + add missing license headers [Tony CHEMIT] use specific configuration files (pollen-services.properties, pollen-rest-api.properties to avoid any collision with existing config) [Tony CHEMIT] simplify rest-api starting + add some conf [Tony CHEMIT] simplify rest-api starting + add some conf [Tony CHEMIT] fix ui-angular war deploy [Tony CHEMIT] pass ChoiceType to Choice, no more to Poll + add Rest Doc action + begin to add Rest API tests [Tony CHEMIT] improve tests [Tony CHEMIT] debug poll create + fix voteCounting id [Tony CHEMIT] - introduce email + notification service [Tony CHEMIT] make test more human readable [Tony CHEMIT] fix PollRenderer : Hate the hibernate proxies... [Tony CHEMIT] simplify form exception (keep only one) [Tony CHEMIT] continue dev + begin of implements correct security [Tony CHEMIT] improve rest api [Tony CHEMIT] optimize dependenceis + add license headers + use commons-collections4 [Tony CHEMIT] security + sumplify exceptions + ... [Tony CHEMIT] fix dep + clean code [Tony CHEMIT] reformat rest api + use PollenPrincipalRef for create operations [Tony CHEMIT] fix security permission [Tony CHEMIT] - receive object as json [Tony CHEMIT] fix json serialization [Tony CHEMIT] improve conversions and lots of stuff... to be continued... [Tony CHEMIT] fix converter test [Tony CHEMIT] - use a visitor to copy services objects (outside the services everything should be transient) [Tony CHEMIT] improve copy visitor + remove old code in Render [garandel] autosave choice with ChoiceApi [Tony CHEMIT] do not send back an edited object + clean some api [Tony CHEMIT] somebody lies to me\! He told me it did not need edited value in return, but he does in facts... D [Tony CHEMIT] always prepare response even if there was an error [Tony CHEMIT] implements CORS response from pollen not webmotion [Tony CHEMIT] optimize dependencies [Tony CHEMIT] introduce converter package + a JsonConverter to replace the EntityConverter + add some bean for vote [Tony CHEMIT] can not delete last choice of a poll [Tony CHEMIT] can now vote [Tony CHEMIT] copy voter to VoteBean [Tony CHEMIT] use only pollen bean in services prototypes [Tony CHEMIT] rename session cookie name [Tony CHEMIT] add a create entity ref after login [Tony CHEMIT] use a real session object stored in cookie [Tony CHEMIT] review login workflow [Tony CHEMIT] Reuse Gson + fix vote choices order [a.garandel] login user [Tony CHEMIT] make login works [Tony CHEMIT] use a header to get session token [Tony CHEMIT] fix typo [Tony CHEMIT] improve auth service and make logout works [Tony CHEMIT] Add sessionToken remove logic [Tony CHEMIT] make security works in tests + downgrade tomcat version [a.garandel] catch session expired [Tony CHEMIT] change error code when session token is expired [Tony CHEMIT] vote counting service [Tony CHEMIT] fix runtime dep [Tony CHEMIT] encode ids [Tony CHEMIT] use everywhere PollenEntityId [Tony CHEMIT] introduce json helper + use a PollenEntityRef [Tony CHEMIT] use bean for vote counting result (to encore ids) [a.garandel] Add Comment [a.garandel] update style of form comment, get permission of the poll [Tony CHEMIT] Use pagination list for comments, polls, favoriteLists and users + improve PollenBeans API [Tony CHEMIT] rename pagination beans [Tony CHEMIT] Improve pagination API [a.garandel] add form for edit user [Tony CHEMIT] use only email as login [Tony CHEMIT] review favorite list member and voter list member association ------------------------------------------ [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Pollen :: Rest Api 2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/debux/webmotio... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/debux/webmo... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/debux/webmotio... (2 KB at 1.3 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/debux/webmo... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/debux/webmotio... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/debux/webmotio... (613 B at 1.7 KB/sec) [WARNING] The POM for org.antlr:stringtemplate:jar:3.2.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/org/debux/webmo... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/debux/webmotio... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/debux/webmotio... (2 KB at 3.1 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/httpcom... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/httpcom... (5 KB at 124.8 KB/sec) [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/fluent-hc/4.3.... [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/fluent-hc/4.3.... (5 KB at 169.4 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... (2 KB at 53.3 KB/sec) [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-cor... [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-cor... (2 KB at 69.7 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... (2 KB at 47.1 KB/sec) [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-jas... [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-jas... (2 KB at 62.8 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/ecli... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/eclipse/jdt/co... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/eclipse/jdt/co... (2 KB at 48.4 KB/sec) [INFO] Downloading: http://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.3.1/... [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.3.1/... (2 KB at 55.5 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... (2 KB at 36.1 KB/sec) [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-log... [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-log... (2 KB at 49.4 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... (2 KB at 33.4 KB/sec) [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-log... [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-log... (2 KB at 49.5 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/ecli... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/central-releases/org/apac... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/httpcom... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/eclipse/jdt/co... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/httpcom... (29 KB at 500.4 KB/sec) [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... (38 KB at 250.2 KB/sec) [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... (83 KB at 559.9 KB/sec) [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... (781 KB at 2109.8 KB/sec) [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/apache/tomcat/... (2804 KB at 5965.1 KB/sec) [INFO] Downloaded: http://nexus.nuiton.org/nexus/content/groups/pollen-group/org/eclipse/jdt/co... (1788 KB at 3405.5 KB/sec) [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/fluent-hc/4.3.... [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-cor... [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-jas... [INFO] Downloading: http://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.3.1/... [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-log... [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/httpcomponents/fluent-hc/4.3.... (29 KB at 1037.9 KB/sec) [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-log... [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-log... (83 KB at 2239.7 KB/sec) [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-log... (38 KB at 250.2 KB/sec) [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-jas... (781 KB at 3903.1 KB/sec) [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.3.1/... (1788 KB at 6903.0 KB/sec) [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/tomcat/embed/tomcat-embed-cor... (2804 KB at 10048.7 KB/sec) [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pollen-rest-api --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ pollen-rest-api --- [INFO] [INFO] >>> i18n-maven-plugin:3.1:bundle (default) @ pollen-rest-api >>> [INFO] [INFO] --- i18n-maven-plugin:3.1:collect-i18n-artifacts (collect-i18n-artifacts) @ pollen-rest-api --- [WARNING] Invalid POM for org.antlr:stringtemplate:jar:3.2.1, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/debux/webmotion/... [INFO] Downloaded: https://oss.sonatype.org/content/repositories/snapshots/org/debux/webmotion/... (2 KB at 0.5 KB/sec) [INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/debux/webmotion/... [INFO] Downloaded: https://oss.sonatype.org/content/repositories/snapshots/org/debux/webmotion/... (613 B at 2.2 KB/sec) [INFO] collected 10 i18n artifacts for locale fr_FR stored in <http://ci.chorem.org/jenkins/job/pollen-rest-api-ci/org.chorem.pollen$pollen-rest-api/ws/target/i18n/collect-pollen-rest-api-i18n_fr_FR.properties> [INFO] collected 10 i18n artifacts for locale en_GB stored in <http://ci.chorem.org/jenkins/job/pollen-rest-api-ci/org.chorem.pollen$pollen-rest-api/ws/target/i18n/collect-pollen-rest-api-i18n_en_GB.properties> [INFO] [INFO] <<< i18n-maven-plugin:3.1:bundle (default) @ pollen-rest-api <<< [INFO] [INFO] --- i18n-maven-plugin:3.1:bundle (default) @ pollen-rest-api --- [WARNING] bundle fr_FR contains 12/115 empty entries! (use -Di18n.showEmpty to see these entries) [WARNING] bundle en_GB contains 13/116 empty entries! (use -Di18n.showEmpty to see these entries) [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pollen-rest-api --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ pollen-rest-api --- [INFO] Compiling 25 source files to <http://ci.chorem.org/jenkins/job/pollen-rest-api-ci/org.chorem.pollen$pollen-rest-api/ws/target/classes> [INFO] ------------------------------------------------------------- [WARNING] COMPILATION WARNING : [INFO] ------------------------------------------------------------- [WARNING] <http://ci.chorem.org/jenkins/job/pollen-rest-api-ci/org.chorem.pollen$pollen-rest-api/ws/src/main/java/org/chorem/pollen/rest/api/injector/PollenServiceInjector.java>: Some input files use unchecked or unsafe operations. [WARNING] <http://ci.chorem.org/jenkins/job/pollen-rest-api-ci/org.chorem.pollen$pollen-rest-api/ws/src/main/java/org/chorem/pollen/rest/api/injector/PollenServiceInjector.java>: Recompile with -Xlint:unchecked for details. [INFO] 2 warnings [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <http://ci.chorem.org/jenkins/job/pollen-rest-api-ci/org.chorem.pollen$pollen-rest-api/ws/src/main/java/org/chorem/pollen/rest/api/v1/VoterListApi.java>:[72,67] method addVoterList in class org.chorem.pollen.services.service.VoterListService cannot be applied to given types; required: java.lang.String,org.chorem.pollen.services.bean.VoterListBean,java.util.List<org.chorem.pollen.services.bean.VoterListMemberBean> found: java.lang.String,org.chorem.pollen.services.bean.VoterListBean reason: actual and formal argument lists differ in length [INFO] 1 error [INFO] ------------------------------------------------------------- [JENKINS] Archiving disabled