deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leander Bessa Beernaert <leande...@gmail.com>
Subject Re: Help view the /api/docs
Date Mon, 27 Aug 2012 16:35:30 GMT
@Mario i tried rake routes and this it what happend

/usr/lib/ruby/1.9.1/rake/version.rb:2: warning: already initialized
constant VERSION
/usr/lib/ruby/1.9.1/rake/version.rb:5: warning: already initialized
constant MAJOR
/usr/lib/ruby/1.9.1/rake/version.rb:5: warning: already initialized
constant MINOR
/usr/lib/ruby/1.9.1/rake/version.rb:5: warning: already initialized
constant BUILD
/usr/lib/ruby/1.9.1/rake/version.rb:6: warning: already initialized
constant NUMBERS
/usr/lib/ruby/1.9.1/rake.rb:27: warning: already initialized constant
RAKEVERSION
/usr/lib/ruby/1.9.1/rake/early_time.rb:17: warning: already initialized
constant EARLY
/usr/lib/ruby/1.9.1/rake/alt_system.rb:32: warning: already initialized
constant WINDOWS
/usr/lib/ruby/1.9.1/rake/application.rb:31: warning: already initialized
constant DEFAULT_RAKEFILES
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already
exists
/usr/lib/ruby/1.9.1/rake/task_arguments.rb:77: warning: already initialized
constant EMPTY_TASK_ARGS
/usr/lib/ruby/1.9.1/rake/invocation_chain.rb:49: warning: already
initialized constant EMPTY
/usr/lib/ruby/1.9.1/rake/file_utils.rb:9: warning: already initialized
constant RUBY
/usr/lib/ruby/1.9.1/rake/file_utils.rb:86: warning: already initialized
constant LN_SUPPORTED
/usr/lib/ruby/1.9.1/rake/file_utils_ext.rb:16: warning: already initialized
constant DEFAULT
/usr/lib/ruby/1.9.1/rake/dsl_definition.rb:150: warning: already
initialized constant DeprecatedCommands
/usr/lib/ruby/1.9.1/rake/file_list.rb:44: warning: already initialized
constant ARRAY_METHODS
/usr/lib/ruby/1.9.1/rake/file_list.rb:47: warning: already initialized
constant MUST_DEFINE
/usr/lib/ruby/1.9.1/rake/file_list.rb:51: warning: already initialized
constant MUST_NOT_DEFINE
/usr/lib/ruby/1.9.1/rake/file_list.rb:55: warning: already initialized
constant SPECIAL_RETURN
/usr/lib/ruby/1.9.1/rake/file_list.rb:61: warning: already initialized
constant DELEGATING_METHODS
/usr/lib/ruby/1.9.1/rake/file_list.rb:364: warning: already initialized
constant DEFAULT_IGNORE_PATTERNS
/usr/lib/ruby/1.9.1/rake/file_list.rb:370: warning: already initialized
constant DEFAULT_IGNORE_PROCS
/usr/lib/ruby/1.9.1/rake.rb:68: warning: already initialized constant
FileList
/usr/lib/ruby/1.9.1/rake.rb:69: warning: already initialized constant
RakeFileUtils
** Invoke routes (first_time)
** Execute routes
rake aborted!
stack level too deep
/usr/lib/ruby/1.9.1/rake/task.rb:162
Tasks: TOP => routes

@ Michal could you point out where exactly on the website can i have a
detailed listing of every api operation. I'm unable to find such a page :/

On Mon, Aug 27, 2012 at 5:25 PM, Michal Fojtik <mfojtik@redhat.com> wrote:

>
> On Aug 27, 2012, at 6:21 PM, Leander Bessa Beernaert <leanderbb@gmail.com>
> wrote:
>
> > Hello,
> >
> > I am would like to have a complete listing of all the rest api
> invocations
> > possible with deltacloud. According to the documentation that listing
> > should be available at localhost:3001/api/docs/. However, i'm presented
> > with a page which says: "Sinatra doesn't know this ditty" and this
> appears
> > in the log:
> >
> > 193.136.19.96 - - [27/Aug/2012 16:20:17] "GET /api/docs/ HTTP/1.1" 404
> 455
> > 0.0172
> > 193.136.19.96 - - [27/Aug/2012 16:20:17] "GET /api/__sinatra__/404.png
> > HTTP/1.1" 404 469 0.0096
> >
> > Am i missing something in my installation? I'm using the OpenStack driver
> > by the way.
>
> No, you're not missing anything. We did a huge revamp of the DSL we use
> for building collections and operation and the '/api/docs' generator
> is one of the things that were not migrated over yet.
>
> Meanwhile you can use our website for the documentation.
>
>   -- Michal
>
> Michal Fojtik
> http://deltacloud.org
> mfojtik@redhat.com
>
>
>
>


-- 
Cumprimentos / Regards,
Leander

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message