fog / fog-softlayer

MIT License
1 stars 3 forks source link

Compatibility updates #7

Open lzap opened 2 years ago

lzap commented 2 years ago

Hey,

this driver does not appear to be working with latest fog:

>> require "fog/softlayer"
[fog][DEPRECATION] Unable to load Fog::Softlayer::Account
[fog][DEPRECATION] Falling back to deprecated constant Fog::Account::Softlayer. The preferred format of service provider constants has changed from service::provider to provider::service. Please update this service provider to use the preferred format.
[fog][DEPRECATION] Unable to load Fog::Softlayer::Compute
[fog][DEPRECATION] Falling back to deprecated constant Fog::Compute::Softlayer. The preferred format of service provider constants has changed from service::provider to provider::service. Please update this service provider to use the preferred format.
[fog][DEPRECATION] Unable to load Fog::Softlayer::DNS
[fog][DEPRECATION] Falling back to deprecated constant Fog::DNS::Softlayer. The preferred format of service provider constants has changed from service::provider to provider::service. Please update this service provider to use the preferred format.
[fog][DEPRECATION] Unable to load Fog::Softlayer::Network
[fog][DEPRECATION] Falling back to deprecated constant Fog::Network::Softlayer. The preferred format of service provider constants has changed from service::provider to provider::service. Please update this service provider to use the preferred format.
[fog][DEPRECATION] Unable to load Fog::Softlayer::Storage
[fog][DEPRECATION] Falling back to deprecated constant Fog::Storage::Softlayer. The preferred format of service provider constants has changed from service::provider to provider::service. Please update this service provider to use the preferred format.

I do not have much experience with updating drivers for the recent fog. Could someone help me to identify what's needed to bring this guy back to life? I am looking for a list of expected changes, perhaps from experience with other updates. Do you see any hidden dragons? @geemus @cphrmky

Cheers.

geemus commented 2 years ago

@lzap Hey. Those deprecations shouldn't prevent it from actually working (it's just noisy). Did it fail when trying to instantiate/use it after the warnings? (I haven't had occasion to use this one myself in quite some time).