From dev-return-16038-archive-asf-public=cust-asf.ponee.io@syncope.apache.org Tue Jul 31 10:16:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 54B4C180662 for ; Tue, 31 Jul 2018 10:16:06 +0200 (CEST) Received: (qmail 1605 invoked by uid 500); 31 Jul 2018 08:16:05 -0000 Mailing-List: contact dev-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list dev@syncope.apache.org Received: (qmail 1594 invoked by uid 99); 31 Jul 2018 08:16:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2018 08:16:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D6268C1BDC for ; Tue, 31 Jul 2018 08:16:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.335 X-Spam-Level: *** X-Spam-Status: No, score=3.335 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RDNS_DYNAMIC=0.363, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 1VX5GWrmP3xO for ; Tue, 31 Jul 2018 08:16:03 +0000 (UTC) Received: from rovere.tirasa.net (93-34-9-207.ip47.fastwebnet.it [93.34.9.207]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 64C445F432 for ; Tue, 31 Jul 2018 08:16:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by rovere.tirasa.net (Postfix) with ESMTP id CDF30295664DD for ; Tue, 31 Jul 2018 10:16:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at tirasa.net Received: from rovere.tirasa.net ([127.0.0.1]) by localhost (rovere.tirasa.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id IJNS5aTE-Q4G for ; Tue, 31 Jul 2018 10:16:02 +0200 (CEST) Received: from [192.168.0.197] (unknown [192.168.0.197]) (Authenticated sender: andrea.patricelli) by rovere.tirasa.net (Postfix) with ESMTPSA id 8A9FF29566085 for ; Tue, 31 Jul 2018 10:16:02 +0200 (CEST) Subject: Re: Concurrency issue in the NetBeans Plugin To: dev@syncope.apache.org References: <5b5f15fb.1c69fb81.2efc9.20f8@mx.google.com> From: Andrea Patricelli Message-ID: <41f09853-7b21-3f95-bc2a-e79b3f874610@apache.org> Date: Tue, 31 Jul 2018 10:16:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <5b5f15fb.1c69fb81.2efc9.20f8@mx.google.com> Content-Type: multipart/alternative; boundary="------------E6BC8E6946CEDC48CB5EF8D8" Content-Language: en-GB --------------E6BC8E6946CEDC48CB5EF8D8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Rohan, at the moment there's no concurrency management server side. You can manage concurrency on plugin side by checking if the script has=20 changed before submitting the current changes (doing a GET *before save*=20 of the current groovy script and checking it against the *original=20 value* that you got from Syncope). Best regards, Andrea Il 30/07/2018 15:43, rohan julka ha scritto: > In the plugin what if two people are simultaneously editing same script= even if a person saves the script it won=E2=80=99t reflect on the other = person=E2=80=99s copy until he refreshes the script. > > > --=20 Dott. Andrea Patricelli Tel. +39 3204524292 Developer @ Tirasa S.r.l. Viale D'Annunzio 267 - 65127 Pescara Tel +39 0859116307 / FAX +39 0859111173 http://www.tirasa.net Apache Syncope PMC Member --------------E6BC8E6946CEDC48CB5EF8D8--