Hi Michal, That didn't work but if you use ['default'] instead of [:default], it does.
Could you also update line 1151 of the driver (although commented out) so that if we reactivate this code at some point in the future I won't have to scratch my head why it won't work? :) # Deltacloud::Drivers::driver_config[:fgcp][:entrypoints].keys Cheers, Dies Koper > -----Original Message----- > From: Michal Fojtik [mailto:[email protected]] > Sent: Wednesday, 16 May 2012 5:37 PM > To: [email protected] > Subject: Re: [PATCH core 26/26] FGCP: Fixed configuration of providers > > On 16 May 2012, at 4:02, Koper, Dies wrote: > > Hi again :-) > > So the patch is here: > > https://github.com/mifo/deltacloud/commit/478607bd34aeb23d7e38671 > 14f59f9b0cafe1379 > > Let me know if you're OK with this fix. > > Cheers, > Michal > > > NACK > > > > This change breaks authentication. > > I see 'default' in other yaml files so I suppose it should be there. > > > > We have the following in several places in fgcp_client.rb and > > fgcp_driver.rb. > > They probably have to be updated at the same time. > > > > endpoint = > > Deltacloud::Drivers::driver_config[:fgcp][:entrypoints][country] > > unless > > endpoint > > > > Regards, > > Dies Koper > > > > > >> -----Original Message----- > >> From: [email protected] [mailto:[email protected]] > >> Sent: Wednesday, 16 May 2012 1:16 AM > >> To: [email protected] > >> Subject: [PATCH core 26/26] FGCP: Fixed configuration of providers > >> > >> From: Michal Fojtik <[email protected]> > >> > >> > >> Signed-off-by: Michal fojtik <[email protected]> > >> --- > >> server/config/drivers/fgcp.yaml | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/server/config/drivers/fgcp.yaml > >> b/server/config/drivers/fgcp.yaml > >> index 8c24f66..838b710 100644 > >> --- a/server/config/drivers/fgcp.yaml > >> +++ b/server/config/drivers/fgcp.yaml > >> @@ -4,6 +4,7 @@ > >> :username: Username > >> :password: Secret Key Password of User Certificate > >> :entrypoints: > >> + default: > >> jp: https://api.oviss.jp.fujitsu.com/ovissapi/endpoint > >> au: https://api.globalcloud.fujitsu.com.au/ovissapi/endpoint > >> sg: https://api.globalcloud.sg.fujitsu.com/ovissapi/endpoint > >> -- > >> 1.7.10.1 > >>
