Hi,

According to last David e-mail, I posting first series of patches, which
are required to declare API stable [1].

PATCH 1: See [2].
PATCH 2:

Inconsistency was fixed, using '_' character to delimiter long model names.
I choose '_' as default character, but it's just my personal preference
(and also folks from RHEVM-API use it[3]).

Table of changes:

hardware-profile => hardware_profile
storage-snapshot => storage_snapshot
storage-volume => storage_volume

PATCH 3:

ID was moved into attributes, because it's a common way howto 'identify'
an element/object in XML. There was some discussion on rest-practices [4] as 
well.

So instead of having:

<image href="http://localhost/api/images/1337";>
  <id>1337</id>
</image>

You get:

<image href="http://localhost/api/images/1337"; id="1337" />


Let me know, if these patches is working for you, after ACK I will
update 'client' library and Cucumber features.

!!!!!!!!!!
IMPORTANT: These patches will break backward compatibility and you will
need to change your clients.
!!!!!!!!!!

 -- Michal

[1] https://fedorahosted.org/pipermail/deltacloud-devel/2010-May/001112.html
[2] https://fedorahosted.org/pipermail/deltacloud-devel/2010-May/001403.html
[3] https://fedorahosted.org/pipermail/deltacloud-devel/2010-May/001123.html
[4] http://fedoraproject.org/wiki/Cloud_APIs_REST_Style_Guide#Identifiers

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to