{"action":"created","issue":{"url":"https://api.github.com/repos/OpenWiseSolutions/openhub-framework/issues/31","repository_url":"https://api.github.com/repos/OpenWiseSolutions/openhub-framework","labels_url":"https://api.github.com/repos/OpenWiseSolutions/openhub-framework/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/OpenWiseSolutions/openhub-framework/issues/31/comments","events_url":"https://api.github.com/repos/OpenWiseSolutions/openhub-framework/issues/31/events","html_url":"https://github.com/OpenWiseSolutions/openhub-framework/pull/31","id":212230168,"number":31,"title":"Upgrade to Java 8 and newest versions of main libraries","user":{"login":"pjuza","id":9518105,"avatar_url":"https://avatars3.githubusercontent.com/u/9518105?v=3","gravatar_id":"","url":"https://api.github.com/users/pjuza","html_url":"https://github.com/pjuza","followers_url":"https://api.github.com/users/pjuza/followers","following_url":"https://api.github.com/users/pjuza/following{/other_user}","gists_url":"https://api.github.com/users/pjuza/gists{/gist_id}","starred_url":"https://api.github.com/users/pjuza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjuza/subscriptions","organizations_url":"https://api.github.com/users/pjuza/orgs","repos_url":"https://api.github.com/users/pjuza/repos","events_url":"https://api.github.com/users/pjuza/events{/privacy}","received_events_url":"https://api.github.com/users/pjuza/received_events","type":"User","site_admin":false},"labels":[{"id":476302433,"url":"https://api.github.com/repos/OpenWiseSolutions/openhub-framework/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"pjuza","id":9518105,"avatar_url":"https://avatars3.githubusercontent.com/u/9518105?v=3","gravatar_id":"","url":"https://api.github.com/users/pjuza","html_url":"https://github.com/pjuza","followers_url":"https://api.github.com/users/pjuza/followers","following_url":"https://api.github.com/users/pjuza/following{/other_user}","gists_url":"https://api.github.com/users/pjuza/gists{/gist_id}","starred_url":"https://api.github.com/users/pjuza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjuza/subscriptions","organizations_url":"https://api.github.com/users/pjuza/orgs","repos_url":"https://api.github.com/users/pjuza/repos","events_url":"https://api.github.com/users/pjuza/events{/privacy}","received_events_url":"https://api.github.com/users/pjuza/received_events","type":"User","site_admin":false},"assignees":[{"login":"pjuza","id":9518105,"avatar_url":"https://avatars3.githubusercontent.com/u/9518105?v=3","gravatar_id":"","url":"https://api.github.com/users/pjuza","html_url":"https://github.com/pjuza","followers_url":"https://api.github.com/users/pjuza/followers","following_url":"https://api.github.com/users/pjuza/following{/other_user}","gists_url":"https://api.github.com/users/pjuza/gists{/gist_id}","starred_url":"https://api.github.com/users/pjuza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjuza/subscriptions","organizations_url":"https://api.github.com/users/pjuza/orgs","repos_url":"https://api.github.com/users/pjuza/repos","events_url":"https://api.github.com/users/pjuza/events{/privacy}","received_events_url":"https://api.github.com/users/pjuza/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/OpenWiseSolutions/openhub-framework/milestones/1","html_url":"https://github.com/OpenWiseSolutions/openhub-framework/milestone/1","labels_url":"https://api.github.com/repos/OpenWiseSolutions/openhub-framework/milestones/1/labels","id":2264898,"number":1,"title":"v2.0","description":"Target of this version is enhancement of OpenHub cluster support, migration to Spring Boot, upgrading of Java (7->8) and new admin console via React.","creator":{"login":"hanusto","id":5721496,"avatar_url":"https://avatars0.githubusercontent.com/u/5721496?v=3","gravatar_id":"","url":"https://api.github.com/users/hanusto","html_url":"https://github.com/hanusto","followers_url":"https://api.github.com/users/hanusto/followers","following_url":"https://api.github.com/users/hanusto/following{/other_user}","gists_url":"https://api.github.com/users/hanusto/gists{/gist_id}","starred_url":"https://api.github.com/users/hanusto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanusto/subscriptions","organizations_url":"https://api.github.com/users/hanusto/orgs","repos_url":"https://api.github.com/users/hanusto/repos","events_url":"https://api.github.com/users/hanusto/events{/privacy}","received_events_url":"https://api.github.com/users/hanusto/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":27,"state":"open","created_at":"2017-01-19T18:38:07Z","updated_at":"2017-03-13T19:49:26Z","due_on":"2017-03-31T07:00:00Z","closed_at":null},"comments":1,"created_at":"2017-03-06T19:50:10Z","updated_at":"2017-03-14T20:13:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenWiseSolutions/openhub-framework/pulls/31","html_url":"https://github.com/OpenWiseSolutions/openhub-framework/pull/31","diff_url":"https://github.com/OpenWiseSolutions/openhub-framework/pull/31.diff","patch_url":"https://github.com/OpenWiseSolutions/openhub-framework/pull/31.patch"},"body":"**Upgrade to Java 8**\r\n\r\n**Issues fromg upgrading to the latest Spring Boot (1.5.1.RELEASE)**\r\n- Spring framework upgrades to v4.3.4.RELEASE\r\n- release notes (https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.5-Release-Notes, https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.4-Release-Notes)\r\n- “ application classes are packaged in BOOT-INF/classes so that the dependent module cannot load a repackaged jar's classes” (http://docs.spring.io/spring-boot/docs/current/maven-plugin/examples/repackage-classifier.html, http://stackoverflow.com/questions/38992527/spring-boot-upgrade-to-1-4-broke-my-multi-module-project-probably-due-to-jar-l)\r\n- “spring-boot.version property was removed from spring-boot-dependencies”\r\n- If you currently listen for an ApplicationStartedEvent in your code you should refactor to use ApplicationStartingEvent. We renamed this class to more accurately reflect what it does.\r\n- “spring.datasource.data” property can contain only valid paths\r\n- @MockBean was introduced in tests\r\n- I had problems to use built-in support for H2 console (see https://openhubframework.atlassian.net/browse/OHFJIRA-24). I decided to leave it in the same state as-is.\r\n\r\n**Upgrading Apache Camel to 2.18.2**\r\n- replaced Camel XML configuration by Java configuration (thanks to issue https://issues.apache.org/jira/browse/CAMEL-10109) \r\n\r\n**Upgrading to jaxws-maven-plugin (2.4.1)** - “Failed to read schema document 'xjc.xsd', because 'file' access is not allowed due to restriction set by the accessExternalSchema property\" (http://docs.oracle.com/javase/7/docs/api/javax/xml/XMLConstants.html#ACCESS_EXTERNAL_SCHEMA, http://stackoverflow.com/questions/23011547/webservice-client-generation-error-with-jdk8)\r\n\r\n**Replaced JODA date/time by JDK8 date/time**\r\n- http://stackoverflow.com/questions/24631909/differences-between-java-8-date-time-api-java-time-and-joda-time, http://blog.joda.org/2014/11/converting-from-joda-time-to-javatime.html\r\n- DateTime -> OffsetDateTime\r\n- created own type for seconds that is often used in configuration - org.openhubframework.openhub.common.time.Seconds\r\n- added dependency to hibernate-java8 (http://stackoverflow.com/questions/39761619/why-is-hibernate-java8-hibernate-5-x-jar-shown-deprecated, http://stackoverflow.com/questions/26447464/persist-java-time-instant-jdk8-with-jpa2-hibernate)\r\n\r\n**Side effects:**\r\n- configuration time values can be configured as Duration (not only as Seconds) and then values can be defined according to ISO-8601, e.g.  PT20.345S or PT10H. See java.time.Duration#parse\r\n- we use OffsetDateTime during user interaction (we don’t need to work with zones, therefore we don’t require ZonedDateTime), and Instant in internal (in model objects, in DAO/service layer) use for timestamps \r\n- date/time values are saved in default time zone into DB\r\n- there is imperfection in admin GUI because there is no information about zone when user wan’t to search messages or logs or something else. We need to add zone information (in HTTP header, directly in date/time string values) to correct it. It’s issue for new admin GUI ...\r\n- JAXB parsing of date/time (org.openhubframework.openhub.api.common.jaxb.JaxbDateAdapter) changed little bit because there were some errors in previous implementation (http://stackoverflow.com/questions/20670041/what-is-the-default-time-zone-for-an-xml-schema-datetime-if-not-specified)\r\n\r\n**upgraded main libraries**\r\nSpring Boot: 1.3.4.RELEASE -> 1.5.1.RELEASE\r\nCamel: 2.17.3 -> 2.18.2\r\nJavaMelody: 1.55.0 -> 1.63.0\r\nJolokia: 1.3.2 -> 1.3.5\r\nIO Metrics: 3.1.0 -> 3.2.0\r\njaxb2-maven-plugin: 1.5 -> 2.2\r\nupgraded jaxws-maven-plugin: 1.12 -> 2.4.1\r\n\r\nIssue: OHFJIRA-1, OHFJIRA-3, OHFJIRA-24, OHFJIRA-18, OHFJIRA-17"},"comment":{"url":"https://api.github.com/repos/OpenWiseSolutions/openhub-framework/issues/comments/286545184","html_url":"https://github.com/OpenWiseSolutions/openhub-framework/pull/31#issuecomment-286545184","issue_url":"https://api.github.com/repos/OpenWiseSolutions/openhub-framework/issues/31","id":286545184,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars2.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T20:13:05Z","updated_at":"2017-03-14T20:13:05Z","body":"\n[![Coverage Status](https://coveralls.io/builds/10591877/badge)](https://coveralls.io/builds/10591877)\n\nCoverage increased (+0.9%) to 71.095% when pulling **dff248a214f872aa3b03c8fe60aa9a687401e940 on feature/OHFJIRA-1-java8** into **377f5231e2f39fd74e562ccff6ce617ad80a79b8 on develop**.\n"}}
{"actor":{"display_login":"coveralls"}}