Closed pkit closed 9 years ago
Needs the following:
@pkit Can you give me some ideas about how to set up the tests for /api
and /open
? I've been trying for several hours and can't make any sense of it.
For example, I can't figure out how--with the test utils and fixtures--to set up a zapp to handle requests for /open/account/container/foo.zapp
, or set the suid, or anything. I'm lost.
According to the spec for this feature, the suid stuff should only apply to api/1.0 and open/1.0 features. However, the tests so far implemented on this branch test suid features of everything BUT the REST features.
Why is that? Do we need to update the spec?
Added example with API/1.0 call, fixed a bug regarding anonymous access to API endpoint.
See https://github.com/zerovm/zerocloud/pull/172 for a rebased version of this branch.
Placeholder, not finished yet.
Tests needed still:
Anonymous (api/1.0):