Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F24B2D985 for ; Thu, 12 Jul 2012 10:14:35 +0000 (UTC) Received: (qmail 85713 invoked by uid 500); 12 Jul 2012 10:14:35 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 85683 invoked by uid 500); 12 Jul 2012 10:14:35 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 85652 invoked by uid 99); 12 Jul 2012 10:14:34 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2012 10:14:34 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 83FDE14281B for ; Thu, 12 Jul 2012 10:14:34 +0000 (UTC) Date: Thu, 12 Jul 2012 10:14:34 +0000 (UTC) From: "Michal Fojtik (JIRA)" To: dev@deltacloud.apache.org Message-ID: <287405820.41014.1342088074542.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1880417049.37114.1342031854584.JavaMail.jiratomcat@issues-vm> Subject: =?utf-8?Q?[jira]_[Commented]_(DTACLOUD-270)_C?= =?utf-8?Q?IMI:_GET_/cimi/machine=5Ftemplates_an?= =?utf-8?Q?d_GET_/cimi/volume=5Ftemplates_return?= =?utf-8?Q?_"Sinatra_doesn=E2=80=99t_know_this_ditty."?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DTACLOUD-270?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13= 412658#comment-13412658 ]=20 Michal Fojtik commented on DTACLOUD-270: ---------------------------------------- They return 404 because they are not yet implemented/supported by Deltaclou= d. I would suggest to not advertise them when they are not supported. Mario= s did some initial work on DELTACLOUD_MAPPINGS, maybe we should extend that= to all driver methods and advertise just those collections which are suppo= rted by backend driver. =20 > CIMI: GET /cimi/machine_templates and GET /cimi/volume_templates return "= Sinatra doesn=E2=80=99t know this ditty." > -------------------------------------------------------------------------= --------------------------------- > > Key: DTACLOUD-270 > URL: https://issues.apache.org/jira/browse/DTACLOUD-270 > Project: DeltaCloud > Issue Type: Bug > Components: Server > Environment: deltacloud git commit: 714c474d240945ec07f39873bac14= 8ce966a2246 > mock provider > Fedora 16 > Reporter: Ronelle Landy > > Started deltacloud using the cimi frontend, targeting the mock provider: > >> ./bin/deltacloudd -i mock -f cimi -r -p 3006 > Checked the collections available from /cimi/cloudEntryPoint: > >> [root@dell-pe2900-02 ~]# curl -X GET --user "" http://dell-pe29= 00-02.rhts.eng.bos.redhat.com:3006/cimi/cloudEntryPoint?format=3Dxml > > > > Cloud Entry Point for the Deltacloud mock driver > > > > > > > > > > > > > > Wed Jul 11 13:25:29 -0400 2012 > http://dell-pe2900-02.rhts.eng.bos.redhat.com:3006/cimi/cloudEntryP= oint > > > > > > mock > Then tried to access the collection listed. GET /cimi/machine_templates a= nd GET /cimi/volume_templates return "Sinatra doesn=E2=80=99t know this dit= ty." > curl -X GET --user "" "http://dell-pe2900-02.rhts.eng.bos.redhat.c= om:3006/cimi/machine_templates?format=3Dxml" > > > > > > >

Sinatra doesn’t know this ditty.

> >
> Try this: >
get '/cimi/machine_templates' do
>   "Hello World"
> end
>
> > > [root@dell-pe2900-02 ~]#=20 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira