Return-Path: X-Original-To: apmail-zest-dev-archive@minotaur.apache.org Delivered-To: apmail-zest-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3C12019D28 for ; Wed, 13 Apr 2016 23:43:26 +0000 (UTC) Received: (qmail 84608 invoked by uid 500); 13 Apr 2016 23:43:26 -0000 Delivered-To: apmail-zest-dev-archive@zest.apache.org Received: (qmail 84581 invoked by uid 500); 13 Apr 2016 23:43:26 -0000 Mailing-List: contact dev-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list dev@zest.apache.org Received: (qmail 84058 invoked by uid 99); 13 Apr 2016 23:43:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2016 23:43:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5096418044E for ; Wed, 13 Apr 2016 23:43:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.299 X-Spam-Level: * X-Spam-Status: No, score=1.299 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id h2PGIZAeWK-A for ; Wed, 13 Apr 2016 23:43:24 +0000 (UTC) Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 4ED8E5F20E for ; Wed, 13 Apr 2016 23:43:23 +0000 (UTC) Received: by mail-ob0-f176.google.com with SMTP id k9so41306564obk.2 for ; Wed, 13 Apr 2016 16:43:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=z9o3UlIYd09RIWNtxd5K8QZYlHjSo//Slf0nSDKeHLA=; b=ZH93YLKcr2K1vJzvE9BZqiuJmiyOCFJsfdFy9hC1BiVaEFBlivX81Gpd6cpSERCiYt AFTzDyulXuFEOXpxi79buC4nbde+7WQYkGWNV+2ZkzU8bZICmAxk7v6guW9W7VsiYHPr PiTjWJqxZP2gemzc0k0hQWuiX0R7WR5xq0fvJvXUPSHsjA3+UVef5dyPD8tG9N8svkhs 1Sy5nFQbh7ebLWBTN09fjTDETCoSeAgZPiRFIOJqjcvx5ndEJvLODUgq+XL8+mhzNdzv v8XRJmBkpd0WRHML7FjBgHMvVLI/ZC50oJHbF05Mfvs8/BhwLLCvDf0o5aRGc9KOuieZ Sb5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=z9o3UlIYd09RIWNtxd5K8QZYlHjSo//Slf0nSDKeHLA=; b=Vy89p7O8qn2AL61uAx0NJNQIXe6CU+/4cvVa0VxTlx4CKBkWi/ttNaMLM44KQtTrsO q0ykC6P1725MpbxszJmXkjypJ6EgGlaqY4AkwohCiYtAz0uueJF/V47rqN3rvIeqWJL+ V1lCzlfRHf/USoaVjDAI3qsvYdAwwrow27FvClM8O0DeSXXImlIK3pdd/5IpvYiPlvEY o+zzkLw/AeDoT6Bj4kYMOIT9jjcDu0zXY/Qh4xxSfEKKOb+S0ELWgY7sFQjVljfnrDBr LIFUt7zQcjFRckdto8Nd+wfafHtrYu98eDslgXHE7N34nzz1UUbjOeY6fpWUmgTyKwzf x49Q== X-Gm-Message-State: AOPr4FUujxntY3Ca/jcoQyrKyv7tll5e0viSgcZzeYJArMG1Dq48TD0WBnLZIqcRn9OzOC3c/EWCy9KWqd53Fw== X-Received: by 10.60.128.229 with SMTP id nr5mr6227288oeb.56.1460591002221; Wed, 13 Apr 2016 16:43:22 -0700 (PDT) MIME-Version: 1.0 Sender: hedhman@gmail.com Received: by 10.202.225.213 with HTTP; Wed, 13 Apr 2016 16:43:02 -0700 (PDT) From: Niclas Hedhman Date: Thu, 14 Apr 2016 07:43:02 +0800 X-Google-Sender-Auth: 7WduvIPmEqDR6TxVp_Sr8wyUkSE Message-ID: Subject: My recent changes... To: dev Content-Type: multipart/alternative; boundary=047d7b2e3f74d983dc0530665791 --047d7b2e3f74d983dc0530665791 Content-Type: text/plain; charset=UTF-8 Gang, I have tried to break the responsibility of the "Module Model" out of the "ModuleInstance", and make a proper abstraction. To facilitate this work (unfortunately in wrongly named branch and wrongly referenced ZEST-105 issue, sorry), I have had to put instance() into the ModuleModel, which shouldn't be there, and I might try to improve that later. I have also gotten most of the testcases working again, but RDF query and Elastic search queries are failing. And only a handful of those tests. Looking a bit closer, I chose RdfNamedQueryMultimoduleTest and only looking at script18. The testcase reports; java.lang.AssertionError: Result is incorrect Expected: <[Ann Doe, Cars, Cooking, Gaming, Jack Doe, Joe Doe, Kuala Lumpur, Penang, Programming]> but: was <[Ann Doe, Cars, Cooking, Felix, Gaming, Jack Doe, Joe Doe, Kuala Lumpur, Penang, Programming]> i.e. the Actual ALSO contains "Felix", which is a Cat type, which is a subtype of Nameable which is what the query is looking for. SPARQL:PREFIX ns1: PREFIX ns0: PREFIX rdf: PREFIX rdfs: SELECT DISTINCT ?identity WHERE { ?entityType rdfs:subClassOf . ?entity rdf:type ?entityType. ?entity ns0:identity ?identity. ?entity ns1:name ?v0. } Am I missing something, or has this been a bug since forever?? Cheers -- Niclas Hedhman, Software Developer http://zest.apache.org - New Energy for Java --047d7b2e3f74d983dc0530665791--