RE: [PATCH core] CIMI: Added more descriptive CIMI schema errors

2013-03-26 Thread Koper, Dies
Model::MachineConfigurationRef must be initialized using Hash or CIMI::Resource (is #mailto:di...@fast.au.fujitsu.com] > Sent: Wednesday, 27 March 2013 12:28 AM > To: dev@deltacloud.apache.org; mfoj...@redhat.com > Subject: RE: [PATCH core] CIMI: Added more descriptive CIMI schema errors > > I coul

RE: [PATCH core] CIMI: Added more descriptive CIMI schema errors

2013-03-26 Thread Koper, Dies
a few things, like apply.whitespace=fix and core.whitespace=nowarn, but no luck. Regards, Dies Koper > -Original Message- > From: Michal Fojtik [mailto:mfoj...@redhat.com] > Sent: Tuesday, 26 March 2013 11:54 PM > To: dev@deltacloud.apache.org > Subject: Re: [PATCH core] CIMI: A

Re: [PATCH core] CIMI: Added more descriptive CIMI schema errors

2013-03-26 Thread Michal Fojtik
On 03/26/2013 01:10 PM, Koper, Dies wrote: Can you please try: http://tracker.deltacloud.org/set/402 ? -- Michal Hi Michal, I tried this patch and it gave the following error when I tried to retrieve system templates from the fgcp: E, [2013-03-26T22:51:05.100517 #1940] ERROR -- 502: [Delta

Re: [PATCH core] CIMI: Added more descriptive CIMI schema errors

2013-03-26 Thread Michal Fojtik
On 03/26/2013 01:10 PM, Koper, Dies wrote: Hi Michal, I tried this patch and it gave the following error when I tried to retrieve system templates from the fgcp: Hi Dies, Thanks, this patch should help identifying the issues with using CIMI schema and mappings. In this case I think it is a

RE: [PATCH core] CIMI: Added more descriptive CIMI schema errors

2013-03-26 Thread Koper, Dies
Hi Michal, I tried this patch and it gave the following error when I tried to retrieve system templates from the fgcp: E, [2013-03-26T22:51:05.100517 #1940] ERROR -- 502: [Deltacloud::Exceptions::ProviderError] The CIMI::Model::MachineConfigurationRef must be initialized using Hash or CIMI::Resou

[PATCH core] CIMI: Added more descriptive CIMI schema errors

2013-03-22 Thread mfojtik
From: Michal Fojtik * Wrong attribute values are not reported correctly Signed-off-by: Michal fojtik --- server/lib/cimi/models/resource.rb | 5 ++ server/lib/cimi/models/schema.rb | 88 +--- server/tests/cimi/model/errors_spec.rb | 141