OpenDev Sysadmins
b5648fb0b3
OpenDev Migration Patch
...
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
4 years ago
Dean Troyer
f8471e4334
Final CTI update
...
Adds build, install targets, updates test* targets
Change-Id: Id7394568e4c99c7a56f3c48a6a2a8150c034719e
6 years ago
Dean Troyer
5999092516
Fix gofmt issues
...
These were left these in to test the fmt job, clean it up!
Change-Id: I39f37a6c9a330a335ad5cd5c113c775615a51c9d
6 years ago
Dean Troyer
9871b73590
Convert examples into proper stand-alone commands
...
Change-Id: I334dd55fb5076a4d3f3b42770681ef6111ccc90f
6 years ago
Dean Troyer
5620f4d381
Update for CTI ps4
...
Update the Makefile targets for current CTI proposal.
Change-Id: If1c881df259fbac94e8289cd8373d6b20c789484
6 years ago
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
6 years ago
Dean Troyer
753e96dd4a
Fix unit tests
...
* OpenStack CI (Zuul?) puts repos under test in a repo named for the
running job rather than the actual repo name, Go doesn't like ths.
Get the actual package name from glide.yaml to build the golang
workspace rather than the current directory.
* Only install glide on OS/X if it is not already found
* Hack out a bunch of the volume v3 stuff that I should not have merged
before the unit job was working...the revert fails now too, so this
is just a fine mess that I am going to clean up now.
Change-Id: I66b359fc1bfd91e686ef0b3f068e582b009e1ea5
6 years ago
Dean Troyer
82c7e3bc0f
Add crud operation of volume API v3
...
Currently the volume API v2 only supports query volumes and it's
necessary for openstack-goclient to provide CRUD operation of
volume for some projects.
Change-Id: Ie4a0e9f70d6fbe748ebdab1aa0a651c0d59ef244
6 years ago
Dean Troyer
34a783684a
Use glide for dependencies
...
Use the new tools/test-setup.sh for bootstrapping our
dev/test environment
Change-Id: Ic5c9d89d4a6d89f8a4b138fc9c814452fc6ff104
6 years ago
Dean Troyer
9b52de086d
Add bindep support
...
Adds make targets bindep and .bindep (install bindep into a venv)
Change-Id: Ie497d917e9149e56d8a1ed2570896b8b812da283
6 years ago
Dean Troyer
d38d3def62
Clean up source with go fmt
...
Change-Id: Iaa5382f2fd35764ba7e795c5ae8e5b9b780eac31
6 years ago
Dean Troyer
d6e0b326e1
Makefile with unit tests
...
Skip examples in unit tests
Change-Id: I4e5673a33d45acaf13e3b08ff7b18d6bbf59a973
6 years ago
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
6 years ago
Jenkins
9c1196d0c6
Merge "Added Capability to get volumes and volumes with details"
6 years ago
wujian
3a6d72d71b
Added Capability to get volumes and volumes with details
...
Partially implements blueprint volume
Change-Id: Ie7d6f0c6e137499e5837cf0a94ca612bc83512a4
6 years ago
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
6 years ago
Fangzhou Xu
784256a823
fix AccessToken struct -> User json Unmarshal
...
Change-Id: I4e07da36a46285c68c94ee2857a9e8f85b161e92
6 years ago
Krasilnikov Maxim
c8dab92a7c
Added support 206 http code
...
GetObject query with Range header return 206 status code
Change-Id: I4d29b8aab2e0f4e000cc0a32872a758b0c5bb1c3
7 years ago
Dean Troyer
c803f9803f
Use Session for auth
...
Change-Id: Ie1fae2b7aec29a8020393b32a92d71e87c2b55fe
7 years ago
Jenkins
58c3787968
Merge "Separate service catalog to prepare for v3"
7 years ago
Jenkins
63a095c4c0
Merge "handle CMS pem format easier"
7 years ago
Jenkins
9e449b15f3
Merge "Add Debug handling to examples/config.json"
7 years ago
Dean Troyer
753c52bf33
Separate service catalog to prepare for v3
...
* Move service catalog bits to openstack/service-catalog.go
* Add AuthRef.GetProject()
* Add sanity check to 00-authntication
Change-Id: I45b24a222527cd0117401146fe788ca6ba414980
7 years ago
Fangzhou Xu
b37df29f9e
handle CMS pem format easier
...
Change-Id: Iea34f049fe84e7454380b9184082930085f792d0
7 years ago
Dean Troyer
f28f20343d
Add Debug handling to examples/config.json
...
Change-Id: Ie94a22ed804686dc0b08206fcd4ccc9b03ad65c1
7 years ago
Dean Troyer
4141ca3ed3
Actually encode JSON in RequestJSON90
...
Change-Id: I1e56927d3c100be1b59f00aaabd705bc3c38cd7b
7 years ago
Dean Troyer
e7fceb0b4d
Add Session.RequestJSON(), Session.GetJSON() and Session.PostJSON()
...
Change-Id: Iba573c8bb1cdfdd42b1c51dd997343937eb29a1b
7 years ago
Jenkins
11e0970660
Merge "Update .gitreview for new namespace"
7 years ago
Jenkins
9ab4a3edbe
Merge "add keystone middleware for token validation"
7 years ago
arkxu
657e32bbd4
add keystone middleware for token validation
...
Change-Id: If3478342eaafbb61e6f99841d4930b9858dd23ac
7 years ago
Dean Troyer
da8d7aedba
Final StackForge cleanups
...
Change-Id: Ie52d5d6ec565d5bb538abde08518b4e9c48f3909
7 years ago
arkxu
16ac1f84b2
failure fast if not 200 when authenticating
...
Change-Id: Ibe1c38f632d1f0155830f00354de2135ee5aceb6
7 years ago
arkxu
452642dade
fix the session_test
...
It was broken.
Change-Id: I03a51a6cc30c3bcc6d6ae778973b7fe374fe3272
7 years ago
Fangzhou Xu
1bc5f497bb
change from stackforge to openstack
...
Change-Id: I232a8c125d1b1c5de30df47a255c294afb1b9b64
7 years ago
Jeremy Stanley
c131ae5f35
Update .gitreview for new namespace
...
Change-Id: I35d82b8dee822d8a41f6d77990fbac13172e5c7a
7 years ago
Dean Troyer
9de84b3c5d
Add auth package
...
Includes AuthOpts struct and AuthRef interface, plus an Identity v2
password auth implementation.
Note: the examples work, the objectstore_test is broken, will be fixed
along with additional session and auth tests.
Change-Id: I77b07c92586c37e855b466e18dea133a4a938aaa
8 years ago
Dean Troyer
ef7386d2c4
Rename session package to openstack
...
Change-Id: I711c4190836b98d415d6cbe85d6f28e05537013f
8 years ago
Dean Troyer
a279956280
Add Session as base REST interface
...
This is the initial implementation of a Session object that handles
the REST calls similar to the new Session in python-keystoneclient.
It will be expanded to utilize a callback to an appropriate authentication
handler to re-authenticate as required.
This is intended to replace CallAPI in the util/util package.
Change-Id: I585968cc584327427da3429ef7005dd909c8b8b0
8 years ago
Dean Troyer
124ac5cc92
Docs revision for current status
...
* Update README to add a note about the reorg in progress
* Rename misc to uitl
* Add openstack directory
Change-Id: I3f318116b1406fa862715236cc9001dea0f9231c
8 years ago
Jeremy Stanley
03e6c8f314
Workflow documentation is now in infra-manual
...
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.
Change-Id: Ic002517ad2152ceece49365f02b66e36cd5e2253
8 years ago
Chris Robinson
219cc1c2c1
Added Capability to get images and images with details
...
new file: examples/30-image-v1.go
modified: examples/config.json.dist
modified: examples/setup.go
modified: identity/v2/auth.go
new file: image/v1/image.go
new file: image/v1/image_test.go
new file: misc/rfc8601DateTime.go
new file: misc/rfc8601DateTime_test.go
modified: misc/util.go
modified: misc/util_test.go
modified: objectstorage/v1/objectstorage.go
modified: objectstorage/v1/objectstorage_test.go
new file: testUtil/testUtil.go
Partially implements blueprint image-v1
Change-Id: I6277a5c8915f45f4b7585855d836015ffd9e1c12
8 years ago
Matt Farina
03aa5209e0
Adding sublime project files to the gitignore.
...
Change-Id: Ib9c10ae5c8c5aa90b44a45526ff17290d31e5d9d
8 years ago
Jenkins
2b0046f805
Merge "Move the service handling to be versioned."
9 years ago
mattyw
bbefc8b791
after errors in main we should return
...
Change-Id: Ibe1df859c2d03b1fd882a9dbf5fa468b85c1d089
9 years ago
Matt Farina
088f14907c
Move the service handling to be versioned.
...
implements blueprint golang-multi-version
Change-Id: I77e31118a64140b5d1780725c0a35e2f5d55221c
9 years ago
Jenkins
5f5601e718
Merge "Updated the test documentation to point to the examples rather than the removed integration tests."
9 years ago
Jenkins
521bc88e10
Merge "Adding the appropriate license and copyright statements."
9 years ago
Jenkins
a2b1973f74
Merge "Moves the integration tests to be acceptance tests and examples for object store."
9 years ago
Jenkins
d936961fff
Merge "Moves the integration tests to be acceptance tests and examples for identity."
9 years ago
Matt Farina
6932dc0a7b
Updated the test documentation to point to the examples rather
...
than the removed integration tests.
implements blueprint acceptance-tests
Change-Id: I7b894a38fc7fb460fe98fe18f00f6541de55c16b
9 years ago