Andrew Gaul
a2e2ff8e4f
JCLOUDS-1005: Percent encode user metadata values
2016-06-23 20:41:28 -07:00
Andrew Gaul
a845471b88
Create Payload per thread in testPutBlobParallel
...
Fixes a regression from 45bcc3ce22
.
2016-06-23 05:26:21 -07:00
Andrew Gaul
45bcc3ce22
Use in-memory payload for testPutBlobParallel
...
Also simplify parts of the test.
2016-06-22 22:50:22 -07:00
Andrew Gaul
de04c69141
Consistently name test container names
...
Previously jclouds allocated the initial container pool as
$USERNAME-blobstore-1, 2, etc. and subsequent containers with
$USERNAME-blobstore-$RANDOM. Use only the former instead.
2016-06-22 22:50:22 -07:00
Andrew Gaul
2ff68fc79e
JCLOUDS-1005: Retry on 500 and 503 errors
...
This requires rewriting the URL for b2_upload_file and b2_upload_part
requests.
2016-06-21 18:12:36 -07:00
Ignasi Barrera
d197a9e0cb
Allow subclasses to override the scripts
2016-06-22 00:26:18 +02:00
Andrew Gaul
7a1c3a7b06
Remove listed multipart parts in abort
...
Previously we unconditionally removed all possible part names.
2016-06-21 10:01:00 -07:00
Ignasi Barrera
040df11d3f
JCLOUDS-1116: Delegate endpoint should be preferred to the caller's one
2016-06-21 09:40:53 +02:00
Arvind Nadendla
112c64e92a
Make links nullable
2016-06-20 18:11:12 -05:00
Andrew Gaul
1d192dfe56
Remove scoping annotations on abstract types
...
These annotations are not meaningful. Found via error-prone.
2016-06-20 10:54:52 -07:00
Andrew Gaul
d6454b822f
Disentangle Iterable and Iterator
...
Found via error-prone.
2016-06-20 10:21:01 -07:00
Rita Zhang
cadd60dc22
JCLOUDS-664 Azurecompute-arm compute service
2016-06-17 22:24:32 +02:00
Ignasi Barrera
bde70457d0
JCLOUDS-1105: Do not create the default security group if custom groups are specified
2016-06-17 22:18:35 +02:00
urban
71b3a2b631
JCLOUDS-1129:Add more interfaces of the same network
2016-06-17 22:16:59 +02:00
Ignasi Barrera
179ed3b2f6
Properly set the permissions in the ~/.ssh folder
...
When writing the ~/.ssh/authorized_keys file in a script that is being
run as sudo, the file is created with the root owner, instead of the
user defined by the node credentials. File ownership should be enforced
to make sure the right owner is alwaays set.
2016-06-17 22:16:19 +02:00
Andrew Gaul
f66e0a3fcc
JCLOUDS-1005: Do not map "none" SHA1 to null
...
Callers expect that ETag has a non-null value.
2016-06-17 13:11:41 -07:00
Andrew Gaul
3d84d3cb2d
JCLOUDS-1005: Backblaze B2 large file operations
2016-06-16 16:12:32 -07:00
Andrew Gaul
882a65bab7
JCLOUDS-1005: Factor out common test code
2016-06-16 16:12:32 -07:00
Andrew Donald Kennedy
496fbae646
Fix incorrect key format check in Docker
2016-06-17 00:01:35 +02:00
Andrew Gaul
04c2394a10
Annotate @BeforeSuite with groups as @AfterSuite
...
Previously this caused unexpected failures in the B2 integration
tests.
2016-06-16 12:57:38 -07:00
Andrew Gaul
230448a454
JCLOUDS-1028: Configure idempotent methods
...
Enable for GCS.
2016-06-15 16:38:53 -07:00
Andrew Gaul
5fec2346a6
JCLOUDS-1028: Configure idempotent methods
...
Enable POST for Atmos, S3, and Swift.
2016-06-15 16:35:22 -07:00
Valentin Aitken
f98116ec83
GCE ResetWindowsPassword
...
- Function which tells to GCE to reset Windows password
- InstanceApiLiveTest for windows
- Unit test for decrypting windows password
- fixed compile errors
2016-06-15 12:31:48 +02:00
Andrew Gaul
5baa49d9b8
JCLOUDS-1125: GCS list multipart uploads
...
Not supported.
2016-06-13 17:11:39 -07:00
Andrew Gaul
52de3b5766
JCLOUDS-1125: Upload two parts in list MPU test
...
This allows B2 to call complete multipart upload.
2016-06-13 17:00:50 -07:00
Andrew Gaul
0bd2959410
JCLOUDS-1125: portable list multipart uploads
...
Only Azure, B2, and S3 support this operation. Some MultipartUpload
fields become nullable.
2016-06-13 16:26:43 -07:00
Andrew Gaul
445664c9f1
JCLOUDS-1125: S3 list multipart uploads
2016-06-13 16:26:43 -07:00
Andrew Gaul
61ab28cc50
JCLOUDS-1125: Azure list other blobs
...
Some BlobProperties fields become nullable due to these new blob types.
2016-06-13 16:26:43 -07:00
Aled Sage
730a4cfe87
Docker.ContainerToNodeMetadata: remove needless mocking
...
Previously it mocked the container and the StateToStatus. It just
asserted that getter methods were called, rather than confirming the
resulting NodeMetadata had the right values.
By removing some of the mocks, it not only simplifies the code but
improves code-coverage. (e.g. if StateToStatus was being passed the
wrong value, the previous test would not have noticed).
2016-06-13 17:18:01 +02:00
Aled Sage
fc88756d5a
docker: get container’s IPs from all networks
2016-06-13 17:17:56 +02:00
Duncan Grant
91339b200e
Node json should be optional
...
The Node element of the container json is optional
as well as nullable.
2016-06-13 12:56:05 +02:00
Andrew Gaul
bd6a495a04
JCLOUDS-1005: Backblaze B2 object operations
2016-06-09 16:15:11 -07:00
Zack Shoylev
c1ce819f61
updateTemporaryUrlKey test
2016-06-07 17:37:39 -05:00
Zack Shoylev
de88a72e7a
Change the template to use CentOS instead. Avoids some openjdk-6 problems.
2016-06-07 17:37:33 -05:00
Jim Spring
8d8cd1728d
Network Security Group API
2016-06-07 22:25:16 +02:00
Duncan Grant
ebc8f7568f
Use container host ip not manager ip
...
When providing node ip in metadata jclouds was using the
ip of the docker manager which was fine for docker machine
but fails when using a swarm cluster. This uses the ip returned
from docker.
2016-06-06 16:16:44 +02:00
Andrew Gaul
4393c47e7f
JCLOUDS-1005: Remove unused Credentials
2016-06-05 12:26:47 -07:00
Andrew Gaul
ae1f6d0c3f
JCLOUDS-866: Reduce GCS multipart limit to 32
2016-06-04 00:23:40 -07:00
Andrew Gaul
ed262f7bd6
Delete GCS composite object components
...
Previously we left dangling subobjects. The composite object retains
a reference to the components data.
2016-06-04 00:23:22 -07:00
Andrew Gaul
c2a22bc32c
JCLOUDS-912: GCS upload InputStream work around
2016-06-03 12:38:43 -07:00
Andrew Gaul
28ed955183
Address error-prone ClassNewInstance errors
...
Previous behavior deprecated in Java 9.
2016-06-03 03:34:06 -07:00
Andrew Gaul
5d437312bf
JCLOUDS-912: Remove GCS simpleUpload UploadBinder
...
This is not necessary; jclouds binds the Payload automatically;
jclouds binds the Payload automatically.
2016-06-02 22:35:54 -07:00
Andrew Gaul
2b02db4f22
Add ObjectTemplate.toString
2016-06-02 16:24:13 -07:00
Rita Zhang
f2b5c15566
JCLOUDS-664 Azurecompute-arm DeploymentApi OSImageApi VMSizeApi
2016-06-03 00:25:57 +02:00
Andrew Gaul
ed7ff648e8
Ensure MPU input size meets minimum for test
2016-06-02 11:27:21 -07:00
Andrew Gaul
d983d8d0a7
Revert "Handle when total length is less than part length"
...
This reverts commit bc1f12b7bd
.
2016-06-02 07:21:48 -07:00
Andrew Gaul
bc1f12b7bd
Handle when total length is less than part length
2016-06-01 22:01:38 -07:00
Andrew Gaul
a67ae3f27b
Make inner classes static where possible
...
Found via error-prone.
2016-06-01 20:03:54 -07:00
Andrew Gaul
63bfc2f6e8
Use prefix option in prefix test
...
Directory is deprecated.
2016-06-01 17:44:43 -07:00
Andrew Gaul
421764dfd1
Remove disposition checks from testFileGetParallel
...
Some providers like B2 do not support Content-Disposition and other
tests exercise this functionality.
2016-06-01 16:15:47 -07:00