On Mon, 2013-02-25 at 12:29 +0300, martha.c.ch...@gmail.com wrote:
> From: NjeriChelimo <martha.c.ch...@gmail.com>
> 
> ---
>  clients/cimi/lib/entities/machine_template.rb   |   23 ++++++++++++++
>  clients/cimi/views/machine_templates/index.haml |   38 
> ++++++++++++++++++++---
>  clients/cimi/views/machine_templates/show.haml  |   12 +++----
>  server/lib/db/entity.rb                         |    2 +-
>  4 files changed, 62 insertions(+), 13 deletions(-)

ACK to the whole series, with one small change: I moved your change to
server/lib/db/entity.rb to clients/cimi/init.rb - that's still a
bandaid. We really need an actual client. That should use the same code
to serialize/deserialize CIMI objects as the server, but it should not
contain the logic that now causes DB lookups from the client (which in
turn triggered the JSON issue)

David


Reply via email to