Return-Path: X-Original-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltacloud-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 086989960 for ; Wed, 16 Nov 2011 20:35:06 +0000 (UTC) Received: (qmail 3853 invoked by uid 500); 16 Nov 2011 20:35:05 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 3840 invoked by uid 500); 16 Nov 2011 20:35:05 -0000 Mailing-List: contact deltacloud-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-dev@incubator.apache.org Received: (qmail 3832 invoked by uid 99); 16 Nov 2011 20:35:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 20:35:05 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mfojtik@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 20:34:58 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pAGKYalq028774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 16 Nov 2011 15:34:37 -0500 Received: from localhost.localdomain (vpn1-5-194.ams2.redhat.com [10.36.5.194]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id pAGKYZm0013538 for ; Wed, 16 Nov 2011 15:34:36 -0500 From: mfojtik@redhat.com To: deltacloud-dev@incubator.apache.org Subject: CIMI: Fixed various inconsistencies between JSON and XML samples and revampled specs Date: Wed, 16 Nov 2011 21:34:29 +0100 Message-Id: <1321475673-14645-1-git-send-email-mfojtik@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Thanks David for review and suggestion to move all assertions to single helper in order to check sanity between JSON->XML and vice versa serializations. Also I fixed various typos in XML and JSON samples and fixed wrong property types in MachineImage and MachineConfiguration model. I'll continue tomorrow with improving spec files (add more check but keep it DRY as possible). -- Michal