Commit Graph

7 Commits

Author SHA1 Message Date
Davanum Srinivas ce3bd97613 Sanitize the package names
* All files in the same directory should belong to
  the same package
* Avoid xyz/xyz_v123 format (example volume/volume_v2)
* Added a doc.go so we can support a different import
  path later:
    https://golang.org/doc/go1.4#canonicalimports
* Drop the trailing ".git" in the imports

Change-Id: If4a880c62a2142f7015ed693e07af239bbbcf8e5
2017-03-07 13:39:59 -05:00
Dean Troyer d38d3def62 Clean up source with go fmt
Change-Id: Iaa5382f2fd35764ba7e795c5ae8e5b9b780eac31
2016-12-14 18:30:42 -06:00
Dean Troyer bff51c47ce Fix up unit tests
* Fix objectstore unit tests to use Session
* Remove unused auth code
* Skip unit tests for validator (did these ever work?)
* Fix volume v2 location

Change-Id: Ib770c20a2798822c15f34e89c5c49f2a2814beb5
2016-12-14 18:26:35 -06:00
wujian 301e6d4cb8 Authorization failed with project id
The keystone response 401 unauthorised ERROR when
use Project ID to get token.

Change-Id: I4f9b361d93127ae8fd6d44d45420095726c288b4
Closes-Bug: #1625967
2016-09-21 16:19:44 +08:00
Fangzhou Xu 784256a823 fix AccessToken struct -> User json Unmarshal
Change-Id: I4e07da36a46285c68c94ee2857a9e8f85b161e92
2016-09-01 17:15:05 -07:00
Fangzhou Xu b37df29f9e handle CMS pem format easier
Change-Id: Iea34f049fe84e7454380b9184082930085f792d0
2016-05-05 10:17:03 -07:00
arkxu 657e32bbd4 add keystone middleware for token validation
Change-Id: If3478342eaafbb61e6f99841d4930b9858dd23ac
2016-05-04 19:56:01 -07:00