Bug 767202

Summary: api version checker always returns true for /files calls
Product: [Retired] CloudForms Cloud Engine Reporter: Dan Radez <dradez>
Component: aeolus-configserverAssignee: Dan Radez <dradez>
Status: CLOSED CURRENTRELEASE QA Contact: dgao
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, deltacloud-maint, gblomqui
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-30 17:16:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dan Radez 2011-12-13 14:33:59 UTC
Description of problem:
api version checker always returns true for /files calls
it is exclusive to /params and /configs but the files routes
call into the api version checker

Version-Release number of selected component (if applicable):
0.4.2

How reproducible:
/files/INVALIDVERSION/UUID

Steps to Reproduce:
1. /files/INVALIDVERSION/UUID
2.
3.
  
Actual results:
/files/INVALIDVERSION/UUID returns success

Expected results:
should get a 404

Additional info:

Comment 2 dgao 2012-01-18 22:53:06 UTC
Sending request: GET /files/1/341772942915020991988447 HTTP/1.1
Receiving response: HTTP/1.1 200 OK

Sending request: GET /files/9000/682457026491589615119934 HTTP/1.1
Receiving response: HTTP/1.1 404 Not Found