[ 
https://issues.apache.org/jira/browse/DTACLOUD-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686545#comment-13686545
 ] 

Michal Fojtik commented on DTACLOUD-570:
----------------------------------------

CIMI: Added 'after_initialize' plugin for Sequel (DTACLOUD-570

Please review here:
https://github.com/deltacloud/deltacloud-core/pull/49


With this fix:

 ~/code/core/server › ./bin/deltacloudd -i mock -f cimi
Starting Deltacloud API :: mock :: http://localhost:3001/cimi/cloudEntryPoint
18 cloud providers loaded.
>> Thin web server (v1.5.1 codename Straight Razor)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:3001, CTRL+C to stop
                
> cimi: sequel warning with backtrace at DC startup
> -------------------------------------------------
>
>                 Key: DTACLOUD-570
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-570
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Win7 64 bit, MRI 1.9.3, current repo minus the commits 
> mentioned in DTACLOUD-569
>            Reporter: Dies Koper
>            Priority: Minor
>
> After the backtrace DC does seem to accept requests.
> d:\sources\OSS\cloud\deltacloud-core\server>bin\deltacloudd -i mock -f cimi
> Starting Deltacloud API :: mock :: http://localhost:3001/cimi/cloudEntryPoint
> 19 cloud providers loaded.
> SEQUEL DEPRECATION WARNING: The Model after_initialize hook is deprecated and 
> will be removed in Sequel 4.0.  Please use the after_initialize plugin to 
> continue
>  using the hook.
> D:/Programs/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/model/base.rb:735:in
>  `block in check_deprecated_after_initialize'
> D:/Programs/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/model/base.rb:734:in
>  `each'
> D:/Programs/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/model/base.rb:734:in
>  `check_deprecated_after_initialize'
> D:/Programs/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.48.0/lib/sequel/model/base.rb:419:in
>  `method_added'
> d:/sources/OSS/cloud/deltacloud-core/server/lib/db/entity.rb:46:in 
> `<class:Entity>'
> d:/sources/OSS/cloud/deltacloud-core/server/lib/db/entity.rb:19:in 
> `<module:Database>'
> d:/sources/OSS/cloud/deltacloud-core/server/lib/db/entity.rb:17:in 
> `<module:Deltacloud>'
> d:/sources/OSS/cloud/deltacloud-core/server/lib/db/entity.rb:16:in `<top 
> (required)>'
> d:/sources/OSS/cloud/deltacloud-core/server/lib/cimi/service.rb:19:in 
> `require_relative'
> d:/sources/OSS/cloud/deltacloud-core/server/lib/cimi/service.rb:19:in `<top 
> (required)>'
> >> Thin web server (v1.5.1 codename Straight Razor)
> >> Debugging ON
> >> Maximum connections set to 1024
> >> Listening on localhost:3001, CTRL+C to stop

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to