Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 73AF0200C4E for ; Thu, 23 Mar 2017 07:00:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 724BB160B91; Thu, 23 Mar 2017 06:00:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BA1A4160B86 for ; Thu, 23 Mar 2017 07:00:53 +0100 (CET) Received: (qmail 88173 invoked by uid 500); 23 Mar 2017 06:00:52 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 88159 invoked by uid 99); 23 Mar 2017 06:00:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2017 06:00:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 58EA2C0FEE for ; Thu, 23 Mar 2017 06:00:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.549 X-Spam-Level: X-Spam-Status: No, score=-98.549 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id b_Suq-tqAmGL for ; Thu, 23 Mar 2017 06:00:51 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id E09AA5FDD8 for ; Thu, 23 Mar 2017 06:00:50 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5E6A5E05B1 for ; Thu, 23 Mar 2017 06:00:49 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id AA92F254FB for ; Thu, 23 Mar 2017 06:00:47 +0000 (UTC) Date: Thu, 23 Mar 2017 06:00:47 +0000 (UTC) From: "Vyacheslav Daradur (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-4211) Update Spring dependency to latest stable version MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Mar 2017 06:00:54 -0000 [ https://issues.apache.org/jira/browse/IGNITE-4211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937782#comment-15937782 ] Vyacheslav Daradur commented on IGNITE-4211: -------------------------------------------- [~avinogradov] I knew about spring-aop-methods before, but I couldn't understand what you want. bq. What? As I've written here before, I think we have to cover with the all new code unit tests, if possible and where necessary. I've added the new get-method. public T get(Object key, Callable valueLoader) And I think we have to tests the following cases: - valueLoader parameter calls only once per same key; - if cache contain nothing for key, result of valueLoader parameter will added to cache correctly; - if valueLoader parameter throws some exceptions, new get-method rethrow the excepted type of exception; These are main cases wich described in the java-docs on the new method. All cases above were checked in the unit-tests which you don't like. bq. Why? Just make that the any get-methods returned "null". What happens? - Nothing. Green light in the GridSpringCacheManagerSelfTest. Tests in the GridSpringCacheManagerSelfTest don't check correct behavior of get-methods. Maybe I'm wrong and returned value are checked in the other tests. (other cases of behavior?) If you don't agree with my approach, and if the test of @Cachenable(sync=true) is enough for you: Just write it, I will change the test and then it's done. Such simple task was delayed for a long time. > Update Spring dependency to latest stable version > ------------------------------------------------- > > Key: IGNITE-4211 > URL: https://issues.apache.org/jira/browse/IGNITE-4211 > Project: Ignite > Issue Type: Improvement > Components: build > Affects Versions: 1.7 > Reporter: Sergey Kozlov > Assignee: Vyacheslav Daradur > Fix For: 2.0 > > > It seems the Spring dependency looks outdated for now. Apache Ignite still uses 4.1.0 released two years ago. Could we to update to latest stable version (4.3.4 at the moment)? -- This message was sent by Atlassian JIRA (v6.3.15#6346)